Logic sensor (#10795)
* Add `selectedBlock` logic sensor * Add `buildX`/`buildY`/`building` logic sensors * Change `building` from boolean to the building * `breaking` * Make `breaking`/`building` more consistent * Allow blocks/content to be null * Change `selectedBlock` from air to null * Change `selectedBlock` from air to null * Make `selectedBlock` SyncLocal * Add `selectedRotation`
This commit is contained in:
@@ -51,6 +51,10 @@ public enum LAccess{
|
||||
mineX,
|
||||
mineY,
|
||||
mining,
|
||||
buildX,
|
||||
buildY,
|
||||
building,
|
||||
breaking,
|
||||
speed,
|
||||
team,
|
||||
type,
|
||||
@@ -64,6 +68,8 @@ public enum LAccess{
|
||||
payloadCapacity,
|
||||
maxUnits,
|
||||
id,
|
||||
selectedBlock,
|
||||
selectedRotation,
|
||||
|
||||
//values with parameters are considered controllable
|
||||
enabled("to"), //"to" is standard for single parameter access
|
||||
|
||||
Reference in New Issue
Block a user