Everything posted by Draco18s
-
[1.8.9] Custom Mob Drops Only With Specific Item?
Probably because the event has different fields. Look at the LivingDropsEvent class and see if you can trace your way back to a player. One exists. It's not hard to find.
-
[1.9.4][SOLVED] canBlockSeeSky Only Returns False
Do the check from pos.up() instead. The method looks at the block at pos and if it is not transparent, it return false.
-
[1.9.4][SOLVED] canBlockSeeSky Only Returns False
Do the check from pos.up() instead. The method looks at the block at pos and if it is not transparent, it return false.
-
[1.7.10] 2 Block High Models
Look at the vanilla door.
-
[1.7.10] 2 Block High Models
Look at the vanilla door.
-
[1.8.9] Custom Mob Drops Only With Specific Item?
I said you need "This line equivalent" I didn't say "add this and only this, nothing else." I figured you were smart enough to go "oh hey, that holding variable, maybe I should copy that too."
-
[1.8.9] Custom Mob Drops Only With Specific Item?
I said you need "This line equivalent" I didn't say "add this and only this, nothing else." I figured you were smart enough to go "oh hey, that holding variable, maybe I should copy that too."
-
[1.8.9] Wrong light on TESR cable
Not easily. The smooth lighting calculations are very complex and involve getting the light levels at each of the adjacent 26 blocks and doing some interpolation and setting the light value per-vertex.
-
[1.8.9] Wrong light on TESR cable
Not easily. The smooth lighting calculations are very complex and involve getting the light levels at each of the adjacent 26 blocks and doing some interpolation and setting the light value per-vertex.
-
[1.8] Give custom written book to player?
You can just create a new ItemStack of the ItemWritableBook instance (check the Items list) and apply the correct NBT tags. You can now clone and distribute this itemstack however.
-
[1.8] Give custom written book to player?
You can just create a new ItemStack of the ItemWritableBook instance (check the Items list) and apply the correct NBT tags. You can now clone and distribute this itemstack however.
-
[1.9] Modify Vanilla Block Behaviour
Cactus uses the onCollide method, which not all blocks override.
-
[1.9] Modify Vanilla Block Behaviour
Cactus uses the onCollide method, which not all blocks override.
-
[1.9.4] Block rendering crashes Minecraft
Actually an ItemEntity containing an ItemStack.
-
[1.9.4] Block rendering crashes Minecraft
Actually an ItemEntity containing an ItemStack.
-
[1.8.9] Tool Tips
Put the addInfo method in MAItemSeeds and MAArrowMouldDurableTools.
-
[1.8.9] Tool Tips
Put the addInfo method in MAItemSeeds and MAArrowMouldDurableTools.
-
[1.8.9] Custom Mob Drops Only With Specific Item?
...take the holding line from your ore drop event?
-
[1.8.9] Custom Mob Drops Only With Specific Item?
...take the holding line from your ore drop event?
-
[1.8.9] Custom Mob Drops Only With Specific Item?
Yep
-
[1.8.9] Custom Mob Drops Only With Specific Item?
Yep
-
[1.8.9] Tool Tips
Attempts #1 and #3 look identical to me. By the way, you have an empty block: { } You can remove that. As for the desired behavior: Define "not working." What is it that the code does that you don't want or what is it that the code isn't doing that you do want?
-
[1.8.9] Tool Tips
Attempts #1 and #3 look identical to me. By the way, you have an empty block: { } You can remove that. As for the desired behavior: Define "not working." What is it that the code does that you don't want or what is it that the code isn't doing that you do want?
-
[1.8.9] Custom Mob Drops Only With Specific Item?
Oh you didn't check what sword the player is holding. This line equivalent: if (holding != null && holding.getItem() instanceof MABlazePickaxeTool) {
-
[1.8.9] Custom Mob Drops Only With Specific Item?
Oh you didn't check what sword the player is holding. This line equivalent: if (holding != null && holding.getItem() instanceof MABlazePickaxeTool) {
IPS spam blocked by CleanTalk.