How to make Fuel from an existing block?

Started by BalintH on

Topic category: Help with Minecraft modding (Java Edition)

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?

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;

 }