Barrel, Beacon, BlastFurnace, BrewingStand, Chest, Container, Dispenser, Dropper, Furnace, Hopper, ShulkerBox, Smokerpublic interface Lockable
| Modifier and Type | Method | Description |
|---|---|---|
String |
getLock() |
Gets the key needed to access the container.
|
boolean |
isLocked() |
Checks if the container has a valid (non empty) key.
|
void |
setLock(String key) |
Sets the key required to access this container.
|
Copyright © 2021. All rights reserved.