Uses of Record 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.component
Modifier and TypeFieldDescriptionstatic final ComponentType
<ContainerLock> DataComponentTypes.LOCK
-
Uses of ContainerLock in net.minecraft.inventory
Modifier and TypeFieldDescriptionstatic final ContainerLock
ContainerLock.EMPTY
An empty container lock that can always be opened.Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ContainerLock> ContainerLock.CODEC
Modifier and TypeMethodDescriptionstatic ContainerLock
ContainerLock.fromNbt
(NbtCompound nbt) Creates a newContainerLock
from theLock
key of the NBT compound.