Uses of Class
net.minecraft.inventory.ContainerLock
-
Uses of ContainerLock in net.minecraft.block.entity
Modifier and TypeFieldDescriptionprivate ContainerLock
BeaconBlockEntity.lock
private ContainerLock
LockableContainerBlockEntity.lock
Modifier and TypeMethodDescriptionstatic boolean
LockableContainerBlockEntity.checkUnlocked(PlayerEntity player, ContainerLock lock, Text containerName)
-
Uses of ContainerLock in net.minecraft.inventory
Modifier and TypeFieldDescriptionstatic ContainerLock
ContainerLock.EMPTY
An empty container lock that can always be opened.Modifier and TypeMethodDescriptionstatic ContainerLock
ContainerLock.fromNbt(NbtCompound nbt)
Creates a newContainerLock
from theLock
key of the NBT compound.