Need help with triggers

Started by Krejca on

Topic category: Help with MCreator software

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help with triggers

Hello i need help with triggers, i have been trying to make my first mod so am still learning all the basics but when i created my own blocks/items/tools i came across trigges and thought that i wanna add special properties to my pickaxe firstly the most helpfull will be if someone can tell me how to add ˇwalking light sourceˇ similar to torches when you have active dynamic lightning on optifine.. if that is not possible at least help me with this: 

i have created a pickaxe and added some effects like NIGHTVISON, HASTE and SPEED

How can i add something that will check if i still hold the item and if not then clear my effects? THANKS

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the Components Section…
Thu, 07/20/2023 - 17:22

In the Components Section there is a Block called item in main hand.

Also you can find Tutorials about adding Effects to Tools on Youtube.

If you wanna add custom Effects to a Custom Tool you created then in the Triggers Section of your Tool there is a Trigger called "When in tool in hand tick".

There various ways to implement it.