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 ContainerLockBeaconBlockEntity. lockprivate ContainerLockLockableContainerBlockEntity. lockMethods in net.minecraft.block.entity with parameters of type ContainerLock Modifier and Type Method Description static booleanLockableContainerBlockEntity. 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 ContainerLockContainerLock. EMPTYAn empty container lock that can always be opened.Methods in net.minecraft.inventory that return ContainerLock Modifier and Type Method Description static ContainerLockContainerLock. fromNbt(NbtCompound nbt)Creates a newContainerLockfrom theLockkey of the NBT compound.