Help with Geckolib animated item if/do procedure

Started by InfinitysDaughter on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Geckolib animated item if/do procedure

I am a modding noob so please excuse my ignorance.

 

I'm attempting to make an item that can detect the light level above it and if the light level is 10+ it will play an animation until the light level falls bellow 10. I thought I understood procedures from the tutorials but I cant even get a light level >/= produce a simple chat message let alone triggering the animation.

What I have right now is:

if "get the light level at y+1" is equal or greater than "10"

-do "print: this item can wiggle"

-else "print:this item can not wiggle"

And its set to "on right click" in the entity triggers

Will be soooo grateful for any assistance!

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not sure the policy on…
Fri, 03/03/2023 - 01:16

Not sure the policy on bumping. Was past page 5 with no assist yet. ^^;