Uses of Class
net.minecraft.world.entity.monster.piglin.AbstractPiglin
-
Uses of AbstractPiglin in net.minecraft.world.entity.ai.memory
Modifier and TypeFieldDescriptionstatic final MemoryModuleType<List<AbstractPiglin>>
MemoryModuleType.NEARBY_ADULT_PIGLINS
static final MemoryModuleType<AbstractPiglin>
MemoryModuleType.NEAREST_VISIBLE_ADULT_PIGLIN
static final MemoryModuleType<List<AbstractPiglin>>
MemoryModuleType.NEAREST_VISIBLE_ADULT_PIGLINS
-
Uses of AbstractPiglin in net.minecraft.world.entity.monster.piglin
Modifier and TypeMethodDescriptionprivate static List<AbstractPiglin>
PiglinAi.getAdultPiglins
(AbstractPiglin p_34961_) private static List<AbstractPiglin>
PiglinAi.getVisibleAdultPiglins
(Piglin p_35005_) Modifier and TypeMethodDescriptionprotected static void
PiglinAi.broadcastAngerTarget
(AbstractPiglin p_34896_, LivingEntity p_34897_) protected static void
PiglinAi.broadcastUniversalAnger
(AbstractPiglin p_34825_) protected static void
PiglinAi.dontKillAnyMoreHoglinsForAWhile
(AbstractPiglin p_34923_) private static Optional<? extends LivingEntity>
PiglinBruteAi.findNearestValidAttackTarget
(AbstractPiglin p_35087_) private static List<AbstractPiglin>
PiglinAi.getAdultPiglins
(AbstractPiglin p_34961_) private static Optional<LivingEntity>
PiglinAi.getAngerTarget
(AbstractPiglin p_34976_) PiglinAi.getNearestVisibleTargetablePlayer
(AbstractPiglin p_34894_) private static Optional<? extends LivingEntity>
PiglinBruteAi.getTargetIfWithinRange
(AbstractPiglin p_35092_, MemoryModuleType<? extends LivingEntity> p_35093_) protected static boolean
PiglinAi.isIdle
(AbstractPiglin p_34943_) private static boolean
PiglinBruteAi.isNearestValidAttackTarget
(AbstractPiglin p_35089_, LivingEntity p_35090_) protected static void
PiglinAi.maybeRetaliate
(AbstractPiglin p_34827_, LivingEntity p_34828_) protected static void
PiglinAi.setAngerTarget
(AbstractPiglin p_34925_, LivingEntity p_34926_) private static void
PiglinAi.setAngerTargetIfCloserThanCurrent
(AbstractPiglin p_34963_, LivingEntity p_34964_) private static void
PiglinAi.setAngerTargetToNearestTargetablePlayerIfFound
(AbstractPiglin p_34945_, LivingEntity p_34946_) ModifierConstructorDescriptionAbstractPiglin
(EntityType<? extends AbstractPiglin> p_34652_, Level p_34653_) Piglin
(EntityType<? extends AbstractPiglin> p_34683_, Level p_34684_)