Burning Item when On Block

Started by BryAstro on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 day ago
Joined Mar 2022
Points:
693

User statistics:

  • Modifications: 1
  • Forum topics: 40
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 61
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
Active 5 days ago
Joined May 2022
Points:
1269

User statistics:

  • Modifications: 15
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1142
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.) 


 

Active 1 year ago
Joined Nov 2023
Points:
493

User statistics:

  • Modifications: 0
  • Forum topics: 36
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 343
'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

Active 5 days ago
Joined May 2022
Points:
1269

User statistics:

  • Modifications: 15
  • Forum topics: 25
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 1142
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.' 

Active 1 day ago
Joined Mar 2022
Points:
693

User statistics:

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

Thx so much!