Burning Item when On Block

Started by BryAstro on

Topic category: Help with modding (Java Edition)

Last seen on 09:23, 24. Apr 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Burning Item when On Block
Sat, 12/30/2023 - 01:12 (edited)

2023.4 (1.20.1 Forge)

Hello, I am making a type of fire, and I would like to know how to make an item burn when on the custom fire, how can I do that?

Edited by BryAstro on Sat, 12/30/2023 - 01:12
Last seen on 10:38, 22. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use the 'on collision'…
Fri, 12/29/2023 - 14:21

Use the 'on collision' trigger for a procedure, check if the colliding entity is a subtype of item, and, if it is, use the 'light on fire' function to light the entity on fire. This is how vanilla fire works, and will burn anything that isn't in the fire-immune tag. (That is, except for Netherite.) 


 

Last seen on 04:46, 14. Mar 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
'light on fire? where is…
Sat, 12/30/2023 - 00:28

'light on fire? where is that procedure man? never seen it can be usefull for me too lol

Last seen on 10:38, 22. Apr 2024
Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's kind of hidden in the …
Sat, 12/30/2023 - 00:36

It's kind of hidden in the 'entity management' tab. Something like 'set entity on fire for (number) ticks.' 

Last seen on 09:23, 24. Apr 2024
Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thx so much!
Sat, 12/30/2023 - 01:19

Thx so much!