Trying to summon fire from wearing a specific armor

Started by TheSmallNinja on

Topic category: Help with Minecraft modding (Java Edition)

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?

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

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.