net.minecraft.advancements.critereon

public record ItemJukeboxPlayablePredicate

implements SingleComponentItemPredicate<JukeboxPlayable>

cq
net.minecraft.advancements.critereon.ItemJukeboxPlayablePredicate
net.minecraft.class_9790
net.minecraft.predicate.item.JukeboxPlayablePredicate
net.minecraft.src.C_336575_
net.minecraft.advancements.critereon.ItemJukeboxPlayablePredicate

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public DataComponentType<JukeboxPlayable>
a()
componentType()
method_58163()
getComponentType()
m_318698_()
public boolean
a(cuq arg0, cuu arg1)
matches(ItemStack arg0, JukeboxPlayable arg1)
method_60731(class_1799 arg0, class_9792 arg1)
test(ItemStack arg0, JukeboxPlayableComponent arg1)
m_318913_(C_1391_ p_343683_, C_336595_ arg1)
public static ItemJukeboxPlayablePredicate
b()
any()
method_60732()
empty()
m_339167_()
public Optional<HolderSet<JukeboxSong>>
c()
song()
comp_2830()
song()
f_337329_()