Class DataComponentPredicates
java.lang.Object
net.minecraft.core.component.predicates.DataComponentPredicates
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DataComponentPredicate.Type
<TrimPredicate> static final DataComponentPredicate.Type
<AttributeModifiersPredicate> static final DataComponentPredicate.Type
<BundlePredicate> static final DataComponentPredicate.Type
<ContainerPredicate> static final DataComponentPredicate.Type
<CustomDataPredicate> static final DataComponentPredicate.Type
<DamagePredicate> static final DataComponentPredicate.Type
<FireworkExplosionPredicate> static final DataComponentPredicate.Type
<FireworksPredicate> static final DataComponentPredicate.Type
<JukeboxPlayablePredicate> static final DataComponentPredicate.Type
<PotionsPredicate> static final DataComponentPredicate.Type
<WritableBookPredicate> static final DataComponentPredicate.Type
<WrittenBookPredicate> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DataComponentPredicate.Type
<?> bootstrap
(Registry<DataComponentPredicate.Type<?>> p_400147_) private static <T extends DataComponentPredicate>
DataComponentPredicate.Type<T>
-
Field Details
-
DAMAGE
-
ENCHANTMENTS
-
STORED_ENCHANTMENTS
public static final DataComponentPredicate.Type<EnchantmentsPredicate.StoredEnchantments> STORED_ENCHANTMENTS -
POTIONS
-
CUSTOM_DATA
-
CONTAINER
-
BUNDLE_CONTENTS
-
FIREWORK_EXPLOSION
-
FIREWORKS
-
WRITABLE_BOOK
-
WRITTEN_BOOK
-
ATTRIBUTE_MODIFIERS
-
ARMOR_TRIM
-
JUKEBOX_PLAYABLE
-
-
Constructor Details
-
DataComponentPredicates
public DataComponentPredicates()
-
-
Method Details
-
register
private static <T extends DataComponentPredicate> DataComponentPredicate.Type<T> register(String p_399768_, com.mojang.serialization.Codec<T> p_400071_) -
bootstrap
public static DataComponentPredicate.Type<?> bootstrap(Registry<DataComponentPredicate.Type<?>> p_400147_)
-