Package net.minecraft.entity.mob
Class ZombiePigmanEntity
- All Implemented Interfaces:
CommandSource,EntityCategoryProvider,Monster
public class ZombiePigmanEntity extends ZombieEntity
- Mappings:
Namespace Name official vwintermediary net/minecraft/class_1928named net/minecraft/entity/mob/ZombiePigmanEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classZombiePigmanEntity.AvoidZombiesGoal(package private) static classZombiePigmanEntity.FollowPlayerIfAngryGoalNested classes/interfaces inherited from class net.minecraft.entity.mob.ZombieEntity
ZombieEntity.class_1950Nested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
Fields Modifier and Type Field Description private intangerprivate UUIDangerTargetprivate intangrySoundDelayprivate static UUIDATTACKING_SPEED_BOOST_UUIDprivate static AttributeModifierfield_8230Fields inherited from class net.minecraft.entity.mob.ZombieEntity
REINFORCEMENTS_ATTRIBUTEFields inherited from class net.minecraft.entity.PassivePathFindingEntity
FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_7434, field_7435, field_7436, field_7438, field_7439, field_7456, field_7457, field_7458, field_7462, field_7463, field_7472, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, zFields inherited from interface net.minecraft.entity.mob.Monster
MONSTER_PREDICATE, VISIBLE_MONSTER_PREDICATE -
Constructor Summary
Constructors Constructor Description ZombiePigmanEntity(World world) -
Method Summary
Modifier and Type Method Description booleandamage(DamageSource source, float amount)voiddeserialize(CompoundTag tag)protected StringgetAmbientSound()protected StringgetDeathSound()protected StringgetHurtSound()protected voidinitCustomGoals()protected voidinitEquipment(LocalDifficulty difficulty)protected voidinitializeAttributes()booleanisAngry()protected voidmethod_7106(boolean bool, int int2)protected voidmethod_7139()EntityDatamethod_7191(LocalDifficulty difficulty, EntityData data)booleanmethod_7195(PlayerEntity player)booleanmethod_7202()booleanmethod_7203()private voidmethod_7872(Entity entity)protected voidmobTick()voidserialize(CompoundTag tag)voidsetAttacker(LivingEntity entity)voidtick()Methods inherited from class net.minecraft.entity.mob.ZombieEntity
canBreakDoors, canPickupItem, convertInWater, getArmorProtectionValue, getConversionType, getDamageEnchantmentTarget, getDefaultDrop, getEyeHeight, getHeightOffset, handleStatus, initDataTracker, isBaby, isVillager, method_6939, method_7104, method_7179, method_7184, method_7904, method_7911, method_7915, onKilled, playStepSound, setBaby, setBounds, setCanBreakDoors, setConversionTime, setVillager, tickMovementMethods inherited from class net.minecraft.entity.mob.HostileEntity
getFallSound, getSplashSound, getSwimSound, method_7123, method_7239, method_7870Methods inherited from class net.minecraft.entity.PassivePathFindingEntity
method_7240, method_7241, method_7242, method_7243, method_7244, method_7245, method_7246, method_7247, method_7248, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canMoveVoluntarily, canPickUpLoot, checkDespawn, detachLeash, equip, getArmorStacks, getAttackTarget, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getVisibilityCache, hasNoAi, hasPositionTarget, isPersistent, isTameable, lookAtEntity, loot, method_7096, method_7156, method_7164, method_7177, method_7187, method_7188, method_7204, method_7206, method_7210, method_7214, newNavigation, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setAttackTarget, setCanPickUpLoot, setForwardSpeed, setPersistent, tickNewAi, updateEnchantmentsMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyDamage, canSee, clearStatusEffects, collides, damageArmor, destroy, endCombat, enterCombat, fall, getAbsorption, getAttributeContainer, getDamageTracker, getEffectInstance, getHandSwingProgress, getHeadRotation, getHealth, getLastHurtTimestamp, getMaxHealth, getRandom, getRotationVector, getScoreboardTeam, getStuckArrows, handleFallDamage, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isInSameTeam, isInTeam, isPushable, isSleeping, jump, kill, markEffectsDirty, method_6985, method_7087, method_7091, method_7092, method_7093, method_7098, method_7099, method_7100, method_7102, method_7105, method_7108, method_7109, method_7110, method_7111, method_7113, method_7114, method_7115, method_7118, method_7124, method_7126, method_7128, method_7129, method_7130, method_7132, method_7134, method_7142, method_7146, method_7149, method_7153, method_7154, method_7162, method_7166, method_7171, method_7176, method_7178, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldRenderName, startRiding, swingHand, tickRiding, tickStatusEffects, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canAvoidTraps, canClimb, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, doesNotCollide, doesRenderOnFire, equals, extinguish, fromClientTag, fromTag, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getFlag, getHardCollisionBox, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getSavedEntityId, getTranslationKey, getUuid, getWorld, handleAttack, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTouchingWater, method_6912, method_6924, method_6926, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6984, method_6994, method_6998, method_7008, method_7020, method_7049, method_7051, method_7058, move, onLightningStrike, onPlayerCollision, onSwimmingStart, playSound, populateCrashReport, pushAwayFrom, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, saveSelfToTag, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setStat, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, teleportToDimension, tickFire, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePosition, updatePositionAndAngles, writePlayerData
-
Field Details
-
ATTACKING_SPEED_BOOST_UUID
- Mappings:
Namespace Name Mixin selector official bLvw;b:Ljava/util/UUID;intermediary field_8226Lnet/minecraft/class_1928;field_8226:Ljava/util/UUID;named ATTACKING_SPEED_BOOST_UUIDLnet/minecraft/entity/mob/ZombiePigmanEntity;ATTACKING_SPEED_BOOST_UUID:Ljava/util/UUID;
-
field_8230
- Mappings:
Namespace Name Mixin selector official cLvw;c:Lqd;intermediary field_8230Lnet/minecraft/class_1928;field_8230:Lnet/minecraft/class_1767;named field_8230Lnet/minecraft/entity/mob/ZombiePigmanEntity;field_8230:Lnet/minecraft/entity/attribute/AttributeModifier;
-
anger
private int anger- Mappings:
Namespace Name Mixin selector official bmLvw;bm:Iintermediary field_8227Lnet/minecraft/class_1928;field_8227:Inamed angerLnet/minecraft/entity/mob/ZombiePigmanEntity;anger:I
-
angrySoundDelay
private int angrySoundDelay- Mappings:
Namespace Name Mixin selector official bnLvw;bn:Iintermediary field_8228Lnet/minecraft/class_1928;field_8228:Inamed angrySoundDelayLnet/minecraft/entity/mob/ZombiePigmanEntity;angrySoundDelay:I
-
angerTarget
- Mappings:
Namespace Name Mixin selector official boLvw;bo:Ljava/util/UUID;intermediary field_8229Lnet/minecraft/class_1928;field_8229:Ljava/util/UUID;named angerTargetLnet/minecraft/entity/mob/ZombiePigmanEntity;angerTarget:Ljava/util/UUID;
-
-
Constructor Details
-
ZombiePigmanEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
setAttacker
- Overrides:
setAttackerin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLpr;b(Lpr;)Vintermediary method_7103Lnet/minecraft/class_1752;method_7103(Lnet/minecraft/class_1752;)Vnamed setAttackerLnet/minecraft/entity/LivingEntity;setAttacker(Lnet/minecraft/entity/LivingEntity;)V
-
initCustomGoals
protected void initCustomGoals()- Overrides:
initCustomGoalsin classZombieEntity- Mappings:
Namespace Name Mixin selector official nLwe;n()Vintermediary method_7914Lnet/minecraft/class_1949;method_7914()Vnamed initCustomGoalsLnet/minecraft/entity/mob/ZombieEntity;initCustomGoals()V
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classZombieEntity- Mappings:
Namespace Name Mixin selector official aXLpr;aX()Vintermediary method_7097Lnet/minecraft/class_1752;method_7097()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
tick
public void tick()- Overrides:
tickin classZombieEntity- Mappings:
Namespace Name Mixin selector official t_Lpk;t_()Vintermediary method_7060Lnet/minecraft/class_1745;method_7060()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
mobTick
protected void mobTick() -
method_7202
public boolean method_7202()- Overrides:
method_7202in classHostileEntity- Mappings:
Namespace Name Mixin selector official bRLps;bR()Zintermediary method_7202Lnet/minecraft/class_1753;method_7202()Znamed method_7202Lnet/minecraft/entity/mob/MobEntity;method_7202()Z
-
method_7203
public boolean method_7203()- Overrides:
method_7203in classMobEntity- Mappings:
Namespace Name Mixin selector official bSLps;bS()Zintermediary method_7203Lnet/minecraft/class_1753;method_7203()Znamed method_7203Lnet/minecraft/entity/mob/MobEntity;method_7203()Z
-
serialize
- Overrides:
serializein classZombieEntity- Mappings:
Namespace Name Mixin selector official bLpk;b(Ldn;)Vintermediary method_7003Lnet/minecraft/class_1745;method_7003(Lnet/minecraft/class_1405;)Vnamed serializeLnet/minecraft/entity/Entity;serialize(Lnet/minecraft/nbt/CompoundTag;)V
-
deserialize
- Overrides:
deserializein classZombieEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
damage
- Overrides:
damagein classZombieEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Low;F)Zintermediary method_6937Lnet/minecraft/class_1745;method_6937(Lnet/minecraft/class_1733;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
method_7872
- Mappings:
Namespace Name Mixin selector official bLvw;b(Lpk;)Vintermediary method_7872Lnet/minecraft/class_1928;method_7872(Lnet/minecraft/class_1745;)Vnamed method_7872Lnet/minecraft/entity/mob/ZombiePigmanEntity;method_7872(Lnet/minecraft/entity/Entity;)V
-
isAngry
public boolean isAngry()- Mappings:
Namespace Name Mixin selector official cmLvw;cm()Zintermediary method_7873Lnet/minecraft/class_1928;method_7873()Znamed isAngryLnet/minecraft/entity/mob/ZombiePigmanEntity;isAngry()Z
-
getAmbientSound
- Overrides:
getAmbientSoundin classZombieEntity- Mappings:
Namespace Name Mixin selector official zLps;z()Ljava/lang/String;intermediary method_7231Lnet/minecraft/class_1753;method_7231()Ljava/lang/String;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
-
getHurtSound
- Overrides:
getHurtSoundin classZombieEntity- Mappings:
Namespace Name Mixin selector official boLpr;bo()Ljava/lang/String;intermediary method_7137Lnet/minecraft/class_1752;method_7137()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classZombieEntity- Mappings:
Namespace Name Mixin selector official bpLpr;bp()Ljava/lang/String;intermediary method_7138Lnet/minecraft/class_1752;method_7138()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
method_7106
protected void method_7106(boolean bool, int int2)- Overrides:
method_7106in classMobEntity- Mappings:
Namespace Name Mixin selector official bLpr;b(ZI)Vintermediary method_7106Lnet/minecraft/class_1752;method_7106(ZI)Vnamed method_7106Lnet/minecraft/entity/LivingEntity;method_7106(ZI)V
-
method_7195
- Overrides:
method_7195in classZombieEntity- Mappings:
Namespace Name Mixin selector official aLps;a(Lwn;)Zintermediary method_7195Lnet/minecraft/class_1753;method_7195(Lnet/minecraft/class_1963;)Znamed method_7195Lnet/minecraft/entity/mob/MobEntity;method_7195(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
method_7139
protected void method_7139()- Overrides:
method_7139in classZombieEntity- Mappings:
Namespace Name Mixin selector official bqLpr;bq()Vintermediary method_7139Lnet/minecraft/class_1752;method_7139()Vnamed method_7139Lnet/minecraft/entity/LivingEntity;method_7139()V
-
initEquipment
- Overrides:
initEquipmentin classZombieEntity- Mappings:
Namespace Name Mixin selector official aLps;a(Lok;)Vintermediary method_7190Lnet/minecraft/class_1753;method_7190(Lnet/minecraft/class_1722;)Vnamed initEquipmentLnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/world/LocalDifficulty;)V
-
method_7191
- Overrides:
method_7191in classZombieEntity- Mappings:
Namespace Name Mixin selector official aLps;a(Lok;Lpu;)Lpu;intermediary method_7191Lnet/minecraft/class_1753;method_7191(Lnet/minecraft/class_1722;Lnet/minecraft/class_1756;)Lnet/minecraft/class_1756;named method_7191Lnet/minecraft/entity/mob/MobEntity;method_7191(Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
-