Uses of Class
net.minecraft.entity.monster.piglin.PiglinEntity
-
Uses of PiglinEntity in net.minecraft.entity
-
Uses of PiglinEntity in net.minecraft.entity.monster.piglin
Modifier and TypeClassDescriptionclass
AdmireItemTask<E extends PiglinEntity>
class
FinishedHuntTask<E extends PiglinEntity>
class
ForgetAdmiredItemTask<E extends PiglinEntity>
class
StartAdmiringItemTask<E extends PiglinEntity>
class
StartHuntTask<E extends PiglinEntity>
class
StopReachingItemTask<E extends PiglinEntity>
Modifier and TypeFieldDescriptionprotected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super PiglinEntity>>>
PiglinEntity.SENSOR_TYPES
Modifier and TypeMethodDescriptionprivate static PiglinIdleActivityTask<PiglinEntity,
LivingEntity> PiglinTasks.avoidZombified()
private static PiglinIdleActivityTask<PiglinEntity,
LivingEntity> PiglinTasks.babyAvoidNemesis()
private static RunSometimesTask<PiglinEntity>
PiglinTasks.babySometimesRideBabyHoglin()
protected Brain.BrainCodec<PiglinEntity>
PiglinEntity.brainProvider()
private static FirstShuffledTask<PiglinEntity>
PiglinTasks.createIdleLookBehaviors()
private static FirstShuffledTask<PiglinEntity>
PiglinTasks.createIdleMovementBehaviors()
PiglinEntity.getBrain()
Modifier and TypeMethodDescriptionprotected static void
PiglinTasks.broadcastDontKillAnyMoreHoglinsForAWhile
(PiglinEntity p_234512_0_) private static void
PiglinTasks.broadcastRetreat
(PiglinEntity p_234516_0_, LivingEntity p_234516_1_) protected static boolean
PiglinTasks.canAdmire
(PiglinEntity p_234489_0_, ItemStack p_234489_1_) protected static void
PiglinTasks.cancelAdmiring
(PiglinEntity p_234496_0_) protected boolean
StartHuntTask.checkExtraStartConditions
(ServerWorld p_212832_1_, PiglinEntity p_212832_2_) private static void
PiglinTasks.eat
(PiglinEntity p_234536_0_) private static Optional<? extends LivingEntity>
PiglinTasks.findNearestValidAttackTarget
(PiglinEntity p_234526_0_) static Optional<LivingEntity>
PiglinTasks.getAvoidTarget
(PiglinEntity p_234515_0_) PiglinTasks.getBarterResponseItems
(PiglinEntity p_234524_0_) private static Vector3d
PiglinTasks.getRandomNearbyPos
(PiglinEntity p_234537_0_) private static SoundEvent
PiglinTasks.getSoundForActivity
(PiglinEntity p_241422_0_, Activity p_241422_1_) static Optional<SoundEvent>
PiglinTasks.getSoundForCurrentActivity
(PiglinEntity p_241429_0_) private static List<AbstractPiglinEntity>
PiglinTasks.getVisibleAdultPiglins
(PiglinEntity p_234529_0_) protected static boolean
PiglinTasks.hasAnyoneNearbyHuntedRecently
(PiglinEntity p_234508_0_) private static boolean
PiglinTasks.hasEatenRecently
(PiglinEntity p_234538_0_) private static boolean
PiglinTasks.hoglinsOutnumberPiglins
(PiglinEntity p_234535_0_) private static void
PiglinTasks.holdInOffhand
(PiglinEntity p_241427_0_, ItemStack p_241427_1_) private static void
PiglinTasks.initFightActivity
(PiglinEntity p_234488_0_, Brain<PiglinEntity> p_234488_1_) protected static void
PiglinTasks.initMemories
(PiglinEntity p_234466_0_) private static boolean
PiglinTasks.isAdmiringDisabled
(PiglinEntity p_234453_0_) private static boolean
PiglinTasks.isAdmiringItem
(PiglinEntity p_234451_0_) private static boolean
PiglinTasks.isBabyRidingBaby
(PiglinEntity p_234522_0_) private static boolean
PiglinTasks.isHoldingItemInOffHand
(PiglinEntity p_234454_0_) private static boolean
PiglinTasks.isNearAvoidTarget
(PiglinEntity p_234528_0_) private static boolean
PiglinTasks.isNearestValidAttackTarget
(PiglinEntity p_234504_0_, LivingEntity p_234504_1_) private static boolean
PiglinTasks.isNearRepellent
(PiglinEntity p_234452_0_) private static boolean
PiglinTasks.isNearZombified
(PiglinEntity p_234525_0_) private static boolean
PiglinTasks.isNotHoldingLovedItemInOffHand
(PiglinEntity p_234455_0_) protected static Brain<?>
PiglinTasks.makeBrain
(PiglinEntity p_234469_0_, Brain<PiglinEntity> p_234469_1_) static ActionResultType
PiglinTasks.mobInteract
(PiglinEntity p_234471_0_, PlayerEntity p_234471_1_, Hand p_234471_2_) protected static void
PiglinTasks.pickUpItem
(PiglinEntity p_234470_0_, ItemEntity p_234470_1_) private static boolean
PiglinTasks.piglinsEqualOrOutnumberHoglins
(PiglinEntity p_234534_0_) private static void
PiglinTasks.putInInventory
(PiglinEntity p_234498_0_, ItemStack p_234498_1_) private static void
PiglinTasks.retreatFromNearestTarget
(PiglinEntity p_234519_0_, LivingEntity p_234519_1_) private static void
PiglinTasks.setAvoidTargetAndDontHuntForAWhile
(PiglinEntity p_234521_0_, LivingEntity p_234521_1_) protected static void
PiglinTasks.stopHoldingOffHandItem
(PiglinEntity p_234477_0_, boolean p_234477_1_) private static void
PiglinTasks.stopWalking
(PiglinEntity p_234531_0_) private static void
PiglinTasks.throwItems
(PiglinEntity p_234475_0_, List<ItemStack> p_234475_1_) private static void
PiglinTasks.throwItemsTowardPlayer
(PiglinEntity p_234472_0_, PlayerEntity p_234472_1_, List<ItemStack> p_234472_2_) private static void
PiglinTasks.throwItemsTowardPos
(PiglinEntity p_234476_0_, List<ItemStack> p_234476_1_, Vector3d p_234476_2_) private static void
PiglinTasks.throwItemsTowardRandomPos
(PiglinEntity p_234490_0_, List<ItemStack> p_234490_1_) protected static void
PiglinTasks.updateActivity
(PiglinEntity p_234486_0_) protected static boolean
PiglinTasks.wantsToPickup
(PiglinEntity p_234474_0_, ItemStack p_234474_1_) private static boolean
PiglinTasks.wantsToStopFleeing
(PiglinEntity p_234533_0_) private static boolean
PiglinTasks.wantsToStopRiding
(PiglinEntity p_234467_0_, Entity p_234467_1_) protected static void
PiglinTasks.wasHurtBy
(PiglinEntity p_234468_0_, LivingEntity p_234468_1_) Modifier and TypeMethodDescriptionstatic boolean
PiglinEntity.checkPiglinSpawnRules
(EntityType<PiglinEntity> p_234418_0_, IWorld p_234418_1_, SpawnReason p_234418_2_, BlockPos p_234418_3_, Random p_234418_4_) private static void
PiglinTasks.initAdmireItemActivity
(Brain<PiglinEntity> p_234502_0_) private static void
PiglinTasks.initCelebrateActivity
(Brain<PiglinEntity> p_234495_0_) private static void
PiglinTasks.initCoreActivity
(Brain<PiglinEntity> p_234464_0_) private static void
PiglinTasks.initFightActivity
(PiglinEntity p_234488_0_, Brain<PiglinEntity> p_234488_1_) private static void
PiglinTasks.initIdleActivity
(Brain<PiglinEntity> p_234485_0_) private static void
PiglinTasks.initRetreatActivity
(Brain<PiglinEntity> p_234507_0_) private static void
PiglinTasks.initRideHoglinActivity
(Brain<PiglinEntity> p_234511_0_) protected static Brain<?>
PiglinTasks.makeBrain
(PiglinEntity p_234469_0_, Brain<PiglinEntity> p_234469_1_)