net.minecraft.world.entity.monster.piglin

public class PiglinAi

cnn
net.minecraft.world.entity.monster.piglin.PiglinAi
net.minecraft.class_4838
net.minecraft.unmapped.C_mxpeolkc
net.minecraft.entity.mob.PiglinBrain
net.minecraft.entity.mob.PiglinBrain
net.minecraft.src.C_1102_
net.minecraft.world.entity.monster.piglin.PiglinAI

Field summary

Modifier and TypeField
public static final int
a
REPELLENT_DETECTION_RANGE_HORIZONTAL
field_30565
f_uxlhijnp
field_30565
REPELLENT_DETECTION_RANGE_HORIZONTAL
f_149940_
public static final int
b
REPELLENT_DETECTION_RANGE_VERTICAL
field_30566
f_zqscaoqj
field_30566
REPELLENT_DETECTION_RANGE_VERTICAL
f_149941_
public static final Item
c
BARTERING_ITEM
field_23826
f_sedefqof
BARTERING_ITEM
BARTERING_ITEM
f_34794_
private static final int
e
PLAYER_ANGER_RANGE
field_30567
f_bjmauhwh
field_30567
PLAYER_ANGER_RANGE
f_149942_
private static final int
f
ANGER_DURATION
field_30568
f_hzwxxubd
field_30568
ANGER_DURATION
f_149943_
private static final int
g
ADMIRE_DURATION
field_30569
f_phtwibeq
field_30569
ADMIRE_DURATION
f_149944_
private static final int
h
MAX_DISTANCE_TO_WALK_TO_ITEM
field_30570
f_rukeoquj
field_30570
WALK_TO_ITEM_MAX_DISTANCE
f_149945_
private static final int
i
MAX_TIME_TO_WALK_TO_ITEM
field_30571
f_cayjpuhi
field_30571
WALK_TO_ITEM_MAX_TIME
f_149946_
private static final int
j
HOW_LONG_TIME_TO_DISABLE_ADMIRE_WALKING_IF_CANT_REACH_ITEM
field_30572
f_jptvhcwc
field_30572
UNREACHABLE_ITEM_DISABLE_ADMIRE_TIME
f_149947_
private static final int
k
CELEBRATION_TIME
field_30573
f_vikzdyzb
field_30573
CELEBRATION_TIME
f_149948_
protected static final UniformInt
d
TIME_BETWEEN_HUNTS
field_22388
f_otqpyrsm
HUNT_MEMORY_DURATION
HUNT_MEMORY_DURATION
f_34795_
private static final int
l
BABY_FLEE_DURATION_AFTER_GETTING_HIT
field_30574
f_vefqinpi
AVOID_TARGET_EXPIRY
BABY_FLEE_DURATION_AFTER_GETTING_HIT
f_149949_
private static final int
m
HIT_BY_PLAYER_MEMORY_TIMEOUT
field_30575
f_ixqjwyyn
ADMIRING_DISABLED_EXPIRY
HIT_BY_PLAYER_MEMORY_TIMEOUT
f_149950_
private static final int
n
MAX_WALK_DISTANCE_TO_START_RIDING
field_30576
f_zubkzhkz
field_30576
START_RIDING_MAX_WALK_DISTANCE
f_149951_
private static final UniformInt
o
RIDE_START_INTERVAL
field_22389
f_fiwgjmps
MEMORY_TRANSFER_TASK_DURATION
MEMORY_TRANSFER_TASK_DURATION
f_34796_
private static final UniformInt
p
RIDE_DURATION
field_22390
f_emvgrlxc
RIDE_TARGET_MEMORY_DURATION
RIDE_TARGET_MEMORY_DURATION
f_34797_
private static final UniformInt
q
RETREAT_DURATION
field_22391
f_kmshkchr
AVOID_MEMORY_DURATION
AVOID_MEMORY_DURATION
f_34798_
private static final int
r
MELEE_ATTACK_COOLDOWN
field_30577
f_yczpmhwr
field_30577
MELEE_ATTACK_COOLDOWN
f_149952_
private static final int
s
EAT_COOLDOWN
field_30578
f_yqopamxc
field_30578
EAT_COOLDOWN
f_149953_
private static final int
t
DESIRED_DISTANCE_FROM_ENTITY_WHEN_AVOIDING
field_30579
f_srhqewhu
field_30579
AVOID_DESIRED_DISTANCE_FROM_ENTITY
f_149954_
private static final int
u
MAX_LOOK_DIST
field_30580
f_srknbwkm
field_30580
MAX_LOOK_DISTANCE
f_149955_
private static final int
v
MAX_LOOK_DIST_FOR_PLAYER_HOLDING_LOVED_ITEM
field_30581
f_pjfnnzxc
field_30581
PLAYER_HOLDING_LIKED_ITEM_MAX_LOOK_DISTANCE
f_149956_
private static final int
w
INTERACTION_RANGE
field_30582
f_cduqgjph
field_30582
INTERACTION_RANGE
f_149957_
private static final int
x
MIN_DESIRED_DIST_FROM_TARGET_WHEN_HOLDING_CROSSBOW
field_30583
f_ieglibfx
field_30583
HOLDING_CROSSBOW_MIN_DISTANCE_FROM_TARGET
f_149958_
private static final float
y
SPEED_WHEN_STRAFING_BACK_FROM_TARGET
field_30584
f_czvzwmfn
CROSSBOW_ATTACK_FORWARD_MOVEMENT
STRAFING_BACK_FROM_TARGET_SPEED
f_149959_
private static final int
z
DESIRED_DISTANCE_FROM_ZOMBIFIED
field_30585
f_syevmelo
field_30585
ZOMBIFIED_PIGLINS_DESIRED_DISTANCE
f_149960_
private static final UniformInt
A
AVOID_ZOMBIFIED_DURATION
field_25384
f_isrftifw
GO_TO_ZOMBIFIED_MEMORY_DURATION
GO_TO_ZOMBIFIED_MEMORY_DURATION
f_34799_
private static final UniformInt
B
BABY_AVOID_NEMESIS_DURATION
field_25698
f_ctmyacjj
GO_TO_NEMESIS_MEMORY_DURATION
GO_TO_NEMESIS_MEMORY_DURATION
f_34800_
private static final float
C
PROBABILITY_OF_CELEBRATION_DANCE
field_30557
f_uvjzrzin
field_30557
CELEBRATION_DANCE_PROBABILITY
f_149932_
private static final float
D
SPEED_MULTIPLIER_WHEN_AVOIDING
field_30558
f_kdwocnlc
field_30558
AVOIDING_SPEED
f_149933_
private static final float
E
SPEED_MULTIPLIER_WHEN_RETREATING
field_30559
f_iskwdiyb
field_30559
RETREATING_SPEED
f_149934_
private static final float
F
SPEED_MULTIPLIER_WHEN_MOUNTING
field_30560
f_wflmfruv
START_RIDING_SPEED
MOUNTING_SPEED
f_149935_
private static final float
G
SPEED_MULTIPLIER_WHEN_GOING_TO_WANTED_ITEM
field_30561
f_kmftlzic
field_30561
GOING_TO_WANTED_ITEM_SPEED
f_149936_
private static final float
H
SPEED_MULTIPLIER_WHEN_GOING_TO_CELEBRATE_LOCATION
field_30562
f_nndtpsiw
field_30562
GOING_TO_CELEBRATE_LOCATION_SPEED
f_149937_
private static final float
I
SPEED_MULTIPLIER_WHEN_DANCING
field_30563
f_pghapdxv
field_30563
DANCING_SPEED
f_149938_
private static final float
J
SPEED_MULTIPLIER_WHEN_IDLING
field_30564
f_gikaxjvu
field_30564
IDLING_SPEED
f_149939_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
protected static Brain<?>
a(cnm arg0, bwk<cnm> arg1)
makeBrain(Piglin arg0, Brain<Piglin> arg1)
method_24732(class_4836 arg0, class_4095<class_4836> arg1)
m_jighuprm(C_lkhqndnb arg0, C_rjqjaxef<C_lkhqndnb> arg1)
create(PiglinEntity piglin, Brain<PiglinEntity> brain)
create(PiglinEntity piglin, Brain<PiglinEntity> brain)
m_34840_(C_1101_ p_34841_, C_548_<C_1101_> p_34842_)
protected static void
a(cnm arg0, azh arg1)
initMemories(Piglin arg0, RandomSource arg1)
method_24736(class_4836 arg0, class_5819 arg1)
m_aeqbdwgd(C_lkhqndnb arg0, C_rlomrsco arg1)
setHuntedRecently(PiglinEntity piglin, Random random)
setHuntedRecently(PiglinEntity piglin, RandomGenerator random)
m_219205_(C_1101_ p_219206_, C_212974_ p_219207_)
private static void
a(bwk<cnm> arg0)
initCoreActivity(Brain<Piglin> arg0)
method_24725(class_4095<class_4836> arg0)
m_zzvyjghc(C_rjqjaxef<C_lkhqndnb> arg0)
addCoreActivities(Brain<PiglinEntity> brain)
addCoreActivities(Brain<PiglinEntity> piglin)
m_34820_(C_548_<C_1101_> p_34821_)
private static void
b(bwk<cnm> arg0)
initIdleActivity(Brain<Piglin> arg0)
method_24743(class_4095<class_4836> arg0)
m_wuohqgic(C_rjqjaxef<C_lkhqndnb> arg0)
addIdleActivities(Brain<PiglinEntity> brain)
addIdleActivities(Brain<PiglinEntity> piglin)
m_34891_(C_548_<C_1101_> p_34892_)
private static void
b(cnm arg0, bwk<cnm> arg1)
initFightActivity(Piglin arg0, Brain<Piglin> arg1)
method_24751(class_4836 arg0, class_4095<class_4836> arg1)
m_soclpmiz(C_lkhqndnb arg0, C_rjqjaxef<C_lkhqndnb> arg1)
addFightActivities(PiglinEntity piglin, Brain<PiglinEntity> brain)
addFightActivities(PiglinEntity piglin, Brain<PiglinEntity> brain)
m_34903_(C_1101_ p_34904_, C_548_<C_1101_> p_34905_)
private static void
c(bwk<cnm> arg0)
initCelebrateActivity(Brain<Piglin> arg0)
method_24756(class_4095<class_4836> arg0)
m_zudbmwtt(C_rjqjaxef<C_lkhqndnb> arg0)
addCelebrateActivities(Brain<PiglinEntity> brain)
addCelebrateActivities(Brain<PiglinEntity> brain)
m_34920_(C_548_<C_1101_> p_34921_)
private static void
d(bwk<cnm> arg0)
initAdmireItemActivity(Brain<Piglin> arg0)
method_24760(class_4095<class_4836> arg0)
m_iqzgamlf(C_rjqjaxef<C_lkhqndnb> arg0)
addAdmireItemActivities(Brain<PiglinEntity> brain)
addAdmireItemActivities(Brain<PiglinEntity> brain)
m_34940_(C_548_<C_1101_> p_34941_)
private static void
e(bwk<cnm> arg0)
initRetreatActivity(Brain<Piglin> arg0)
method_24764(class_4095<class_4836> arg0)
m_jfdxonuw(C_rjqjaxef<C_lkhqndnb> arg0)
addAvoidActivities(Brain<PiglinEntity> brain)
addAvoidActivities(Brain<PiglinEntity> brain)
m_34958_(C_548_<C_1101_> p_34959_)
private static void
f(bwk<cnm> arg0)
initRideHoglinActivity(Brain<Piglin> arg0)
method_24768(class_4095<class_4836> arg0)
m_vzlqkynd(C_rjqjaxef<C_lkhqndnb> arg0)
addRideActivities(Brain<PiglinEntity> brain)
addRideActivities(Brain<PiglinEntity> brain)
m_34973_(C_548_<C_1101_> p_34974_)
private static com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<OneShot<LivingEntity>, Integer>>
a()
createLookBehaviors()
method_47272()
m_ezdpkqwt()
makeFollowTasks()
createLookTasks()
m_257792_()
private static RunOne<LivingEntity>
b()
createIdleLookBehaviors()
method_24717()
m_acnqmmln()
makeRandomFollowTask()
makeRandomFollowTask()
m_34805_()
private static RunOne<Piglin>
c()
createIdleMovementBehaviors()
method_24718()
m_evwahudb()
makeRandomWanderTask()
makeRandomWanderTask()
m_34882_()
private static BehaviorControl<PathfinderMob>
d()
avoidRepellent()
method_24738()
m_ijhdgyhq()
makeGoToSoulFireTask()
makeGoToSoulFireTask()
m_257691_()
private static BehaviorControl<Piglin>
e()
babyAvoidNemesis()
method_30090()
m_yjbboooc()
goToNemesisTask()
goToNemesisTask()
m_257417_()
private static BehaviorControl<Piglin>
f()
avoidZombified()
method_24747()
m_fjookgdt()
makeFleeFromZombifiedPiglinTask()
makeGoToZombifiedPiglinTask()
m_257731_()
protected static void
a(cnm arg0)
updateActivity(Piglin arg0)
method_24722(class_4836 arg0)
m_zsnuljbm(C_lkhqndnb arg0)
tickActivities(PiglinEntity piglin)
tickActivities(PiglinEntity piglin)
m_34898_(C_1101_ p_34899_)
private static boolean
e(cnm arg0)
isBabyRidingBaby(Piglin arg0)
method_29277(class_4836 arg0)
m_wsfnykkq(C_lkhqndnb arg0)
canRideHoglin(PiglinEntity piglin)
canRideHoglin(PiglinEntity piglin)
m_34992_(C_1101_ p_34993_)
protected static void
a(ard arg0, cnm arg1, cld arg2)
pickUpItem(ServerLevel arg0, Piglin arg1, ItemEntity arg2)
method_24726(class_3218 arg0, class_4836 arg1, class_1542 arg2)
m_qioedzrh(C_bdwnwhiu arg0, C_lkhqndnb arg1, C_uqpzijng arg2)
loot(ServerWorld world, PiglinEntity piglin, ItemEntity itemEntity)
loot(ServerWorld world, PiglinEntity piglin, ItemEntity drop)
m_34843_(C_12_ p_363619_, C_1101_ p_34844_, C_976_ p_34845_)
private static void
a(ard arg0, cnm arg1, cwq arg2)
holdInOffhand(ServerLevel arg0, Piglin arg1, ItemStack arg2)
method_30089(class_3218 arg0, class_4836 arg1, class_1799 arg2)
m_eueiflmq(C_bdwnwhiu arg0, C_lkhqndnb arg1, C_sddaxwyk arg2)
swapItemWithOffHand(ServerWorld world, PiglinEntity piglin, ItemStack stack)
swapItemWithOffHand(ServerWorld world, PiglinEntity piglin, ItemStack stack)
m_34932_(C_12_ p_363193_, C_1101_ p_34933_, C_1391_ p_34934_)
private static ItemStack
a(cld arg0)
removeOneItemFromItemEntity(ItemEntity arg0)
method_24848(class_1542 arg0)
m_vdrrslys(C_uqpzijng arg0)
getItemFromStack(ItemEntity stack)
getItemFromStack(ItemEntity stack)
m_34822_(C_976_ p_34823_)
protected static void
a(ard arg0, cnm arg1, boolean arg2)
stopHoldingOffHandItem(ServerLevel arg0, Piglin arg1, boolean arg2)
method_24741(class_3218 arg0, class_4836 arg1, boolean arg2)
m_prracpoq(C_bdwnwhiu arg0, C_lkhqndnb arg1, boolean arg2)
consumeOffHandItem(ServerWorld world, PiglinEntity piglin, boolean barter)
consumeOffHandItem(ServerWorld world, PiglinEntity piglin, boolean barter)
m_34867_(C_12_ p_367801_, C_1101_ p_34868_, boolean p_34869_)
protected static void
a(ard arg0, cnm arg1)
cancelAdmiring(ServerLevel arg0, Piglin arg1)
method_25948(class_3218 arg0, class_4836 arg1)
m_btpltubf(C_bdwnwhiu arg0, C_lkhqndnb arg1)
pickupItemWithOffHand(ServerWorld world, PiglinEntity piglin)
pickupItemWithOffHand(ServerWorld world, PiglinEntity piglin)
m_34927_(C_12_ p_368810_, C_1101_ p_34928_)
private static void
c(cnm arg0, cwq arg1)
putInInventory(Piglin arg0, ItemStack arg1)
method_24849(class_4836 arg0, class_1799 arg1)
m_luovsbnc(C_lkhqndnb arg0, C_sddaxwyk arg1)
barterItem(PiglinEntity piglin, ItemStack stack)
barterItem(PiglinEntity piglin, ItemStack stack)
m_34952_(C_1101_ p_34953_, C_1391_ p_34954_)
private static void
a(cnm arg0, List<cwq> arg1)
throwItems(Piglin arg0, List<ItemStack> arg1)
method_24772(class_4836 arg0, List<class_1799> arg1)
m_diaoekjn(C_lkhqndnb arg0, List<C_sddaxwyk> arg1)
doBarter(PiglinEntity piglin, List<ItemStack> items)
doBarter(PiglinEntity piglin, List<ItemStack> items)
m_34860_(C_1101_ p_34861_, List<C_1391_> p_34862_)
private static void
b(cnm arg0, List<cwq> arg1)
throwItemsTowardRandomPos(Piglin arg0, List<ItemStack> arg1)
method_24774(class_4836 arg0, List<class_1799> arg1)
m_ycxrbeay(C_lkhqndnb arg0, List<C_sddaxwyk> arg1)
dropBarteredItem(PiglinEntity piglin, List<ItemStack> items)
dropBarteredItem(PiglinEntity piglin, List<ItemStack> items)
m_34912_(C_1101_ p_34913_, List<C_1391_> p_34914_)
private static void
a(cnm arg0, coy arg1, List<cwq> arg2)
throwItemsTowardPlayer(Piglin arg0, Player arg1, List<ItemStack> arg2)
method_24727(class_4836 arg0, class_1657 arg1, List<class_1799> arg2)
m_lyasgkwj(C_lkhqndnb arg0, C_jzrpycqo arg1, List<C_sddaxwyk> arg2)
dropBarteredItem(PiglinEntity piglin, PlayerEntity player, List<ItemStack> items)
dropBarteredItem(PiglinEntity piglin, PlayerEntity player, List<ItemStack> items)
m_34850_(C_1101_ p_34851_, C_1141_ p_34852_, List<C_1391_> p_34853_)
private static void
a(cnm arg0, List<cwq> arg1, fbb arg2)
throwItemsTowardPos(Piglin arg0, List<ItemStack> arg1, Vec3 arg2)
method_24731(class_4836 arg0, List<class_1799> arg1, class_243 arg2)
m_kmcguhbn(C_lkhqndnb arg0, List<C_sddaxwyk> arg1, C_vgpupfxx arg2)
drop(PiglinEntity piglin, List<ItemStack> items, Vec3d pos)
drop(PiglinEntity piglin, List<ItemStack> items, Vec3d pos)
m_34863_(C_1101_ p_34864_, List<C_1391_> p_34865_, C_3046_ p_34866_)
private static List<ItemStack>
f(cnm arg0)
getBarterResponseItems(Piglin arg0)
method_24776(class_4836 arg0)
m_accbozmb(C_lkhqndnb arg0)
getBarteredItem(PiglinEntity piglin)
getBarteredItem(PiglinEntity piglin)
m_34996_(C_1101_ p_34997_)
private static boolean
a(bvi arg0, bvi arg1)
wantsToDance(LivingEntity arg0, LivingEntity arg1)
method_29276(class_1309 arg0, class_1309 arg1)
m_dudjutol(C_usxaxydn arg0, C_usxaxydn arg1)
isHuntingTarget(LivingEntity piglin, LivingEntity target)
isHuntingTarget(LivingEntity piglin, LivingEntity target)
m_34810_(C_524_ p_34811_, C_524_ p_34812_)
protected static boolean
a(cnm arg0, cwq arg1)
wantsToPickup(Piglin arg0, ItemStack arg1)
method_24730(class_4836 arg0, class_1799 arg1)
m_wuzxlluu(C_lkhqndnb arg0, C_sddaxwyk arg1)
canGather(PiglinEntity piglin, ItemStack stack)
canGather(PiglinEntity piglin, ItemStack stack)
m_34857_(C_1101_ p_34858_, C_1391_ p_34859_)
protected static boolean
a(cwq arg0)
isLovedItem(ItemStack arg0)
method_24735(class_1799 arg0)
m_xxtnjqpf(C_sddaxwyk arg0)
isGoldenItem(ItemStack stack)
isGoldenItem(ItemStack stack)
m_149965_(C_1391_ p_149966_)
private static boolean
a(cnm arg0, bum arg1)
wantsToStopRiding(Piglin arg0, Entity arg1)
method_24723(class_4836 arg0, class_1297 arg1)
m_yycmwgzj(C_lkhqndnb arg0, C_astfners arg1)
canRide(PiglinEntity piglin, Entity ridden)
canRide(PiglinEntity piglin, Entity ridden)
m_34834_(C_1101_ p_34835_, C_507_ p_34836_)
private static boolean
b(ard arg0, cnm arg1, bvi arg2)
isNearestValidAttackTarget(ServerLevel arg0, Piglin arg1, LivingEntity arg2)
method_24755(class_3218 arg0, class_4836 arg1, class_1309 arg2)
m_ucxtolcs(C_bdwnwhiu arg0, C_lkhqndnb arg1, C_usxaxydn arg2)
isPreferredAttackTarget(ServerWorld world, PiglinEntity piglin, LivingEntity target)
isPreferredAttackTarget(ServerWorld world, PiglinEntity piglin, LivingEntity target)
m_34900_(C_12_ p_362158_, C_1101_ p_34901_, C_524_ p_34902_)
private static boolean
g(cnm arg0)
isNearZombified(Piglin arg0)
method_29537(class_4836 arg0)
m_fejufdix(C_lkhqndnb arg0)
getNearestZombifiedPiglin(PiglinEntity piglin)
getNearestZombifiedPiglin(PiglinEntity piglin)
m_34998_(C_1101_ p_34999_)
private static Optional<? extends LivingEntity>
b(ard arg0, cnm arg1)
findNearestValidAttackTarget(ServerLevel arg0, Piglin arg1)
method_24777(class_3218 arg0, class_4836 arg1)
m_yagsymgj(C_bdwnwhiu arg0, C_lkhqndnb arg1)
getPreferredTarget(ServerWorld world, PiglinEntity piglin)
getPreferredTarget(ServerWorld world, PiglinEntity piglin)
m_35000_(C_12_ p_368686_, C_1101_ p_35001_)
public static void
a(ard arg0, coy arg1, boolean arg2)
angerNearbyPiglins(ServerLevel arg0, Player arg1, boolean arg2)
method_24733(class_3218 arg0, class_1657 arg1, boolean arg2)
m_qhorxdpx(C_bdwnwhiu arg0, C_jzrpycqo arg1, boolean arg2)
onGuardedBlockInteracted(ServerWorld world, PlayerEntity player, boolean blockOpen)
onGuardedBlockInteracted(ServerWorld world, PlayerEntity player, boolean blockOpen)
m_34873_(C_12_ p_362859_, C_1141_ p_34874_, boolean p_34875_)
public static InteractionResult
a(ard arg0, cnm arg1, coy arg2, bsk arg3)
mobInteract(ServerLevel arg0, Piglin arg1, Player arg2, InteractionHand arg3)
method_24728(class_3218 arg0, class_4836 arg1, class_1657 arg2, class_1268 arg3)
m_fftynzbf(C_bdwnwhiu arg0, C_lkhqndnb arg1, C_jzrpycqo arg2, C_laxmzoqs arg3)
playerInteract(ServerWorld world, PiglinEntity piglin, PlayerEntity player, Hand hand)
playerInteract(ServerWorld world, PiglinEntity piglin, PlayerEntity player, Hand hand)
m_34846_(C_12_ p_362693_, C_1101_ p_34847_, C_1141_ p_34848_, C_470_ p_34849_)
protected static boolean
b(cnm arg0, cwq arg1)
canAdmire(Piglin arg0, ItemStack arg1)
method_27086(class_4836 arg0, class_1799 arg1)
m_zjjlloty(C_lkhqndnb arg0, C_sddaxwyk arg1)
isWillingToTrade(PiglinEntity piglin, ItemStack nearbyItems)
isWillingToTrade(PiglinEntity piglin, ItemStack nearbyItems)
m_34909_(C_1101_ p_34910_, C_1391_ p_34911_)
protected static void
a(ard arg0, cnm arg1, bvi arg2)
wasHurtBy(ServerLevel arg0, Piglin arg1, LivingEntity arg2)
method_24724(class_3218 arg0, class_4836 arg1, class_1309 arg2)
m_aalhkbsy(C_bdwnwhiu arg0, C_lkhqndnb arg1, C_usxaxydn arg2)
onAttacked(ServerWorld world, PiglinEntity piglin, LivingEntity attacker)
onAttacked(ServerWorld world, PiglinEntity piglin, LivingEntity attacker)
m_34837_(C_12_ p_361749_, C_1101_ p_34838_, C_524_ p_34839_)
protected static void
a(ard arg0, cnl arg1, bvi arg2)
maybeRetaliate(ServerLevel arg0, AbstractPiglin arg1, LivingEntity arg2)
method_24759(class_3218 arg0, class_5418 arg1, class_1309 arg2)
m_pzmiregk(C_bdwnwhiu arg0, C_imddhoxf arg1, C_usxaxydn arg2)
tryRevenge(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target)
tryRevenge(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target)
m_34826_(C_12_ p_362623_, C_1100_ p_34827_, C_524_ p_34828_)
public static Optional<SoundEvent>
b(cnm arg0)
getSoundForCurrentActivity(Piglin arg0)
method_30091(class_4836 arg0)
m_wwzwjgwr(C_lkhqndnb arg0)
getCurrentActivitySound(PiglinEntity piglin)
getCurrentActivitySound(PiglinEntity piglin)
m_34947_(C_1101_ p_34948_)
private static SoundEvent
a(cnm arg0, cqp arg1)
getSoundForActivity(Piglin arg0, Activity arg1)
method_30087(class_4836 arg0, class_4168 arg1)
m_yeknsnhi(C_lkhqndnb arg0, C_gqmpgxlw arg1)
getSound(PiglinEntity piglin, Activity activity)
getSound(PiglinEntity piglin, Activity activity)
m_34854_(C_1101_ p_34855_, C_1195_ p_34856_)
private static boolean
h(cnm arg0)
isNearAvoidTarget(Piglin arg0)
method_29538(class_4836 arg0)
m_yhpcttwu(C_lkhqndnb arg0)
hasTargetToAvoid(PiglinEntity piglin)
hasTargetToAvoid(PiglinEntity piglin)
m_35002_(C_1101_ p_35003_)
protected static List<AbstractPiglin>
c(cnm arg0)
getVisibleAdultPiglins(Piglin arg0)
method_24780(class_4836 arg0)
m_lxtfwyka(C_lkhqndnb arg0)
getNearbyVisiblePiglins(PiglinEntity piglin)
getNearbyVisiblePiglins(PiglinEntity piglin)
m_35004_(C_1101_ p_35005_)
private static List<AbstractPiglin>
d(cnl arg0)
getAdultPiglins(AbstractPiglin arg0)
method_26350(class_5418 arg0)
m_kpixhyib(C_imddhoxf arg0)
getNearbyPiglins(AbstractPiglinEntity piglin)
getNearbyPiglins(AbstractPiglinEntity piglin)
m_34960_(C_1100_ p_34961_)
public static boolean
a(bvi arg0)
isWearingSafeArmor(LivingEntity arg0)
method_63665(class_1309 arg0)
m_klnzftun(C_usxaxydn arg0)
isWearingPiglinSafeArmor(LivingEntity entity)
hasPiglinSafeArmor(LivingEntity entity)
m_352975_(C_524_ p_365495_)
private static void
i(cnm arg0)
stopWalking(Piglin arg0)
method_24781(class_4836 arg0)
m_pthdrbkr(C_lkhqndnb arg0)
stopWalking(PiglinEntity piglin)
stopWalking(PiglinEntity piglin)
m_35006_(C_1101_ p_35007_)
private static BehaviorControl<LivingEntity>
g()
babySometimesRideBabyHoglin()
method_24737()
m_qcrdxsmf()
makeRememberRideableHoglinTask()
makeRememberRideableHoglinTask()
m_257528_()
protected static void
b(ard arg0, cnl arg1, bvi arg2)
broadcastAngerTarget(ServerLevel arg0, AbstractPiglin arg1, LivingEntity arg2)
method_24742(class_3218 arg0, class_5418 arg1, class_1309 arg2)
m_psnwnmxs(C_bdwnwhiu arg0, C_imddhoxf arg1, C_usxaxydn arg2)
angerAtCloserTargets(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target)
angerAtCloserTargets(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target)
m_353874_(C_12_ p_368320_, C_1100_ p_366359_, C_524_ p_364430_)
protected static void
a(ard arg0, cnl arg1)
broadcastUniversalAnger(ServerLevel arg0, AbstractPiglin arg1)
method_29945(class_3218 arg0, class_5418 arg1)
m_eshikqca(C_bdwnwhiu arg0, C_imddhoxf arg1)
angerNearbyPiglins(ServerWorld world, AbstractPiglinEntity piglin)
angerNearbyPiglins(ServerWorld world, AbstractPiglinEntity piglin)
m_34895_(C_12_ p_369015_, C_1100_ p_34896_)
protected static void
c(ard arg0, cnl arg1, bvi arg2)
setAngerTarget(ServerLevel arg0, AbstractPiglin arg1, LivingEntity arg2)
method_24750(class_3218 arg0, class_5418 arg1, class_1309 arg2)
m_bcngwcno(C_bdwnwhiu arg0, C_imddhoxf arg1, C_usxaxydn arg2)
becomeAngryWith(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target)
becomeAngryWith(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target)
m_34924_(C_12_ p_364284_, C_1100_ p_34925_, C_524_ p_34926_)
private static void
d(ard arg0, cnl arg1, bvi arg2)
setAngerTargetToNearestTargetablePlayerIfFound(ServerLevel arg0, AbstractPiglin arg1, LivingEntity arg2)
method_29946(class_3218 arg0, class_5418 arg1, class_1309 arg2)
m_cakrqgkc(C_bdwnwhiu arg0, C_imddhoxf arg1, C_usxaxydn arg2)
becomeAngryWithPlayer(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target)
becomeAngryWithPlayer(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity player)
m_34944_(C_12_ p_368737_, C_1100_ p_34945_, C_524_ p_34946_)
private static void
e(ard arg0, cnl arg1, bvi arg2)
setAngerTargetIfCloserThanCurrent(ServerLevel arg0, AbstractPiglin arg1, LivingEntity arg2)
method_24763(class_3218 arg0, class_5418 arg1, class_1309 arg2)
m_zdktjbec(C_bdwnwhiu arg0, C_imddhoxf arg1, C_usxaxydn arg2)
angerAtIfCloser(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target)
angerAtIfCloser(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target)
m_34962_(C_12_ p_365346_, C_1100_ p_34963_, C_524_ p_34964_)
private static Optional<LivingEntity>
e(cnl arg0)
getAngerTarget(AbstractPiglin arg0)
method_24782(class_5418 arg0)
m_kwqeqesm(C_imddhoxf arg0)
getAngryAt(AbstractPiglinEntity piglin)
getAngryAt(AbstractPiglinEntity piglin)
m_34975_(C_1100_ p_34976_)
public static Optional<LivingEntity>
d(cnm arg0)
getAvoidTarget(Piglin arg0)
method_29536(class_4836 arg0)
m_qyhfwheq(C_lkhqndnb arg0)
getAvoiding(PiglinEntity piglin)
getAvoiding(PiglinEntity piglin)
m_34986_(C_1101_ p_34987_)
public static Optional<Player>
a(cnl arg0)
getNearestVisibleTargetablePlayer(AbstractPiglin arg0)
method_29947(class_5418 arg0)
m_yguixodz(C_imddhoxf arg0)
getNearestDetectedPlayer(AbstractPiglinEntity piglin)
getNearestDetectedPlayer(AbstractPiglinEntity piglin)
m_34893_(C_1100_ p_34894_)
private static void
a(cnm arg0, bvi arg1)
broadcastRetreat(Piglin arg0, LivingEntity arg1)
method_24767(class_4836 arg0, class_1309 arg1)
m_llzphprg(C_lkhqndnb arg0, C_usxaxydn arg1)
groupRunAwayFrom(PiglinEntity piglin, LivingEntity target)
groupRunAwayFrom(PiglinEntity piglin, LivingEntity target)
m_34929_(C_1101_ p_34930_, C_524_ p_34931_)
private static void
b(cnm arg0, bvi arg1)
retreatFromNearestTarget(Piglin arg0, LivingEntity arg1)
method_24771(class_4836 arg0, class_1309 arg1)
m_qxpxmdbl(C_lkhqndnb arg0, C_usxaxydn arg1)
runAwayFromClosestTarget(PiglinEntity piglin, LivingEntity target)
runAwayFromClosestTarget(PiglinEntity piglin, LivingEntity target)
m_34949_(C_1101_ p_34950_, C_524_ p_34951_)
private static boolean
j(cnm arg0)
wantsToStopFleeing(Piglin arg0)
method_24783(class_4836 arg0)
m_jqalumps(C_lkhqndnb arg0)
shouldRunAwayFromHoglins(PiglinEntity piglin)
shouldRunAwayFromHoglins(PiglinEntity piglin)
m_35008_(C_1101_ p_35009_)
private static boolean
k(cnm arg0)
piglinsEqualOrOutnumberHoglins(Piglin arg0)
method_24784(class_4836 arg0)
m_xxqvjflp(C_lkhqndnb arg0)
hasNoAdvantageAgainstHoglins(PiglinEntity piglin)
hasNoAdvantageAgainstHoglins(PiglinEntity piglin)
m_35010_(C_1101_ p_35011_)
private static boolean
l(cnm arg0)
hoglinsOutnumberPiglins(Piglin arg0)
method_24785(class_4836 arg0)
m_tokamduy(C_lkhqndnb arg0)
hasOutnumberedHoglins(PiglinEntity piglins)
hasOutnumberedHoglins(PiglinEntity piglins)
m_35012_(C_1101_ p_35013_)
private static void
c(cnm arg0, bvi arg1)
setAvoidTargetAndDontHuntForAWhile(Piglin arg0, LivingEntity arg1)
method_24773(class_4836 arg0, class_1309 arg1)
m_iifpvgji(C_lkhqndnb arg0, C_usxaxydn arg1)
runAwayFrom(PiglinEntity piglin, LivingEntity target)
runAwayFrom(PiglinEntity piglin, LivingEntity target)
m_34967_(C_1101_ p_34968_, C_524_ p_34969_)
protected static void
b(cnl arg0)
dontKillAnyMoreHoglinsForAWhile(AbstractPiglin arg0)
method_24762(class_5418 arg0)
m_bpziocjo(C_imddhoxf arg0)
rememberHunting(AbstractPiglinEntity piglin)
rememberHunting(AbstractPiglinEntity piglin)
m_34922_(C_1100_ p_34923_)
private static void
m(cnm arg0)
eat(Piglin arg0)
method_24787(class_4836 arg0)
m_drvkppan(C_lkhqndnb arg0)
setEatenRecently(PiglinEntity piglin)
setEatenRecently(PiglinEntity piglin)
m_35014_(C_1101_ p_35015_)
private static Vec3
n(cnm arg0)
getRandomNearbyPos(Piglin arg0)
method_24788(class_4836 arg0)
m_rwgnndpm(C_lkhqndnb arg0)
findGround(PiglinEntity piglin)
findGround(PiglinEntity piglin)
m_35016_(C_1101_ p_35017_)
private static boolean
o(cnm arg0)
hasEatenRecently(Piglin arg0)
method_24789(class_4836 arg0)
m_pzytfnhk(C_lkhqndnb arg0)
hasAteRecently(PiglinEntity piglin)
hasAteRecently(PiglinEntity piglin)
m_35018_(C_1101_ p_35019_)
protected static boolean
c(cnl arg0)
isIdle(AbstractPiglin arg0)
method_24766(class_5418 arg0)
m_nqwyquia(C_imddhoxf arg0)
hasIdleActivity(AbstractPiglinEntity piglin)
hasIdleActivity(AbstractPiglinEntity piglin)
m_34942_(C_1100_ p_34943_)
private static boolean
c(bvi arg0)
hasCrossbow(LivingEntity arg0)
method_24748(class_1309 arg0)
m_czrhsupq(C_usxaxydn arg0)
isHoldingCrossbow(LivingEntity piglin)
isHoldingCrossbow(LivingEntity piglin)
m_34918_(C_524_ p_34919_)
private static void
d(bvi arg0)
admireGoldItem(LivingEntity arg0)
method_24753(class_1309 arg0)
m_fedafloi(C_usxaxydn arg0)
setAdmiringItem(LivingEntity entity)
setAdmiringItem(LivingEntity entity)
m_34938_(C_524_ p_34939_)
private static boolean
p(cnm arg0)
isAdmiringItem(Piglin arg0)
method_24790(class_4836 arg0)
m_uofyogtq(C_lkhqndnb arg0)
isAdmiringItem(PiglinEntity entity)
isAdmiringItem(PiglinEntity entity)
m_35020_(C_1101_ p_35021_)
private static boolean
b(cwq arg0)
isBarterCurrency(ItemStack arg0)
method_24746(class_1799 arg0)
m_svzuyond(C_sddaxwyk arg0)
acceptsForBarter(ItemStack stack)
acceptsForBarter(ItemStack stack)
m_149967_(C_1391_ p_149968_)
private static boolean
c(cwq arg0)
isFood(ItemStack arg0)
method_24752(class_1799 arg0)
m_zdorzvrm(C_sddaxwyk arg0)
isFood(ItemStack stack)
isFood(ItemStack stack)
m_149969_(C_1391_ p_149970_)
private static boolean
q(cnm arg0)
isNearRepellent(Piglin arg0)
method_24791(class_4836 arg0)
m_ousipwvq(C_lkhqndnb arg0)
hasSoulFireNearby(PiglinEntity piglin)
hasSoulFireNearby(PiglinEntity piglin)
m_35022_(C_1101_ p_35023_)
private static boolean
e(bvi arg0)
seesPlayerHoldingLovedItem(LivingEntity arg0)
method_24761(class_1309 arg0)
m_ohidzpjx(C_usxaxydn arg0)
hasPlayerHoldingWantedItemNearby(LivingEntity entity)
hasPlayerHoldingWantedItemNearby(LivingEntity entity)
m_34971_(C_524_ p_34972_)
private static boolean
f(bvi arg0)
doesntSeeAnyPlayerHoldingLovedItem(LivingEntity arg0)
method_24765(class_1309 arg0)
m_uvhqnlfi(C_usxaxydn arg0)
canWander(LivingEntity piglin)
canWander(LivingEntity piglin)
m_34982_(C_524_ p_34983_)
public static boolean
b(bvi arg0)
isPlayerHoldingLovedItem(LivingEntity arg0)
method_24739(class_1309 arg0)
m_zdsmkoog(C_usxaxydn arg0)
isGoldHoldingPlayer(LivingEntity target)
isGoldHoldingPlayer(LivingEntity target)
m_34883_(C_524_ p_34884_)
private static boolean
r(cnm arg0)
isAdmiringDisabled(Piglin arg0)
method_24714(class_4836 arg0)
m_abssmnvg(C_lkhqndnb arg0)
hasBeenHitByPlayer(PiglinEntity piglin)
hasBeenHitByPlayer(PiglinEntity piglin)
m_35024_(C_1101_ p_35025_)
private static boolean
g(bvi arg0)
wasHurtRecently(LivingEntity arg0)
method_24769(class_1309 arg0)
m_akjfbcgw(C_usxaxydn arg0)
hasBeenHurt(LivingEntity piglin)
hasBeenHurt(LivingEntity piglin)
m_34988_(C_524_ p_34989_)
private static boolean
s(cnm arg0)
isHoldingItemInOffHand(Piglin arg0)
method_24917(class_4836 arg0)
m_ehxqnoly(C_lkhqndnb arg0)
hasItemInOffHand(PiglinEntity piglin)
hasItemInOffHand(PiglinEntity piglin)
m_35026_(C_1101_ p_35027_)
private static boolean
t(cnm arg0)
isNotHoldingLovedItemInOffHand(Piglin arg0)
method_24850(class_4836 arg0)
m_pvckfwhw(C_lkhqndnb arg0)
doesNotHaveGoldInOffHand(PiglinEntity piglin)
doesNotHaveGoldInOffHand(PiglinEntity piglin)
m_35028_(C_1101_ p_35029_)
public static boolean
a(but<?> arg0)
isZombified(EntityType<?> arg0)
method_29534(class_1299<?> arg0)
m_nvtlgvyc(C_ogavsvbr<?> arg0)
isZombified(EntityType<?> entityType)
isZombified(EntityType<?> entityType)
m_34806_(C_513_<?> p_34807_)