Everything posted by Draco18s
- [1.11.2] Server crash
-
What is World worldIn? What must I pass into it?
verb verb: parse; 3rd person present: parses; past tense: parsed; past participle: parsed; gerund or present participle: parsing 1. analyze into its parts and describe You want the word "pass."
-
[HELP] Positioning text above hotbar
How about you show what you tried and extrapolate on "it isn't working."
-
How can I create a display pillar block?
https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/block/BlockMillstone.java#L74
-
[1.11] Block with two properties?
"And still works" covers a lot of ways it could be handled. Vanilla's furnace uses two whole blocks for it, whereas a TE could store the value and it could be retrieved using getActualState, so that statement by itself isn't actually helpful. Or even necessarily related. There's lots of reasons one might want to have two properties on their block. I've got one with three.
-
[1.11] Block with two properties?
I went over to Invision Power Services to complain/file a bug report, only to not know the password to my existing account (I can't make an account because my username AND email are in use by an existing account) but I can't reset my password because there are no user accounts using that email address. What. Oh, and despite my language and apparent distaste for this forum software, it's not the worst forum software I've had the displeasure of using. Nope, that'd be the wreck that is the Dungeon Defenders 2 forums, built by Duxter. Everything uses AJAX, which means navigating pages skips over your browser history. It also means they had to hack together a way to link to specific pages/posts, using redirects (further fucking over the browser history). Page numbers above 10 display as the number 10. There's no "report to moderator" feature. At one point removing the flag that marks someone as a troll (moderator feature, muting that person's posts) also made that person a moderator. I'm not making that up.
-
How can I create a display pillar block?
Then you're doing something wrong. Mine isn't static.
-
[1.11.2]Auto-repairing item
Yes. Go look at the EntityPlayer class, you'll find it.
-
[1.11.2]Auto-repairing item
Don't use a tick event to update the item if its inside an inventory. You would have to search the entire world for inventories, then search every slot in the inventory. And do that every tick. This is a bad, bad idea.
-
[1.11] Block with two properties?
That gives me a result that a Greasemonkey script that I had to strip out the image in someone's (annoyingly large) signature is at fault. By which I mean, an empty Greasemonkey script breaks everything (as in, only comments, and disabling it makes spoilers work). Which makes no fucking sense. At all. And tells me, once again, that this forum's javascript is shitty. The infinite recursion trying to start a new thread was the first red flag. Huh, turns out the infinite recursion is also because of the greasemonkey script. That's fucking idiotic.
-
[1.11] Block with two properties?
Won't work when ACTIVE is false, because your meta -> facing will pass in a value greater than 4, which the enum won't know what to do with. You need to &3 that bit to strip off the 4th bit. (And no, I can't view spoilers, I don't know why. The JS on this forum is broken as all getout for me: I can't start new threads, I can't use post preview, and I can't open spoilers)
-
[1.11] Block with two properties?
Man, if only the forums worked and I could view spoilers...
-
[1.11] Block with two properties?
Don't subtract. Wrong. Bad. int eightBit = (meta & 7);
-
[UNSOLVED][1.10.2]Need help with TESR and tileentity item
Well you'd need an else {} case, too...
-
[UNSOLVED][1.10.2]Need help with TESR and tileentity item
Why do you have this here?
-
Ender Wand???
Ok that's cool. What's your question?
-
[SOLVED][1.11]Custom Sound Played to a Single Player on the right click of an Item
https://www.tutorialspoint.com/java/java_inheritance.htm
-
[UNSOLVED][1.10.2]Need help with TESR and tileentity item
Considering that those methods are Block methods, I suggest putting them in your TileEntity .
-
Draw hollow circle.
You know...if you can get an ellipse...you can make it a circle... Circles are just special case ellipses...
-
[SOLVED][1.11]Custom Sound Played to a Single Player on the right click of an Item
onItemRightClick is called on both sides, so no, you can't cast like that.
-
need help w/ textures block and item
Ok, now give us the log that tells you that there's a texture missing.
-
Referencing Tile Entity through GUI
That or packets. Probably packets. The server side container only handles items.
-
need help w/ textures block and item
Because that's what you told Minecraft to look for.
-
Using a tool as a crafting ingredient, regardless of condition (damage) in 1.8
Have you tried the search feature yet?
-
Referencing Tile Entity through GUI
You probably shouldn't return null if you're trying to interact with the server side TileEntity
IPS spam blocked by CleanTalk.