net.minecraft.world

public record LockCode

bqu
net.minecraft.world.LockCode
net.minecraft.class_1273
net.minecraft.unmapped.C_jptzfwcb
net.minecraft.inventory.ContainerLock
net.minecraft.inventory.ContainerLock
net.minecraft.src.C_473_
net.minecraft.world.ChestLock

Field summary

Modifier and TypeField
private final String
d
key
comp_2371
f_srpfvbxi
key
key
f_19103_
public static final LockCode
a
NO_LOCK
field_5817
f_cuewknyy
EMPTY
EMPTY
f_19102_
public static final com.mojang.serialization.Codec<LockCode>
b
CODEC
field_49206
f_diaopgev
CODEC
CODEC
f_316192_
public static final String
c
TAG_LOCK
field_29956
f_ivguhqzp
LOCK_KEY
LOCK_KEY
f_146668_

Constructor summary

ModifierConstructor
public (String key)

Method summary

Modifier and TypeMethod
public boolean
a(cuq arg0)
unlocksWith(ItemStack arg0)
method_5472(class_1799 arg0)
m_bggosrbk(C_sddaxwyk arg0)
canOpen(ItemStack stack)
canOpen(ItemStack stack)
m_19107_(C_1391_ arg0)
public void
a(ub arg0)
addToTag(CompoundTag arg0)
method_5474(class_2487 arg0)
m_gxldtind(C_hhlwcnih arg0)
writeNbt(NbtCompound nbt)
writeNbt(NbtCompound nbt)
m_19109_(C_4917_ arg0)
public static LockCode
b(ub arg0)
fromTag(CompoundTag arg0)
method_5473(class_2487 arg0)
m_muqmhbca(C_hhlwcnih arg0)
fromNbt(NbtCompound nbt)
fromNbt(NbtCompound nbt)
m_19111_(C_4917_ p_19112_)
public String
a()
key()
comp_2371()
m_ftkvscsy()
key()
key()
f_19103_()