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. createBlockState() doesn't return a BlockState it returns a BlockStateContainer, when you are overriding something always put the @Override annotation it helps a lot.
  2. Wrong method hasTileEntity(IBlockState state) not hasTileEntity() Also remove getRenderType()
  3. When button is pushed switch a boolean. Then when boolean is true and or false which ever you decide make stuff render.
  4. Read the docs http://mcforge.readthedocs.io/en/latest/datastorage/capabilities/
  5. Your Collision bounding box is null. It can not be null or entities can not collide with it.
  6. Do not extend BlockContainer instead just override hasTileEntity(IBlockState state) and createTileEntity(IblockAccess world, IBlockState state.)
  7. You are fine to do that. As in it will not crash the game, but be aware that the server will default back to the super.
  8. It would allow you to check what stack was returned there with out taking any action and you should be able to call it from the field (assuming it is not private or protected and is initialized. If it is private or protected create a getter method for it).
  9. You could create a field of ItemStackHandler.
  10. How are you changing it, I feel the problem is that orientation is not synced between client and server... Look into DataWatcher
  11. Okay, I'll try. But do you have a reason, or just guessing. It seems to have exactly the same call hierarchy as EntityInteract does. I am just guessing as I do not know the exact call hierarchy of those events as I haven't messed around with them yet. Haven't really done much since 1.7.10 except the basics... I will try my best to help though.
  12. So where do you check the orientation?
  13. If you are using an IDE (hopefully you are and are not using something like notepad) just use your search feature and look for where the method is called. In this case getWoodType() is only ever called from within the leaves classes. Therefore it is not necessary unless some other mod uses it and doesn't check for null for some reason. So maybe just in case return something that works that is not null.
  14. You do not need to put anything there, just leave it as null and override all methods using that enum and use your own.
  15. Where does it ask for said enum type?
  16. Are you sure you are calling the right constructor?
  17. Create your own enum...
  18. This is what Minecraft is looking for, look at where you register their renders...
  19. Is it named this? ironfurnace_front_off or this ironfurnace_front_on...
  20. All ResourceLocations set the path to lower case so your blockstate JSON's need to be lower case.
  21. Two things post the log and don't extend BlockContainer instead extend Block and Override createTileEntity(IBlockAccess world, IBlockState state) and hasTileEntity(IBlockState state)
  22. What is the problem...

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.