Uses of Class
net.minecraft.inventory.ContainerLock
Package | Description |
---|---|
net.minecraft.block.entity | |
net.minecraft.inventory |
-
Uses of ContainerLock in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as ContainerLock Modifier and Type Field Description private ContainerLock
BeaconBlockEntity. lock
private ContainerLock
LockableContainerBlockEntity. lock
Methods in net.minecraft.block.entity with parameters of type ContainerLock Modifier and Type Method Description static boolean
LockableContainerBlockEntity. checkUnlocked(PlayerEntity player, ContainerLock lock, Text containerName)
-
Uses of ContainerLock in net.minecraft.inventory
Fields in net.minecraft.inventory declared as ContainerLock Modifier and Type Field Description static ContainerLock
ContainerLock. EMPTY
An empty container lock that can always be opened.Methods in net.minecraft.inventory that return ContainerLock Modifier and Type Method Description static ContainerLock
ContainerLock. fromNbt(NbtCompound nbt)
Creates a newContainerLock
from theLock
key of the NBT compound.