Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Animefan8888

Forge Modder
  • Joined

  • Last visited

Everything posted by Animefan8888

  1. You also need to register the WorldProvider.
  2. For the normal variant you need [] as well as {}
  3. 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
  4. Like this Minecraft.getMinecraft().getRenderItem().renderItemAndEffectIntoGUI(getStackInSlot(), xPosition, yPosition);
  5. The overlay needs to have access to the itemstacks, from the inventory not the gui.
  6. 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.
  7. 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.
  8. Could you post the code for ModItems and where your set the registry name.
  9. Does it actually instantiate the items in ModItems.createItems()
  10. 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();
  11. Show use your MainRegistry class
  12. Change entityIn.getPosition to the pos either world spawn or bed spawn.
  13. Do a check if it is != null then use the world spawn or do nothing.
  14. I couldn't tell you...
  15. You type [--code]Put code in here[--/code] Without the -- in the brackets
  16. You want ChunkEvent.Load
  17. Sorry 1.6.4 is very outdated and is no longer supported by forge. You should update to 1.10.2
  18. Your crash is caused by using EntityPlayerSP somewhere in your code.
  19. Yeah, but you should look into it using any other means possible, because creating a core mod could cause some errors with other mods.
  20. Could you please use the code option in the message poster and what is the problem now?
  21. Did you put it before or after the if. it should be after if you want it to happen at the players new location.
  22. What is the problem exactly?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.