-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements for free blocks management (#9911)
Adds a button in the TH permissions page to obtain a Permission Scepter (which already existed, but was creative-only and nobody knew about it): image Changes the free interaction list to display the friendly name of the block (and fix up some size/wrapping issues): You still have to type the block id if you want to add a block via the GUI. image Entering a non-existent block id is now ignored, instead of adding Air. Makes UI buttons disable properly when you don't have Edit Permissions permission. The Permission Scepter tooltip shows whether it's in tool or location mode. image Holding CTRL when clicking a block with the Permission Scepter now removes that block/location from the list. Why not SHIFT? Because you'll often also have to hold shift in order to avoid triggering interactive blocks -- and interactive blocks are the whole point. While holding a Permission Scepter, green boxes will be shown around free interaction blocks/locations. It shows either blocks or locations depending on the current tool mode. Locations will be shown colony-wide. Blocks will only be shown if you're relatively close (for performance reasons).
- Loading branch information
Showing
8 changed files
with
155 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+13.9 KB
src/main/resources/assets/minecolonies/textures/gui/scepterpermission.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.