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.

Featured Replies

Posted

Hi, I have two custom "furnace"s in my mod. http://github.com/alix-the-alicorn/carbon-mod/ When i put something in either one of them (grill or compression chamber) they work fine. But whenever I reload a SinglePlayer(internal server) world or restart a server, or reload the chunks that they are in, they reset to empty. Also, when smelting they do NOT update and change into their other state (which is one ID above what the idle on is). Can anyone help? also I have another three where I have another problem

Minecraft will not provide an NBT mapping for tile entities unless you register them, you do this by calling the following method from your mod's main class:

 

GameRegistry.registerTileEntity(TileEntity.class,

"block's unlocalised name");

 

Where TileEntity.class is the .class file of your tile entity.

 

I hope this works for you!

"Thinking that coding is the nerdy IT guy at work rebooting your computer is like thinking that music is what happens when the piano tuner comes round." - Ed Rex

Why registering the class twice ?

 

You should give your Tiles a default constructor.

  • Author

Oh, ignore my last post. I mean that my custom furnaces have two states, and each have a different unlocalized name "grill" and "grill2" for example.

  • Author

Thanks guys, I fixed by problem by looking at the source of EE3 and I figured out what diesieben07 meant. I'm gonna lock the topic now.

Guest
This topic is now closed to further replies.

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.