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. Why not create a new ResourceLocation... ResourceLocation resourcelocation = new ResourceLocation(soundNameIn);
  2. 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.
  3. 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.
  4. Alright I have never made an only server side mod or a client side mod before good to know.
  5. It works something like this.
  6. 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?
  7. BTW when I said move I meant copy otherwise it won't work if you switch to a different item.
  8. You only tell it to turn fly off if the players heldItem not the Stack is != null.
  9. You never check if the offHand is != null
  10. You would have to override when the player right clicks on the Villager and display a new gui/container which you can't do on a vanilla server. Actually you may be able to subscribe to a ClientTickEvent and check if the players currentScreen is the villager one and if so replace it. Though client tick event could cause lag.
  11. Is it possible that one of the icons you register could be null?
  12. You never actually initialize screen.
  13. What do you mean automatic? Are you going to make a new block that opens a Gui and allows players to select possible villager trades? Or is the block going to be placed next to a villager and it will access that inventory to deal with trades?
  14. Where did you register it?
  15. It is okay Draco18 I went into a Discord "call" and settled this, in his code there were many errors, caused by not properly Overriding and slot index's were set up incorrrecy, but thank you for the example I will look at it when I get some rest.
  16. In my forge version there is no public constructor, maybe I should update.
  17. Your model handles all textures and you don't register multiple models for metadata. This blockstate JSON is an example of the forge variant system that I made for BlockPlanks.
  18. New Registry system And you don't add models for multiple metadata.
  19. What error are you getting?
  20. You will have a class that acts exactly like ItemAxe and you can extend/use that class for your Axe(s).
  21. Just create a class that is an exact copy of ItemAxe
  22. May I see the code you used to register the potions?

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.