Jump to content

[1.16.4] custom furnace


Luis_ST

Recommended Posts

i want to create a custom furnace with the same gui like the vanilla furnace but with custom recipe

but what is the best way to do that?

i just try to creat a block which extends the vanilla furnace and the i overide the TileEntity Methode.

1. my custom tileentity extends the AbstractFurnaceTileEntity but i have to set the TileEntityType and i cant creat a new one

- how do i create a new TileEntityType? this\/ is not work but why it says: "The type SmeltingFurnaceTileEntity does not define SmeltingFurnaceTileEntity() that is applicable here"

TileEntityType.Builder.create(SmeltingFurnaceTileEntity::new, CaveBlocks.SMELTING_FURNACE.get())

2. and my custom container extends AbstractFurnaceContainer but i have to set the ContainerType there is no method to creat a new one.

- so how can i creat a new ContainerType  / use an existing ContainerType for my block

 

Edited by Luis_ST
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.

Announcements



×
×
  • Create New...

Important Information

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