Open ygtdmn opened 7 years ago
This is technically very hard because we need to know where the sign should be... Or most importantly, where the player want the sign to be...
We can get players facing direction. And add the sign opposite of that direction. For example if player is looking North we can add the sign South side of the placed block.
I found a good util in there: https://bukkit.org/threads/direction-the-playser-faces-north-south.20773/
Getting the player's direction is not a problem. The problem is, you can not always get the player's intended direction correctly.
Player can disable auto-locking if he wants?
Hi, i have a suggestion. When a player place a block that specified in config, block automatically locks. For example automatically add a lock sign to a mob spawner block when it placed.