net.minecraft.predicate.component

public class ComponentPredicateTypes

net.minecraft.core.component.predicates.DataComponentPredicates
net.minecraft.class_9361
net.minecraft.predicate.component.ComponentPredicateTypes

Field summary

Modifier and TypeField
public static final ComponentPredicate$Type<DamagePredicate>
DAMAGE
field_49806
DAMAGE
public static final ComponentPredicate$Type<EnchantmentsPredicate$Enchantments>
ENCHANTMENTS
field_49807
ENCHANTMENTS
public static final ComponentPredicate$Type<EnchantmentsPredicate$StoredEnchantments>
STORED_ENCHANTMENTS
field_49808
STORED_ENCHANTMENTS
public static final ComponentPredicate$Type<PotionContentsPredicate>
POTIONS
field_49809
POTION_CONTENTS
public static final ComponentPredicate$Type<CustomDataPredicate>
CUSTOM_DATA
field_49810
CUSTOM_DATA
public static final ComponentPredicate$Type<ContainerPredicate>
CONTAINER
field_51386
CONTAINER
public static final ComponentPredicate$Type<BundleContentsPredicate>
BUNDLE_CONTENTS
field_51387
BUNDLE_CONTENTS
public static final ComponentPredicate$Type<FireworkExplosionPredicate>
FIREWORK_EXPLOSION
field_51388
FIREWORK_EXPLOSION
public static final ComponentPredicate$Type<FireworksPredicate>
FIREWORKS
field_51389
FIREWORKS
public static final ComponentPredicate$Type<WritableBookContentPredicate>
WRITABLE_BOOK
field_51390
WRITABLE_BOOK_CONTENT
public static final ComponentPredicate$Type<WrittenBookContentPredicate>
WRITTEN_BOOK
field_51391
WRITTEN_BOOK_CONTENT
public static final ComponentPredicate$Type<AttributeModifiersPredicate>
ATTRIBUTE_MODIFIERS
field_51392
ATTRIBUTE_MODIFIERS
public static final ComponentPredicate$Type<TrimPredicate>
ARMOR_TRIM
field_51393
TRIM
public static final ComponentPredicate$Type<JukeboxPlayablePredicate>
JUKEBOX_PLAYABLE
field_52024
JUKEBOX_PLAYABLE
public static final ComponentPredicate$Type<VillagerVariantPredicate>
VILLAGER_VARIANT
field_1_804
VILLAGER_VARIANT

Constructor summary

ModifierConstructor
public ()

Method summary

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