History - net.minecraft.entity.passive.PigEntity

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

EntityDimensions: BABY_DIMENSIONS, field_1_6053, field_1_6053

Constructors

Methods

EntityDimensions (EntityPose): getDefaultDimensions, method_55694, getBaseDimensions

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

TrackedData<RegistryEntry<PigSoundVariant>>: DATA_SOUND_VARIANT_ID, field_1_1812, SOUND_VARIANT

Constructors

Methods

void (ServerWorld, ZombifiedPiglinEntity): lambda$thunderHit$2, method_63649, method_63649

void (ServerWorld, ZombifiedPiglinEntity): lambda$thunderHit$0, method_63649, method_63649

void (): playEatingSound, method_61458, playEatSound

RegistryEntry<PigSoundVariant> (): getSoundVariant, method_1_2227, getSoundVariant

void (RegistryEntry<PigSoundVariant>): setSoundVariant, method_1_2230, setSoundVariant

PigSoundVariant$Subvariant (): getSoundSet, method_1_2226, getSoundSubvariant

Optional (RegistryKey): lambda$readAdditionalSaveData$0, method_1_2229, method_1_2229

void (WriteView, RegistryKey): lambda$addAdditionalSaveData$0, method_1_2228, method_1_2228

1.21.11_unobfuscated

Names

net.minecraft.world.entity.animal.pig.Pig

net.minecraft.class_1452

net.minecraft.entity.passive.PigEntity

Fields

TrackedData<Integer>: DATA_BOOST_TIME, field_6815, BOOST_TIME

TrackedData<RegistryEntry<PigVariant>>: DATA_VARIANT_ID, field_55679, VARIANT

SaddledComponent: steering, field_23230, saddledComponent

Constructors

(EntityType<? extends PigEntity>, World)

Methods

void (): registerGoals, method_5959, initGoals

DefaultAttributeContainer$Builder (): createAttributes, method_26890, createPigAttributes

LivingEntity (): getControllingPassenger, method_5642, getControllingPassenger

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

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

void (WriteView): addAdditionalSaveData, method_5652, writeCustomData

void (ReadView): readAdditionalSaveData, method_5749, readCustomData

SoundEvent (): getAmbientSound, method_5994, getAmbientSound

SoundEvent (DamageSource): getHurtSound, method_6011, getHurtSound

SoundEvent (): getDeathSound, method_6002, getDeathSound

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

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

boolean (EquipmentSlot): canUseSlot, method_56991, canUseSlot

boolean (EquipmentSlot): canDispenserEquipIntoSlot, method_63626, canDispenserEquipSlot

RegistryEntry<SoundEvent> (EquipmentSlot, ItemStack, EquippableComponent): getEquipSound, method_66667, getEquipSound

void (ServerWorld, LightningEntity): thunderHit, method_5800, onStruckByLightning

void (PlayerEntity, Vec3d): tickRidden, method_49481, tickControlled

Vec3d (PlayerEntity, Vec3d): getRiddenInput, method_49482, getControlledMovementInput

float (PlayerEntity): getRiddenSpeed, method_49485, getSaddledSpeed

boolean (): boost, method_6577, consumeOnAStickItem

PigEntity (ServerWorld, PassiveEntity): getBreedOffspring, method_5613, createChild

boolean (ItemStack): isFood, method_6481, isBreedingItem

Vec3d (): getLeashOffset, method_29919, getLeashOffset

void (RegistryEntry<PigVariant>): setVariant, method_66298, setVariant

RegistryEntry<PigVariant> (): getVariant, method_66299, getVariant

<T> T (ComponentType<? extends T>): get, method_58694, get

void (ComponentsAccess): applyImplicitComponents, method_66649, copyComponentsFrom

<T> boolean (ComponentType<T>, T): applyImplicitComponent, method_66654, setApplicableComponent

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

PassiveEntity (ServerWorld, PassiveEntity): getBreedOffspring, method_5613, createChild

void (ServerWorld, ZombifiedPiglinEntity): lambda$thunderHit$2, method_63649, method_63649

boolean (ItemStack): lambda$registerGoals$1, method_58372, method_58372

boolean (ItemStack): lambda$registerGoals$0, method_58373, method_58373