net.minecraft.world

public class LockCode

awj
net.minecraft.world.LockCode
net.minecraft.class_1273
net.minecraft.inventory.ContainerLock
net.minecraft.src.C_473_
net.minecraft.world.ChestLock

Field summary

Modifier and TypeField
public static final LockCode
a
NO_LOCK
field_5817
EMPTY
f_19102_
public static final String
b
TAG_LOCK
field_29956
LOCK_KEY
f_146668_
private final String
c
key
field_5818
key
f_19103_

Constructor summary

ModifierConstructor
public (String key)

Method summary

Modifier and TypeMethod
public boolean
a(buw arg0)
unlocksWith(ItemStack arg0)
method_5472(class_1799 arg0)
canOpen(ItemStack stack)
m_19107_(C_1391_ arg0)
public void
a(ok arg0)
addToTag(CompoundTag arg0)
method_5474(class_2487 arg0)
writeNbt(NbtCompound nbt)
m_19109_(C_4917_ arg0)
public static LockCode
b(ok arg0)
fromTag(CompoundTag arg0)
method_5473(class_2487 arg0)
fromNbt(NbtCompound nbt)
m_19111_(C_4917_ p_19112_)