Actually pretty banner procedure help

Started by Kingofundrock on

Topic category: Help with MCreator software

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Actually pretty banner procedure help

So I’m trying to make a custom model for new banners in my mod, one that actually looks good. I have this planned out as the theory of what I’d have to follow in order to get it to work 

 

The idea is I would make 3 custom models, each one is one block tall, the top, center and end of the banner. I need to make a procedure that when you place the item banner, it places the end piece below it, the end piece would have no hit box. Then if you click again under the first piece, you add a middle piece, replacing the previous end piece and spawning a new one under that, so you could keep on going on and on and make a really long, really pretty banner. The issue is I have no clue how to even start a procedure like this, would anyone have any idea how I could carry this out?

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know you probably already…
Sat, 08/10/2024 - 08:03

I know you probably already figured it out, just replying if someone meets a similar issue: Create a procedure that runs if you right click on the Top block. This procedure is:

If: item in the main hand of [Source Entity] = (Your Banner Item)

Do: Set [CustomNumberVar] to 1,

Repeat while [CustomLogicalVar] = False,

Do: If: Block in Y-[CustomNumberVar] = (Your End Block),

Do: Replace block in Y-[CustomNumberVar] with (Your Middle Block), and replace block in Y-[CustomNumberVar+1] with (Your End Block). Set [CustomLogicalVar] to true.

Else: Set [CustomNumberVar] to [CustomNumberVar+1].