Uses of Record Class
net.minecraft.inventory.ContainerLock
Packages that use ContainerLock
-
Uses of ContainerLock in net.minecraft.block.entity
Fields in net.minecraft.block.entity declared as ContainerLockModifier and TypeFieldDescriptionprivate ContainerLock
BeaconBlockEntity.lock
private ContainerLock
LockableContainerBlockEntity.lock
Methods in net.minecraft.block.entity with parameters of type ContainerLockModifier and TypeMethodDescriptionstatic boolean
LockableContainerBlockEntity.checkUnlocked
(PlayerEntity player, ContainerLock lock, Text containerName) -
Uses of ContainerLock in net.minecraft.component
Fields in net.minecraft.component with type parameters of type ContainerLockModifier and TypeFieldDescriptionstatic final ComponentType
<ContainerLock> DataComponentTypes.LOCK
-
Uses of ContainerLock in net.minecraft.inventory
Fields in net.minecraft.inventory declared as ContainerLockModifier and TypeFieldDescriptionstatic final ContainerLock
ContainerLock.EMPTY
An empty container lock that can always be opened.Fields in net.minecraft.inventory with type parameters of type ContainerLockModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<ContainerLock> ContainerLock.CODEC
Methods in net.minecraft.inventory that return ContainerLockModifier and TypeMethodDescriptionstatic ContainerLock
ContainerLock.fromNbt
(NbtCompound nbt, RegistryWrapper.WrapperLookup registries) Creates a newContainerLock
from theLock
key of the NBT compound.