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 PiglinFields in net.minecraft.world.entity.monster.piglin with type parameters of type PiglinModifier and TypeFieldDescriptionprotected static final 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 BehaviorControl<Piglin> PiglinAi.avoidZombified()private static BehaviorControl<Piglin> PiglinAi.babyAvoidNemesis()protected Brain.Provider<Piglin> Piglin.brainProvider()StartHuntingHoglin.create()static BehaviorControl<Piglin> StopHoldingItemIfNoLongerAdmiring.create()PiglinAi.createIdleMovementBehaviors()Piglin.getBrain()Methods in net.minecraft.world.entity.monster.piglin with parameters of type PiglinModifier and TypeMethodDescriptionprivate static voidPiglinAi.broadcastRetreat(Piglin piglin, LivingEntity target) protected static booleanprotected static voidPiglinAi.cancelAdmiring(ServerLevel level, Piglin piglin) private static voidprivate static Optional<? extends LivingEntity> PiglinAi.findNearestValidAttackTarget(ServerLevel level, Piglin piglin) static Optional<LivingEntity> PiglinAi.getAvoidTarget(Piglin piglin) PiglinAi.getBarterResponseItems(Piglin piglin) private static Vec3PiglinAi.getRandomNearbyPos(Piglin piglin) private static SoundEventPiglinAi.getSoundForActivity(Piglin piglin, Activity activity) static Optional<SoundEvent> PiglinAi.getSoundForCurrentActivity(Piglin piglin) protected static List<AbstractPiglin> PiglinAi.getVisibleAdultPiglins(Piglin piglin) private static booleanPiglinAi.hasEatenRecently(Piglin piglin) private static booleanPiglinAi.hoglinsOutnumberPiglins(Piglin piglin) private static voidPiglinAi.holdInOffhand(ServerLevel level, Piglin piglin, ItemStack stack) private static voidPiglinAi.initFightActivity(Piglin piglin, Brain<Piglin> brain) protected static voidPiglinAi.initMemories(Piglin piglin, RandomSource random) private static booleanPiglinAi.isAdmiringDisabled(Piglin piglin) private static booleanPiglinAi.isAdmiringItem(Piglin piglin) private static booleanPiglinAi.isBabyRidingBaby(Piglin passenger) private static booleanPiglinAi.isHoldingItemInOffHand(Piglin piglin) private static booleanPiglinAi.isNearAvoidTarget(Piglin piglin) private static booleanPiglinAi.isNearestValidAttackTarget(ServerLevel level, Piglin piglin, LivingEntity target) private static booleanPiglinAi.isNearRepellent(Piglin piglin) private static booleanPiglinAi.isNearZombified(Piglin piglin) private static booleanPiglinAi.isNotHoldingLovedItemInOffHand(Piglin piglin) protected static Brain<?> static InteractionResultPiglinAi.mobInteract(ServerLevel level, Piglin piglin, Player player, InteractionHand hand) protected static voidPiglinAi.pickUpItem(ServerLevel level, Piglin piglin, ItemEntity itemEntity) private static booleanPiglinAi.piglinsEqualOrOutnumberHoglins(Piglin piglin) private static voidPiglinAi.putInInventory(Piglin piglin, ItemStack stack) private static voidPiglinAi.retreatFromNearestTarget(Piglin piglin, LivingEntity target) private static voidPiglinAi.setAvoidTargetAndDontHuntForAWhile(Piglin piglin, LivingEntity target) protected static voidPiglinAi.stopHoldingOffHandItem(ServerLevel level, Piglin piglin, boolean barter) private static voidPiglinAi.stopWalking(Piglin piglin) private static voidPiglinAi.throwItems(Piglin pilgin, List<ItemStack> stacks) private static voidPiglinAi.throwItemsTowardPlayer(Piglin piglin, Player player, List<ItemStack> stacks) private static voidPiglinAi.throwItemsTowardPos(Piglin piglin, List<ItemStack> stacks, Vec3 pos) private static voidPiglinAi.throwItemsTowardRandomPos(Piglin piglin, List<ItemStack> stacks) protected static voidPiglinAi.updateActivity(Piglin piglin) protected static booleanPiglinAi.wantsToPickup(Piglin piglin, ItemStack stack) private static booleanPiglinAi.wantsToStopFleeing(Piglin piglin) private static booleanPiglinAi.wantsToStopRiding(Piglin piglin, Entity vehicle) protected static voidPiglinAi.wasHurtBy(ServerLevel level, Piglin piglin, LivingEntity entity) Method parameters in net.minecraft.world.entity.monster.piglin with type arguments of type PiglinModifier and TypeMethodDescriptionstatic booleanPiglin.checkPiglinSpawnRules(EntityType<Piglin> entityType, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random) private static voidPiglinAi.initAdmireItemActivity(Brain<Piglin> brain) private static voidPiglinAi.initCelebrateActivity(Brain<Piglin> brain) private static voidPiglinAi.initCoreActivity(Brain<Piglin> brain) private static voidPiglinAi.initFightActivity(Piglin piglin, Brain<Piglin> brain) private static voidPiglinAi.initIdleActivity(Brain<Piglin> brain) private static voidPiglinAi.initRetreatActivity(Brain<Piglin> brain) private static voidPiglinAi.initRideHoglinActivity(Brain<Piglin> brain) protected static Brain<?>