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.client.render.entity
Modifier and TypeMethodDescriptionvoid
PiglinEntityRenderer.updateRenderState
(AbstractPiglinEntity abstractPiglinEntity, PiglinEntityRenderState piglinEntityRenderState, float float2) -
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
(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target) private static void
PiglinBrain.angerAtIfCloser
(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target) protected static void
PiglinBrain.angerNearbyPiglins
(ServerWorld world, AbstractPiglinEntity piglin) protected static void
PiglinBrain.becomeAngryWith
(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target) private static void
PiglinBrain.becomeAngryWithPlayer
(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target) 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
(ServerWorld world, AbstractPiglinEntity piglin) protected static boolean
PiglinBrain.hasIdleActivity
(AbstractPiglinEntity piglin) private static boolean
PiglinBruteBrain.isTarget
(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target) protected static void
PiglinBrain.rememberHunting
(AbstractPiglinEntity piglin) protected static void
PiglinBrain.tryRevenge
(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target) ModifierConstructorDescriptionAbstractPiglinEntity
(EntityType<? extends AbstractPiglinEntity> type, World world) PiglinEntity
(EntityType<? extends AbstractPiglinEntity> type, World world)