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. You only tell it to turn fly off if the players heldItem not the Stack is != null.
  2. You never check if the offHand is != null
  3. 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.
  4. Is it possible that one of the icons you register could be null?
  5. You never actually initialize screen.
  6. 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?
  7. Where did you register it?
  8. 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.
  9. In my forge version there is no public constructor, maybe I should update.
  10. 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.
  11. New Registry system And you don't add models for multiple metadata.
  12. What error are you getting?
  13. You will have a class that acts exactly like ItemAxe and you can extend/use that class for your Axe(s).
  14. Just create a class that is an exact copy of ItemAxe
  15. May I see the code you used to register the potions?
  16. This is in your ModTileEntity And this is in your TileEntityFluxGrinder And this is the isItemValid in your Slot classes
  17. Did you check if you could shift click fuel into the inventory? *Ignore what code question was here.
  18. Anything to do with public static final PropertyDirection FACING = BlockHorizontal.FACING; in the BlockFurnace class is basically what you need.
  19. How can you place orientable blocks with in the code, look at BlockFurnace it has all of the code for that.
  20. Just look at BlockFurnace try to wrap you mind around that, then have your models parent be block/orientable

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.