Trying to summon fire from wearing a specific armor

Started by TheSmallNinja on

Topic category: Help with modding (Java Edition)

Last seen on 00:53, 23. Apr 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Trying to summon fire from wearing a specific armor

So im making a Mod about kirby, and when you wear the fire hat, i want to make it so if you right click the ground with it on, it lights a fire, anyone know how to do it?

Last seen on 15:02, 19. Apr 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
To do that you need to…
Thu, 04/28/2022 - 10:08

To do that you need to create a procedure element with global trigger of "Player Right-clicked block".

Then you need to check if armor slot 3 (for helmet) is equal to your fire hat. If it's true, then spawn a block based on the direction of which side you right clicked.

 

Screenshot:

 https://imgur.com/a/C8wYNjr

Last seen on 13:58, 21. Jan 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could make a tag called …
Fri, 05/13/2022 - 23:30

You could make a tag called "Fire Hat" then you could just check if the item in that slot is in the tag so you could make even more of these.