Started by
BryAstro
on
Topic category: Help with Minecraft modding (Java Edition)
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
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.)
'light on fire? where is that procedure man? never seen it can be usefull for me too lol
It's kind of hidden in the 'entity management' tab. Something like 'set entity on fire for (number) ticks.'
Thx so much!