How to make Fuel from an existing block?

Started by BalintH on

Topic category: Help with modding (Java Edition)

Last seen on 16:04, 6. May 2022
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make Fuel from an existing block?

I'am making a mod, and I added Charcoal Block into the game, and I want to make it a Fuel. How can I do it?

Last seen on 16:50, 22. Apr 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've found something likeā€¦
Thu, 06/17/2021 - 17:04

I've found something like this on google:

@Override

 public int getItemBurnTime(ItemStack itemstack)

 {

  return 1000;

 }