History - net.minecraft.world.entity.monster.piglin.Piglin

1.21.4

Names

col

cnm

Fields

EntityDataAccessor<Boolean>: ca, DATA_BABY_ID, field_22377, f_irzyizjq, BABY, BABY, f_34673_

EntityDataAccessor<Boolean>: bZ, DATA_BABY_ID, field_22377, f_irzyizjq, BABY, BABY, f_34673_

EntityDataAccessor<Boolean>: cb, DATA_IS_CHARGING_CROSSBOW, field_22378, f_vynssoly, CHARGING, CHARGING, f_34674_

EntityDataAccessor<Boolean>: ca, DATA_IS_CHARGING_CROSSBOW, field_22378, f_vynssoly, CHARGING, CHARGING, f_34674_

EntityDataAccessor<Boolean>: cc, DATA_IS_DANCING, field_25164, f_dicqsfvy, DANCING, DANCING, f_34675_

EntityDataAccessor<Boolean>: cb, DATA_IS_DANCING, field_25164, f_dicqsfvy, DANCING, DANCING, f_34675_

ResourceLocation: cd, SPEED_MODIFIER_BABY_ID, field_22379, f_bmortxcl, BABY_SPEED_BOOST_ID, BABY_SPEED_MODIFIER_ID, f_336834_

ResourceLocation: cc, SPEED_MODIFIER_BABY_ID, field_22379, f_bmortxcl, BABY_SPEED_BOOST_ID, BABY_SPEED_MODIFIER_ID, f_336834_

AttributeModifier: ce, SPEED_MODIFIER_BABY, field_22380, f_xtlntavg, BABY_SPEED_BOOST, BABY_SPEED_BOOST, f_34677_

AttributeModifier: cd, SPEED_MODIFIER_BABY, field_22380, f_xtlntavg, BABY_SPEED_BOOST, BABY_SPEED_BOOST, f_34677_

int: cf, MAX_HEALTH, field_30548, f_qmuktilb, field_30548, MAX_HEALTH, f_149918_

int: ce, MAX_HEALTH, field_30548, f_qmuktilb, field_30548, MAX_HEALTH, f_149918_

float: cg, MOVEMENT_SPEED_WHEN_FIGHTING, field_30549, f_ivxgmnqx, field_30549, FIGHTING_MOVEMENT_SPEED, f_149919_

float: cf, MOVEMENT_SPEED_WHEN_FIGHTING, field_30549, f_ivxgmnqx, field_30549, FIGHTING_MOVEMENT_SPEED, f_149919_

int: ch, ATTACK_DAMAGE, field_30550, f_slqxoygl, field_30550, ATTACK_DAMAGE, f_149920_

int: cg, ATTACK_DAMAGE, field_30550, f_slqxoygl, field_30550, ATTACK_DAMAGE, f_149920_

float: ci, CHANCE_OF_WEARING_EACH_ARMOUR_ITEM, field_30552, f_jchvuysg, field_30552, ARMOR_ITEM_CHANCE, f_149922_

float: ch, CHANCE_OF_WEARING_EACH_ARMOUR_ITEM, field_30552, f_jchvuysg, field_30552, ARMOR_ITEM_CHANCE, f_149922_

int: cj, MAX_PASSENGERS_ON_ONE_HOGLIN, field_30553, f_dvmxvvkj, field_30553, HOGLIN_MAX_PASSENGERS, f_149923_

int: ci, MAX_PASSENGERS_ON_ONE_HOGLIN, field_30553, f_dvmxvvkj, field_30553, HOGLIN_MAX_PASSENGERS, f_149923_

float: ck, PROBABILITY_OF_SPAWNING_AS_BABY, field_30554, f_anmnqnjv, field_30554, BABY_SPAWN_PROBABILITY, f_149924_

float: cj, PROBABILITY_OF_SPAWNING_AS_BABY, field_30554, f_anmnqnjv, field_30554, BABY_SPAWN_PROBABILITY, f_149924_

EntityDimensions: cl, BABY_DIMENSIONS, field_47818, f_smtnduuu, BABY_BASE_DIMENSIONS, BABY_DIMENSIONS, f_316267_

EntityDimensions: ck, BABY_DIMENSIONS, field_47818, f_smtnduuu, BABY_BASE_DIMENSIONS, BABY_DIMENSIONS, f_316267_

double: cm, PROBABILITY_OF_SPAWNING_WITH_CROSSBOW_INSTEAD_OF_SWORD, field_30556, f_woxlktah, field_30556, SPAWN_WITH_CROSSBOW_PROBABILITY, f_149926_

double: cl, PROBABILITY_OF_SPAWNING_WITH_CROSSBOW_INSTEAD_OF_SWORD, field_30556, f_woxlktah, field_30556, SPAWN_WITH_CROSSBOW_PROBABILITY, f_149926_

SimpleContainer: cn, inventory, field_22371, f_xqilyeci, inventory, inventory, f_34678_

SimpleContainer: cm, inventory, field_22371, f_xqilyeci, inventory, inventory, f_34678_

boolean: co, cannotHunt, field_23738, f_grlrcjra, cannotHunt, cannotHunt, f_34679_

boolean: cn, cannotHunt, field_23738, f_grlrcjra, cannotHunt, cannotHunt, f_34679_

com.google.common.collect.ImmutableList<MemoryModuleType<?>>: bZ, MEMORY_TYPES, field_22381, f_yoeupwku, MEMORY_MODULE_TYPES, MEMORY_MODULE_TYPES, f_34672_

com.google.common.collect.ImmutableList<MemoryModuleType<?>>: bY, MEMORY_TYPES, field_22381, f_yoeupwku, MEMORY_MODULE_TYPES, MEMORY_MODULE_TYPES, f_34672_

Constructors

Methods

AttributeSupplier$Builder (): gu, createAttributes, method_26953, m_ufaobfzz, createPiglinAttributes, createAttributes, m_34770_

AttributeSupplier$Builder (): gy, createAttributes, method_26953, m_ufaobfzz, createPiglinAttributes, createAttributes, m_34770_

boolean (): X, shouldDespawnInPeaceful, method_23734, m_mrbrckqf, isDisallowedInPeaceful, isDisallowedInPeaceful, m_8028_

boolean (): ab, shouldDespawnInPeaceful, method_23734, m_mrbrckqf, isDisallowedInPeaceful, isDisallowedInPeaceful, m_8028_

Brain$Provider<Piglin> (): ed, brainProvider, method_28306, m_pusvfpox, createBrainProfile, createBrainProfile, m_5490_

Brain$Provider<Piglin> (): ec, brainProvider, method_28306, m_pusvfpox, createBrainProfile, createBrainProfile, m_5490_

Brain<Piglin> (): ec, getBrain, method_18868, m_hobjxuks, getBrain, getBrain, m_6274_

Brain<Piglin> (): eb, getBrain, method_18868, m_hobjxuks, getBrain, getBrain, m_6274_

int (ServerLevel): e, getBaseExperienceReward, method_6110, m_qjawpswz, getXpToDrop, getBaseXpDropped, m_213860_

int (ServerLevel): e, getBaseExperienceReward, method_6110, m_qjawpswz, getExperienceToDrop, getBaseXpDropped, m_213860_

ItemStack (): gw, createSpawnWeapon, method_24702, m_wwfxpwxb, makeInitialWeapon, makeInitialWeapon, m_34772_

ItemStack (): gA, createSpawnWeapon, method_24702, m_wwfxpwxb, makeInitialWeapon, makeInitialWeapon, m_34772_

boolean (): gx, isChargingCrossbow, method_24703, m_owwtjime, isCharging, isCharging, m_34773_

boolean (): gB, isChargingCrossbow, method_24703, m_owwtjime, isCharging, isCharging, m_34773_

PiglinArmPose (): gp, getArmPose, method_24705, m_iihxosfw, getActivity, getActivity, m_6389_

PiglinArmPose (): gt, getArmPose, method_24705, m_iihxosfw, getActivity, getActivity, m_6389_

boolean (): gv, isDancing, method_29272, m_nhtdkffm, isDancing, isDancing, m_34771_

boolean (): gz, isDancing, method_29272, m_nhtdkffm, isDancing, isDancing, m_34771_

void (): gr, playConvertedSound, method_30238, m_jneonamx, playZombificationSound, playZombificationSound, m_7580_

void (): gv, playConvertedSound, method_30238, m_jneonamx, playZombificationSound, playZombificationSound, m_7580_

TagKey<Item> (): Z, getPreferredWeaponType, method_65345, m_zqkovfvg, getPreferredWeapons, m_372461_

1.21.3

Names

net.minecraft.world.entity.monster.piglin.PiglinAi

net.minecraft.world.entity.monster.piglin.Piglin

net.minecraft.class_4838

net.minecraft.class_4836

net.minecraft.unmapped.C_mxpeolkc

net.minecraft.unmapped.C_lkhqndnb

net.minecraft.entity.mob.PiglinBrain

net.minecraft.entity.mob.PiglinEntity

net.minecraft.entity.mob.PiglinBrain

net.minecraft.entity.mob.PiglinEntity

net.minecraft.src.C_1102_

net.minecraft.src.C_1101_

Fields

