Uses of Class
net.minecraft.world.entity.monster.piglin.Piglin
Packages that use Piglin
-
Uses of Piglin in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type Piglin -
Uses of Piglin in net.minecraft.world.entity.monster.piglin
Classes in net.minecraft.world.entity.monster.piglin with type parameters of type PiglinModifier and TypeClassDescriptionclassRememberIfHoglinWasKilled<E extends Piglin>classStartAdmiringItemIfSeen<E extends Piglin>classStartHuntingHoglin<E extends Piglin>classStopAdmiringIfItemTooFarAway<E extends Piglin>classStopAdmiringIfTiredOfTryingToReachItem<E extends Piglin>classStopHoldingItemIfNoLongerAdmiring<E extends Piglin>Fields in net.minecraft.world.entity.monster.piglin with type parameters of type PiglinModifier and TypeFieldDescriptionprotected static final com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Piglin>>>Piglin.SENSOR_TYPESMethods in net.minecraft.world.entity.monster.piglin that return types with arguments of type PiglinModifier and TypeMethodDescriptionprivate static CopyMemoryWithExpiry<Piglin,LivingEntity> PiglinAi.avoidZombified()private static CopyMemoryWithExpiry<Piglin,LivingEntity> PiglinAi.babyAvoidNemesis()private static RunSometimes<Piglin>PiglinAi.babySometimesRideBabyHoglin()protected Brain.Provider<Piglin>Piglin.brainProvider()PiglinAi.createIdleLookBehaviors()PiglinAi.createIdleMovementBehaviors()Piglin.getBrain()Methods in net.minecraft.world.entity.monster.piglin with parameters of type PiglinModifier and TypeMethodDescriptionprotected static voidPiglinAi.broadcastDontKillAnyMoreHoglinsForAWhile(Piglin p_34978_) private static voidPiglinAi.broadcastRetreat(Piglin p_34930_, LivingEntity p_34931_) protected static booleanprotected static voidPiglinAi.cancelAdmiring(Piglin p_34928_) protected booleanStartHuntingHoglin.checkExtraStartConditions(ServerLevel p_35164_, Piglin p_35165_) private static voidprivate static Optional<? extends LivingEntity>PiglinAi.findNearestValidAttackTarget(Piglin p_35001_) static Optional<LivingEntity>PiglinAi.getAvoidTarget(Piglin p_34987_) PiglinAi.getBarterResponseItems(Piglin p_34997_) private static Vec3PiglinAi.getRandomNearbyPos(Piglin p_35017_) private static SoundEventPiglinAi.getSoundForActivity(Piglin p_34855_, Activity p_34856_) static Optional<SoundEvent>PiglinAi.getSoundForCurrentActivity(Piglin p_34948_) private static List<AbstractPiglin>PiglinAi.getVisibleAdultPiglins(Piglin p_35005_) protected static booleanPiglinAi.hasAnyoneNearbyHuntedRecently(Piglin p_34966_) private static booleanPiglinAi.hasEatenRecently(Piglin p_35019_) private static booleanPiglinAi.hoglinsOutnumberPiglins(Piglin p_35013_) private static voidPiglinAi.holdInOffhand(Piglin p_34933_, ItemStack p_34934_) private static voidPiglinAi.initFightActivity(Piglin p_34904_, Brain<Piglin> p_34905_) protected static voidPiglinAi.initMemories(Piglin p_34833_) private static booleanPiglinAi.isAdmiringDisabled(Piglin p_35025_) private static booleanPiglinAi.isAdmiringItem(Piglin p_35021_) private static booleanPiglinAi.isBabyRidingBaby(Piglin p_34993_) private static booleanPiglinAi.isHoldingItemInOffHand(Piglin p_35027_) private static booleanPiglinAi.isNearAvoidTarget(Piglin p_35003_) private static booleanPiglinAi.isNearestValidAttackTarget(Piglin p_34901_, LivingEntity p_34902_) private static booleanPiglinAi.isNearRepellent(Piglin p_35023_) private static booleanPiglinAi.isNearZombified(Piglin p_34999_) private static booleanPiglinAi.isNotHoldingLovedItemInOffHand(Piglin p_35029_) protected static Brain<?>static InteractionResultPiglinAi.mobInteract(Piglin p_34847_, Player p_34848_, InteractionHand p_34849_) protected static voidPiglinAi.pickUpItem(Piglin p_34844_, ItemEntity p_34845_) private static booleanPiglinAi.piglinsEqualOrOutnumberHoglins(Piglin p_35011_) private static voidPiglinAi.putInInventory(Piglin p_34953_, ItemStack p_34954_) private static voidPiglinAi.retreatFromNearestTarget(Piglin p_34950_, LivingEntity p_34951_) private static booleanPiglinAi.seesPlayerHoldingWantedItem(Piglin p_149972_) private static voidPiglinAi.setAvoidTargetAndDontHuntForAWhile(Piglin p_34968_, LivingEntity p_34969_) protected static voidPiglinAi.stopHoldingOffHandItem(Piglin p_34868_, boolean p_34869_) private static voidPiglinAi.stopWalking(Piglin p_35007_) private static voidPiglinAi.throwItems(Piglin p_34861_, List<ItemStack> p_34862_) private static voidPiglinAi.throwItemsTowardPlayer(Piglin p_34851_, Player p_34852_, List<ItemStack> p_34853_) private static voidPiglinAi.throwItemsTowardPos(Piglin p_34864_, List<ItemStack> p_34865_, Vec3 p_34866_) private static voidPiglinAi.throwItemsTowardRandomPos(Piglin p_34913_, List<ItemStack> p_34914_) protected static voidPiglinAi.updateActivity(Piglin p_34899_) protected static booleanPiglinAi.wantsToPickup(Piglin p_34858_, ItemStack p_34859_) private static booleanPiglinAi.wantsToStopFleeing(Piglin p_35009_) private static booleanPiglinAi.wantsToStopRiding(Piglin p_34835_, Entity p_34836_) protected static voidPiglinAi.wasHurtBy(Piglin p_34838_, LivingEntity p_34839_) Method parameters in net.minecraft.world.entity.monster.piglin with type arguments of type PiglinModifier and TypeMethodDescriptionstatic booleanPiglin.checkPiglinSpawnRules(EntityType<Piglin> p_34734_, LevelAccessor p_34735_, MobSpawnType p_34736_, BlockPos p_34737_, Random p_34738_) private static voidPiglinAi.initAdmireItemActivity(Brain<Piglin> p_34941_) private static voidPiglinAi.initCelebrateActivity(Brain<Piglin> p_34921_) private static voidPiglinAi.initCoreActivity(Brain<Piglin> p_34821_) private static voidPiglinAi.initFightActivity(Piglin p_34904_, Brain<Piglin> p_34905_) private static voidPiglinAi.initIdleActivity(Brain<Piglin> p_34892_) private static voidPiglinAi.initRetreatActivity(Brain<Piglin> p_34959_) private static voidPiglinAi.initRideHoglinActivity(Brain<Piglin> p_34974_) protected static Brain<?>