Package net.minecraft.entity.mob
Class ZombieEntity
- All Implemented Interfaces:
Monster,CommandOutput,Nameable,EntityLike
- Direct Known Subclasses:
DrownedEntity,HuskEntity,ZombieVillagerEntity,ZombifiedPiglinEntity
public class ZombieEntity extends HostileEntity
- Mappings:
Namespace Name official bhbintermediary net/minecraft/class_1642named net/minecraft/entity/mob/ZombieEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classZombieEntity.DestroyEggGoalstatic classZombieEntity.ZombieDataNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
Fields Modifier and Type Field Description private static TrackedData<Boolean>BABYprivate static EntityAttributeModifierBABY_SPEED_BONUSprivate static UUIDBABY_SPEED_IDprivate BreakDoorGoalbreakDoorsGoalprivate booleancanBreakDoorsprivate static TrackedData<Boolean>CONVERTING_IN_WATERprivate static Predicate<Difficulty>DOOR_BREAK_DIFFICULTY_CHECKERprivate intinWaterTimeprivate intticksUntilWaterConversionprivate static TrackedData<Integer>ZOMBIE_TYPEUnused tracked data, left over from 1.10 when zombies, zombie villagers and husks were all the same type of entity.Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeedFields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yawFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
Constructors Constructor Description ZombieEntity(EntityType<? extends ZombieEntity> type, World world)ZombieEntity(World world) -
Method Summary
Modifier and Type Method Description protected voidapplyAttributeModifiers(float chanceMultiplier)protected booleanburnsInDaylight()booleancanBreakDoors()protected booleancanConvertInWater()booleancanPickupItem(ItemStack stack)protected voidconvertInWater()protected voidconvertTo(EntityType<? extends ZombieEntity> entityType)static DefaultAttributeContainer.BuildercreateZombieAttributes()booleandamage(DamageSource source, float amount)protected voiddropEquipment(DamageSource source, int lootingMultiplier, boolean allowDrops)protected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)protected SoundEventgetAmbientSound()protected SoundEventgetDeathSound()EntityGroupgetGroup()doublegetHeightOffset()protected SoundEventgetHurtSound(DamageSource source)protected ItemStackgetSkull()Returns the item stack this entity will drop when killed by a charged creeper.protected SoundEventgetStepSound()protected intgetXpToDrop(PlayerEntity player)Called when this entity is killed and returns the amount of experience to drop.protected voidinitAttributes()protected voidinitCustomGoals()protected voidinitDataTracker()protected voidinitEquipment(LocalDifficulty difficulty)protected voidinitGoals()@Nullable EntityDatainitialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityTag)booleanisBaby()booleanisConvertingInWater()voidonKilledOther(ServerWorld world, LivingEntity other)voidonTrackedDataSet(TrackedData<?> data)protected voidplayStepSound(BlockPos pos, BlockState state)voidreadCustomDataFromNbt(NbtCompound tag)voidsetBaby(boolean baby)voidsetCanBreakDoors(boolean canBreakDoors)private voidsetTicksUntilWaterConversion(int ticksUntilWaterConversion)static booleanshouldBeBaby(Random random)protected booleanshouldBreakDoors()voidtick()voidtickMovement()booleantryAttack(Entity target)voidwriteCustomDataToNbt(NbtCompound tag)Methods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getArrowType, getFallSound, getPathfindingFavor, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropLoot, shouldDropXp, updateDespawnCounterMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canBeLeashedBy, canEquip, canGather, canImmediatelyDespawn, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickUpLoot, canSpawn, canTarget, canTarget, canUseRangedWeapon, checkDespawn, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getBodyYawSpeed, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, handleStatus, hasPositionTarget, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, method_29244, method_33191, mobTick, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, swimUpward, tickNewAi, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageShield, deserializeBrain, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getCommandItemSlot, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_31079, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, pushAway, pushAwayFrom, readFromPacket, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraBlockPos, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getStandingEyeHeight, getSwimHeight, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_29919, method_30951, method_33332, method_33574, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
Field Details
-
BABY_SPEED_ID
- Mappings:
Namespace Name Mixin selector official bLbhb;b:Ljava/util/UUID;intermediary field_7429Lnet/minecraft/class_1642;field_7429:Ljava/util/UUID;named BABY_SPEED_IDLnet/minecraft/entity/mob/ZombieEntity;BABY_SPEED_ID:Ljava/util/UUID;
-
BABY_SPEED_BONUS
- Mappings:
Namespace Name Mixin selector official cLbhb;c:Lati;intermediary field_7430Lnet/minecraft/class_1642;field_7430:Lnet/minecraft/class_1322;named BABY_SPEED_BONUSLnet/minecraft/entity/mob/ZombieEntity;BABY_SPEED_BONUS:Lnet/minecraft/entity/attribute/EntityAttributeModifier;
-
BABY
- Mappings:
Namespace Name Mixin selector official dLbhb;d:Lvu;intermediary field_7434Lnet/minecraft/class_1642;field_7434:Lnet/minecraft/class_2940;named BABYLnet/minecraft/entity/mob/ZombieEntity;BABY:Lnet/minecraft/entity/data/TrackedData;
-
ZOMBIE_TYPE
Unused tracked data, left over from 1.10 when zombies, zombie villagers and husks were all the same type of entity.- Mappings:
Namespace Name Mixin selector official blLbhb;bl:Lvu;intermediary field_7427Lnet/minecraft/class_1642;field_7427:Lnet/minecraft/class_2940;named ZOMBIE_TYPELnet/minecraft/entity/mob/ZombieEntity;ZOMBIE_TYPE:Lnet/minecraft/entity/data/TrackedData;
-
CONVERTING_IN_WATER
- Mappings:
Namespace Name Mixin selector official bmLbhb;bm:Lvu;intermediary field_7425Lnet/minecraft/class_1642;field_7425:Lnet/minecraft/class_2940;named CONVERTING_IN_WATERLnet/minecraft/entity/mob/ZombieEntity;CONVERTING_IN_WATER:Lnet/minecraft/entity/data/TrackedData;
-
DOOR_BREAK_DIFFICULTY_CHECKER
- Mappings:
Namespace Name Mixin selector official bnLbhb;bn:Ljava/util/function/Predicate;intermediary field_19015Lnet/minecraft/class_1642;field_19015:Ljava/util/function/Predicate;named DOOR_BREAK_DIFFICULTY_CHECKERLnet/minecraft/entity/mob/ZombieEntity;DOOR_BREAK_DIFFICULTY_CHECKER:Ljava/util/function/Predicate;
-
breakDoorsGoal
- Mappings:
Namespace Name Mixin selector official boLbhb;bo:Laxk;intermediary field_7433Lnet/minecraft/class_1642;field_7433:Lnet/minecraft/class_1339;named breakDoorsGoalLnet/minecraft/entity/mob/ZombieEntity;breakDoorsGoal:Lnet/minecraft/entity/ai/goal/BreakDoorGoal;
-
canBreakDoors
private boolean canBreakDoors- Mappings:
Namespace Name Mixin selector official bpLbhb;bp:Zintermediary field_7432Lnet/minecraft/class_1642;field_7432:Znamed canBreakDoorsLnet/minecraft/entity/mob/ZombieEntity;canBreakDoors:Z
-
inWaterTime
private int inWaterTime- Mappings:
Namespace Name Mixin selector official bqLbhb;bq:Iintermediary field_7426Lnet/minecraft/class_1642;field_7426:Inamed inWaterTimeLnet/minecraft/entity/mob/ZombieEntity;inWaterTime:I
-
ticksUntilWaterConversion
private int ticksUntilWaterConversion- Mappings:
Namespace Name Mixin selector official brLbhb;br:Iintermediary field_7424Lnet/minecraft/class_1642;field_7424:Inamed ticksUntilWaterConversionLnet/minecraft/entity/mob/ZombieEntity;ticksUntilWaterConversion:I
-
-
Constructor Details
-
ZombieEntity
- Mappings:
Namespace Name Mixin selector official <init>Larx;<init>(Lasb;Lbva;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
ZombieEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbhb;<init>(Lbva;)Vintermediary <init>Lnet/minecraft/class_1642;<init>(Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/mob/ZombieEntity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
initCustomGoals
protected void initCustomGoals()- Mappings:
Namespace Name Mixin selector official mLbhb;m()Vintermediary method_7208Lnet/minecraft/class_1642;method_7208()Vnamed initCustomGoalsLnet/minecraft/entity/mob/ZombieEntity;initCustomGoals()V
-
createZombieAttributes
- Mappings:
Namespace Name Mixin selector official fsLbhb;fs()Latj$a;intermediary method_26940Lnet/minecraft/class_1642;method_26940()Lnet/minecraft/class_5132$class_5133;named createZombieAttributesLnet/minecraft/entity/mob/ZombieEntity;createZombieAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official eLarx;e()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
isConvertingInWater
public boolean isConvertingInWater()- Mappings:
Namespace Name Mixin selector official ftLbhb;ft()Zintermediary method_7206Lnet/minecraft/class_1642;method_7206()Znamed isConvertingInWaterLnet/minecraft/entity/mob/ZombieEntity;isConvertingInWater()Z
-
canBreakDoors
public boolean canBreakDoors()- Mappings:
Namespace Name Mixin selector official fuLbhb;fu()Zintermediary method_7211Lnet/minecraft/class_1642;method_7211()Znamed canBreakDoorsLnet/minecraft/entity/mob/ZombieEntity;canBreakDoors()Z
-
setCanBreakDoors
public void setCanBreakDoors(boolean canBreakDoors)- Mappings:
Namespace Name Mixin selector official vLbhb;v(Z)Vintermediary method_7201Lnet/minecraft/class_1642;method_7201(Z)Vnamed setCanBreakDoorsLnet/minecraft/entity/mob/ZombieEntity;setCanBreakDoors(Z)V
-
shouldBreakDoors
protected boolean shouldBreakDoors()- Mappings:
Namespace Name Mixin selector official oLbhb;o()Zintermediary method_7212Lnet/minecraft/class_1642;method_7212()Znamed shouldBreakDoorsLnet/minecraft/entity/mob/ZombieEntity;shouldBreakDoors()Z
-
isBaby
public boolean isBaby()- Overrides:
isBabyin classLivingEntity- Mappings:
Namespace Name Mixin selector official y_Lask;y_()Zintermediary method_6109Lnet/minecraft/class_1309;method_6109()Znamed isBabyLnet/minecraft/entity/LivingEntity;isBaby()Z
-
getXpToDrop
Called when this entity is killed and returns the amount of experience to drop.playermay benullif shouldAlwaysDropXp() returnstrue.- Overrides:
getXpToDropin classMobEntity- Parameters:
player- the attacking player- See Also:
LivingEntity.dropXp(),LivingEntity.shouldAlwaysDropXp(),LivingEntity.shouldDropXp()- Mappings:
Namespace Name Mixin selector official dLask;d(Lbio;)Iintermediary method_6110Lnet/minecraft/class_1309;method_6110(Lnet/minecraft/class_1657;)Inamed getXpToDropLnet/minecraft/entity/LivingEntity;getXpToDrop(Lnet/minecraft/entity/player/PlayerEntity;)I
-
setBaby
public void setBaby(boolean baby) -
onTrackedDataSet
- Overrides:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLarx;a(Lvu;)Vintermediary method_5674Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
canConvertInWater
protected boolean canConvertInWater()- Mappings:
Namespace Name Mixin selector official fnLbhb;fn()Zintermediary method_7209Lnet/minecraft/class_1642;method_7209()Znamed canConvertInWaterLnet/minecraft/entity/mob/ZombieEntity;canConvertInWater()Z
-
tick
public void tick() -
tickMovement
public void tickMovement()- Overrides:
tickMovementin classHostileEntity- Mappings:
Namespace Name Mixin selector official kLask;k()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
setTicksUntilWaterConversion
private void setTicksUntilWaterConversion(int ticksUntilWaterConversion)- Mappings:
Namespace Name Mixin selector official aLbhb;a(I)Vintermediary method_7213Lnet/minecraft/class_1642;method_7213(I)Vnamed setTicksUntilWaterConversionLnet/minecraft/entity/mob/ZombieEntity;setTicksUntilWaterConversion(I)V
-
convertInWater
protected void convertInWater()- Mappings:
Namespace Name Mixin selector official fpLbhb;fp()Vintermediary method_7218Lnet/minecraft/class_1642;method_7218()Vnamed convertInWaterLnet/minecraft/entity/mob/ZombieEntity;convertInWater()V
-
convertTo
- Mappings:
Namespace Name Mixin selector official bLbhb;b(Lasb;)Vintermediary method_7200Lnet/minecraft/class_1642;method_7200(Lnet/minecraft/class_1299;)Vnamed convertToLnet/minecraft/entity/mob/ZombieEntity;convertTo(Lnet/minecraft/entity/EntityType;)V
-
burnsInDaylight
protected boolean burnsInDaylight()- Mappings:
Namespace Name Mixin selector official U_Lbhb;U_()Zintermediary method_7216Lnet/minecraft/class_1642;method_7216()Znamed burnsInDaylightLnet/minecraft/entity/mob/ZombieEntity;burnsInDaylight()Z
-
damage
- Overrides:
damagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLarx;a(Larh;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
tryAttack
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official pLasl;p()Laer;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official cLask;c(Larh;)Laer;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classHostileEntity- Mappings:
Namespace Name Mixin selector official qLask;q()Laer;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getStepSound
- Mappings:
Namespace Name Mixin selector official sLbhb;s()Laer;intermediary method_7207Lnet/minecraft/class_1642;method_7207()Lnet/minecraft/class_3414;named getStepSoundLnet/minecraft/entity/mob/ZombieEntity;getStepSound()Lnet/minecraft/sound/SoundEvent;
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official bLarx;b(Lfx;Lciz;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
getGroup
- Overrides:
getGroupin classLivingEntity- Mappings:
Namespace Name Mixin selector official ebLask;eb()Laso;intermediary method_6046Lnet/minecraft/class_1309;method_6046()Lnet/minecraft/class_1310;named getGroupLnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
-
initEquipment
- Overrides:
initEquipmentin classMobEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Laqq;)Vintermediary method_5964Lnet/minecraft/class_1308;method_5964(Lnet/minecraft/class_1266;)Vnamed initEquipmentLnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/world/LocalDifficulty;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official bLarx;b(Lmr;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official aLarx;a(Lmr;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
onKilledOther
- Overrides:
onKilledOtherin classEntity- Mappings:
Namespace Name Mixin selector official aLarx;a(Labf;Lask;)Vintermediary method_5874Lnet/minecraft/class_1297;method_5874(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Vnamed onKilledOtherLnet/minecraft/entity/Entity;onKilledOther(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)V
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeightin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLask;b(Lasv;Lary;)Fintermediary method_18394Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fnamed getActiveEyeHeightLnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
canPickupItem
- Overrides:
canPickupItemin classMobEntity- Mappings:
Namespace Name Mixin selector official iLasl;i(Lbpa;)Zintermediary method_5939Lnet/minecraft/class_1308;method_5939(Lnet/minecraft/class_1799;)Znamed canPickupItemLnet/minecraft/entity/mob/MobEntity;canPickupItem(Lnet/minecraft/item/ItemStack;)Z
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityTag)- Overrides:
initializein classMobEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lbvo;Laqq;Lasn;Latb;Lmr;)Latb;intermediary method_5943Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;named initializeLnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
shouldBeBaby
- Mappings:
Namespace Name Mixin selector official aLbhb;a(Ljava/util/Random;)Zintermediary method_29936Lnet/minecraft/class_1642;method_29936(Ljava/util/Random;)Znamed shouldBeBabyLnet/minecraft/entity/mob/ZombieEntity;shouldBeBaby(Ljava/util/Random;)Z
-
applyAttributeModifiers
protected void applyAttributeModifiers(float chanceMultiplier)- Mappings:
Namespace Name Mixin selector official xLbhb;x(F)Vintermediary method_7205Lnet/minecraft/class_1642;method_7205(F)Vnamed applyAttributeModifiersLnet/minecraft/entity/mob/ZombieEntity;applyAttributeModifiers(F)V
-
initAttributes
protected void initAttributes()- Mappings:
Namespace Name Mixin selector official fvLbhb;fv()Vintermediary method_6001Lnet/minecraft/class_1642;method_6001()Vnamed initAttributesLnet/minecraft/entity/mob/ZombieEntity;initAttributes()V
-
getHeightOffset
public double getHeightOffset()- Overrides:
getHeightOffsetin classEntity- Mappings:
Namespace Name Mixin selector official bgLarx;bg()Dintermediary method_5678Lnet/minecraft/class_1297;method_5678()Dnamed getHeightOffsetLnet/minecraft/entity/Entity;getHeightOffset()D
-
dropEquipment
- Overrides:
dropEquipmentin classMobEntity- Mappings:
Namespace Name Mixin selector official aLask;a(Larh;IZ)Vintermediary method_6099Lnet/minecraft/class_1309;method_6099(Lnet/minecraft/class_1282;IZ)Vnamed dropEquipmentLnet/minecraft/entity/LivingEntity;dropEquipment(Lnet/minecraft/entity/damage/DamageSource;IZ)V
-
getSkull
Returns the item stack this entity will drop when killed by a charged creeper.- Mappings:
Namespace Name Mixin selector official fmLbhb;fm()Lbpa;intermediary method_7215Lnet/minecraft/class_1642;method_7215()Lnet/minecraft/class_1799;named getSkullLnet/minecraft/entity/mob/ZombieEntity;getSkull()Lnet/minecraft/item/ItemStack;
-