net.minecraft.advancements.critereon

public record ItemJukeboxPlayablePredicate

implements SingleComponentItemPredicate<JukeboxPlayable>

ct
net.minecraft.advancements.critereon.ItemJukeboxPlayablePredicate
net.minecraft.class_9790
net.minecraft.unmapped.C_wxjcdmgq
net.minecraft.predicate.item.JukeboxPlayablePredicate
net.minecraft.unmapped.C_wxjcdmgq
net.minecraft.src.C_336575_
net.minecraft.advancements.critereon.ItemJukeboxPlayablePredicate

Field summary

Modifier and TypeField
private final Optional<HolderSet<JukeboxSong>>
c
song
comp_2830
f_tlhsyyhy
song
song
f_337329_
public static final com.mojang.serialization.Codec<ItemJukeboxPlayablePredicate>
a
CODEC
field_52020
f_lglowqcl
CODEC
CODEC
f_336738_

Constructor summary

ModifierConstructor
public (Optional<HolderSet<JukeboxSong>> song)

Method summary

Modifier and TypeMethod
public DataComponentType<JukeboxPlayable>
a()
componentType()
method_58163()
m_rbcgkvlq()
getComponentType()
m_318698_()
public boolean
a(cwq arg0, cwv arg1)
matches(ItemStack arg0, JukeboxPlayable arg1)
method_60731(class_1799 arg0, class_9792 arg1)
m_caisrkon(C_sddaxwyk arg0, C_kznjvexi arg1)
test(ItemStack arg0, JukeboxPlayableComponent arg1)
m_ukkbbchk(ItemStack stack, JukeboxPlayableComponent arg1)
m_318913_(C_1391_ p_343683_, C_336595_ arg1)
public static ItemJukeboxPlayablePredicate
b()
any()
method_60732()
m_jbkzlrxk()
empty()
m_339167_()
public Optional<HolderSet<JukeboxSong>>
c()
song()
comp_2830()
m_bplpvsds()
song()
song()
f_337329_()