Help me with overlays pls

Started by BaguetteDoesnt… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help me with overlays pls

ive been trying to make an item that makes an overlay display when you hold it, ive tried everything i could find about overlays but i didnt got it working, can someone help me with this please?

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
with conditions overlay…
Wed, 11/03/2021 - 20:08

with conditions

overlay display condition trigger (on overlay condition)

if item in main hand of event target entity = ITEM OR item in off hand of event target entity = ITEM

 do return true

return false (outside of If Statement)

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
return true the return…
Wed, 11/03/2021 - 20:51

return true

the return procedure makes an error message appear when i try to use it and i dont even know what am i doing wrong

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
show me your procedure 
Wed, 11/03/2021 - 21:04

show me your procedure 

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
no, no, delete the second if…
Wed, 11/03/2021 - 21:49

no, no, delete the second if statement, and just put return False outside, 

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i already solved it lol…
Thu, 11/04/2021 - 15:53

i already solved it lol
thanks anyways
also i do know how to use conditions what made me boggle my mind is the return procedure

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yeah it's supposed to be…
Thu, 11/04/2021 - 16:08

yeah it's supposed to be outside of the if statement, that's how conditions just work