Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
#94 the fix for markerTags not showing up on plugin created commandBlocks #97
This is the implementation for #94
Honestly I'm a little unsure whether marker entities should be created inside plugins. I can see someone setting it without realising that it will create many more than intended if they use a bang command before resetting it.
But I'm happy to let this go and see what happens.
Right, I see now! Your setting the markerTag INSIDE the band command, and needed it to revert back to whatever was before the bang command was called.
Actually that's what happens with the other JSON props like
This stops JSON properties from persisting for more than one command when used in a band command. I think I would prefer the markerTag to behave the same so that it's consistent.
I've already started adding to this on my local version, so I'll look into it. There won't be a need for
bang commands in the same way other json options are. Any markerTag assigned inside a band command WON'T persist outside of it. But any markerTag entity assigned before the bang command is called will, so long as it's not reset inside the band command script.