Record Class DataComponentPredicate.JukeboxPlayable

java.lang.Object
java.lang.Record
net.minestom.server.instance.block.predicate.DataComponentPredicate.JukeboxPlayable
Record Components:
songs - The songs to accept, or null to ignore.
All Implemented Interfaces:
Predicate<DataComponent.Holder>, DataComponentPredicate, DataComponentPredicate.Registered
Enclosing interface:
DataComponentPredicate

public static record DataComponentPredicate.JukeboxPlayable(@Nullable RegistryTag<JukeboxSong> songs) extends Record implements DataComponentPredicate.Registered
Tests the jukebox song in the DataComponents.JUKEBOX_PLAYABLE component.