Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by Xerus

  1. what exactly is the problem? There are get Methods for both of them if you mean that
  2. I dont know if that is the problem, but I would recommend you to add the slots in this order: 1. Slot(s) of the TileEntity 2. Player Inventory 3. Player Hotbar Since the Container uses a List of Slots it may be the problem Also, what does theVitr.openInventory do?
  3. @Override, as far as I know, doesnt actually do anything just lets you know that you override TEBlock is just a Block that provides a TileEntity, here the Code to be clear:
  4. I want to have a normal Block that just auto-faces the player when placed, and tried using the code from the furnace but I couldnt get it to work. The Block gets textured right but it doesnt rotate My Block Class: blockstate file: block model file:
  5. I use a normal blockstates file now it works Thanks for your help I am now pretty far with my mod!
  6. DUDE THIS MISTAKE... Thanks! Now it works! Just wanted to ask: can't you call only the clientproxy if this is only clientside stuff? the current thing i've been told is that i have to make empty methods in the commonproxy and then override them And my tile Entity drops black-purple particles why doesnt it automatically generate some from the block texture?
  7. Here are the relevant Codeparts: 1. The Model still doesnt show (I now tested it with replacing the Modelloader line with Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(Item.getItemFromBlock(b), 0, new ModelResourceLocation(b.getRegistryName().toString())); and this does work) 2. As you can see in the code if I am not totally dumb the Item is registered before the recipe
  8. 1. I made a new method in the Clientproxy to call this in the postinit: ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(b), 0, new ModelResourceLocation(""+b.getRegistryName())); but the texture doesnt apply(it is getting called tho!) 2.JEI says this in the log:
  9. Sitting and thinking for hours now, I will ask here: If i try to craft my testblock (code: http://pastebin.com/EQfVMuda) Minecraft crashes: http://pastebin.com/mYP5CN8x Seema like it cant resolve the item in the ItemStack but the mc code is so weird...
  10. Declarate the ItemStack earlier, save it in a variable and return it in the recipe
  • Create New...

Important Information

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