Interface

Started by mwe on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Interface

Hi everyone, I need your help, I'm trying to make a mind system in minecraft through the interface, but something is wrong. 

I went into the variables and created "Sanity" = 3, then I created an overlay "Sanity" in which I added 4 images through the Image editor and assigned a procedure to each, each with the same code:
Event trigger - triggered by external call or when (global trigger): No additional trigger
       |
If           ||Get number [Global: Sanity] for entity: [Event/target entity]| = //number for each image//|
do         ||Return logic: [true]
       |
Return logic [false]