Jump to content

Custom furnace(s) bug


Alix_The_Alicorn

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.