类 ZombieEntity
-
- 所有已实现的接口:
Monster,CommandOutput,Nameable,EntityLike
public class ZombieEntity extends HostileEntity
- Mappings:
Namespace Name official bhsintermediary net/minecraft/class_1642named net/minecraft/entity/mob/ZombieEntity
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) classZombieEntity.DestroyEggGoalstatic classZombieEntity.ZombieData-
从类继承的嵌套类/接口 net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
-
字段概要
字段 修饰符和类型 字段 说明 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_CHECKERstatic intfield_30515static intfield_30516static intfield_30517private static floatfield_30518static floatfield_30519private 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.-
从类继承的字段 net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, field_30083, field_30084, field_30085, field_30091, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelector
-
从类继承的字段 net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30064, field_30065, field_30066, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, 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, upwardSpeed
-
从类继承的字段 net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_29973, field_29974, field_29979, field_29980, field_29981, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, PASSENGERS_KEY, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world, yaw
-
从接口继承的字段 net.minecraft.server.command.CommandOutput
DUMMY
-
从接口继承的字段 net.minecraft.entity.mob.Monster
field_30464, field_30465, field_30466, field_30467, field_30468, field_30469
-
-
构造器概要
构造器 构造器 说明 ZombieEntity(EntityType<? extends ZombieEntity> type, World world)ZombieEntity(World world)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 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 CompoundTag entityNbt)booleanisBaby()booleanisConvertingInWater()voidonKilledOther(ServerWorld world, LivingEntity other)voidonTrackedDataSet(TrackedData<?> data)protected voidplayStepSound(BlockPos pos, BlockState state)voidreadCustomDataFromNbt(CompoundTag nbt)voidsetBaby(boolean baby)voidsetCanBreakDoors(boolean canBreakDoors)private voidsetTicksUntilWaterConversion(int ticksUntilWaterConversion)static booleanshouldBeBaby(Random random)protected booleanshouldBreakDoors()voidtick()voidtickMovement()booleantryAttack(Entity target)voidwriteCustomDataToNbt(CompoundTag nbt)-
从类继承的方法 net.minecraft.entity.mob.HostileEntity
canSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getArrowType, getFallSound, getPathfindingFavor, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropLoot, shouldDropXp, updateDespawnCounter
-
从类继承的方法 net.minecraft.entity.mob.PathAwareEntity
canSpawn, getPathfindingFavor, getRunFromLeashSpeed, isNavigating, updateForLeashLength, updateLeash
-
从类继承的方法 net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canBeLeashedBy, canEquip, canGather, canImmediatelyDespawn, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickUpLoot, canSpawn, canTarget, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, 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_35055, 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, squaredAttackRange, startRiding, swimUpward, tickNewAi, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls
-
从类继承的方法 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_35053, method_35054, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, 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, wakeUp
-
从类继承的方法 net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, 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, getLeashOffset, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, 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_30951, method_36209, 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, saveNbt, saveSelfNbt, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, 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, toNbtList, toNbtList, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
-
-
-
字段详细资料
-
BABY_SPEED_ID
private static final UUID BABY_SPEED_ID
- Mappings:
Namespace Name Mixin selector official bLbhs;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
private static final EntityAttributeModifier BABY_SPEED_BONUS
- Mappings:
Namespace Name Mixin selector official cLbhs;c:Latw;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
private static final TrackedData<Boolean> BABY
- Mappings:
Namespace Name Mixin selector official dLbhs;d:Lvy;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
private static final TrackedData<Integer> 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 bYLbhs;bY:Lvy;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
private static final TrackedData<Boolean> CONVERTING_IN_WATER
- Mappings:
Namespace Name Mixin selector official bZLbhs;bZ:Lvy;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;
-
field_30519
public static final float field_30519
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official eLbhs;e:Fintermediary field_30519Lnet/minecraft/class_1642;field_30519:Fnamed field_30519Lnet/minecraft/entity/mob/ZombieEntity;field_30519:F
-
field_30515
public static final int field_30515
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bVLbhs;bV:Iintermediary field_30515Lnet/minecraft/class_1642;field_30515:Inamed field_30515Lnet/minecraft/entity/mob/ZombieEntity;field_30515:I
-
field_30516
public static final int field_30516
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bWLbhs;bW:Iintermediary field_30516Lnet/minecraft/class_1642;field_30516:Inamed field_30516Lnet/minecraft/entity/mob/ZombieEntity;field_30516:I
-
field_30517
public static final int field_30517
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official bXLbhs;bX:Iintermediary field_30517Lnet/minecraft/class_1642;field_30517:Inamed field_30517Lnet/minecraft/entity/mob/ZombieEntity;field_30517:I
-
field_30518
private static final float field_30518
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official caLbhs;ca:Fintermediary field_30518Lnet/minecraft/class_1642;field_30518:Fnamed field_30518Lnet/minecraft/entity/mob/ZombieEntity;field_30518:F
-
DOOR_BREAK_DIFFICULTY_CHECKER
private static final Predicate<Difficulty> DOOR_BREAK_DIFFICULTY_CHECKER
- Mappings:
Namespace Name Mixin selector official cbLbhs;cb: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
private final BreakDoorGoal breakDoorsGoal
- Mappings:
Namespace Name Mixin selector official ccLbhs;cc:Layb;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 cdLbhs;cd: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 ceLbhs;ce: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 cfLbhs;cf:Iintermediary field_7424Lnet/minecraft/class_1642;field_7424:Inamed ticksUntilWaterConversionLnet/minecraft/entity/mob/ZombieEntity;ticksUntilWaterConversion:I
-
-
构造器详细资料
-
ZombieEntity
public ZombieEntity(EntityType<? extends ZombieEntity> type, World world)
- Mappings:
Namespace Name Mixin selector official <init>Lasl;<init>(Lasp;Lbvr;)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
public ZombieEntity(World world)
- Mappings:
Namespace Name Mixin selector official <init>Lbhs;<init>(Lbvr;)Vintermediary <init>Lnet/minecraft/class_1642;<init>(Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/mob/ZombieEntity;<init>(Lnet/minecraft/world/World;)V
-
-
方法详细资料
-
initGoals
protected void initGoals()
-
initCustomGoals
protected void initCustomGoals()
- Mappings:
Namespace Name Mixin selector official mLbhs;m()Vintermediary method_7208Lnet/minecraft/class_1642;method_7208()Vnamed initCustomGoalsLnet/minecraft/entity/mob/ZombieEntity;initCustomGoals()V
-
createZombieAttributes
public static DefaultAttributeContainer.Builder createZombieAttributes()
- Mappings:
Namespace Name Mixin selector official fuLbhs;fu()Latx$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()
- 覆盖:
initDataTracker在类中MobEntity- Mappings:
Namespace Name Mixin selector official eLasl;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 fvLbhs;fv()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 fwLbhs;fw()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 wLbhs;w(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 oLbhs;o()Zintermediary method_7212Lnet/minecraft/class_1642;method_7212()Znamed shouldBreakDoorsLnet/minecraft/entity/mob/ZombieEntity;shouldBreakDoors()Z
-
isBaby
public boolean isBaby()
- 覆盖:
isBaby在类中LivingEntity- Mappings:
Namespace Name Mixin selector official y_Lasy;y_()Zintermediary method_6109Lnet/minecraft/class_1309;method_6109()Znamed isBabyLnet/minecraft/entity/LivingEntity;isBaby()Z
-
getXpToDrop
protected int getXpToDrop(PlayerEntity player)
Called when this entity is killed and returns the amount of experience to drop.playermay benullif shouldAlwaysDropXp() returnstrue.- 覆盖:
getXpToDrop在类中MobEntity- 参数:
player- the attacking player- 另请参阅:
LivingEntity.dropXp(),LivingEntity.shouldAlwaysDropXp(),LivingEntity.shouldDropXp()- Mappings:
Namespace Name Mixin selector official dLasy;d(Lbjf;)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
public void onTrackedDataSet(TrackedData<?> data)
- 覆盖:
onTrackedDataSet在类中LivingEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lvy;)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 fpLbhs;fp()Zintermediary method_7209Lnet/minecraft/class_1642;method_7209()Znamed canConvertInWaterLnet/minecraft/entity/mob/ZombieEntity;canConvertInWater()Z
-
tick
public void tick()
-
tickMovement
public void tickMovement()
- 覆盖:
tickMovement在类中HostileEntity- Mappings:
Namespace Name Mixin selector official kLasy;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 aLbhs;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 frLbhs;fr()Vintermediary method_7218Lnet/minecraft/class_1642;method_7218()Vnamed convertInWaterLnet/minecraft/entity/mob/ZombieEntity;convertInWater()V
-
convertTo
protected void convertTo(EntityType<? extends ZombieEntity> entityType)
- Mappings:
Namespace Name Mixin selector official bLbhs;b(Lasp;)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 V_Lbhs;V_()Zintermediary method_7216Lnet/minecraft/class_1642;method_7216()Znamed burnsInDaylightLnet/minecraft/entity/mob/ZombieEntity;burnsInDaylight()Z
-
damage
public boolean damage(DamageSource source, float amount)
- 覆盖:
damage在类中LivingEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Larv;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
public boolean tryAttack(Entity target)
-
getAmbientSound
protected SoundEvent getAmbientSound()
- 覆盖:
getAmbientSound在类中MobEntity- Mappings:
Namespace Name Mixin selector official pLasz;p()Laev;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
protected SoundEvent getHurtSound(DamageSource source)
- 覆盖:
getHurtSound在类中HostileEntity- Mappings:
Namespace Name Mixin selector official cLasy;c(Larv;)Laev;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
protected SoundEvent getDeathSound()
- 覆盖:
getDeathSound在类中HostileEntity- Mappings:
Namespace Name Mixin selector official qLasy;q()Laev;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getStepSound
protected SoundEvent getStepSound()
- Mappings:
Namespace Name Mixin selector official sLbhs;s()Laev;intermediary method_7207Lnet/minecraft/class_1642;method_7207()Lnet/minecraft/class_3414;named getStepSoundLnet/minecraft/entity/mob/ZombieEntity;getStepSound()Lnet/minecraft/sound/SoundEvent;
-
playStepSound
protected void playStepSound(BlockPos pos, BlockState state)
- 覆盖:
playStepSound在类中Entity- Mappings:
Namespace Name Mixin selector official bLasl;b(Lgb;Lcjr;)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
public EntityGroup getGroup()
- 覆盖:
getGroup在类中LivingEntity- Mappings:
Namespace Name Mixin selector official edLasy;ed()Latc;intermediary method_6046Lnet/minecraft/class_1309;method_6046()Lnet/minecraft/class_1310;named getGroupLnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
-
initEquipment
protected void initEquipment(LocalDifficulty difficulty)
- 覆盖:
initEquipment在类中MobEntity- Mappings:
Namespace Name Mixin selector official aLasz;a(Lare;)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
public void writeCustomDataToNbt(CompoundTag nbt)
- 覆盖:
writeCustomDataToNbt在类中MobEntity- Mappings:
Namespace Name Mixin selector official bLasl;b(Lmv;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromNbt
public void readCustomDataFromNbt(CompoundTag nbt)
- 覆盖:
readCustomDataFromNbt在类中MobEntity- Mappings:
Namespace Name Mixin selector official aLasl;a(Lmv;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
onKilledOther
public void onKilledOther(ServerWorld world, LivingEntity other)
- 覆盖:
onKilledOther在类中Entity- Mappings:
Namespace Name Mixin selector official aLasl;a(Labj;Lasy;)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
protected float getActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)
- 覆盖:
getActiveEyeHeight在类中LivingEntity- Mappings:
Namespace Name Mixin selector official bLasy;b(Latj;Lasm;)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
public boolean canPickupItem(ItemStack stack)
- 覆盖:
canPickupItem在类中MobEntity- Mappings:
Namespace Name Mixin selector official iLasz;i(Lbpr;)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 CompoundTag entityNbt)
- 覆盖:
initialize在类中MobEntity- Mappings:
Namespace Name Mixin selector official aLasz;a(Lbwf;Lare;Latb;Latp;Lmv;)Latp;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/CompoundTag;)Lnet/minecraft/entity/EntityData;
-
shouldBeBaby
public static boolean shouldBeBaby(Random random)
- Mappings:
Namespace Name Mixin selector official aLbhs;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 xLbhs;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 fxLbhs;fx()Vintermediary method_6001Lnet/minecraft/class_1642;method_6001()Vnamed initAttributesLnet/minecraft/entity/mob/ZombieEntity;initAttributes()V
-
getHeightOffset
public double getHeightOffset()
- 覆盖:
getHeightOffset在类中Entity- Mappings:
Namespace Name Mixin selector official bhLasl;bh()Dintermediary method_5678Lnet/minecraft/class_1297;method_5678()Dnamed getHeightOffsetLnet/minecraft/entity/Entity;getHeightOffset()D
-
dropEquipment
protected void dropEquipment(DamageSource source, int lootingMultiplier, boolean allowDrops)
- 覆盖:
dropEquipment在类中MobEntity- Mappings:
Namespace Name Mixin selector official aLasy;a(Larv;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
protected ItemStack getSkull()
Returns the item stack this entity will drop when killed by a charged creeper.- Mappings:
Namespace Name Mixin selector official foLbhs;fo()Lbpr;intermediary method_7215Lnet/minecraft/class_1642;method_7215()Lnet/minecraft/class_1799;named getSkullLnet/minecraft/entity/mob/ZombieEntity;getSkull()Lnet/minecraft/item/ItemStack;
-
-