Jump to content

BHGgaming

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by BHGgaming

  1. Thanks, i dont know why that wasnt my first move, i now can see that the error is being thrown for the Player, not the item. Thanks alot, it is all working now.. Except it is still dropping cobblestone, but i feel as if it is my fault, andi can hanlde it on my own. Thanks again! :)
  2. i had already fixed item stack thing, and even with the cheaking of the null, the game will crash randomly, (i could be doing something, or not it will still crash) and it crashes on the first line that contains player.getHeldItem() and throws java.lang.NullPointerException: Exception ticking world Sorry for all the trouble Code crash report fml log
  3. okay.. so i have my event in a spoiler below, and when mining stone, it still drops cobblestone, and when mining iron ore, it produces the following crash report any help is greatly appreiciated Crash Report: FML log Event code:
  4. i was about to see if i could just get the blocks pos., then see what block was in that pos. Thank you very much
  5. So i understand is, but i am unable to pull the block being mined from the event. here is my code for the Event Handler:
  6. im kind of new to forge modding, does anyone know how to get blocks to drop a specific drop when mined with a specific tool, for example say I have a pickaxe named "Smelting Pick" and drops stone when mining stone, iron when mining iron ore, ect. any help is appreciated
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.