int: a, REPELLENT_DETECTION_RANGE_HORIZONTAL, field_30565, f_uxlhijnp, field_30565, REPELLENT_DETECTION_RANGE_HORIZONTAL, f_149940_

int: b, REPELLENT_DETECTION_RANGE_VERTICAL, field_30566, f_zqscaoqj, field_30566, REPELLENT_DETECTION_RANGE_VERTICAL, f_149941_

Item: c, BARTERING_ITEM, field_23826, f_sedefqof, BARTERING_ITEM, BARTERING_ITEM, f_34794_

int: e, PLAYER_ANGER_RANGE, field_30567, f_bjmauhwh, field_30567, PLAYER_ANGER_RANGE, f_149942_

int: f, ANGER_DURATION, field_30568, f_hzwxxubd, field_30568, ANGER_DURATION, f_149943_

int: g, ADMIRE_DURATION, field_30569, f_phtwibeq, field_30569, ADMIRE_DURATION, f_149944_

int: h, MAX_DISTANCE_TO_WALK_TO_ITEM, field_30570, f_rukeoquj, field_30570, WALK_TO_ITEM_MAX_DISTANCE, f_149945_

int: i, MAX_TIME_TO_WALK_TO_ITEM, field_30571, f_cayjpuhi, field_30571, WALK_TO_ITEM_MAX_TIME, f_149946_

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_

int: k, CELEBRATION_TIME, field_30573, f_vikzdyzb, field_30573, CELEBRATION_TIME, f_149948_

UniformInt: d, TIME_BETWEEN_HUNTS, field_22388, f_otqpyrsm, HUNT_MEMORY_DURATION, HUNT_MEMORY_DURATION, f_34795_

int: l, BABY_FLEE_DURATION_AFTER_GETTING_HIT, field_30574, f_vefqinpi, AVOID_TARGET_EXPIRY, BABY_FLEE_DURATION_AFTER_GETTING_HIT, f_149949_

int: m, HIT_BY_PLAYER_MEMORY_TIMEOUT, field_30575, f_ixqjwyyn, ADMIRING_DISABLED_EXPIRY, HIT_BY_PLAYER_MEMORY_TIMEOUT, f_149950_

int: n, MAX_WALK_DISTANCE_TO_START_RIDING, field_30576, f_zubkzhkz, field_30576, START_RIDING_MAX_WALK_DISTANCE, f_149951_

UniformInt: o, RIDE_START_INTERVAL, field_22389, f_fiwgjmps, MEMORY_TRANSFER_TASK_DURATION, MEMORY_TRANSFER_TASK_DURATION, f_34796_

UniformInt: p, RIDE_DURATION, field_22390, f_emvgrlxc, RIDE_TARGET_MEMORY_DURATION, RIDE_TARGET_MEMORY_DURATION, f_34797_

UniformInt: q, RETREAT_DURATION, field_22391, f_kmshkchr, AVOID_MEMORY_DURATION, AVOID_MEMORY_DURATION, f_34798_

int: r, MELEE_ATTACK_COOLDOWN, field_30577, f_yczpmhwr, field_30577, MELEE_ATTACK_COOLDOWN, f_149952_

int: s, EAT_COOLDOWN, field_30578, f_yqopamxc, field_30578, EAT_COOLDOWN, f_149953_

int: t, DESIRED_DISTANCE_FROM_ENTITY_WHEN_AVOIDING, field_30579, f_srhqewhu, field_30579, AVOID_DESIRED_DISTANCE_FROM_ENTITY, f_149954_

int: u, MAX_LOOK_DIST, field_30580, f_srknbwkm, field_30580, MAX_LOOK_DISTANCE, f_149955_

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_

int: w, INTERACTION_RANGE, field_30582, f_cduqgjph, field_30582, INTERACTION_RANGE, f_149957_

int: x, MIN_DESIRED_DIST_FROM_TARGET_WHEN_HOLDING_CROSSBOW, field_30583, f_ieglibfx, field_30583, HOLDING_CROSSBOW_MIN_DISTANCE_FROM_TARGET, f_149958_

float: y, SPEED_WHEN_STRAFING_BACK_FROM_TARGET, field_30584, f_czvzwmfn, CROSSBOW_ATTACK_FORWARD_MOVEMENT, STRAFING_BACK_FROM_TARGET_SPEED, f_149959_

int: z, DESIRED_DISTANCE_FROM_ZOMBIFIED, field_30585, f_syevmelo, field_30585, ZOMBIFIED_PIGLINS_DESIRED_DISTANCE, f_149960_

UniformInt: A, AVOID_ZOMBIFIED_DURATION, field_25384, f_isrftifw, GO_TO_ZOMBIFIED_MEMORY_DURATION, GO_TO_ZOMBIFIED_MEMORY_DURATION, f_34799_

UniformInt: B, BABY_AVOID_NEMESIS_DURATION, field_25698, f_ctmyacjj, GO_TO_NEMESIS_MEMORY_DURATION, GO_TO_NEMESIS_MEMORY_DURATION, f_34800_

float: C, PROBABILITY_OF_CELEBRATION_DANCE, field_30557, f_uvjzrzin, field_30557, CELEBRATION_DANCE_PROBABILITY, f_149932_

float: D, SPEED_MULTIPLIER_WHEN_AVOIDING, field_30558, f_kdwocnlc, field_30558, AVOIDING_SPEED, f_149933_

float: E, SPEED_MULTIPLIER_WHEN_RETREATING, field_30559, f_iskwdiyb, field_30559, RETREATING_SPEED, f_149934_

float: F, SPEED_MULTIPLIER_WHEN_MOUNTING, field_30560, f_wflmfruv, START_RIDING_SPEED, MOUNTING_SPEED, f_149935_

float: G, SPEED_MULTIPLIER_WHEN_GOING_TO_WANTED_ITEM, field_30561, f_kmftlzic, field_30561, GOING_TO_WANTED_ITEM_SPEED, f_149936_

float: H, SPEED_MULTIPLIER_WHEN_GOING_TO_CELEBRATE_LOCATION, field_30562, f_nndtpsiw, field_30562, GOING_TO_CELEBRATE_LOCATION_SPEED, f_149937_

float: I, SPEED_MULTIPLIER_WHEN_DANCING, field_30563, f_pghapdxv, field_30563, DANCING_SPEED, f_149938_

float: J, SPEED_MULTIPLIER_WHEN_IDLING, field_30564, f_gikaxjvu, field_30564, IDLING_SPEED, f_149939_

EntityDataAccessor<Boolean>: ca, DATA_BABY_ID, field_22377, f_irzyizjq, BABY, BABY, f_34673_

EntityDataAccessor<Boolean>: cb, DATA_IS_CHARGING_CROSSBOW, field_22378, f_vynssoly, CHARGING, CHARGING, f_34674_

EntityDataAccessor<Boolean>: cc, DATA_IS_DANCING, field_25164, f_dicqsfvy, DANCING, DANCING, f_34675_

ResourceLocation: cd, SPEED_MODIFIER_BABY_ID, field_22379, f_bmortxcl, BABY_SPEED_BOOST_ID, BABY_SPEED_MODIFIER_ID, f_336834_

AttributeModifier: ce, SPEED_MODIFIER_BABY, field_22380, f_xtlntavg, BABY_SPEED_BOOST, BABY_SPEED_BOOST, f_34677_

int: cf, MAX_HEALTH, field_30548, f_qmuktilb, field_30548, MAX_HEALTH, f_149918_

float: cg, MOVEMENT_SPEED_WHEN_FIGHTING, field_30549, f_ivxgmnqx, field_30549, FIGHTING_MOVEMENT_SPEED, f_149919_

int: ch, ATTACK_DAMAGE, field_30550, f_slqxoygl, field_30550, ATTACK_DAMAGE, f_149920_

float: ci, CHANCE_OF_WEARING_EACH_ARMOUR_ITEM, field_30552, f_jchvuysg, field_30552, ARMOR_ITEM_CHANCE, f_149922_

int: cj, MAX_PASSENGERS_ON_ONE_HOGLIN, field_30553, f_dvmxvvkj, field_30553, HOGLIN_MAX_PASSENGERS, f_149923_

float: ck, PROBABILITY_OF_SPAWNING_AS_BABY, field_30554, f_anmnqnjv, field_30554, BABY_SPAWN_PROBABILITY, f_149924_

EntityDimensions: cl, BABY_DIMENSIONS, field_47818, f_smtnduuu, BABY_BASE_DIMENSIONS, BABY_DIMENSIONS, f_316267_

double: cm, PROBABILITY_OF_SPAWNING_WITH_CROSSBOW_INSTEAD_OF_SWORD, field_30556, f_woxlktah, field_30556, SPAWN_WITH_CROSSBOW_PROBABILITY, f_149926_

SimpleContainer: cn, inventory, field_22371, f_xqilyeci, inventory, inventory, f_34678_

boolean: co, cannotHunt, field_23738, f_grlrcjra, cannotHunt, cannotHunt, f_34679_

com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super Piglin>>>: d, SENSOR_TYPES, field_22376, f_lqzurrbs, SENSOR_TYPES, SENSOR_TYPES, f_34680_

com.google.common.collect.ImmutableList<MemoryModuleType<?>>: bZ, MEMORY_TYPES, field_22381, f_yoeupwku, MEMORY_MODULE_TYPES, MEMORY_MODULE_TYPES, f_34672_

