Jump to content

Custom Furnace


IPSEON

Recommended Posts

Hi guys, i try to do a Custom Furnace but it don't work... (in 1.16.5 - Forge)

FurnaceBlock :
https://pastebin.com/Sh2n8cve

FurnaceContainer :

https://pastebin.com/ENd4jfQm

FurnaceScreen :
https://pastebin.com/sssnupPM

FurnaceTileEntity :

https://pastebin.com/uQzs2K5e

When i Right-click on the block, i get "TileEntity = null" on printout on FurnaceBlock

Can you help me pls ?

Link to comment
Share on other sites

1.16.5 is no longer supported in this forum:

https://forums.minecraftforge.net/topic/91712-supported-version-directory/

 

Even if it was, you haven't posted nearly enough information to help you.

If you want help with your code, you need to put something on github that reproduces the problem.

We need to be able to see everything in context and maybe try it for ourselves if the problem is not obvious.

You don't even show your registration code (that's just one example of what is missing).

 

I barely remember how tile entities worked in 1.16.5 they have changed a lot since then (this is why supporting older versions becomes impossible).

I can tell you your block does not have the most important callback for tile entities.

https://forge.gemwire.uk/wiki/Tile_Entities/1.16#Attaching_a_TileEntity_to_a_Block

 

Looking at other mods for 1.16.5 is probably your best bet, if you want to continue developing mods for legacy unsupported versions: e.g.

https://github.com/BluSunrize/ImmersiveEngineering/blob/0220be6d01d9593f37511f14e35b83a2817c9ee3/src/main/java/blusunrize/immersiveengineering/common/blocks/IETileProviderBlock.java#L70

But you are pretty much on your own unless you can find somebody still developing for that version willing to help you.

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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