![]() I made a block entity that can teleport me to 8 different saved locations, but for some reason, the information that i put from the screen to the block entity synchronizes with other places block entities, if i place one, break it and place it again the information should remove, but it doesnt. When I say information i mean strings, booleans, integers saved in the block entity So, for example, if i make an item like this, it's not gonna public ActionResult onItemRightClick ( World world, EntityPlayer player, EnumHand hand ) If you need a reference to your item instances use an ObjectHolder annotation. However since you MUST use the instance you've registered this That now define a new item that isn't registered and thus isn't actually in game. So you are registering the items correctly, and those are the items that are in the game and are interacted with. Enable cheat mode, apply globally and press done. Open inventory and click on the Wrench or go to mod options click on the mod and click on config for the Forge users. ![]() New ItemExemple("item_exemple") != new ItemExemple("item_exemple"). One of them requires a chickencore thingy that makes the game crash and is totally useless. I don't really know hpw to explain this, but basically
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |