I created an item and I want when I hit an entity with it I have a totem animation of the item on my screen

Started by ShadowRed002 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I created an item and I want when I hit an entity with it I have a totem animation of the item on my screen
Wed, 02/19/2025 - 19:41 (edited)

Currentely when i hit an entity nothing append, my code is the trigger (in my item element) : "if a living entity is hit with item" and a procedure with no global trigger and a loop "if source entity is sub type : "player" do" : "totem animation for [my item]"

i saw multiple video that make totem animation work but its not with the trigger inside item element that I use, so i don't know what to do

 

the item oneshot maybe its a problem

my workspace is forge 1.20.1

 

(sorry for my bad english)

Edited by ShadowRed002 on Wed, 02/19/2025 - 19:41