Package net.minecraft.entity.passive
Class PigEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.MobEntity
net.minecraft.entity.passive.AnimalEntity
net.minecraft.entity.passive.PigEntity
- All Implemented Interfaces:
class_582
- Mappings:
Namespace Name intermediary net/minecraft/class_443glue class_547server occlient whnamed net/minecraft/entity/passive/PigEntity
-
Field Summary
Fields inherited from class net.minecraft.entity.MobEntity
movementBlocked, targetFields inherited from class net.minecraft.entity.LivingEntity
attackCooldown, field_1010, field_1011, field_1012, field_1013, field_1014, field_1015, field_1016, field_1017, field_1018, field_1020, field_1021, field_1022, field_1023, field_1024, field_1025, field_1026, field_1027, field_1029, field_1030, field_1032, field_1034, field_1035, field_1037, field_1039, field_1040, field_1041, field_1043, field_1044, field_1045, field_1046, field_1047, field_1048, field_1049, field_1050, field_1051, field_1052, field_1053, field_1054, field_1055, field_1056, field_1058, field_1059, field_1060, health, hurtTime, jumping, maxHealth, movementSpeed, textureFields inherited from class net.minecraft.entity.Entity
age, air, blocksSameBlockSpawning, boundingBox, cameraOffset, capeUrl, chunkSlice, chunkX, chunkZ, dataTracker, dead, fallDistance, field_1643, fireImmune, fireImmunityTicks, fireTicks, hasCollided, hearts, height, horizontalCollision, horizontalSpeed, id, ignoreFrustumCull, inChunk, keepVelocityOnCollision, lastTickX, lastTickY, lastTickZ, maxAir, minBrightness, noClip, onGround, passenger, pitch, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, renderDistanceMultiplier, skinUrl, slowed, standingEyeHeight, stepHeight, submergedInWater, trackedPosX, trackedPosY, trackedPosZ, vehicle, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected intprotected Stringprotected Stringprotected voidbooleaninteract(PlayerEntity player) voidmethod_1723(boolean bool) booleanprotected voidonLanding(float fallDistance) voidonStruckByLightning(LightningEntity lightning) voidreadNbt(NbtCompound nbt) voidwriteNbt(NbtCompound nbt) Methods inherited from class net.minecraft.entity.passive.AnimalEntity
canSpawn, getMinAmbientSoundDelay, method_641Methods inherited from class net.minecraft.entity.MobEntity
attack, getTarget, getTargetInRange, isMovementBlocked, method_632, method_633, method_635, method_639, setTarget, tickLivingMethods inherited from class net.minecraft.entity.LivingEntity
baseTick, canBreatheInWater, canDespawn, damage, drop, getEyeHeight, getMaxLookPitchChange, getSoundVolume, getTexture, heal, isAlive, isCollidable, isPushable, method_1312, method_1320, method_909, method_916, method_917, method_918, method_919, method_920, method_921, method_922, method_923, method_924, method_925, method_926, method_928, method_929, method_930, method_931, method_932, method_938, method_942, method_943, method_944, method_945, method_946, processServerEntityStatus, setBoundingBoxSpacing, setPositionAndAnglesAvoidEntities, tick, tickInVoid, tickMovement, tickRidingMethods inherited from class net.minecraft.entity.Entity
addVelocity, bypassesSteppingEffects, changeLookDirection, damage, dropItem, dropItem, dropItem, equals, fall, getBoundingBox, getBrightnessAtEyes, getDataTracker, getDistance, getDistance, getEntitiesInside, getEquipment, getFlag, getPassengerRidingHeight, getRegistryEntry, getShadowRadius, getSquaredDistance, getSquaredDistance, getStandingEyeHeight, hashCode, hasVehicle, isInFluid, isInsideWall, isOnFire, isSneaking, isSubmergedInWater, isTouchingLava, isWet, markDead, method_1361, method_1364, method_1367, method_1369, method_1379, method_1388, method_1391, method_1393, move, moveNonSolid, onCollision, onKilledOther, onPlayerInteraction, pushOutOfBlock, read, saveSelfNbt, scheduleVelocityUpdate, setFlag, setOnFire, setPos, setPositionAndAngles, setPositionAndAnglesKeepPrevAngles, setRotation, setSneaking, setVehicle, setVelocity, setWorld, teleportTop, toNbtList, toNbtList, updateCapeUrl, updatePassengerPosition, write
-
Constructor Details
-
PigEntity
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_57;<init>(Lnet/minecraft/class_18;)Vglue <init>Lclass_450;<init>(Lclass_129;)Vserver <init>Llq;<init>(Ldj;)Vclient <init>Lsn;<init>(Lfd;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_1310Lnet/minecraft/class_57;method_1310()Vglue method_108Lclass_450;method_108()Vserver bLlq;b()Vclient bLsn;b()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
writeNbt
- Overrides:
writeNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector intermediary method_1368Lnet/minecraft/class_57;method_1368(Lnet/minecraft/class_8;)Vglue method_24Lclass_450;method_24(Lclass_333;)Vserver bLlq;b(Liq;)Vclient bLsn;b(Lnu;)Vnamed writeNbtLnet/minecraft/entity/Entity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readNbt
- Overrides:
readNbtin classAnimalEntity- Mappings:
Namespace Name Mixin selector intermediary method_1363Lnet/minecraft/class_57;method_1363(Lnet/minecraft/class_8;)Vglue method_23Lclass_450;method_23(Lclass_333;)Vserver aLlq;a(Liq;)Vclient aLsn;a(Lnu;)Vnamed readNbtLnet/minecraft/entity/Entity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getRandomSound
- Overrides:
getRandomSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_911Lnet/minecraft/class_127;method_911()Ljava/lang/String;glue method_110Lclass_283;method_110()Ljava/lang/String;server gLhl;g()Ljava/lang/String;client gLls;g()Ljava/lang/String;named getRandomSoundLnet/minecraft/entity/LivingEntity;getRandomSound()Ljava/lang/String;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_912Lnet/minecraft/class_127;method_912()Ljava/lang/String;glue method_111Lclass_283;method_111()Ljava/lang/String;server hLhl;h()Ljava/lang/String;client j_Lls;j_()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_913Lnet/minecraft/class_127;method_913()Ljava/lang/String;glue method_112Lclass_283;method_112()Ljava/lang/String;server iLhl;i()Ljava/lang/String;client iLls;i()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
interact
- Overrides:
interactin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_1323Lnet/minecraft/class_57;method_1323(Lnet/minecraft/class_54;)Zglue method_159Lclass_450;method_159(Lclass_172;)Zserver aLlq;a(Lem;)Zclient aLsn;a(Lgs;)Znamed interactLnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
getDroppedId
protected int getDroppedId()- Overrides:
getDroppedIdin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_914Lnet/minecraft/class_127;method_914()Iglue method_113Lclass_283;method_113()Iserver jLhl;j()Iclient jLls;j()Inamed getDroppedIdLnet/minecraft/entity/LivingEntity;getDroppedId()I
-
method_1724
public boolean method_1724()- Mappings:
Namespace Name Mixin selector intermediary method_1724Lnet/minecraft/class_443;method_1724()Zglue method_2003Lclass_547;method_2003()Zserver xLoc;x()Zclient vLwh;v()Znamed method_1724Lnet/minecraft/entity/passive/PigEntity;method_1724()Z
-
method_1723
public void method_1723(boolean bool) - Mappings:
Namespace Name Mixin selector intermediary method_1723Lnet/minecraft/class_443;method_1723(Z)Vglue method_2002Lclass_547;method_2002(Z)Vserver aLoc;a(Z)Vclient aLwh;a(Z)Vnamed method_1723Lnet/minecraft/entity/passive/PigEntity;method_1723(Z)V
-
onStruckByLightning
- Overrides:
onStruckByLightningin classEntity- Mappings:
Namespace Name Mixin selector intermediary method_1383Lnet/minecraft/class_57;method_1383(Lnet/minecraft/class_411;)Vglue method_748Lclass_450;method_748(Lclass_76;)Vserver aLlq;a(Lc;)Vclient aLsn;a(Lc;)Vnamed onStruckByLightningLnet/minecraft/entity/Entity;onStruckByLightning(Lnet/minecraft/entity/LightningEntity;)V
-
onLanding
protected void onLanding(float fallDistance) - Overrides:
onLandingin classLivingEntity- Mappings:
Namespace Name Mixin selector intermediary method_1389Lnet/minecraft/class_57;method_1389(F)Vglue method_833Lclass_450;method_833(F)Vserver aLlq;a(F)Vclient bLsn;b(F)Vnamed onLandingLnet/minecraft/entity/Entity;onLanding(F)V
-