Skip 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. Well rotations are handled in the BlockState JSON
  2. What edit are you trying to make to EntityRenderer?
  3. Are you calling ModelLoader.setCustomModelResourceLocation(item, metadata, model); *Edit call it in preInit
  4. This piece of code didn't crash for me
  5. That is not the problem it is true that PotionEffects doesn't exist in 1.10 instead use
  6. The error is happening in your Teleporter class on line 134/38
  7. Unless you want the food to only have one then you don't even have to make a new class apparently
  8. I would suggest Adding capabilities to the player to save your data, using a player tick event to do things after a certain amount of time, and using events to set a boolean that is saved to the players capabilites.
  9. May I see your entire Main Class?
  10. You need to create a class that extends ItemFood and use that to initialize your food item.
  11. Why not try playing around with it a little? Try putting your armor textures path into it.
  12. You create 4 items one for each piece of armor, initialize them using a class that extends ItemArmor. Register them normally. And in the class that extends ItemArmor add getArmorTexture and set the armor texture path as the return for each item you initialize to that class.
  13. I believe he wants to know how to use the vanilla model, but apply his own texture if not that is how you would go about doing that. But I believe there is a method called getArmorTexture in Item.
  14. Could you post your updated code for PotionRecipes?
  15. You wouldn't be overlaying you would be creating a new Gui in general, the easiest way would be to extend GuiMerchant and in init add Buttons.
  16. Why not create a new ResourceLocation... ResourceLocation resourcelocation = new ResourceLocation(soundNameIn);
  17. Oh that is right it changed in 1.9 right, I just remembered back to when I started in 1.5.2 I made armor that would make you invincible until it broke unless you took major damage like from one of the custom swords.
  18. And if the int[] total reaches 25 you will be invincible(side note I don't know if that is true and I don't think it is because of the way armor reduction works), why would you want it to go that high Diamond Armor only goes to 20 and that is the max displayable amount of armor bars normally but you can customize Armor by implementing ISpecialArmor in your Armor Class.
  19. Alright I have never made an only server side mod or a client side mod before good to know.
  20. It works something like this.
  21. Actually I did not though I makes sense that there is those sound mighty useful, though I have never had to do anything like that before. But is it possible to register GuiOpenEvent only client side and have it work?
  22. BTW when I said move I meant copy otherwise it won't work if you switch to a different item.

Important Information

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

Account

Navigation

Search

Search

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.