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.mob
Modifier and TypeMethodDescriptionprivate static List<AbstractPiglinEntity>
PiglinBrain.getNearbyPiglins
(AbstractPiglinEntity piglin) private 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) protected static boolean
PiglinBrain.hasIdleActivity
(AbstractPiglinEntity piglin) private static Optional<? extends LivingEntity>
PiglinBruteBrain.method_30247
(AbstractPiglinEntity piglin) private static boolean
PiglinBruteBrain.method_30248
(AbstractPiglinEntity piglin, LivingEntity livingEntity) private static Optional<? extends LivingEntity>
PiglinBruteBrain.method_30249
(AbstractPiglinEntity piglin, MemoryModuleType<? extends LivingEntity> memoryModuleType) 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)