Constructors

()

(EntityType<? extends AbstractPiglin>, Level)

Methods

Brain<?> (Piglin, Brain<Piglin>): a, makeBrain, method_24732, m_jighuprm, create, create, m_34840_

void (Piglin, RandomSource): a, initMemories, method_24736, m_aeqbdwgd, setHuntedRecently, setHuntedRecently, m_219205_

void (Brain<Piglin>): a, initCoreActivity, method_24725, m_zzvyjghc, addCoreActivities, addCoreActivities, m_34820_

void (Brain<Piglin>): b, initIdleActivity, method_24743, m_wuohqgic, addIdleActivities, addIdleActivities, m_34891_

void (Piglin, Brain<Piglin>): b, initFightActivity, method_24751, m_soclpmiz, addFightActivities, addFightActivities, m_34903_

void (Brain<Piglin>): c, initCelebrateActivity, method_24756, m_zudbmwtt, addCelebrateActivities, addCelebrateActivities, m_34920_

void (Brain<Piglin>): d, initAdmireItemActivity, method_24760, m_iqzgamlf, addAdmireItemActivities, addAdmireItemActivities, m_34940_

void (Brain<Piglin>): e, initRetreatActivity, method_24764, m_jfdxonuw, addAvoidActivities, addAvoidActivities, m_34958_

void (Brain<Piglin>): f, initRideHoglinActivity, method_24768, m_vzlqkynd, addRideActivities, addRideActivities, m_34973_

com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<OneShot<LivingEntity>, Integer>> (): a, createLookBehaviors, method_47272, m_ezdpkqwt, makeFollowTasks, createLookTasks, m_257792_

RunOne<LivingEntity> (): b, createIdleLookBehaviors, method_24717, m_acnqmmln, makeRandomFollowTask, makeRandomFollowTask, m_34805_

RunOne<Piglin> (): c, createIdleMovementBehaviors, method_24718, m_evwahudb, makeRandomWanderTask, makeRandomWanderTask, m_34882_

BehaviorControl<PathfinderMob> (): d, avoidRepellent, method_24738, m_ijhdgyhq, makeGoToSoulFireTask, makeGoToSoulFireTask, m_257691_

BehaviorControl<Piglin> (): e, babyAvoidNemesis, method_30090, m_yjbboooc, goToNemesisTask, goToNemesisTask, m_257417_

BehaviorControl<Piglin> (): f, avoidZombified, method_24747, m_fjookgdt, makeFleeFromZombifiedPiglinTask, makeGoToZombifiedPiglinTask, m_257731_

void (Piglin): a, updateActivity, method_24722, m_zsnuljbm, tickActivities, tickActivities, m_34898_

boolean (Piglin): e, isBabyRidingBaby, method_29277, m_wsfnykkq, canRideHoglin, canRideHoglin, m_34992_

ItemStack (ItemEntity): a, removeOneItemFromItemEntity, method_24848, m_vdrrslys, getItemFromStack, getItemFromStack, m_34822_

void (Piglin, ItemStack): c, putInInventory, method_24849, m_luovsbnc, barterItem, barterItem, m_34952_

void (Piglin, List<ItemStack>): a, throwItems, method_24772, m_diaoekjn, doBarter, doBarter, m_34860_

void (Piglin, List<ItemStack>): b, throwItemsTowardRandomPos, method_24774, m_ycxrbeay, dropBarteredItem, dropBarteredItem, m_34912_

void (Piglin, Player, List<ItemStack>): a, throwItemsTowardPlayer, method_24727, m_lyasgkwj, dropBarteredItem, dropBarteredItem, m_34850_

void (Piglin, List<ItemStack>, Vec3): a, throwItemsTowardPos, method_24731, m_kmcguhbn, drop, drop, m_34863_

List<ItemStack> (Piglin): f, getBarterResponseItems, method_24776, m_accbozmb, getBarteredItem, getBarteredItem, m_34996_

boolean (LivingEntity, LivingEntity): a, wantsToDance, method_29276, m_dudjutol, isHuntingTarget, isHuntingTarget, m_34810_

boolean (Piglin, ItemStack): a, wantsToPickup, method_24730, m_wuzxlluu, canGather, canGather, m_34857_

boolean (ItemStack): a, isLovedItem, method_24735, m_xxtnjqpf, isGoldenItem, isGoldenItem, m_149965_

boolean (Piglin, Entity): a, wantsToStopRiding, method_24723, m_yycmwgzj, canRide, canRide, m_34834_

boolean (Piglin): g, isNearZombified, method_29537, m_fejufdix, getNearestZombifiedPiglin, getNearestZombifiedPiglin, m_34998_

boolean (Piglin, ItemStack): b, canAdmire, method_27086, m_zjjlloty, isWillingToTrade, isWillingToTrade, m_34909_

Optional<SoundEvent> (Piglin): b, getSoundForCurrentActivity, method_30091, m_wwzwjgwr, getCurrentActivitySound, getCurrentActivitySound, m_34947_

SoundEvent (Piglin, Activity): a, getSoundForActivity, method_30087, m_yeknsnhi, getSound, getSound, m_34854_

boolean (Piglin): h, isNearAvoidTarget, method_29538, m_yhpcttwu, hasTargetToAvoid, hasTargetToAvoid, m_35002_

List<AbstractPiglin> (Piglin): c, getVisibleAdultPiglins, method_24780, m_lxtfwyka, getNearbyVisiblePiglins, getNearbyVisiblePiglins, m_35004_

List<AbstractPiglin> (AbstractPiglin): d, getAdultPiglins, method_26350, m_kpixhyib, getNearbyPiglins, getNearbyPiglins, m_34960_

void (Piglin): i, stopWalking, method_24781, m_pthdrbkr, stopWalking, stopWalking, m_35006_

BehaviorControl<LivingEntity> (): g, babySometimesRideBabyHoglin, method_24737, m_qcrdxsmf, makeRememberRideableHoglinTask, makeRememberRideableHoglinTask, m_257528_

Optional<LivingEntity> (AbstractPiglin): e, getAngerTarget, method_24782, m_kwqeqesm, getAngryAt, getAngryAt, m_34975_

Optional<LivingEntity> (Piglin): d, getAvoidTarget, method_29536, m_qyhfwheq, getAvoiding, getAvoiding, m_34986_

Optional<Player> (AbstractPiglin): a, getNearestVisibleTargetablePlayer, method_29947, m_yguixodz, getNearestDetectedPlayer, getNearestDetectedPlayer, m_34893_

void (Piglin, LivingEntity): a, broadcastRetreat, method_24767, m_llzphprg, groupRunAwayFrom, groupRunAwayFrom, m_34929_

void (Piglin, LivingEntity): b, retreatFromNearestTarget, method_24771, m_qxpxmdbl, runAwayFromClosestTarget, runAwayFromClosestTarget, m_34949_

boolean (Piglin): j, wantsToStopFleeing, method_24783, m_jqalumps, shouldRunAwayFromHoglins, shouldRunAwayFromHoglins, m_35008_

boolean (Piglin): k, piglinsEqualOrOutnumberHoglins, method_24784, m_xxqvjflp, hasNoAdvantageAgainstHoglins, hasNoAdvantageAgainstHoglins, m_35010_

boolean (Piglin): l, hoglinsOutnumberPiglins, method_24785, m_tokamduy, hasOutnumberedHoglins, hasOutnumberedHoglins, m_35012_

void (Piglin, LivingEntity): c, setAvoidTargetAndDontHuntForAWhile, method_24773, m_iifpvgji, runAwayFrom, runAwayFrom, m_34967_

void (AbstractPiglin): b, dontKillAnyMoreHoglinsForAWhile, method_24762, m_bpziocjo, rememberHunting, rememberHunting, m_34922_

void (Piglin): m, eat, method_24787, m_drvkppan, setEatenRecently, setEatenRecently, m_35014_

Vec3 (Piglin): n, getRandomNearbyPos, method_24788, m_rwgnndpm, findGround, findGround, m_35016_

boolean (Piglin): o, hasEatenRecently, method_24789, m_pzytfnhk, hasAteRecently, hasAteRecently, m_35018_

boolean (AbstractPiglin): c, isIdle, method_24766, m_nqwyquia, hasIdleActivity, hasIdleActivity, m_34942_

boolean (LivingEntity): c, hasCrossbow, method_24748, m_czrhsupq, isHoldingCrossbow, isHoldingCrossbow, m_34918_

void (LivingEntity): d, admireGoldItem, method_24753, m_fedafloi, setAdmiringItem, setAdmiringItem, m_34938_

boolean (Piglin): p, isAdmiringItem, method_24790, m_uofyogtq, isAdmiringItem, isAdmiringItem, m_35020_

boolean (ItemStack): b, isBarterCurrency, method_24746, m_svzuyond, acceptsForBarter, acceptsForBarter, m_149967_

boolean (ItemStack): c, isFood, method_24752, m_zdorzvrm, isFood, isFood, m_149969_

boolean (Piglin): q, isNearRepellent, method_24791, m_ousipwvq, hasSoulFireNearby, hasSoulFireNearby, m_35022_

