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. Look up casting in programming and you will see.
  2. Please explain to me what you mean by drag, do you mean clicking on a slot once and moving it around?
  3. When you are holding it or when it is in your inventory either way use onUpdate(...) in your item class.
  4. Just to make this easier make a private static AxisAlignedBB with the size you want and return that in getCollisionBoundingBox(...)
  5. Yes because you are passing a null item instead of an initialized one. Also item registration should really be done in the preInit method and instead of using Minecraft...getItemModelMesher(...) use ModelLoader.setCustomModelResourceLocation(...).
  6. Override isPassable().
  7. When as in before your items after them, what method.
  8. Mainly the getCollisionBoundingBox(...), getSelectedBoundingBox(...), isFullCube(...), abd isOpaqueCube (...).
  9. There is a method in Block that allows you to edit the collision boxes. Look at BlockCactus for an example.
  10. You never initialize ALLIUMORE in the second file.
  11. There are things called PM's and I assume he emailed you.
  12. The amount is how much of the food bar is filled and saturation is basically how long it takes before the hunger starts to go down.
  13. What is the question?
  14. Post the all OreGeneration Code and please use spoilers for things like crash reports and code tags for code.
  15. I have a recommendation put @Override above methods you are overriding.
  16. You will have to make your own instance of MovingObjectPosition using Vectors.
  17. You have layer_0 and layer_1, but in code you say layer_1 and layer_2.
  18. I beleive it is just ChatFormatting they removed the Enum, cant check though.
  19. The error is you check if the client players name is the same as the passed name, if not you return null. You then try to do something with that null variable. As Matryoshika said the server knows where the players are, while the client does not.
  20. You could do this with mcp, but you need the mod authors permission, but as Leviathan143 said you will probably be better off doing it from scratch.

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.