Uses of Class
net.minecraft.entity.mob.AbstractPiglinEntity
Packages that use AbstractPiglinEntity
Package
Description
This and its subpackages make up the brain system used by some modern Minecraft entities,
such as villagers, piglins, and axolotls.
-
Uses of AbstractPiglinEntity in net.minecraft.entity.ai.brain
Fields in net.minecraft.entity.ai.brain with type parameters of type AbstractPiglinEntityModifier and TypeFieldDescriptionstatic final MemoryModuleType<List<AbstractPiglinEntity>>
MemoryModuleType.NEARBY_ADULT_PIGLINS
static final MemoryModuleType<AbstractPiglinEntity>
MemoryModuleType.NEAREST_VISIBLE_ADULT_PIGLIN
static final MemoryModuleType<List<AbstractPiglinEntity>>
MemoryModuleType.NEAREST_VISIBLE_ADULT_PIGLINS
-
Uses of AbstractPiglinEntity in net.minecraft.entity.ai.brain.task
Methods in net.minecraft.entity.ai.brain.task with parameters of type AbstractPiglinEntityModifier and TypeMethodDescriptionprivate static boolean
HuntHoglinTask.hasHuntedRecently
(AbstractPiglinEntity piglin) -
Uses of AbstractPiglinEntity in net.minecraft.entity.mob
Subclasses of AbstractPiglinEntity in net.minecraft.entity.mobMethods in net.minecraft.entity.mob that return types with arguments of type AbstractPiglinEntityModifier and TypeMethodDescriptionprivate static List<AbstractPiglinEntity>
PiglinBrain.getNearbyPiglins
(AbstractPiglinEntity piglin) protected static List<AbstractPiglinEntity>
PiglinBrain.getNearbyVisiblePiglins
(PiglinEntity piglin) Methods in net.minecraft.entity.mob with parameters of type AbstractPiglinEntityModifier and TypeMethodDescriptionprotected static void
PiglinBrain.angerAtCloserTargets
(AbstractPiglinEntity piglin, LivingEntity target) private static void
PiglinBrain.angerAtIfCloser
(AbstractPiglinEntity piglin, LivingEntity target) protected static void
PiglinBrain.angerNearbyPiglins
(AbstractPiglinEntity piglin) protected static void
PiglinBrain.becomeAngryWith
(AbstractPiglinEntity piglin, LivingEntity target) private static void
PiglinBrain.becomeAngryWithPlayer
(AbstractPiglinEntity piglin, LivingEntity player) private static Optional<LivingEntity>
PiglinBrain.getAngryAt
(AbstractPiglinEntity piglin) private static List<AbstractPiglinEntity>
PiglinBrain.getNearbyPiglins
(AbstractPiglinEntity piglin) static Optional<PlayerEntity>
PiglinBrain.getNearestDetectedPlayer
(AbstractPiglinEntity piglin) private static Optional<? extends LivingEntity>
PiglinBruteBrain.getTarget
(AbstractPiglinEntity piglin) private static Optional<? extends LivingEntity>
PiglinBruteBrain.getTargetIfInRange
(AbstractPiglinEntity piglin, MemoryModuleType<? extends LivingEntity> targetMemoryModule) protected static boolean
PiglinBrain.hasIdleActivity
(AbstractPiglinEntity piglin) private static boolean
PiglinBruteBrain.isTarget
(AbstractPiglinEntity piglin, LivingEntity entity) protected static void
PiglinBrain.rememberHunting
(AbstractPiglinEntity piglin) protected static void
PiglinBrain.tryRevenge
(AbstractPiglinEntity piglin, LivingEntity target) Constructor parameters in net.minecraft.entity.mob with type arguments of type AbstractPiglinEntityModifierConstructorDescriptionAbstractPiglinEntity
(EntityType<? extends AbstractPiglinEntity> type, World world) PiglinEntity
(EntityType<? extends AbstractPiglinEntity> type, World world)