boolean (LivingEntity): e, seesPlayerHoldingLovedItem, method_24761, m_ohidzpjx, hasPlayerHoldingWantedItemNearby, hasPlayerHoldingWantedItemNearby, m_34971_

boolean (LivingEntity): f, doesntSeeAnyPlayerHoldingLovedItem, method_24765, m_uvhqnlfi, canWander, canWander, m_34982_

boolean (LivingEntity): b, isPlayerHoldingLovedItem, method_24739, m_zdsmkoog, isGoldHoldingPlayer, isGoldHoldingPlayer, m_34883_

boolean (Piglin): r, isAdmiringDisabled, method_24714, m_abssmnvg, hasBeenHitByPlayer, hasBeenHitByPlayer, m_35024_

boolean (LivingEntity): g, wasHurtRecently, method_24769, m_akjfbcgw, hasBeenHurt, hasBeenHurt, m_34988_

boolean (Piglin): s, isHoldingItemInOffHand, method_24917, m_ehxqnoly, hasItemInOffHand, hasItemInOffHand, m_35026_

boolean (Piglin): t, isNotHoldingLovedItemInOffHand, method_24850, m_pvckfwhw, doesNotHaveGoldInOffHand, doesNotHaveGoldInOffHand, m_35028_

boolean (EntityType<?>): a, isZombified, method_29534, m_nvtlgvyc, isZombified, isZombified, m_34806_

void (ServerLevel, Piglin, ItemEntity): a, pickUpItem, method_24726, m_qioedzrh, loot, loot, m_34843_

void (ServerLevel, Piglin, ItemStack): a, holdInOffhand, method_30089, m_eueiflmq, swapItemWithOffHand, swapItemWithOffHand, m_34932_

void (ServerLevel, Piglin, boolean): a, stopHoldingOffHandItem, method_24741, m_prracpoq, consumeOffHandItem, consumeOffHandItem, m_34867_

void (ServerLevel, Piglin): a, cancelAdmiring, method_25948, m_btpltubf, pickupItemWithOffHand, pickupItemWithOffHand, m_34927_

boolean (ServerLevel, Piglin, LivingEntity): b, isNearestValidAttackTarget, method_24755, m_ucxtolcs, isPreferredAttackTarget, isPreferredAttackTarget, m_34900_

Optional<? extends LivingEntity> (ServerLevel, Piglin): b, findNearestValidAttackTarget, method_24777, m_yagsymgj, getPreferredTarget, getPreferredTarget, m_35000_

void (ServerLevel, Player, boolean): a, angerNearbyPiglins, method_24733, m_qhorxdpx, onGuardedBlockInteracted, onGuardedBlockInteracted, m_34873_

InteractionResult (ServerLevel, Piglin, Player, InteractionHand): a, mobInteract, method_24728, m_fftynzbf, playerInteract, playerInteract, m_34846_

void (ServerLevel, Piglin, LivingEntity): a, wasHurtBy, method_24724, m_aalhkbsy, onAttacked, onAttacked, m_34837_

void (ServerLevel, AbstractPiglin, LivingEntity): a, maybeRetaliate, method_24759, m_pzmiregk, tryRevenge, tryRevenge, m_34826_

boolean (LivingEntity): a, isWearingSafeArmor, method_63665, m_klnzftun, isWearingPiglinSafeArmor, m_klnzftun, m_352975_

void (ServerLevel, AbstractPiglin, LivingEntity): b, broadcastAngerTarget, method_24742, m_psnwnmxs, angerAtCloserTargets, angerAtCloserTargets, m_353874_

void (ServerLevel, AbstractPiglin): a, broadcastUniversalAnger, method_29945, m_eshikqca, angerNearbyPiglins, angerNearbyPiglins, m_34895_

void (ServerLevel, AbstractPiglin, LivingEntity): c, setAngerTarget, method_24750, m_bcngwcno, becomeAngryWith, becomeAngryWith, m_34924_

void (ServerLevel, AbstractPiglin, LivingEntity): d, setAngerTargetToNearestTargetablePlayerIfFound, method_29946, m_cakrqgkc, becomeAngryWithPlayer, becomeAngryWithPlayer, m_34944_

void (ServerLevel, AbstractPiglin, LivingEntity): e, setAngerTargetIfCloserThanCurrent, method_24763, m_zdktjbec, angerAtIfCloser, angerAtIfCloser, m_34962_

void (CompoundTag): b, addAdditionalSaveData, method_5652, m_xuwbpohg, writeCustomDataToNbt, writeCustomDataToNbt, m_7380_

void (CompoundTag): a, readAdditionalSaveData, method_5749, m_obkzfysl, readCustomDataFromNbt, readCustomDataFromNbt, m_7378_

SimpleContainer (): t, getInventory, method_35199, m_jezpqywh, getInventory, getInventory, m_35311_

void (ServerLevel, DamageSource, boolean): a, dropCustomDeathLoot, method_6099, m_sephwywk, dropEquipment, dropCustomLoot, m_7472_

ItemStack (ItemStack): i, addToInventory, method_24711, m_jtmrkrba, addItem, addItem, m_34778_

boolean (ItemStack): j, canAddToInventory, method_27085, m_cismjwrg, canInsertIntoInventory, canInsertIntoInventory, m_34780_

void (SynchedEntityData$Builder): a, defineSynchedData, method_5693, m_lwugwlsw, initDataTracker, initDataTracker, m_8097_

void (EntityDataAccessor<?>): a, onSyncedDataUpdated, method_5674, m_efnedaed, onTrackedDataSet, onTrackedDataSet, m_7350_

AttributeSupplier$Builder (): gu, createAttributes, method_26953, m_ufaobfzz, createPiglinAttributes, createAttributes, m_34770_

boolean (EntityType<Piglin>, LevelAccessor, EntitySpawnReason, BlockPos, RandomSource): b, checkPiglinSpawnRules, method_24695, m_icdspzlk, canSpawn, canSpawn, m_219197_

SpawnGroupData (ServerLevelAccessor, DifficultyInstance, EntitySpawnReason, SpawnGroupData): a, finalizeSpawn, method_5943, m_oxrxxqyz, initialize, initialize, m_6518_

boolean (): X, shouldDespawnInPeaceful, method_23734, m_mrbrckqf, isDisallowedInPeaceful, isDisallowedInPeaceful, m_8028_

boolean (double): h, removeWhenFarAway, method_5974, m_dciqpbdm, canImmediatelyDespawn, canImmediatelyDespawn, m_6785_

void (RandomSource, DifficultyInstance): a, populateDefaultEquipmentSlots, method_5964, m_bafwglvj, initEquipment, initEquipment, m_213945_

void (EquipmentSlot, ItemStack, RandomSource): a, maybeWearArmor, method_24696, m_funnqfzg, equipAtChance, equipAtChance, m_219191_

Brain$Provider<Piglin> (): ed, brainProvider, method_28306, m_pusvfpox, createBrainProfile, createBrainProfile, m_5490_

Brain<?> (com.mojang.serialization.Dynamic<?>): a, makeBrain, method_18867, m_epkzhkqg, deserializeBrain, deserializeBrain, m_8075_

Brain<Piglin> (): ec, getBrain, method_18868, m_hobjxuks, getBrain, getBrain, m_6274_

InteractionResult (Player, InteractionHand): b, mobInteract, method_5992, m_kuhfocmh, interactMob, interactMob, m_6071_

EntityDimensions (Pose): e, getDefaultDimensions, method_55694, m_qukpzlyx, getBaseDimensions, getDefaultDimensions, m_31586_

void (boolean): a, setBaby, method_7217, m_wuplhywr, setBaby, setBaby, m_6863_

boolean (): e_, isBaby, method_6109, m_xuxedegf, isBaby, isBaby, m_6162_

void (boolean): z, setCannotHunt, method_26954, m_fqijiivy, setCannotHunt, setCannotHunt, m_34791_

boolean (): m, canHunt, method_26952, m_bmugrmhr, canHunt, canHunt, m_7121_

void (ServerLevel): a, customServerAiStep, method_5958, m_wbeiezxn, mobTick, mobTick, m_8024_

int (ServerLevel): e, getBaseExperienceReward, method_6110, m_qjawpswz, getXpToDrop, getBaseXpDropped, m_213860_

void (ServerLevel): g, finishConversion, method_24694, m_rloeixfu, zombify, zombify, m_8063_

ItemStack (): gw, createSpawnWeapon, method_24702, m_wwfxpwxb, makeInitialWeapon, makeInitialWeapon, m_34772_

boolean (): gx, isChargingCrossbow, method_24703, m_owwtjime, isCharging, isCharging, m_34773_

void (boolean): b, setChargingCrossbow, method_7110, m_yindccvg, setCharging, setCharging, m_6136_

void (): a, onCrossbowAttackPerformed, method_24651, m_kuohphtl, postShoot, postShoot, m_5847_

PiglinArmPose (): gp, getArmPose, method_24705, m_iihxosfw, getActivity, getActivity, m_6389_

boolean (): gv, isDancing, method_29272, m_nhtdkffm, isDancing, isDancing, m_34771_

void (boolean): y, setDancing, method_29274, m_ieeqtuak, setDancing, setDancing, m_34789_

boolean (ServerLevel, DamageSource, float): a, hurtServer, method_64397, m_fuenwjjy, damage, damage, m_351622_

