net.minecraft.world

public record LockCode

btj
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.EnumInteractionResult

Field summary

Modifier and TypeField
private final ItemPredicate
d
predicate
comp_3222
f_bzdnjbup
predicate
predicate
f_349148_
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 (ItemPredicate predicate)

Method summary

Modifier and TypeMethod
public boolean
a(cxo 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(ux arg0, js$a arg1)
addToTag(CompoundTag arg0, HolderLookup$Provider arg1)
method_5474(class_2487 arg0, class_7225$class_7874 arg1)
m_gxldtind(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound nbt, RegistryWrapper$WrapperLookup registries)
writeNbt(NbtCompound nbt, HolderLookup$Provider arg1)
m_19109_(C_4917_ p_367767_, C_213466_$C_254607_ arg1)
public static LockCode
b(ux arg0, js$a arg1)
fromTag(CompoundTag arg0, HolderLookup$Provider arg1)
method_5473(class_2487 arg0, class_7225$class_7874 arg1)
m_muqmhbca(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
fromNbt(NbtCompound nbt, RegistryWrapper$WrapperLookup registries)
fromNbt(NbtCompound nbt, HolderLookup$Provider arg1)
m_19111_(C_4917_ p_19112_, C_213466_$C_254607_ p_361968_)
public ItemPredicate
a()
predicate()
comp_3222()
m_ifgzfapb()
predicate()
predicate()
f_349148_()