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.

Floppygunk

Members
  • Joined

  • Last visited

  1. Can you post the error? That would make it much easier to pinpoint the problem. @thebest108: The @Instance has nothing to do with it. Every mod is supposed to have @Instance in it, so having two mods with @Instance in it will not crash the game.
  2. I just tried that, it didn't make any difference.
  3. I am trying to make a tile entity that works like a gear shaft. The shaft is meant to connect to other shafts when I place them next to each other. I've set up the onNeighborBlockChange function to make adjacent shafts connect when you place one, but for some reason only the one I placed updates. A bit of debugging has told me that the shafts are updating correctly on the server side, but not on the client side. I have packet handling set up in the tile entity, and it's being updated correctly in the onDataPacket function, so I don't know why it's not updated correctly when rendering. Here is my code (I've only included the parts I think are important): TileEntityShaft: http://pastebin.com/0tB535Sc BlockShaft: http://pastebin.com/4Anj8dGb If anyone wants the full code, it's at https://github.com/LogiCo-Modding/Geartech
  4. Thanks for your reply. Yes, I was doing it wrong, and I've got it working now.
  5. The title says it all. When I make a tile entity, the coordinates are 0 and the worldObj is null. I've figured out how to initialise the tile entity with the coordinates and save it in NBT tags when I save the world, but unfortunately I can't save the world object in NBT tags. So how do I let tile entities access the world object?

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.