net.minecraft.core.component.predicates

public class DataComponentPredicates

kt
net.minecraft.core.component.predicates.DataComponentPredicates
net.minecraft.class_9361
net.minecraft.predicate.item.ItemSubPredicateTypes

Field summary

Modifier and TypeField
public static final DataComponentPredicate$Type<DamagePredicate>
a
DAMAGE
field_49806
DAMAGE
public static final DataComponentPredicate$Type<EnchantmentsPredicate$Enchantments>
b
ENCHANTMENTS
field_49807
ENCHANTMENTS
public static final DataComponentPredicate$Type<EnchantmentsPredicate$StoredEnchantments>
c
STORED_ENCHANTMENTS
field_49808
STORED_ENCHANTMENTS
public static final DataComponentPredicate$Type<PotionsPredicate>
d
POTIONS
field_49809
POTION_CONTENTS
public static final DataComponentPredicate$Type<CustomDataPredicate>
e
CUSTOM_DATA
field_49810
CUSTOM_DATA
public static final DataComponentPredicate$Type<ContainerPredicate>
f
CONTAINER
field_51386
CONTAINER
public static final DataComponentPredicate$Type<BundlePredicate>
g
BUNDLE_CONTENTS
field_51387
BUNDLE_CONTENTS
public static final DataComponentPredicate$Type<FireworkExplosionPredicate>
h
FIREWORK_EXPLOSION
field_51388
FIREWORK_EXPLOSION
public static final DataComponentPredicate$Type<FireworksPredicate>
i
FIREWORKS
field_51389
FIREWORKS
public static final DataComponentPredicate$Type<WritableBookPredicate>
j
WRITABLE_BOOK
field_51390
WRITABLE_BOOK_CONTENT
public static final DataComponentPredicate$Type<WrittenBookPredicate>
k
WRITTEN_BOOK
field_51391
WRITTEN_BOOK_CONTENT
public static final DataComponentPredicate$Type<AttributeModifiersPredicate>
l
ATTRIBUTE_MODIFIERS
field_51392
ATTRIBUTE_MODIFIERS
public static final DataComponentPredicate$Type<TrimPredicate>
m
ARMOR_TRIM
field_51393
TRIM
public static final DataComponentPredicate$Type<JukeboxPlayablePredicate>
n
JUKEBOX_PLAYABLE
field_52024
JUKEBOX_PLAYABLE

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static <T extends DataComponentPredicate> DataComponentPredicate$Type<T>
a(String arg0, com.mojang.serialization.Codec<T> arg1)
register(String arg0, com.mojang.serialization.Codec<T> arg1)
method_58180(String arg0, com.mojang.serialization.Codec<T> arg1)
register(String id, com.mojang.serialization.Codec<T> codec)
public static DataComponentPredicate$Type<?>
a(jr<ks$b<?>> arg0)
bootstrap(Registry<DataComponentPredicate$Type<?>> arg0)
method_58181(class_2378<class_9360$class_8745<?>> arg0)
getDefault(Registry<ItemSubPredicate$Type<?>> registry)