QuartzLib icon indicating copy to clipboard operation
QuartzLib copied to clipboard

Adding a highlight block effect.

Open Vlammar opened this issue 5 years ago • 1 comments

It's possible to set a glowing effect on falling entity. Falling entity allow to have a shape that match the block targeted (flower_pot, chest...) and if the entity is set to a team it's possible to have colors associated to it. Using NMS to make sure only the player p is allow to see the effect.

Prototype of the method highlightBlock(Player p, Block b, Location loc, Color color)

Vlammar avatar Nov 18 '20 09:11 Vlammar

You'll also need a method to remove the highlight effect and/or define the duration

LucBerge avatar Nov 20 '20 17:11 LucBerge