net.minecraft.core.component.predicates

public class DataComponentPredicates

kx
net.minecraft.core.component.predicates.DataComponentPredicates
net.minecraft.class_9361

Field summary

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

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)
public static DataComponentPredicate$Type<?>
a(jv<kw$b<?>> arg0)
bootstrap(Registry<DataComponentPredicate$Type<?>> arg0)
method_58181(class_2378<class_9360$class_8745<?>> arg0)