void (LivingEntity, float): a, performRangedAttack, method_7105, m_tmonasak, shootAt, attack, m_6504_

boolean (ProjectileWeaponItem): a, canFireProjectileWeapon, method_25938, m_tjejbxzp, canUseRangedWeapon, canUseRangedWeapon, m_5886_

void (ItemStack): k, holdInMainHand, method_24844, m_vqcmflpx, equipToMainHand, equipToMainHand, m_34783_

void (ItemStack): l, holdInOffHand, method_24845, m_domdcbje, equipToOffHand, equipToOffHand, m_34785_

boolean (ServerLevel, ItemStack): c, wantsToPickUp, method_20820, m_nzdowltt, canGather, canGather, m_7243_

boolean (ItemStack): m, canReplaceCurrentItem, method_24846, m_zstelxhl, canEquipStack, canEquipStack, m_34787_

boolean (ItemStack, ItemStack, EquipmentSlot): a, canReplaceCurrentItem, method_5955, m_swfiqufm, prefersNewEquipment, prefersNewEquipment, m_7808_

void (ServerLevel, ItemEntity): a, pickUpItem, method_5949, m_avgkrrey, loot, loot, m_7581_

boolean (Entity, boolean): a, startRiding, method_5873, m_hvcwbybh, startRiding, startRiding, m_7998_

Entity (Entity, int): b, getTopPassenger, method_26089, m_csfclcxj, getTopMostPassenger, getTopMostPassenger, m_34730_

SoundEvent (): u, getAmbientSound, method_5994, m_jjefzxbm, getAmbientSound, getAmbientSound, m_7515_

SoundEvent (DamageSource): e, getHurtSound, method_6011, m_spwwmdyl, getHurtSound, getHurtSound, m_7975_

SoundEvent (): o_, getDeathSound, method_6002, m_axkhmdzu, getDeathSound, getDeathSound, m_5592_

void (BlockPos, BlockState): b, playStepSound, method_5712, m_rnleirmb, playStepSound, playStepSound, m_7355_

void (): gr, playConvertedSound, method_30238, m_jneonamx, playZombificationSound, playZombificationSound, m_7580_

1.21.2

Names

clo

col

net.minecraft.world.entity.monster.piglin.PiglinAI

net.minecraft.world.entity.monster.piglin.EntityPiglin

Fields

Constructors

Methods

boolean (Piglin): f, isBabyRidingBaby, method_29277, m_wsfnykkq, canRideHoglin, canRideHoglin, m_34992_

boolean (Piglin): e, isBabyRidingBaby, method_29277, m_wsfnykkq, canRideHoglin, canRideHoglin, m_34992_

void (Piglin, ItemEntity): a, pickUpItem, method_24726, m_qioedzrh, loot, loot, m_34843_

void (Piglin, ItemStack): c, holdInOffhand, method_30089, m_eueiflmq, swapItemWithOffHand, swapItemWithOffHand, m_34932_

void (Piglin, boolean): a, stopHoldingOffHandItem, method_24741, m_prracpoq, consumeOffHandItem, consumeOffHandItem, m_34867_

void (Piglin): b, cancelAdmiring, method_25948, m_btpltubf, pickupItemWithOffHand, pickupItemWithOffHand, m_34927_

void (Piglin, ItemStack): d, putInInventory, method_24849, m_luovsbnc, barterItem, barterItem, m_34952_

void (Piglin, ItemStack): c, putInInventory, method_24849, m_luovsbnc, barterItem, barterItem, m_34952_

List<ItemStack> (Piglin): g, getBarterResponseItems, method_24776, m_accbozmb, getBarteredItem, getBarteredItem, m_34996_

List<ItemStack> (Piglin): f, getBarterResponseItems, method_24776, m_accbozmb, getBarteredItem, getBarteredItem, m_34996_

boolean (Piglin, LivingEntity): b, isNearestValidAttackTarget, method_24755, m_ucxtolcs, isPreferredAttackTarget, isPreferredAttackTarget, m_34900_

boolean (Piglin): h, isNearZombified, method_29537, m_fejufdix, getNearestZombifiedPiglin, getNearestZombifiedPiglin, m_34998_

boolean (Piglin): g, isNearZombified, method_29537, m_fejufdix, getNearestZombifiedPiglin, getNearestZombifiedPiglin, m_34998_

Optional<? extends LivingEntity> (Piglin): i, findNearestValidAttackTarget, method_24777, m_yagsymgj, getPreferredTarget, getPreferredTarget, m_35000_

void (Player, boolean): a, angerNearbyPiglins, method_24733, m_qhorxdpx, onGuardedBlockInteracted, onGuardedBlockInteracted, m_34873_

InteractionResult (Piglin, Player, InteractionHand): a, mobInteract, method_24728, m_fftynzbf, playerInteract, playerInteract, m_34846_

void (Piglin, LivingEntity): a, wasHurtBy, method_24724, m_aalhkbsy, onAttacked, onAttacked, m_34837_

void (AbstractPiglin, LivingEntity): a, maybeRetaliate, method_24759, m_pzmiregk, tryRevenge, tryRevenge, m_34826_

Optional<SoundEvent> (Piglin): c, getSoundForCurrentActivity, method_30091, m_wwzwjgwr, getCurrentActivitySound, getCurrentActivitySound, m_34947_

Optional<SoundEvent> (Piglin): b, getSoundForCurrentActivity, method_30091, m_wwzwjgwr, getCurrentActivitySound, getCurrentActivitySound, m_34947_

boolean (Piglin): j, isNearAvoidTarget, method_29538, m_yhpcttwu, hasTargetToAvoid, hasTargetToAvoid, m_35002_

boolean (Piglin): h, isNearAvoidTarget, method_29538, m_yhpcttwu, hasTargetToAvoid, hasTargetToAvoid, m_35002_

List<AbstractPiglin> (Piglin): d, getVisibleAdultPiglins, method_24780, m_lxtfwyka, getNearbyVisiblePiglins, getNearbyVisiblePiglins, m_35004_

List<AbstractPiglin> (Piglin): c, getVisibleAdultPiglins, method_24780, m_lxtfwyka, getNearbyVisiblePiglins, getNearbyVisiblePiglins, m_35004_

List<AbstractPiglin> (AbstractPiglin): e, getAdultPiglins, method_26350, m_kpixhyib, getNearbyPiglins, getNearbyPiglins, m_34960_

List<AbstractPiglin> (AbstractPiglin): d, getAdultPiglins, method_26350, m_kpixhyib, getNearbyPiglins, getNearbyPiglins, m_34960_

boolean (LivingEntity): a, isWearingGold, method_24719, m_mwykfgyg, wearsGoldArmor, wearsGoldArmor, m_34808_

void (Piglin): k, stopWalking, method_24781, m_pthdrbkr, stopWalking, stopWalking, m_35006_

void (Piglin): i, stopWalking, method_24781, m_pthdrbkr, stopWalking, stopWalking, m_35006_

void (AbstractPiglin, LivingEntity): b, broadcastAngerTarget, method_24742, m_psnwnmxs, angerAtCloserTargets, angerAtCloserTargets, m_34895_

void (AbstractPiglin): a, broadcastUniversalAnger, method_29945, m_eshikqca, angerNearbyPiglins, angerNearbyPiglins, m_34824_

void (AbstractPiglin, LivingEntity): c, setAngerTarget, method_24750, m_bcngwcno, becomeAngryWith, becomeAngryWith, m_34924_

void (AbstractPiglin, LivingEntity): d, setAngerTargetToNearestTargetablePlayerIfFound, method_29946, m_cakrqgkc, becomeAngryWithPlayer, becomeAngryWithPlayer, m_34944_

void (AbstractPiglin, LivingEntity): e, setAngerTargetIfCloserThanCurrent, method_24763, m_zdktjbec, angerAtIfCloser, angerAtIfCloser, m_34962_

Optional<LivingEntity> (AbstractPiglin): f, getAngerTarget, method_24782, m_kwqeqesm, getAngryAt, getAngryAt, m_34975_

Optional<LivingEntity> (AbstractPiglin): e, getAngerTarget, method_24782, m_kwqeqesm, getAngryAt, getAngryAt, m_34975_

Optional<LivingEntity> (Piglin): e, getAvoidTarget, method_29536, m_qyhfwheq, getAvoiding, getAvoiding, m_34986_

Optional<LivingEntity> (Piglin): d, getAvoidTarget, method_29536, m_qyhfwheq, getAvoiding, getAvoiding, m_34986_

Optional<Player> (AbstractPiglin): b, getNearestVisibleTargetablePlayer, method_29947, m_yguixodz, getNearestDetectedPlayer, getNearestDetectedPlayer, m_34893_

Optional<Player> (AbstractPiglin): a, getNearestVisibleTargetablePlayer, method_29947, m_yguixodz, getNearestDetectedPlayer, getNearestDetectedPlayer, m_34893_

void (Piglin, LivingEntity): c, broadcastRetreat, method_24767, m_llzphprg, groupRunAwayFrom, groupRunAwayFrom, m_34929_

void (Piglin, LivingEntity): a, broadcastRetreat, method_24767, m_llzphprg, groupRunAwayFrom, groupRunAwayFrom, m_34929_

