Uses of Record Class
net.minecraft.advancements.critereon.EntityTypePredicate
Packages that use EntityTypePredicate
Package
Description
Classes for NeoForge's own data generation.
-
Uses of EntityTypePredicate in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type EntityTypePredicateModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<EntityTypePredicate> EntityTypePredicate.CODECprivate Optional<EntityTypePredicate> EntityPredicate.Builder.entityTypeprivate final Optional<EntityTypePredicate> EntityPredicate.entityTypeThe field for theentityTyperecord component.Methods in net.minecraft.advancements.critereon that return EntityTypePredicateModifier and TypeMethodDescriptionstatic EntityTypePredicateEntityTypePredicate.of(HolderGetter<EntityType<?>> pEntityTypeRegistry, TagKey<EntityType<?>> pEntityTypeTag) static EntityTypePredicateEntityTypePredicate.of(HolderGetter<EntityType<?>> pEntityTypeRegistry, EntityType<?> pEntityType) Methods in net.minecraft.advancements.critereon that return types with arguments of type EntityTypePredicateModifier and TypeMethodDescriptionEntityPredicate.entityType()Returns the value of theentityTyperecord component.Methods in net.minecraft.advancements.critereon with parameters of type EntityTypePredicateModifier and TypeMethodDescriptionEntityPredicate.Builder.entityType(EntityTypePredicate pEntityType) Constructor parameters in net.minecraft.advancements.critereon with type arguments of type EntityTypePredicateModifierConstructorDescriptionEntityPredicate(Optional<EntityTypePredicate> entityType, Optional<DistancePredicate> distanceToPlayer, Optional<MovementPredicate> movement, EntityPredicate.LocationWrapper location, Optional<MobEffectsPredicate> effects, Optional<NbtPredicate> nbt, Optional<EntityFlagsPredicate> flags, Optional<EntityEquipmentPredicate> equipment, Optional<EntitySubPredicate> subPredicate, Optional<Integer> periodicTick, Optional<EntityPredicate> vehicle, Optional<EntityPredicate> passenger, Optional<EntityPredicate> targetedEntity, Optional<String> team, Optional<SlotsPredicate> slots, DataComponentMatchers components) Creates an instance of aEntityPredicaterecord class. -
Uses of EntityTypePredicate in net.neoforged.neoforge.common.data.internal
Fields in net.neoforged.neoforge.common.data.internal with type parameters of type EntityTypePredicateModifier and TypeFieldDescriptionprivate Optional<EntityTypePredicate> NeoForgeAdvancementProvider.EntityPredicateReplacementHelper.entityType