Jump to content

larsgerrits

Members
  • Posts

    3462
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by larsgerrits

  1. World#getTileEntity(BlockPos)
  2. Don't use IInventory , use IItemHandler (or the default implementation: ItemStackHandler ).
  3. Or you can use the Block#canPlaceBlockAt() method to check if the Block is placeable at that location.
  4. Disable the loading screen as described in the EAQ.
  5. Last time I used Eclipse, it was Ctrl+Shift+T .
  6. If you looked at the CreativeTabs class, you can see that it now wants a ItemStack in return now.
  7. Don't use IInventory . Use IItemHandler in combination with Capabilities.
  8. No. getHeldItem*hand() returns null , not getItem() . Check if getHeldItem*hand() is not equal to null , then try to get the Item from it.
  9. What if one of the hands contains nothing? Hint: it returns null .
  10. IC2 has something called retrogen, which means it will be able to generate ores and trees after chunk generation, which may fix your issues. You just have to enable in in the configs.
  11. 1.7.10 is no longer supported by Forge.
  12. You implemented various UID methods ( getUid , getRecipeCategoryUid ), which all return something different. You should make a static variable somewhere which you reference from ALL the UID methods for the pulverizer.
  13. Post related code and logs.
  14. You'd have to copy the logic from SlotCrafting over to a custom class extending SlotItemHandler , and adapt it to the IItemHandler code.
  15. If you want to save the items in your crafting matrix, you'd have to store them in a TileEntity
  16. What do you think we can do without actual code?
  17. I might've overlooked, but I think entityIn.func_181014_aG() isn't called before that line, making it the possible issue.
  18. 1.7.10 is no longer supported by Forge.
  19. We are not going to download a random file from the internet. Either make a proper git repository, or post the related code in [nobbc] [/nobbc] tags. Also, post the complete console log.
  20. Post the console log.
  21. 1.7.10 is no longer supported by Forge.
  22. You are never initializing boundingBox , thus returning null from getCollisionBox .
×
×
  • Create New...

Important Information

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