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

I want to implement a function. I now have a custom container. I want to put Furnace that can burn, such as coal. Then she will burn like a Furnace, how can I do it

The container code is complete, now only need to put the coal and start burning.

 

 

  • Author
46 minutes ago, Luis_ST said:

did you looked at the vanilla Furnace (TileEntity and Container)

Yes, but I think they are too difficult to understand, and I don’t know which method to use

you can't create a custom furnace without understanding how it (should) work,
and which mappings did you use (i need it for the method names you should look at)?

Edited by Luis_ST

  • Author
19 hours ago, Luis_ST said:

you can't create a custom furnace without understanding how it (should) work,
and which mappings did you use (i need it for the method names you should look at)?

I just want a function of the furnace, just put in coal and burn it. That's it. I don't need other functions

Do I need to show you my code?

44 minutes ago, Spring said:

I just want a function of the furnace, just put in coal and burn it. That's it. I don't need other functions

Do I need to show you my code?

You can't do that in a single function. It would require an inventory for the TE, a Screen, a Menu and a bunch of other shit.

  • Author
13 minutes ago, uSkizzik said:

You can't do that in a single function. It would require an inventory for the TE, a Screen, a Menu and a bunch of other shit.

It means I need to implement a complete set of furnace code, right?

There really is no easy way of doing this. In fact I deem coding tile entitys, like a custom furnace type of container, as pretty much the most difficult thing to code. You'd have to do a custom block, container, containerScreen, tileEntiy, and code for stateData, inventoryZoneContent, and something to handle the blockStateFlags. It might not be the best address/source, but I'd recommend trying to follow the "MinecraftByExample" tutorial series. For a more rudimentary start I'd recommend KaupenJoe's Tutorials, on Fuel and Custom TileEntitys.

But again, there really is no "easy" way on building completely customized furnaces.

In special for your request. KaupenJoe's Fuel tutorial teaches you what you want, I guess.

  • Author
15 minutes ago, Cratthorax said:

There really is no easy way of doing this. In fact I deem coding tile entitys, like a custom furnace type of container, as pretty much the most difficult thing to code. You'd have to do a custom block, container, containerScreen, tileEntiy, and code for stateData, inventoryZoneContent, and something to handle the blockStateFlags. It might not be the best address/source, but I'd recommend trying to follow the "MinecraftByExample" tutorial series. For a more rudimentary start I'd recommend KaupenJoe's Tutorials, on Fuel and Custom TileEntitys.

But again, there really is no "easy" way on building completely customized furnaces.

In special for your request. KaupenJoe's Fuel tutorial teaches you what you want, I guess.

Ok i try to do

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...

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.