Everything posted by Draco18s
-
[1.9.4] Using GUIs
You aren't using the correct onBlockActivated method. Look at the Gui Handler tutorial again.
-
[1.9.4] addSmelting() with more than 1 xp
Apparently not, just looked at the call stack for it. The only thing passed to the event is the player and the result stack.
-
[1.9] Cannot get texture/model to work
item != items
-
[1.9.4] addSmelting() with more than 1 xp
You can't. The number is not "how much experience to drop per smelt" it is "what is the probability of dropping 1 experience per smelt." You would need to use events to drop more.
-
[1.9.4] addSmelting() with more than 1 xp
You can't. The number is not "how much experience to drop per smelt" it is "what is the probability of dropping 1 experience per smelt." You would need to use events to drop more.
-
Send message on item use
1) generate a random number 2) do something with it
-
Send message on item use
1) generate a random number 2) do something with it
-
[1.9] Particle Effect Stream | Damage Player Touching Side/Infront of Block
It gets called if the player is inside the 1x1x1 standard volume of the block (your block would need a bounding box smaller than 1x1x1 for this to occur). You would need to either: a) schedule tick updates (say, every 10 ticks) and check in updateTick (and reschedule the update) b) not schedule ticks and rely on random ticks (about once a minute) c) use a tile entity and check every tick A is the best solution.
-
[1.9] Particle Effect Stream | Damage Player Touching Side/Infront of Block
It gets called if the player is inside the 1x1x1 standard volume of the block (your block would need a bounding box smaller than 1x1x1 for this to occur). You would need to either: a) schedule tick updates (say, every 10 ticks) and check in updateTick (and reschedule the update) b) not schedule ticks and rely on random ticks (about once a minute) c) use a tile entity and check every tick A is the best solution.
-
[1.9] Particle Effect Stream | Damage Player Touching Side/Infront of Block
No no no, leave the collision box alone. You want to getEntitiesWithinAABB(thing I said)
-
[1.9] Particle Effect Stream | Damage Player Touching Side/Infront of Block
No no no, leave the collision box alone. You want to getEntitiesWithinAABB(thing I said)
-
[1.9] Ticking block entity error with setState
The only reason Mojang has two blocks for the furnace (redstone ore, redstone lamp, redstone torch....) is because they weren't clever enough to figure out how to get blockstates to change lighting.
-
[1.9] Ticking block entity error with setState
The only reason Mojang has two blocks for the furnace (redstone ore, redstone lamp, redstone torch....) is because they weren't clever enough to figure out how to get blockstates to change lighting.
-
[1.9] Particle Effect Stream | Damage Player Touching Side/Infront of Block
1) spawn more particles per tick with horizontal offsets from each other. 2) make the block less than a full block on that side. 3) step 1: get the facing direction step 2: multiply that direction by 3 step 3: make an AABB from the block to this new position
-
[1.9] Particle Effect Stream | Damage Player Touching Side/Infront of Block
1) spawn more particles per tick with horizontal offsets from each other. 2) make the block less than a full block on that side. 3) step 1: get the facing direction step 2: multiply that direction by 3 step 3: make an AABB from the block to this new position
-
[1.8.9]How to render custom pressure plate
Don't register your renderers there. You must do it in your client proxy or you will crash the dedicated server. Do not use item.getUnlocalizedName().substring(5) this is awful awful awful, should never be done, and if you got it from a tutorial, go punch that person in the face for being an idiot. This is why setRegistryName and getRegistryName exist.
-
[1.8.9]How to render custom pressure plate
Don't register your renderers there. You must do it in your client proxy or you will crash the dedicated server. Do not use item.getUnlocalizedName().substring(5) this is awful awful awful, should never be done, and if you got it from a tutorial, go punch that person in the face for being an idiot. This is why setRegistryName and getRegistryName exist.
-
Packet Issue[1.8.9]
You need the reference inside the capability not the packet handler.
-
Packet Issue[1.8.9]
You need the reference inside the capability not the packet handler.
-
[1.9][SOLVED]Overriding Vanilla Mobs AI
removeTask(new Task()) isn't going to do anything. It won't find the newly created object in the array, so it won't remove it from the array.
-
[1.9][SOLVED]Overriding Vanilla Mobs AI
removeTask(new Task()) isn't going to do anything. It won't find the newly created object in the array, so it won't remove it from the array.
-
[1.8.9] Player Rendering and GuiTextBoxes
Well 90 degrees of rotation applied: 0% to the X axis, 0% to the Y axis, 0% to the Z axis would do precisely nothing.
-
[1.8.9] Player Rendering and GuiTextBoxes
Well 90 degrees of rotation applied: 0% to the X axis, 0% to the Y axis, 0% to the Z axis would do precisely nothing.
-
[1.7.10] Help Compiling an edit of Thaumic Tinkerer
You started a new thread for this. Don't do that.
-
[1.7.10] Help Compiling an edit of Thaumic Tinkerer
You started a new thread for this. Don't do that.
IPS spam blocked by CleanTalk.