Modifying the Remaining Fuel Level in a Furnace

Started by WhiteKnight97531 on

Topic category: Help with modding (Java Edition)

Last seen on 05:34, 10. Oct 2023
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Modifying the Remaining Fuel Level in a Furnace
Tue, 10/03/2023 - 21:09 (edited)

I need help figuring out how to give a furnace fuel without putting anything in it. I am designing a magic mod and I want to have a spell that gives furnaces fuel at the expense of the player's Potentia (Magic Energy).

Any help figuring out how to pull this off will greatly appreciated.

Edited by WhiteKnight97531 on Tue, 10/03/2023 - 21:09
Last seen on 05:34, 10. Oct 2023
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I figured it out. I used a …
Thu, 10/05/2023 - 00:36

I figured it out.

I used a /data command to set the burntime and a boolean property to set the lit state.