void (Piglin, LivingEntity): d, retreatFromNearestTarget, method_24771, m_qxpxmdbl, runAwayFromClosestTarget, runAwayFromClosestTarget, m_34949_

void (Piglin, LivingEntity): b, retreatFromNearestTarget, method_24771, m_qxpxmdbl, runAwayFromClosestTarget, runAwayFromClosestTarget, m_34949_

boolean (Piglin): l, wantsToStopFleeing, method_24783, m_jqalumps, shouldRunAwayFromHoglins, shouldRunAwayFromHoglins, m_35008_

boolean (Piglin): j, wantsToStopFleeing, method_24783, m_jqalumps, shouldRunAwayFromHoglins, shouldRunAwayFromHoglins, m_35008_

boolean (Piglin): m, piglinsEqualOrOutnumberHoglins, method_24784, m_xxqvjflp, hasNoAdvantageAgainstHoglins, hasNoAdvantageAgainstHoglins, m_35010_

boolean (Piglin): k, piglinsEqualOrOutnumberHoglins, method_24784, m_xxqvjflp, hasNoAdvantageAgainstHoglins, hasNoAdvantageAgainstHoglins, m_35010_

boolean (Piglin): n, hoglinsOutnumberPiglins, method_24785, m_tokamduy, hasOutnumberedHoglins, hasOutnumberedHoglins, m_35012_

boolean (Piglin): l, hoglinsOutnumberPiglins, method_24785, m_tokamduy, hasOutnumberedHoglins, hasOutnumberedHoglins, m_35012_

void (Piglin, LivingEntity): e, setAvoidTargetAndDontHuntForAWhile, method_24773, m_iifpvgji, runAwayFrom, runAwayFrom, m_34967_

void (Piglin, LivingEntity): c, setAvoidTargetAndDontHuntForAWhile, method_24773, m_iifpvgji, runAwayFrom, runAwayFrom, m_34967_

void (AbstractPiglin): c, dontKillAnyMoreHoglinsForAWhile, method_24762, m_bpziocjo, rememberHunting, rememberHunting, m_34922_

void (AbstractPiglin): b, dontKillAnyMoreHoglinsForAWhile, method_24762, m_bpziocjo, rememberHunting, rememberHunting, m_34922_

void (Piglin): o, eat, method_24787, m_drvkppan, setEatenRecently, setEatenRecently, m_35014_

void (Piglin): m, eat, method_24787, m_drvkppan, setEatenRecently, setEatenRecently, m_35014_

Vec3 (Piglin): p, getRandomNearbyPos, method_24788, m_rwgnndpm, findGround, findGround, m_35016_

Vec3 (Piglin): n, getRandomNearbyPos, method_24788, m_rwgnndpm, findGround, findGround, m_35016_

boolean (Piglin): q, hasEatenRecently, method_24789, m_pzytfnhk, hasAteRecently, hasAteRecently, m_35018_

boolean (Piglin): o, hasEatenRecently, method_24789, m_pzytfnhk, hasAteRecently, hasAteRecently, m_35018_

boolean (AbstractPiglin): d, isIdle, method_24766, m_nqwyquia, hasIdleActivity, hasIdleActivity, m_34942_

boolean (AbstractPiglin): c, isIdle, method_24766, m_nqwyquia, hasIdleActivity, hasIdleActivity, m_34942_

boolean (Piglin): r, isAdmiringItem, method_24790, m_uofyogtq, isAdmiringItem, isAdmiringItem, m_35020_

boolean (Piglin): p, isAdmiringItem, method_24790, m_uofyogtq, isAdmiringItem, isAdmiringItem, m_35020_

boolean (Piglin): s, isNearRepellent, method_24791, m_ousipwvq, hasSoulFireNearby, hasSoulFireNearby, m_35022_

boolean (Piglin): q, isNearRepellent, method_24791, m_ousipwvq, hasSoulFireNearby, hasSoulFireNearby, m_35022_

boolean (Piglin): t, isAdmiringDisabled, method_24714, m_abssmnvg, hasBeenHitByPlayer, hasBeenHitByPlayer, m_35024_

boolean (Piglin): r, isAdmiringDisabled, method_24714, m_abssmnvg, hasBeenHitByPlayer, hasBeenHitByPlayer, m_35024_

boolean (Piglin): u, isHoldingItemInOffHand, method_24917, m_ehxqnoly, hasItemInOffHand, hasItemInOffHand, m_35026_

boolean (Piglin): s, isHoldingItemInOffHand, method_24917, m_ehxqnoly, hasItemInOffHand, hasItemInOffHand, m_35026_

boolean (Piglin): v, isNotHoldingLovedItemInOffHand, method_24850, m_pvckfwhw, doesNotHaveGoldInOffHand, doesNotHaveGoldInOffHand, m_35028_

boolean (Piglin): t, isNotHoldingLovedItemInOffHand, method_24850, m_pvckfwhw, doesNotHaveGoldInOffHand, doesNotHaveGoldInOffHand, m_35028_

void (ServerLevel, Piglin, ItemEntity): a, pickUpItem, method_24726, m_qioedzrh, loot, loot, m_34843_

void (ServerLevel, Piglin, ItemStack): a, holdInOffhand, method_30089, m_eueiflmq, swapItemWithOffHand, swapItemWithOffHand, m_34932_

void (ServerLevel, Piglin, boolean): a, stopHoldingOffHandItem, method_24741, m_prracpoq, consumeOffHandItem, consumeOffHandItem, m_34867_

void (ServerLevel, Piglin): a, cancelAdmiring, method_25948, m_btpltubf, pickupItemWithOffHand, pickupItemWithOffHand, m_34927_

boolean (ServerLevel, Piglin, LivingEntity): b, isNearestValidAttackTarget, method_24755, m_ucxtolcs, isPreferredAttackTarget, isPreferredAttackTarget, m_34900_

Optional<? extends LivingEntity> (ServerLevel, Piglin): b, findNearestValidAttackTarget, method_24777, m_yagsymgj, getPreferredTarget, getPreferredTarget, m_35000_

void (ServerLevel, Player, boolean): a, angerNearbyPiglins, method_24733, m_qhorxdpx, onGuardedBlockInteracted, onGuardedBlockInteracted, m_34873_

InteractionResult (ServerLevel, Piglin, Player, InteractionHand): a, mobInteract, method_24728, m_fftynzbf, playerInteract, playerInteract, m_34846_

void (ServerLevel, Piglin, LivingEntity): a, wasHurtBy, method_24724, m_aalhkbsy, onAttacked, onAttacked, m_34837_

void (ServerLevel, AbstractPiglin, LivingEntity): a, maybeRetaliate, method_24759, m_pzmiregk, tryRevenge, tryRevenge, m_34826_

boolean (LivingEntity): a, isWearingSafeArmor, method_63665, m_klnzftun, isWearingPiglinSafeArmor, m_klnzftun, m_352975_

void (ServerLevel, AbstractPiglin, LivingEntity): b, broadcastAngerTarget, method_24742, m_psnwnmxs, angerAtCloserTargets, angerAtCloserTargets, m_353874_

void (ServerLevel, AbstractPiglin): a, broadcastUniversalAnger, method_29945, m_eshikqca, angerNearbyPiglins, angerNearbyPiglins, m_34895_

void (ServerLevel, AbstractPiglin, LivingEntity): c, setAngerTarget, method_24750, m_bcngwcno, becomeAngryWith, becomeAngryWith, m_34924_

void (ServerLevel, AbstractPiglin, LivingEntity): d, setAngerTargetToNearestTargetablePlayerIfFound, method_29946, m_cakrqgkc, becomeAngryWithPlayer, becomeAngryWithPlayer, m_34944_

void (ServerLevel, AbstractPiglin, LivingEntity): e, setAngerTargetIfCloserThanCurrent, method_24763, m_zdktjbec, angerAtIfCloser, angerAtIfCloser, m_34962_

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

clq

clo

Fields

Constructors

Methods

1.20.6

Names

clp

clq

net.minecraft.world.entity.monster.piglin.EntityPiglin

net.minecraft.world.entity.monster.piglin.PiglinAI

Fields

Constructors

Methods

1.20.5

Names

clp

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.EntityPiglin

Fields

int: a, REPELLENT_DETECTION_RANGE_HORIZONTAL, field_30565, f_uxlhijnp, field_30565, REPELLENT_DETECTION_RANGE_HORIZONTAL, f_149940_

int: b, REPELLENT_DETECTION_RANGE_VERTICAL, field_30566, f_zqscaoqj, field_30566, REPELLENT_DETECTION_RANGE_VERTICAL, f_149941_

Item: c, BARTERING_ITEM, field_23826, f_sedefqof, BARTERING_ITEM, BARTERING_ITEM, f_34794_

int: e, PLAYER_ANGER_RANGE, field_30567, f_bjmauhwh, field_30567, PLAYER_ANGER_RANGE, f_149942_

int: f, ANGER_DURATION, field_30568, f_hzwxxubd, field_30568, ANGER_DURATION, f_149943_

int: g, ADMIRE_DURATION, field_30569, f_phtwibeq, field_30569, ADMIRE_DURATION, f_149944_

int: h, MAX_DISTANCE_TO_WALK_TO_ITEM, field_30570, f_rukeoquj, field_30570, WALK_TO_ITEM_MAX_DISTANCE, f_149945_

