Uses of Class
net.minecraft.entity.mob.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
Modifier 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
Modifier and TypeMethodDescriptionprivate static boolean
HuntHoglinTask.hasHuntedRecently
(AbstractPiglinEntity piglin) -
Uses of AbstractPiglinEntity in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionprivate static List<AbstractPiglinEntity>
PiglinBrain.getNearbyPiglins
(AbstractPiglinEntity piglin) protected static List<AbstractPiglinEntity>
PiglinBrain.getNearbyVisiblePiglins
(PiglinEntity piglin) Modifier 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) ModifierConstructorDescriptionAbstractPiglinEntity
(EntityType<? extends AbstractPiglinEntity> type, World world) PiglinEntity
(EntityType<? extends AbstractPiglinEntity> type, World world)