Package net.minecraft.entity.mob
Class ZombieEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.PathAwareEntity
net.minecraft.entity.mob.HostileEntity
net.minecraft.entity.mob.ZombieEntity
- All Implemented Interfaces:
EntityCategoryProvider,Monster
- Direct Known Subclasses:
ZombiePigmanEntity
- Mappings:
Namespace Name official xbintermediary net/minecraft/class_982named net/minecraft/entity/mob/ZombieEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final AttributeModifierprivate static final UUIDprivate floatprivate floatprivate final BreakDoorGoalprivate booleanprotected static final EntityAttributeprivate intFields inherited from class net.minecraft.entity.PathAwareEntity
field_3415, field_3416, field_3417, FLEEING_SPEED_BONUS_ID, FLEEING_SPEED_MODIFIERFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, experiencePoints, field_3351, field_3353, goalsFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_6745, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6772, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, 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
boundingBox, changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3203, field_3214, field_3223, field_3232, fireResistance, height, heightOffset, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, lastNetherPortalAxis, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, vehicle, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, zFields inherited from interface net.minecraft.entity.mob.Monster
field_5388 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanBeLeashedBy(PlayerEntity player) booleanprotected booleanvoidchangeType(boolean isBaby) protected voidbooleandamage(DamageSource source, float amount) protected Stringintbooleanprotected Stringprotected ItemgetGroup()protected Stringprotected intgetXpToDrop(PlayerEntity player) voidhandleStatus(byte status) protected final voidincreaseBounds(float multi) protected voidprotected voidbooleanisBaby()booleanprotected voidmethod_2494(int int2, int int3, int int4, Block block) protected voidmethod_2672(int int2) protected voidprotected intmethod_6156(EntityData entityData) voidonKilledOther(LivingEntity other) voidvoidsetBaby(boolean baby) protected final voidsetBounds(float width, float height) voidsetCanBreakDoors(boolean canBreakDoors) protected voidsetConversionTime(int ticks) voidsetVillager(boolean bool) protected booleanvoidtick()voidbooleanvoidMethods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawn, getFallSound, getSplashSound, getSwimSound, method_2683, method_2685, method_2689, method_3087, shouldDropXpMethods inherited from class net.minecraft.entity.PathAwareEntity
getPositionTargetRange, hasPositionTarget, isInWalkTargetRange, method_2684, method_2686, method_2687, method_2688, method_2691, method_6168, method_6169, method_6171, method_6173, method_6175, shouldContinue, tickNewAi, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canPickUpLoot, checkDespawn, detachLeash, dropLoot, getArmorStacks, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getMainSlot, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getTarget, getTranslatedName, getVisibilityCache, hasNoAi, isLeashed, isPersistent, isTameable, lookAtEntity, method_2638, method_4470, method_4472, method_4474, method_5388, method_5391, method_5392, method_5394, method_5397, method_6162, method_6166, method_8374, mobTick, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, turnHeadMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canMoveVoluntarily, canSee, clearStatusEffects, collides, damageArmor, destroy, dropXp, getAbsorption, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getEyeHeight, getHandSwingProgress, getHeadRotation, getHealth, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getScoreboardTeam, getSoundPitch, getSoundVolume, getStatusEffectInstances, getStuckArrows, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isClimbing, isInSameTeam, isInTeam, isPushable, isSleeping, jump, method_2488, method_2489, method_2490, method_2577, method_2582, method_2607, method_2610, method_2630, method_2634, method_2649, method_2658, method_6105, method_6108, method_6109, method_6111, method_6117, method_6146, method_6149, method_6150, method_6152, method_8372, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, shouldAlwaysDropXp, swingHand, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travelMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, burn, canAvoidTraps, canClimb, canFly, checkBlockCollision, copyFrom, copyPosition, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, enterNetherPortal, equals, extinguish, fromNbt, getAir, getBox, getBrightnessAtEyes, getDataTracker, getDefaultNetherPortalCooldown, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getLastNetherPortalAxis, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getSavedEntityId, getTargetingMargin, getUuid, handleAttack, hashCode, hasVehicle, increaseTransforms, isAttackable, isFireImmune, isInsideWall, isInvisible, isInvisibleTo, isOnFire, isPartOf, isSneaking, isSprinting, isSubmergedIn, isSwimming, isTouchingWater, method_2469, method_2475, method_4444, method_4447, method_5379, method_6097, method_6344, method_8364, move, onLightningStrike, onPlayerCollision, playSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, refreshPositionAndAngles, remove, saveSelfToNbt, saveToNbt, setAir, setEntityId, setFlag, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setRotation, setSneaking, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, squaredDistanceTo, squaredDistanceTo, startRiding, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
REINFORCEMENTS_ATTRIBUTE
- Mappings:
Namespace Name Mixin selector official bpLxb;bp:Lrs;intermediary field_6925Lnet/minecraft/class_982;field_6925:Lnet/minecraft/class_1702;named REINFORCEMENTS_ATTRIBUTELnet/minecraft/entity/mob/ZombieEntity;REINFORCEMENTS_ATTRIBUTE:Lnet/minecraft/entity/attribute/EntityAttribute;
-
BABY_SPEED_ID
- Mappings:
Namespace Name Mixin selector official bqLxb;bq:Ljava/util/UUID;intermediary field_6926Lnet/minecraft/class_982;field_6926:Ljava/util/UUID;named BABY_SPEED_IDLnet/minecraft/entity/mob/ZombieEntity;BABY_SPEED_ID:Ljava/util/UUID;
-
BABY_SPEED_BOOST_MODIFIER
- Mappings:
Namespace Name Mixin selector official brLxb;br:Lru;intermediary field_6927Lnet/minecraft/class_982;field_6927:Lnet/minecraft/class_1704;named BABY_SPEED_BOOST_MODIFIERLnet/minecraft/entity/mob/ZombieEntity;BABY_SPEED_BOOST_MODIFIER:Lnet/minecraft/entity/attribute/AttributeModifier;
-
breakDoorsGoal
- Mappings:
Namespace Name Mixin selector official bsLxb;bs:Lsk;intermediary field_9128Lnet/minecraft/class_982;field_9128:Lnet/minecraft/class_888;named breakDoorsGoalLnet/minecraft/entity/mob/ZombieEntity;breakDoorsGoal:Lnet/minecraft/entity/ai/goal/BreakDoorGoal;
-
ticksUntilConversion
private int ticksUntilConversion- Mappings:
Namespace Name Mixin selector official btLxb;bt:Iintermediary field_5394Lnet/minecraft/class_982;field_5394:Inamed ticksUntilConversionLnet/minecraft/entity/mob/ZombieEntity;ticksUntilConversion:I
-
canBreakDoors
private boolean canBreakDoors- Mappings:
Namespace Name Mixin selector official buLxb;bu:Zintermediary field_9129Lnet/minecraft/class_982;field_9129:Znamed canBreakDoorsLnet/minecraft/entity/mob/ZombieEntity;canBreakDoors:Z
-
boundWidth
private float boundWidth- Mappings:
Namespace Name Mixin selector official bvLxb;bv:Fintermediary field_9130Lnet/minecraft/class_982;field_9130:Fnamed boundWidthLnet/minecraft/entity/mob/ZombieEntity;boundWidth:F
-
boundHeight
private float boundHeight- Mappings:
Namespace Name Mixin selector official bwLxb;bw:Fintermediary field_9131Lnet/minecraft/class_982;field_9131:Fnamed boundHeightLnet/minecraft/entity/mob/ZombieEntity;boundHeight:F
-
-
Constructor Details
-
ZombieEntity
- Mappings:
Namespace Name Mixin selector official <init>Lqm;<init>(Lafm;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initializeAttributes
protected void initializeAttributes()- Overrides:
initializeAttributesin classHostileEntity- Mappings:
Namespace Name Mixin selector official aDLrg;aD()Vintermediary method_6129Lnet/minecraft/class_1699;method_6129()Vnamed initializeAttributesLnet/minecraft/entity/LivingEntity;initializeAttributes()V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official cLqm;c()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
getArmorProtectionValue
public int getArmorProtectionValue()- Overrides:
getArmorProtectionValuein classLivingEntity- Mappings:
Namespace Name Mixin selector official aVLrg;aV()Iintermediary method_2601Lnet/minecraft/class_1699;method_2601()Inamed getArmorProtectionValueLnet/minecraft/entity/LivingEntity;getArmorProtectionValue()I
-
shouldDropHead
protected boolean shouldDropHead()- Overrides:
shouldDropHeadin classMobEntity
-
canBreakDoors
public boolean canBreakDoors()- Mappings:
Namespace Name Mixin selector official bXLxb;bX()Zintermediary method_8416Lnet/minecraft/class_982;method_8416()Znamed canBreakDoorsLnet/minecraft/entity/mob/ZombieEntity;canBreakDoors()Z
-
setCanBreakDoors
public void setCanBreakDoors(boolean canBreakDoors) - Mappings:
Namespace Name Mixin selector official aLxb;a(Z)Vintermediary method_8415Lnet/minecraft/class_982;method_8415(Z)Vnamed setCanBreakDoorsLnet/minecraft/entity/mob/ZombieEntity;setCanBreakDoors(Z)V
-
isBaby
public boolean isBaby()- Overrides:
isBabyin classLivingEntity- Mappings:
Namespace Name Mixin selector official fLrg;f()Zintermediary method_2662Lnet/minecraft/class_1699;method_2662()Znamed isBabyLnet/minecraft/entity/LivingEntity;isBaby()Z
-
getXpToDrop
- Overrides:
getXpToDropin classMobEntity- Mappings:
Namespace Name Mixin selector official eLrg;e(Lxk;)Iintermediary method_2585Lnet/minecraft/class_1699;method_2585(Lnet/minecraft/class_988;)Inamed getXpToDropLnet/minecraft/entity/LivingEntity;getXpToDrop(Lnet/minecraft/entity/player/PlayerEntity;)I
-
setBaby
public void setBaby(boolean baby) - Mappings:
Namespace Name Mixin selector official iLxb;i(Z)Vintermediary method_4559Lnet/minecraft/class_982;method_4559(Z)Vnamed setBabyLnet/minecraft/entity/mob/ZombieEntity;setBaby(Z)V
-
isVillager
public boolean isVillager()- Mappings:
Namespace Name Mixin selector official bZLxb;bZ()Zintermediary method_4561Lnet/minecraft/class_982;method_4561()Znamed isVillagerLnet/minecraft/entity/mob/ZombieEntity;isVillager()Z
-
setVillager
public void setVillager(boolean bool) - Mappings:
Namespace Name Mixin selector official jLxb;j(Z)Vintermediary method_4560Lnet/minecraft/class_982;method_4560(Z)Vnamed setVillagerLnet/minecraft/entity/mob/ZombieEntity;setVillager(Z)V
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classHostileEntity- Mappings:
Namespace Name Mixin selector official eLrg;e()Vintermediary method_2651Lnet/minecraft/class_1699;method_2651()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
damage
- Overrides:
damagein classHostileEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(Lqa;F)Zintermediary method_2499Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
tick
public void tick()- Overrides:
tickin classHostileEntity- Mappings:
Namespace Name Mixin selector official hLqm;h()Vintermediary method_2558Lnet/minecraft/class_864;method_2558()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
tryAttack
- Overrides:
tryAttackin classHostileEntity- Mappings:
Namespace Name Mixin selector official mLrg;m(Lqm;)Zintermediary method_2671Lnet/minecraft/class_1699;method_2671(Lnet/minecraft/class_864;)Znamed tryAttackLnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official tLrh;t()Ljava/lang/String;intermediary method_2603Lnet/minecraft/class_871;method_2603()Ljava/lang/String;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
-
getHurtSound
- Overrides:
getHurtSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official aTLrg;aT()Ljava/lang/String;intermediary method_2604Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official aULrg;aU()Ljava/lang/String;intermediary method_2605Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
method_2494
- Overrides:
method_2494in classEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(IIILaht;)Vintermediary method_2494Lnet/minecraft/class_864;method_2494(IIILnet/minecraft/class_197;)Vnamed method_2494Lnet/minecraft/entity/Entity;method_2494(IIILnet/minecraft/block/Block;)V
-
getDefaultDrop
- Overrides:
getDefaultDropin classMobEntity- Mappings:
Namespace Name Mixin selector official uLrh;u()Labm;intermediary method_8375Lnet/minecraft/class_871;method_8375()Lnet/minecraft/class_1069;named getDefaultDropLnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
-
getGroup
- Overrides:
getGroupin classLivingEntity- Mappings:
Namespace Name Mixin selector official bdLrg;bd()Lrk;intermediary method_2647Lnet/minecraft/class_1699;method_2647()Lnet/minecraft/class_873;named getGroupLnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
-
method_2672
protected void method_2672(int int2) - Overrides:
method_2672in classLivingEntity- Mappings:
Namespace Name Mixin selector official nLrg;n(I)Vintermediary method_2672Lnet/minecraft/class_1699;method_2672(I)Vnamed method_2672Lnet/minecraft/entity/LivingEntity;method_2672(I)V
-
method_4473
protected void method_4473()- Overrides:
method_4473in classMobEntity- Mappings:
Namespace Name Mixin selector official bALrh;bA()Vintermediary method_4473Lnet/minecraft/class_871;method_4473()Vnamed method_4473Lnet/minecraft/entity/mob/MobEntity;method_4473()V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official bLqm;b(Ldg;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(Ldg;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
onKilledOther
- Overrides:
onKilledOtherin classEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(Lrg;)Vintermediary method_6098Lnet/minecraft/class_864;method_6098(Lnet/minecraft/class_1699;)Vnamed onKilledOtherLnet/minecraft/entity/Entity;onKilledOther(Lnet/minecraft/entity/LivingEntity;)V
-
method_6156
- Overrides:
method_6156in classMobEntity- Mappings:
Namespace Name Mixin selector official aLrh;a(Lrj;)Lrj;intermediary method_6156Lnet/minecraft/class_871;method_6156(Lnet/minecraft/class_1700;)Lnet/minecraft/class_1700;named method_6156Lnet/minecraft/entity/mob/MobEntity;method_6156(Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
-
canBeLeashedBy
- Overrides:
canBeLeashedByin classMobEntity- Mappings:
Namespace Name Mixin selector official aLrh;a(Lxk;)Zintermediary method_2537Lnet/minecraft/class_871;method_2537(Lnet/minecraft/class_988;)Znamed canBeLeashedByLnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
setConversionTime
protected void setConversionTime(int ticks) - Mappings:
Namespace Name Mixin selector official aLxb;a(I)Vintermediary method_4558Lnet/minecraft/class_982;method_4558(I)Vnamed setConversionTimeLnet/minecraft/entity/mob/ZombieEntity;setConversionTime(I)V
-
handleStatus
- Overrides:
handleStatusin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLqm;a(B)Vintermediary method_2485Lnet/minecraft/class_864;method_2485(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
canImmediatelyDespawn
protected boolean canImmediatelyDespawn()- Overrides:
canImmediatelyDespawnin classMobEntity- Mappings:
Namespace Name Mixin selector official vLrh;v()Zintermediary method_2631Lnet/minecraft/class_871;method_2631()Znamed canImmediatelyDespawnLnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn()Z
-
getConversionType
public boolean getConversionType()- Mappings:
Namespace Name Mixin selector official caLxb;ca()Zintermediary method_4562Lnet/minecraft/class_982;method_4562()Znamed getConversionTypeLnet/minecraft/entity/mob/ZombieEntity;getConversionType()Z
-
convertInWater
protected void convertInWater()- Mappings:
Namespace Name Mixin selector official cbLxb;cb()Vintermediary method_4563Lnet/minecraft/class_982;method_4563()Vnamed convertInWaterLnet/minecraft/entity/mob/ZombieEntity;convertInWater()V
-
method_4564
protected int method_4564()- Mappings:
Namespace Name Mixin selector official ccLxb;cc()Iintermediary method_4564Lnet/minecraft/class_982;method_4564()Inamed method_4564Lnet/minecraft/entity/mob/ZombieEntity;method_4564()I
-
changeType
public void changeType(boolean isBaby) - Mappings:
Namespace Name Mixin selector official kLxb;k(Z)Vintermediary method_8417Lnet/minecraft/class_982;method_8417(Z)Vnamed changeTypeLnet/minecraft/entity/mob/ZombieEntity;changeType(Z)V
-
setBounds
protected final void setBounds(float width, float height) -
increaseBounds
protected final void increaseBounds(float multi) - Mappings:
Namespace Name Mixin selector official aLxb;a(F)Vintermediary method_8414Lnet/minecraft/class_982;method_8414(F)Vnamed increaseBoundsLnet/minecraft/entity/mob/ZombieEntity;increaseBounds(F)V
-