int: i, MAX_TIME_TO_WALK_TO_ITEM, field_30571, f_cayjpuhi, field_30571, WALK_TO_ITEM_MAX_TIME, f_149946_

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_

int: k, CELEBRATION_TIME, field_30573, f_vikzdyzb, field_30573, CELEBRATION_TIME, f_149948_

UniformInt: d, TIME_BETWEEN_HUNTS, field_22388, f_otqpyrsm, HUNT_MEMORY_DURATION, HUNT_MEMORY_DURATION, f_34795_

int: l, BABY_FLEE_DURATION_AFTER_GETTING_HIT, field_30574, f_vefqinpi, AVOID_TARGET_EXPIRY, BABY_FLEE_DURATION_AFTER_GETTING_HIT, f_149949_

int: m, HIT_BY_PLAYER_MEMORY_TIMEOUT, field_30575, f_ixqjwyyn, ADMIRING_DISABLED_EXPIRY, HIT_BY_PLAYER_MEMORY_TIMEOUT, f_149950_

int: n, MAX_WALK_DISTANCE_TO_START_RIDING, field_30576, f_zubkzhkz, field_30576, START_RIDING_MAX_WALK_DISTANCE, f_149951_

UniformInt: o, RIDE_START_INTERVAL, field_22389, f_fiwgjmps, MEMORY_TRANSFER_TASK_DURATION, MEMORY_TRANSFER_TASK_DURATION, f_34796_

UniformInt: p, RIDE_DURATION, field_22390, f_emvgrlxc, RIDE_TARGET_MEMORY_DURATION, RIDE_TARGET_MEMORY_DURATION, f_34797_

UniformInt: q, RETREAT_DURATION, field_22391, f_kmshkchr, AVOID_MEMORY_DURATION, AVOID_MEMORY_DURATION, f_34798_

int: r, MELEE_ATTACK_COOLDOWN, field_30577, f_yczpmhwr, field_30577, MELEE_ATTACK_COOLDOWN, f_149952_

int: s, EAT_COOLDOWN, field_30578, f_yqopamxc, field_30578, EAT_COOLDOWN, f_149953_

int: t, DESIRED_DISTANCE_FROM_ENTITY_WHEN_AVOIDING, field_30579, f_srhqewhu, field_30579, AVOID_DESIRED_DISTANCE_FROM_ENTITY, f_149954_

int: u, MAX_LOOK_DIST, field_30580, f_srknbwkm, field_30580, MAX_LOOK_DISTANCE, f_149955_

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_

int: w, INTERACTION_RANGE, field_30582, f_cduqgjph, field_30582, INTERACTION_RANGE, f_149957_

int: x, MIN_DESIRED_DIST_FROM_TARGET_WHEN_HOLDING_CROSSBOW, field_30583, f_ieglibfx, field_30583, HOLDING_CROSSBOW_MIN_DISTANCE_FROM_TARGET, f_149958_

float: y, SPEED_WHEN_STRAFING_BACK_FROM_TARGET, field_30584, f_czvzwmfn, CROSSBOW_ATTACK_FORWARD_MOVEMENT, STRAFING_BACK_FROM_TARGET_SPEED, f_149959_

int: z, DESIRED_DISTANCE_FROM_ZOMBIFIED, field_30585, f_syevmelo, field_30585, ZOMBIFIED_PIGLINS_DESIRED_DISTANCE, f_149960_

UniformInt: A, AVOID_ZOMBIFIED_DURATION, field_25384, f_isrftifw, GO_TO_ZOMBIFIED_MEMORY_DURATION, GO_TO_ZOMBIFIED_MEMORY_DURATION, f_34799_

UniformInt: B, BABY_AVOID_NEMESIS_DURATION, field_25698, f_ctmyacjj, GO_TO_NEMESIS_MEMORY_DURATION, GO_TO_NEMESIS_MEMORY_DURATION, f_34800_

float: C, PROBABILITY_OF_CELEBRATION_DANCE, field_30557, f_uvjzrzin, field_30557, CELEBRATION_DANCE_PROBABILITY, f_149932_

float: D, SPEED_MULTIPLIER_WHEN_AVOIDING, field_30558, f_kdwocnlc, field_30558, AVOIDING_SPEED, f_149933_

float: E, SPEED_MULTIPLIER_WHEN_RETREATING, field_30559, f_iskwdiyb, field_30559, RETREATING_SPEED, f_149934_

float: F, SPEED_MULTIPLIER_WHEN_MOUNTING, field_30560, f_wflmfruv, START_RIDING_SPEED, MOUNTING_SPEED, f_149935_

float: G, SPEED_MULTIPLIER_WHEN_GOING_TO_WANTED_ITEM, field_30561, f_kmftlzic, field_30561, GOING_TO_WANTED_ITEM_SPEED, f_149936_

float: H, SPEED_MULTIPLIER_WHEN_GOING_TO_CELEBRATE_LOCATION, field_30562, f_nndtpsiw, field_30562, GOING_TO_CELEBRATE_LOCATION_SPEED, f_149937_

float: I, SPEED_MULTIPLIER_WHEN_DANCING, field_30563, f_pghapdxv, field_30563, DANCING_SPEED, f_149938_

float: J, SPEED_MULTIPLIER_WHEN_IDLING, field_30564, f_gikaxjvu, field_30564, IDLING_SPEED, f_149939_

Constructors

()

Methods

Brain<?> (Piglin, Brain<Piglin>): a, makeBrain, method_24732, m_jighuprm, create, create, m_34840_

void (Piglin, RandomSource): a, initMemories, method_24736, m_aeqbdwgd, setHuntedRecently, setHuntedRecently, m_219205_

void (Brain<Piglin>): a, initCoreActivity, method_24725, m_zzvyjghc, addCoreActivities, addCoreActivities, m_34820_

void (Brain<Piglin>): b, initIdleActivity, method_24743, m_wuohqgic, addIdleActivities, addIdleActivities, m_34891_

void (Piglin, Brain<Piglin>): b, initFightActivity, method_24751, m_soclpmiz, addFightActivities, addFightActivities, m_34903_

void (Brain<Piglin>): c, initCelebrateActivity, method_24756, m_zudbmwtt, addCelebrateActivities, addCelebrateActivities, m_34920_

void (Brain<Piglin>): d, initAdmireItemActivity, method_24760, m_iqzgamlf, addAdmireItemActivities, addAdmireItemActivities, m_34940_

void (Brain<Piglin>): e, initRetreatActivity, method_24764, m_jfdxonuw, addAvoidActivities, addAvoidActivities, m_34958_

void (Brain<Piglin>): f, initRideHoglinActivity, method_24768, m_vzlqkynd, addRideActivities, addRideActivities, m_34973_

com.google.common.collect.ImmutableList<com.mojang.datafixers.util.Pair<OneShot<LivingEntity>, Integer>> (): a, createLookBehaviors, method_47272, m_ezdpkqwt, makeFollowTasks, createLookTasks, m_257792_

RunOne<LivingEntity> (): b, createIdleLookBehaviors, method_24717, m_acnqmmln, makeRandomFollowTask, makeRandomFollowTask, m_34805_

RunOne<Piglin> (): c, createIdleMovementBehaviors, method_24718, m_evwahudb, makeRandomWanderTask, makeRandomWanderTask, m_34882_

BehaviorControl<PathfinderMob> (): d, avoidRepellent, method_24738, m_ijhdgyhq, makeGoToSoulFireTask, makeGoToSoulFireTask, m_257691_

BehaviorControl<Piglin> (): e, babyAvoidNemesis, method_30090, m_yjbboooc, goToNemesisTask, goToNemesisTask, m_257417_

BehaviorControl<Piglin> (): f, avoidZombified, method_24747, m_fjookgdt, makeFleeFromZombifiedPiglinTask, makeGoToZombifiedPiglinTask, m_257731_

void (Piglin): a, updateActivity, method_24722, m_zsnuljbm, tickActivities, tickActivities, m_34898_

boolean (Piglin): f, isBabyRidingBaby, method_29277, m_wsfnykkq, canRideHoglin, canRideHoglin, m_34992_

void (Piglin, ItemEntity): a, pickUpItem, method_24726, m_qioedzrh, loot, loot, m_34843_

void (Piglin, ItemStack): c, holdInOffhand, method_30089, m_eueiflmq, swapItemWithOffHand, swapItemWithOffHand, m_34932_

ItemStack (ItemEntity): a, removeOneItemFromItemEntity, method_24848, m_vdrrslys, getItemFromStack, getItemFromStack, m_34822_

void (Piglin, boolean): a, stopHoldingOffHandItem, method_24741, m_prracpoq, consumeOffHandItem, consumeOffHandItem, m_34867_

void (Piglin): b, cancelAdmiring, method_25948, m_btpltubf, pickupItemWithOffHand, pickupItemWithOffHand, m_34927_

void (Piglin, ItemStack): d, putInInventory, method_24849, m_luovsbnc, barterItem, barterItem, m_34952_

void (Piglin, List<ItemStack>): a, throwItems, method_24772, m_diaoekjn, doBarter, doBarter, m_34860_

void (Piglin, List<ItemStack>): b, throwItemsTowardRandomPos, method_24774, m_ycxrbeay, dropBarteredItem, dropBarteredItem, m_34912_

