类的使用
net.minecraft.inventory.ContainerLock
-
使用ContainerLock的程序包 程序包 说明 net.minecraft.block.entity net.minecraft.inventory -
-
net.minecraft.block.entity中ContainerLock的使用
声明为ContainerLock的net.minecraft.block.entity中的字段 修饰符和类型 字段 说明 private ContainerLockBeaconBlockEntity. lockprivate ContainerLockLockableContainerBlockEntity. lock参数类型为ContainerLock的net.minecraft.block.entity中的方法 修饰符和类型 方法 说明 static booleanLockableContainerBlockEntity. checkUnlocked(PlayerEntity player, ContainerLock lock, Text containerName) -
net.minecraft.inventory中ContainerLock的使用
声明为ContainerLock的net.minecraft.inventory中的字段 修饰符和类型 字段 说明 static ContainerLockContainerLock. EMPTYAn empty container lock that can always be opened.返回ContainerLock的net.minecraft.inventory中的方法 修饰符和类型 方法 说明 static ContainerLockContainerLock. fromNbt(CompoundTag nbt)Creates a newContainerLockfrom theLockkey of the NBT compound.
-