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