void (Piglin, Player, List<ItemStack>): a, throwItemsTowardPlayer, method_24727, m_lyasgkwj, dropBarteredItem, dropBarteredItem, m_34850_

void (Piglin, List<ItemStack>, Vec3): a, throwItemsTowardPos, method_24731, m_kmcguhbn, drop, drop, m_34863_

List<ItemStack> (Piglin): g, getBarterResponseItems, method_24776, m_accbozmb, getBarteredItem, getBarteredItem, m_34996_

boolean (LivingEntity, LivingEntity): a, wantsToDance, method_29276, m_dudjutol, isHuntingTarget, isHuntingTarget, m_34810_

boolean (Piglin, ItemStack): a, wantsToPickup, method_24730, m_wuzxlluu, canGather, canGather, m_34857_

boolean (ItemStack): a, isLovedItem, method_24735, m_xxtnjqpf, isGoldenItem, isGoldenItem, m_149965_

boolean (Piglin, Entity): a, wantsToStopRiding, method_24723, m_yycmwgzj, canRide, canRide, m_34834_

boolean (Piglin, LivingEntity): b, isNearestValidAttackTarget, method_24755, m_ucxtolcs, isPreferredAttackTarget, isPreferredAttackTarget, m_34900_

boolean (Piglin): h, isNearZombified, method_29537, m_fejufdix, getNearestZombifiedPiglin, getNearestZombifiedPiglin, m_34998_

Optional<? extends LivingEntity> (Piglin): i, findNearestValidAttackTarget, method_24777, m_yagsymgj, getPreferredTarget, getPreferredTarget, m_35000_

void (Player, boolean): a, angerNearbyPiglins, method_24733, m_qhorxdpx, onGuardedBlockInteracted, onGuardedBlockInteracted, m_34873_

InteractionResult (Piglin, Player, InteractionHand): a, mobInteract, method_24728, m_fftynzbf, playerInteract, playerInteract, m_34846_

boolean (Piglin, ItemStack): b, canAdmire, method_27086, m_zjjlloty, isWillingToTrade, isWillingToTrade, m_34909_

void (Piglin, LivingEntity): a, wasHurtBy, method_24724, m_aalhkbsy, onAttacked, onAttacked, m_34837_

void (AbstractPiglin, LivingEntity): a, maybeRetaliate, method_24759, m_pzmiregk, tryRevenge, tryRevenge, m_34826_

Optional<SoundEvent> (Piglin): c, getSoundForCurrentActivity, method_30091, m_wwzwjgwr, getCurrentActivitySound, getCurrentActivitySound, m_34947_

SoundEvent (Piglin, Activity): a, getSoundForActivity, method_30087, m_yeknsnhi, getSound, getSound, m_34854_

boolean (Piglin): j, isNearAvoidTarget, method_29538, m_yhpcttwu, hasTargetToAvoid, hasTargetToAvoid, m_35002_

List<AbstractPiglin> (Piglin): d, getVisibleAdultPiglins, method_24780, m_lxtfwyka, getNearbyVisiblePiglins, getNearbyVisiblePiglins, m_35004_

List<AbstractPiglin> (AbstractPiglin): e, getAdultPiglins, method_26350, m_kpixhyib, getNearbyPiglins, getNearbyPiglins, m_34960_

boolean (LivingEntity): a, isWearingGold, method_24719, m_mwykfgyg, wearsGoldArmor, wearsGoldArmor, m_34808_

void (Piglin): k, stopWalking, method_24781, m_pthdrbkr, stopWalking, stopWalking, m_35006_

BehaviorControl<LivingEntity> (): g, babySometimesRideBabyHoglin, method_24737, m_qcrdxsmf, makeRememberRideableHoglinTask, makeRememberRideableHoglinTask, m_257528_

void (AbstractPiglin, LivingEntity): b, broadcastAngerTarget, method_24742, m_psnwnmxs, angerAtCloserTargets, angerAtCloserTargets, m_34895_

void (AbstractPiglin): a, broadcastUniversalAnger, method_29945, m_eshikqca, angerNearbyPiglins, angerNearbyPiglins, m_34824_

void (AbstractPiglin, LivingEntity): c, setAngerTarget, method_24750, m_bcngwcno, becomeAngryWith, becomeAngryWith, m_34924_

void (AbstractPiglin, LivingEntity): d, setAngerTargetToNearestTargetablePlayerIfFound, method_29946, m_cakrqgkc, becomeAngryWithPlayer, becomeAngryWithPlayer, m_34944_

void (AbstractPiglin, LivingEntity): e, setAngerTargetIfCloserThanCurrent, method_24763, m_zdktjbec, angerAtIfCloser, angerAtIfCloser, m_34962_

Optional<LivingEntity> (AbstractPiglin): f, getAngerTarget, method_24782, m_kwqeqesm, getAngryAt, getAngryAt, m_34975_

Optional<LivingEntity> (Piglin): e, getAvoidTarget, method_29536, m_qyhfwheq, getAvoiding, getAvoiding, m_34986_

Optional<Player> (AbstractPiglin): b, getNearestVisibleTargetablePlayer, method_29947, m_yguixodz, getNearestDetectedPlayer, getNearestDetectedPlayer, m_34893_

void (Piglin, LivingEntity): c, broadcastRetreat, method_24767, m_llzphprg, groupRunAwayFrom, groupRunAwayFrom, m_34929_

void (Piglin, LivingEntity): d, retreatFromNearestTarget, method_24771, m_qxpxmdbl, runAwayFromClosestTarget, runAwayFromClosestTarget, m_34949_

boolean (Piglin): l, wantsToStopFleeing, method_24783, m_jqalumps, shouldRunAwayFromHoglins, shouldRunAwayFromHoglins, m_35008_

boolean (Piglin): m, piglinsEqualOrOutnumberHoglins, method_24784, m_xxqvjflp, hasNoAdvantageAgainstHoglins, hasNoAdvantageAgainstHoglins, m_35010_

boolean (Piglin): n, hoglinsOutnumberPiglins, method_24785, m_tokamduy, hasOutnumberedHoglins, hasOutnumberedHoglins, m_35012_

void (Piglin, LivingEntity): e, setAvoidTargetAndDontHuntForAWhile, method_24773, m_iifpvgji, runAwayFrom, runAwayFrom, m_34967_

void (AbstractPiglin): c, dontKillAnyMoreHoglinsForAWhile, method_24762, m_bpziocjo, rememberHunting, rememberHunting, m_34922_

void (Piglin): o, eat, method_24787, m_drvkppan, setEatenRecently, setEatenRecently, m_35014_

Vec3 (Piglin): p, getRandomNearbyPos, method_24788, m_rwgnndpm, findGround, findGround, m_35016_

boolean (Piglin): q, hasEatenRecently, method_24789, m_pzytfnhk, hasAteRecently, hasAteRecently, m_35018_

boolean (AbstractPiglin): d, isIdle, method_24766, m_nqwyquia, hasIdleActivity, hasIdleActivity, m_34942_

boolean (LivingEntity): c, hasCrossbow, method_24748, m_czrhsupq, isHoldingCrossbow, isHoldingCrossbow, m_34918_

void (LivingEntity): d, admireGoldItem, method_24753, m_fedafloi, setAdmiringItem, setAdmiringItem, m_34938_

boolean (Piglin): r, isAdmiringItem, method_24790, m_uofyogtq, isAdmiringItem, isAdmiringItem, m_35020_

boolean (ItemStack): b, isBarterCurrency, method_24746, m_svzuyond, acceptsForBarter, acceptsForBarter, m_149967_

boolean (ItemStack): c, isFood, method_24752, m_zdorzvrm, isFood, isFood, m_149969_

boolean (Piglin): s, isNearRepellent, method_24791, m_ousipwvq, hasSoulFireNearby, hasSoulFireNearby, m_35022_

boolean (LivingEntity): e, seesPlayerHoldingLovedItem, method_24761, m_ohidzpjx, hasPlayerHoldingWantedItemNearby, hasPlayerHoldingWantedItemNearby, m_34971_

boolean (LivingEntity): f, doesntSeeAnyPlayerHoldingLovedItem, method_24765, m_uvhqnlfi, canWander, canWander, m_34982_

boolean (LivingEntity): b, isPlayerHoldingLovedItem, method_24739, m_zdsmkoog, isGoldHoldingPlayer, isGoldHoldingPlayer, m_34883_

boolean (Piglin): t, isAdmiringDisabled, method_24714, m_abssmnvg, hasBeenHitByPlayer, hasBeenHitByPlayer, m_35024_

boolean (LivingEntity): g, wasHurtRecently, method_24769, m_akjfbcgw, hasBeenHurt, hasBeenHurt, m_34988_

boolean (Piglin): u, isHoldingItemInOffHand, method_24917, m_ehxqnoly, hasItemInOffHand, hasItemInOffHand, m_35026_

boolean (Piglin): v, isNotHoldingLovedItemInOffHand, method_24850, m_pvckfwhw, doesNotHaveGoldInOffHand, doesNotHaveGoldInOffHand, m_35028_

boolean (EntityType<?>): a, isZombified, method_29534, m_nvtlgvyc, isZombified, isZombified, m_34806_