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.CODEC
private Optional
<EntityTypePredicate> EntityPredicate.Builder.entityType
private final Optional
<EntityTypePredicate> EntityPredicate.entityType
The field for theentityType
record component.Methods in net.minecraft.advancements.critereon that return EntityTypePredicateModifier and TypeMethodDescriptionstatic EntityTypePredicate
EntityTypePredicate.of
(HolderGetter<EntityType<?>> p_364220_, TagKey<EntityType<?>> p_204082_) static EntityTypePredicate
EntityTypePredicate.of
(HolderGetter<EntityType<?>> p_363217_, EntityType<?> p_37648_) Methods in net.minecraft.advancements.critereon that return types with arguments of type EntityTypePredicateModifier and TypeMethodDescriptionEntityPredicate.entityType()
Returns the value of theentityType
record component.Methods in net.minecraft.advancements.critereon with parameters of type EntityTypePredicateModifier and TypeMethodDescriptionEntityPredicate.Builder.entityType
(EntityTypePredicate p_36647_) 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 aEntityPredicate
record 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