net.minecraft.world

public class LockCode

aot
net.minecraft.world.LockCode
net.minecraft.class_1273
net.minecraft.inventory.ContainerLock
net.minecraft.world.LockCode
net.minecraft.server.v1_16_R2.ChestLock

Field summary

Modifier and TypeField
public static final LockCode
a
NO_LOCK
field_5817
EMPTY
field_180162_a
private final String
b
key
field_5818
key
field_180161_b
key

Constructor summary

ModifierConstructor
public (String key)

Method summary

Modifier and TypeMethod
public boolean
a(bly arg0)
unlocksWith(ItemStack arg0)
method_5472(class_1799 arg0)
canOpen(ItemStack stack)
func_219964_a(ItemStack arg0)
public void
a(md arg0)
addToTag(CompoundTag arg0)
method_5474(class_2487 arg0)
toTag(CompoundTag tag)
func_180157_a(CompoundNBT arg0)
public static LockCode
b(md arg0)
fromTag(CompoundTag arg0)
method_5473(class_2487 arg0)
fromTag(CompoundTag tag)
func_180158_b(CompoundNBT arg0)