History - net.minecraft.entity.mob.PiglinEntity

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

boolean (double): removeWhenFarAway, method_5974, canImmediatelyDespawn

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super PiglinEntity>>>: SENSOR_TYPES, field_22376, SENSOR_TYPES

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

int: INVENTORY_SLOT_OFFSET, field_1_624, field_1_624

int: INVENTORY_SIZE, field_1_623, field_1_623

Brain$Profile<PiglinEntity>: BRAIN_PROVIDER, field_1_1195, PROFILE

Constructors

Methods

Brain$Profile<PiglinEntity> (): brainProvider, method_28306, createBrainProfile

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

void (ServerWorld, ItemStack): lambda$finishConversion$1, method_64471, method_64471

void (ServerWorld, ItemStack): lambda$finishConversion$0, method_64471, method_64471

StackReference (int): getSlot, method_32318, getStackReference

Brain<PiglinEntity> (Brain$State): makeBrain, method_18867, deserializeBrain

1.21.11_unobfuscated

Names

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

net.minecraft.class_4836

net.minecraft.entity.mob.PiglinEntity

Fields

TrackedData<Boolean>: DATA_BABY_ID, field_22377, BABY

TrackedData<Boolean>: DATA_IS_CHARGING_CROSSBOW, field_22378, CHARGING

TrackedData<Boolean>: DATA_IS_DANCING, field_25164, DANCING

Identifier: SPEED_MODIFIER_BABY_ID, field_22379, BABY_SPEED_BOOST_ID

EntityAttributeModifier: SPEED_MODIFIER_BABY, field_22380, BABY_SPEED_BOOST

int: MAX_HEALTH, field_30548, field_30548

float: MOVEMENT_SPEED_WHEN_FIGHTING, field_30549, field_30549

int: ATTACK_DAMAGE, field_30550, field_30550

float: CHANCE_OF_WEARING_EACH_ARMOUR_ITEM, field_30552, field_30552

int: MAX_PASSENGERS_ON_ONE_HOGLIN, field_30553, field_30553

float: PROBABILITY_OF_SPAWNING_AS_BABY, field_30554, field_30554

EntityDimensions: BABY_DIMENSIONS, field_47818, BABY_BASE_DIMENSIONS

double: PROBABILITY_OF_SPAWNING_WITH_CROSSBOW_INSTEAD_OF_SWORD, field_30556, field_30556

boolean: DEFAULT_IS_BABY, field_57707, DEFAULT_IS_BABY

boolean: DEFAULT_CANNOT_HUNT, field_57708, DEFAULT_CANNOT_HUNT

SimpleInventory: inventory, field_22371, inventory

boolean: cannotHunt, field_23738, cannotHunt

com.google.common.collect.ImmutableList<SensorType<? extends Sensor<? super PiglinEntity>>>: SENSOR_TYPES, field_22376, SENSOR_TYPES

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

Constructors

(EntityType<? extends AbstractPiglinEntity>, World)

Methods

void (WriteView): addAdditionalSaveData, method_5652, writeCustomData

void (ReadView): readAdditionalSaveData, method_5749, readCustomData

SimpleInventory (): getInventory, method_35199, getInventory

void (ServerWorld, DamageSource, boolean): dropCustomDeathLoot, method_6099, dropEquipment

ItemStack (ItemStack): addToInventory, method_24711, addItem

boolean (ItemStack): canAddToInventory, method_27085, canInsertIntoInventory

void (DataTracker$Builder): defineSynchedData, method_5693, initDataTracker

void (TrackedData<?>): onSyncedDataUpdated, method_5674, onTrackedDataSet

DefaultAttributeContainer$Builder (): createAttributes, method_26953, createPiglinAttributes

boolean (EntityType<PiglinEntity>, WorldAccess, SpawnReason, BlockPos, Random): checkPiglinSpawnRules, method_24695, canSpawn

EntityData (ServerWorldAccess, LocalDifficulty, SpawnReason, EntityData): finalizeSpawn, method_5943, initialize

boolean (double): removeWhenFarAway, method_5974, canImmediatelyDespawn

void (Random, LocalDifficulty): populateDefaultEquipmentSlots, method_5964, initEquipment

void (EquipmentSlot, ItemStack, Random): maybeWearArmor, method_24696, equipAtChance

Brain$Profile<PiglinEntity> (): brainProvider, method_28306, createBrainProfile

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

Brain<PiglinEntity> (): getBrain, method_18868, getBrain

ActionResult (PlayerEntity, Hand): mobInteract, method_5992, interactMob

EntityDimensions (EntityPose): getDefaultDimensions, method_55694, getBaseDimensions

void (boolean): setBaby, method_7217, setBaby

boolean (): isBaby, method_6109, isBaby

void (boolean): setCannotHunt, method_26954, setCannotHunt

boolean (): canHunt, method_26952, canHunt

void (ServerWorld): customServerAiStep, method_5958, mobTick

int (ServerWorld): getBaseExperienceReward, method_6110, getExperienceToDrop

void (ServerWorld): finishConversion, method_24694, zombify

ItemStack (): createSpawnWeapon, method_24702, makeInitialWeapon

TagKey<Item> (): getPreferredWeaponType, method_65345, getPreferredWeapons

boolean (): isChargingCrossbow, method_24703, isCharging

void (boolean): setChargingCrossbow, method_7110, setCharging

void (): onCrossbowAttackPerformed, method_24651, postShoot

PiglinActivity (): getArmPose, method_24705, getActivity

boolean (): isDancing, method_29272, isDancing

void (boolean): setDancing, method_29274, setDancing

boolean (ServerWorld, DamageSource, float): hurtServer, method_64397, damage

void (LivingEntity, float): performRangedAttack, method_7105, shootAt

boolean (ItemStack): canUseNonMeleeWeapon, method_76695, canUseRangedWeapon

void (ItemStack): holdInMainHand, method_24844, equipToMainHand

void (ItemStack): holdInOffHand, method_24845, equipToOffHand

boolean (ServerWorld, ItemStack): wantsToPickUp, method_20820, canGather

boolean (ItemStack): canReplaceCurrentItem, method_24846, canEquipStack

boolean (ItemStack, ItemStack, EquipmentSlot): canReplaceCurrentItem, method_5955, prefersNewEquipment

void (ServerWorld, ItemEntity): pickUpItem, method_5949, loot

boolean (Entity, boolean, boolean): startRiding, method_5873, startRiding

Entity (Entity, int): getTopPassenger, method_26089, getTopMostPassenger

SoundEvent (): getAmbientSound, method_5994, getAmbientSound

SoundEvent (DamageSource): getHurtSound, method_6011, getHurtSound

SoundEvent (): getDeathSound, method_6002, getDeathSound

void (BlockPos, BlockState): playStepSound, method_5712, playStepSound

void (): playConvertedSound, method_30238, playZombificationSound

void (ServerWorld, ItemStack): lambda$finishConversion$1, method_64471, method_64471

void (ServerWorld, ItemStack): lambda$dropCustomDeathLoot$0, method_64472, method_64472