net.minecraft.advancements.critereon

public record ItemJukeboxPlayablePredicate

implements SingleComponentItemPredicate<JukeboxPlayable>

cs
net.minecraft.advancements.critereon.ItemJukeboxPlayablePredicate
net.minecraft.class_9790
net.minecraft.predicate.item.JukeboxPlayablePredicate
net.minecraft.advancements.critereon.ItemJukeboxPlayablePredicate

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public DataComponentType<JukeboxPlayable>
a()
componentType()
method_58163()
getComponentType()
public boolean
a(cxp arg0, cxu arg1)
matches(ItemStack arg0, JukeboxPlayable arg1)
method_60731(class_1799 arg0, class_9792 arg1)
test(ItemStack arg0, JukeboxPlayableComponent arg1)
public static ItemJukeboxPlayablePredicate
b()
any()
method_60732()
empty()
public Optional<HolderSet<JukeboxSong>>
c()
song()
comp_2830()
song()