Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. For the normal variant you need [] as well as {}
  2. You need a blockstate json and a block model json look into the minecraft jar to see the file structure. And you only need to call ModelLoader once for blocks aswell as items
  3. Like this Minecraft.getMinecraft().getRenderItem().renderItemAndEffectIntoGUI(getStackInSlot(), xPosition, yPosition);
  4. The overlay needs to have access to the itemstacks, from the inventory not the gui.
  5. Since the players inventory is synced between client and server the client has the most updated data most of the time. It accesses the players inventory and displays the ItemStacks from that.
  6. I don't think you can? You could put a pull request on forge and see if they will add a hook for running the command.
  7. Could you post the code for ModItems and where your set the registry name.
  8. Does it actually instantiate the items in ModItems.createItems()
  9. First thing is first you do not need an instance of your client proxy. Secondly ItemRenderRegistry.registerItemRenderer is also getting called server side don't do that. And when you do try and call it from the client proxy your client proxy is null. Just call proxyServer.registerRenderInfo();
  10. Change entityIn.getPosition to the pos either world spawn or bed spawn.
  11. Do a check if it is != null then use the world spawn or do nothing.
  12. You type [--code]Put code in here[--/code] Without the -- in the brackets
  13. Sorry 1.6.4 is very outdated and is no longer supported by forge. You should update to 1.10.2
  14. Yeah, but you should look into it using any other means possible, because creating a core mod could cause some errors with other mods.
  15. Could you please use the code option in the message poster and what is the problem now?
  16. Did you put it before or after the if. it should be after if you want it to happen at the players new location.
×
×
  • Create New...

Important Information

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