Package net.minecraft.entity.mob
Class ZombieVillagerEntity
- All Implemented Interfaces:
ComponentsAccess
,Attackable
,DataTracked
,EquipmentHolder
,Leashable
,Monster
,Targeter
,ScoreHolder
,Nameable
,VillagerDataContainer
,EntityLike
,UniquelyIdentifiable
,ServerWaypoint
,Waypoint
- Mappings:
Namespace Name named net/minecraft/entity/mob/ZombieVillagerEntity
intermediary net/minecraft/class_1641
official csp
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.ZombieEntity
ZombieEntity.ZombieData
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
Nested classes/interfaces inherited from interface net.minecraft.entity.Leashable
Leashable.Elasticity, Leashable.LeashData
Nested classes/interfaces inherited from interface net.minecraft.world.waypoint.ServerWaypoint
ServerWaypoint.AzimuthWaypointTracker, ServerWaypoint.ChebyshevDistanceValidatedTracker, ServerWaypoint.ChunkWaypointTracker, ServerWaypoint.ManhattanDistanceValidatedTracker, ServerWaypoint.PositionalWaypointTracker, ServerWaypoint.WaypointTracker
Nested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private int
private static final TrackedData
<Boolean> private static final int
private static final int
private int
private static final int
private static final int
private static final int
private @Nullable VillagerGossips
private @Nullable TradeOfferList
private static final TrackedData
<VillagerData> Fields inherited from class net.minecraft.entity.mob.ZombieEntity
field_30515, field_30516, field_30517, field_30519
Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVOR
Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, CAN_PICK_UP_LOOT_KEY, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DROP_CHANCES_KEY, experiencePoints, field_35039, goalSelector, jumpControl, LEFT_HANDED_KEY, lookControl, MINIMUM_DROPPED_EXPERIENCE_PER_EQUIPMENT, moveControl, navigation, NO_AI_KEY, RANDOM_SPAWN_BONUS_MODIFIER_ID, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, ATTRIBUTES_KEY, BABY_SCALE_FACTOR, bodyYaw, brain, BRAIN_KEY, dead, DEATH_TICKS, DEATH_TIME_KEY, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, equipment, EQUIPMENT_KEY, EQUIPMENT_SLOT_ID, FALL_FLYING_KEY, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_55952, field_56256, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, HEALTH_KEY, HURT_BY_TIMESTAMP_KEY, HURT_TIME_KEY, hurtTime, interpolator, itemUseTimeLeft, jumping, lastAttackedTicks, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, SLEEPING_POS_KEY, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, AIR_KEY, collidedSoftly, CUSTOM_DATA_KEY, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_DISTANCE_KEY, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, FIRE_KEY, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, GLOWING_KEY, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, INVULNERABLE_KEY, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_QUEUED_COLLISION_CHECKS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, MOTION_KEY, movementMultiplier, NO_GRAVITY_KEY, noClip, ON_FIRE_FLAG_INDEX, ON_GROUND_KEY, PASSENGERS_KEY, PORTAL_COOLDOWN_KEY, portalManager, POS_KEY, POSE, random, ridingCooldown, ROTATION_KEY, SILENT_KEY, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow
Fields inherited from interface net.minecraft.entity.Leashable
DEFAULT_ELASTIC_DISTANCE, DEFAULT_SNAPPING_DISTANCE, ELASTICITY_MULTIPLIER, field_59997, field_59998, field_59999, field_60003, HELD_ENTITY_ATTACHMENT_POINT, LEASH_HOLDER_ATTACHMENT_POINT, LEASH_NBT_KEY, QUAD_LEASH_ATTACHMENT_POINTS
Fields inherited from interface net.minecraft.entity.mob.Monster
NORMAL_MONSTER_EXPERIENCE, SMALL_MONSTER_EXPERIENCE, STRONG_MONSTER_EXPERIENCE, STRONGER_MONSTER_EXPERIENCE, WITHER_EXPERIENCE, ZERO_EXPERIENCE
Fields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME
Fields inherited from interface net.minecraft.world.waypoint.ServerWaypoint
AZIMUTH_THRESHOLD
Fields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING
-
Constructor Summary
ConstructorsConstructorDescriptionZombieVillagerEntity
(EntityType<? extends ZombieVillagerEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
canImmediatelyDespawn
(double distanceSquared) protected void
private void
finishConversion
(ServerWorld world) <T> T
get
(ComponentType<? extends T> type) private int
int
getHurtSound
(DamageSource source) protected ItemStack
getSkull()
Returns the item stack this entity will drop when killed by a charged creeper.float
void
handleStatus
(byte status) Called on the client when the entity receives an entity status from the server.protected void
initDataTracker
(DataTracker.Builder builder) Initializes data tracker.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) interactMob
(PlayerEntity player, Hand hand) boolean
protected void
readCustomData
(ReadView view) protected <T> boolean
setApplicableComponent
(ComponentType<T> type, T value) void
setConversionTimer
(int conversionTimer) private void
setConverting
(@Nullable UUID uuid, int delay) void
setExperience
(int experience) void
setGossip
(VillagerGossips gossip) void
setOfferData
(TradeOfferList offerData) void
setVillagerData
(VillagerData villagerData) void
tick()
Ticks this entity.protected void
writeCustomData
(WriteView view) Methods inherited from class net.minecraft.entity.mob.ZombieEntity
applyAttributeModifiers, burnsInDaylight, canBreakDoors, canGather, canPickupItem, canSpawnAsReinforcementInFluid, convertInWater, convertTo, createZombieAttributes, damage, dropEquipment, getBaseDimensions, getExperienceToDrop, getType, infectVillager, initAttributes, initCustomGoals, initEquipment, initGoals, isBaby, isConvertingInWater, onKilledOther, onTrackedDataSet, playStepSound, setBaby, setCanBreakDoors, setInWaterTime, setTicksUntilWaterConversionDirect, shouldBeBaby, tickMovement, tryAttack
Methods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getFallSounds, getPathfindingFavor, getProjectileType, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropExperience, shouldDropLoot, updateDespawnCounter
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
beforeLeashTick, canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, isPanicking, onShortLeashTick, shouldFollowLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
baseTick, canActVoluntarily, canBeLeashed, canDispenserEquipSlot, canMobSpawn, cannotDespawn, canPickUpLoot, canRemoveSaddle, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, convertTo, createBodyControl, createEquipmentInventory, createMobAttributes, createNavigation, dropAllForeignEquipment, dropForeignEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, getAttackBox, getBodyArmor, getControllingPassenger, getEquipmentDropChances, getEquipmentForSlot, getItemPickUpRangeExpander, getJumpControl, getLeashData, getLimitPerChunk, getLookControl, getLootTableKey, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPreferredWeapons, getSafeFallDistance, getTarget, getTargetInBrain, getVisibilityCache, hasPositionTarget, hasSaddleEquipped, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isInAttackRange, isInPositionTargetRange, isInPositionTargetRange, isInPositionTargetRange, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, mobTick, movesIndependently, onEatingGrass, onFinishPathfinding, onLeashRemoved, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playAttackSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setCanPickUpLoot, setDropGuaranteed, setEquipmentDropChance, setEquipmentFromTable, setEquipmentFromTable, setForwardSpeed, setLeashData, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, snapLongLeash, spawnsTooManyForEachTry, startRiding, stopMovement, swimUpward, tickNewAi, tryEquip, turnHead, updateAttribute, updateEnchantments, updateGoalControls
Methods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, attackLivingEntity, becomeAngry, canBreatheInWater, canEquip, canEquipFromDispenser, canFreeze, canGlide, canGlideWith, canHaveStatusEffect, canHit, canSee, canSee, canTakeDamage, canTarget, canUsePortals, canUseSlot, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createEquipment, createLivingAttributes, createTracker, damageArmor, damageEquipment, damageHelmet, deserializeBrain, disableExperienceDropping, drop, dropExperience, dropInventory, dropItem, endCombat, enterCombat, equipStack, fall, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageBlockedAmount, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getEffectFadeFactor, getEffectiveGravity, getEquippedStack, getEquipSound, getExperienceToDrop, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getInterpolator, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLocationBasedEnchantmentEffects, getLuck, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundVolume, getStackInArm, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getWaypointConfig, getWeaponDisableBlockingForSeconds, getWeaponStack, getYaw, giveOrDropStack, handleFallDamage, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, hasWaypoint, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInCreativeMode, isInsideWall, isInSwimmingPose, isInvulnerableTo, isJumping, isMobOrPlayer, isPartOfGame, isPushable, isSleeping, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onRemoval, onRemove, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, playBlockFallSound, playSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, remove, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setAttacking, setAttackingPlayer, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropExperience, shouldRenderName, shouldSwimInFluids, sleep, spawnItemParticles, stopGliding, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickCramming, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickMovementInput, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travel, travelFlying, travelFlying, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, wakeUp, wouldNotSuffocateInPose
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, castComponentValue, changeLookDirection, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getErrorReporterContext, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHeldQuadLeashOffsets, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPistonBehavior, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getZ, handleAttack, handleFall, handleFallDamageForPassengers, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasQuadLeashAttachmentPoints, hasVehicle, igniteByLava, interactAt, isAlwaysInvulnerableTo, isAtCloudHeight, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFlyingVehicle, isFrozen, isGlowingLocal, isImmuneToExplosion, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInSneakingPose, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, limitFallDistance, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readData, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveData, saveSelfData, scheduleVelocityUpdate, serverDamage, setAir, setAlwaysSyncAbsolute, setAngles, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvisible, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldAlwaysSyncAbsolute, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, snipAllHeldLeashes, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportSpectatingPlayers, teleportTo, tickBlockCollision, tickBlockCollision, tickHeldLeash, tickPortalCooldown, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeData
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTyped
Methods inherited from interface net.minecraft.entity.EquipmentHolder
equipStack, getEquippedStack, getSlotForStack, setEquipmentFromTable, setEquipmentFromTable, setEquipmentFromTable
Methods inherited from interface net.minecraft.entity.Leashable
applyElasticity, attachLeash, canBeLeashedTo, canUseQuadLeashAttachmentPoint, detachLeash, detachLeashWithoutDrop, getDistanceToCenter, getElasticLeashDistance, getLeashHolder, getLeashOffset, getLeashOffset, getLeashSnappingDistance, getQuadLeashOffsets, isLeashed, mightBeLeashed, onLongLeashTick, readLeashData, setUnresolvedLeashHolderId, writeLeashData
Methods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
CONVERTING
- Mappings:
Namespace Name Mixin selector named CONVERTING
Lnet/minecraft/entity/mob/ZombieVillagerEntity;CONVERTING:Lnet/minecraft/entity/data/TrackedData;
intermediary field_7423
Lnet/minecraft/class_1641;field_7423:Lnet/minecraft/class_2940;
official a
Lcsp;a:Lalh;
-
VILLAGER_DATA
- Mappings:
Namespace Name Mixin selector named VILLAGER_DATA
Lnet/minecraft/entity/mob/ZombieVillagerEntity;VILLAGER_DATA:Lnet/minecraft/entity/data/TrackedData;
intermediary field_7420
Lnet/minecraft/class_1641;field_7420:Lnet/minecraft/class_2940;
official f
Lcsp;f:Lalh;
-
BASE_CONVERSION_DELAY
private static final int BASE_CONVERSION_DELAY- See Also:
- Mappings:
Namespace Name Mixin selector named BASE_CONVERSION_DELAY
Lnet/minecraft/entity/mob/ZombieVillagerEntity;BASE_CONVERSION_DELAY:I
intermediary field_30523
Lnet/minecraft/class_1641;field_30523:I
official ck
Lcsp;ck:I
-
field_30520
private static final int field_30520- See Also:
- Mappings:
Namespace Name Mixin selector named field_30520
Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30520:I
intermediary field_30520
Lnet/minecraft/class_1641;field_30520:I
official cl
Lcsp;cl:I
-
field_30521
private static final int field_30521- See Also:
- Mappings:
Namespace Name Mixin selector named field_30521
Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30521:I
intermediary field_30521
Lnet/minecraft/class_1641;field_30521:I
official cm
Lcsp;cm:I
-
field_30522
private static final int field_30522- See Also:
- Mappings:
Namespace Name Mixin selector named field_30522
Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30522:I
intermediary field_30522
Lnet/minecraft/class_1641;field_30522:I
official cn
Lcsp;cn:I
-
DEFAULT_CONVERSION_TIME
private static final int DEFAULT_CONVERSION_TIME- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_CONVERSION_TIME
Lnet/minecraft/entity/mob/ZombieVillagerEntity;DEFAULT_CONVERSION_TIME:I
intermediary field_57700
Lnet/minecraft/class_1641;field_57700:I
official co
Lcsp;co:I
-
DEFAULT_EXPERIENCE
private static final int DEFAULT_EXPERIENCE- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_EXPERIENCE
Lnet/minecraft/entity/mob/ZombieVillagerEntity;DEFAULT_EXPERIENCE:I
intermediary field_57701
Lnet/minecraft/class_1641;field_57701:I
official cp
Lcsp;cp:I
-
conversionTimer
private int conversionTimer- Mappings:
Namespace Name Mixin selector named conversionTimer
Lnet/minecraft/entity/mob/ZombieVillagerEntity;conversionTimer:I
intermediary field_7422
Lnet/minecraft/class_1641;field_7422:I
official cq
Lcsp;cq:I
-
converter
- Mappings:
Namespace Name Mixin selector named converter
Lnet/minecraft/entity/mob/ZombieVillagerEntity;converter:Ljava/util/UUID;
intermediary field_7421
Lnet/minecraft/class_1641;field_7421:Ljava/util/UUID;
official cr
Lcsp;cr:Ljava/util/UUID;
-
gossip
- Mappings:
Namespace Name Mixin selector named gossip
Lnet/minecraft/entity/mob/ZombieVillagerEntity;gossip:Lnet/minecraft/village/VillagerGossips;
intermediary field_20299
Lnet/minecraft/class_1641;field_20299:Lnet/minecraft/class_4136;
official cs
Lcsp;cs:Lcjk;
-
offerData
- Mappings:
Namespace Name Mixin selector named offerData
Lnet/minecraft/entity/mob/ZombieVillagerEntity;offerData:Lnet/minecraft/village/TradeOfferList;
intermediary field_17047
Lnet/minecraft/class_1641;field_17047:Lnet/minecraft/class_1916;
official ct
Lcsp;ct:Ldlr;
-
experience
private int experience- Mappings:
Namespace Name Mixin selector named experience
Lnet/minecraft/entity/mob/ZombieVillagerEntity;experience:I
intermediary field_18877
Lnet/minecraft/class_1641;field_18877:I
official cu
Lcsp;cu:I
-
-
Constructor Details
-
ZombieVillagerEntity
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
official <init>
Lbzm;<init>(Lbzv;Ldmu;)V
-
-
Method Details
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTracker
in classZombieEntity
- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
official a
Lbzm;a(Lall$a;)V
-
writeCustomData
- Overrides:
writeCustomData
in classZombieEntity
- Mappings:
Namespace Name Mixin selector named writeCustomData
Lnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)V
official a
Lbzm;a(Lfdc;)V
-
readCustomData
- Overrides:
readCustomData
in classZombieEntity
- Mappings:
Namespace Name Mixin selector named readCustomData
Lnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)V
official a
Lbzm;a(Lfda;)V
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in classZombieEntity
- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();
should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
MobEntity.baseTick()
. - Mappings:
Namespace Name Mixin selector named tick
Lnet/minecraft/entity/Entity;tick()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
official g
Lbzm;g()V
-
interactMob
- Overrides:
interactMob
in classMobEntity
- Mappings:
Namespace Name Mixin selector named interactMob
Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
intermediary method_5992
Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
official b
Lcao;b(Lcut;Lbxi;)Lbxj;
-
canConvertInWater
protected boolean canConvertInWater()- Overrides:
canConvertInWater
in classZombieEntity
- Mappings:
Namespace Name Mixin selector named canConvertInWater
Lnet/minecraft/entity/mob/ZombieEntity;canConvertInWater()Z
intermediary method_7209
Lnet/minecraft/class_1642;method_7209()Z
official gI
Lcso;gI()Z
-
canImmediatelyDespawn
public boolean canImmediatelyDespawn(double distanceSquared) - Overrides:
canImmediatelyDespawn
in classMobEntity
- Mappings:
Namespace Name Mixin selector named canImmediatelyDespawn
Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
intermediary method_5974
Lnet/minecraft/class_1308;method_5974(D)Z
official h
Lcao;h(D)Z
-
isConverting
public boolean isConverting()- Mappings:
Namespace Name Mixin selector named isConverting
Lnet/minecraft/entity/mob/ZombieVillagerEntity;isConverting()Z
intermediary method_7198
Lnet/minecraft/class_1641;method_7198()Z
official gQ
Lcsp;gQ()Z
-
setConverting
- Mappings:
Namespace Name Mixin selector named setConverting
Lnet/minecraft/entity/mob/ZombieVillagerEntity;setConverting(Ljava/util/UUID;I)V
intermediary method_7199
Lnet/minecraft/class_1641;method_7199(Ljava/util/UUID;I)V
official b
Lcsp;b(Ljava/util/UUID;I)V
-
handleStatus
public void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
handleStatus
in classMobEntity
- See Also:
- API Note:
- To send an entity status, use
World.sendEntityStatus(net.minecraft.entity.Entity, byte)
. - Mappings:
Namespace Name Mixin selector named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
official b
Lbzm;b(B)V
-
finishConversion
- Mappings:
Namespace Name Mixin selector named finishConversion
Lnet/minecraft/entity/mob/ZombieVillagerEntity;finishConversion(Lnet/minecraft/server/world/ServerWorld;)V
intermediary method_7197
Lnet/minecraft/class_1641;method_7197(Lnet/minecraft/class_3218;)V
official g
Lcsp;g(Laub;)V
-
setConversionTimer
public void setConversionTimer(int conversionTimer) - Mappings:
Namespace Name Mixin selector named setConversionTimer
Lnet/minecraft/entity/mob/ZombieVillagerEntity;setConversionTimer(I)V
intermediary method_63660
Lnet/minecraft/class_1641;method_63660(I)V
official r
Lcsp;r(I)V
-
getConversionRate
private int getConversionRate()- Mappings:
Namespace Name Mixin selector named getConversionRate
Lnet/minecraft/entity/mob/ZombieVillagerEntity;getConversionRate()I
intermediary method_7194
Lnet/minecraft/class_1641;method_7194()I
official gT
Lcsp;gT()I
-
getSoundPitch
public float getSoundPitch()- Overrides:
getSoundPitch
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getSoundPitch
Lnet/minecraft/entity/LivingEntity;getSoundPitch()F
intermediary method_6017
Lnet/minecraft/class_1309;method_6017()F
official fl
Lcam;fl()F
-
getAmbientSound
- Overrides:
getAmbientSound
in classZombieEntity
- Mappings:
Namespace Name Mixin selector named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
official p
Lcao;p()Layy;
-
getHurtSound
- Overrides:
getHurtSound
in classZombieEntity
- Mappings:
Namespace Name Mixin selector named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
official e
Lcam;e(Lbyb;)Layy;
-
getDeathSound
- Overrides:
getDeathSound
in classZombieEntity
- Mappings:
Namespace Name Mixin selector named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
official f_
Lcam;f_()Layy;
-
getStepSound
- Overrides:
getStepSound
in classZombieEntity
- Mappings:
Namespace Name Mixin selector named getStepSound
Lnet/minecraft/entity/mob/ZombieEntity;getStepSound()Lnet/minecraft/sound/SoundEvent;
intermediary method_7207
Lnet/minecraft/class_1642;method_7207()Lnet/minecraft/class_3414;
official n
Lcso;n()Layy;
-
getSkull
Returns the item stack this entity will drop when killed by a charged creeper.- Overrides:
getSkull
in classZombieEntity
- Mappings:
Namespace Name Mixin selector named getSkull
Lnet/minecraft/entity/mob/ZombieEntity;getSkull()Lnet/minecraft/item/ItemStack;
intermediary method_7215
Lnet/minecraft/class_1642;method_7215()Lnet/minecraft/class_1799;
official gH
Lcso;gH()Ldcv;
-
setOfferData
- Mappings:
Namespace Name Mixin selector named setOfferData
Lnet/minecraft/entity/mob/ZombieVillagerEntity;setOfferData(Lnet/minecraft/village/TradeOfferList;)V
intermediary method_16916
Lnet/minecraft/class_1641;method_16916(Lnet/minecraft/class_1916;)V
official a
Lcsp;a(Ldlr;)V
-
setGossip
- Mappings:
Namespace Name Mixin selector named setGossip
Lnet/minecraft/entity/mob/ZombieVillagerEntity;setGossip(Lnet/minecraft/village/VillagerGossips;)V
intermediary method_21649
Lnet/minecraft/class_1641;method_21649(Lnet/minecraft/class_4136;)V
official a
Lcsp;a(Lcjk;)V
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData) - Overrides:
initialize
in classZombieEntity
- Mappings:
Namespace Name Mixin selector named initialize
Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
intermediary method_5943
Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;)Lnet/minecraft/class_1315;
official a
Lcao;a(Ldnl;Lbxh;Lbzu;Lcbe;)Lcbe;
-
setVillagerData
- Specified by:
setVillagerData
in interfaceVillagerDataContainer
- Mappings:
Namespace Name Mixin selector named setVillagerData
Lnet/minecraft/village/VillagerDataContainer;setVillagerData(Lnet/minecraft/village/VillagerData;)V
intermediary method_7195
Lnet/minecraft/class_3851;method_7195(Lnet/minecraft/class_3850;)V
official a
Lcuh;a(Lcug;)V
-
getVillagerData
- Specified by:
getVillagerData
in interfaceVillagerDataContainer
- Mappings:
Namespace Name Mixin selector named getVillagerData
Lnet/minecraft/village/VillagerDataContainer;getVillagerData()Lnet/minecraft/village/VillagerData;
intermediary method_7231
Lnet/minecraft/class_3851;method_7231()Lnet/minecraft/class_3850;
official gR
Lcuh;gR()Lcug;
-
getExperience
public int getExperience()- Mappings:
Namespace Name Mixin selector named getExperience
Lnet/minecraft/entity/mob/ZombieVillagerEntity;getExperience()I
intermediary method_35194
Lnet/minecraft/class_1641;method_35194()I
official gS
Lcsp;gS()I
-
setExperience
public void setExperience(int experience) - Mappings:
Namespace Name Mixin selector named setExperience
Lnet/minecraft/entity/mob/ZombieVillagerEntity;setExperience(I)V
intermediary method_19622
Lnet/minecraft/class_1641;method_19622(I)V
official s
Lcsp;s(I)V
-
get
- Specified by:
get
in interfaceComponentsAccess
- Overrides:
get
in classEntity
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/component/ComponentsAccess;get(Lnet/minecraft/component/ComponentType;)Ljava/lang/Object;
intermediary method_58694
Lnet/minecraft/class_9473;method_58694(Lnet/minecraft/class_9331;)Ljava/lang/Object;
official a
Lkl;a(Lkp;)Ljava/lang/Object;
-
copyComponentsFrom
- Overrides:
copyComponentsFrom
in classEntity
- Mappings:
Namespace Name Mixin selector named copyComponentsFrom
Lnet/minecraft/entity/Entity;copyComponentsFrom(Lnet/minecraft/component/ComponentsAccess;)V
intermediary method_66649
Lnet/minecraft/class_1297;method_66649(Lnet/minecraft/class_9473;)V
official a
Lbzm;a(Lkl;)V
-
setApplicableComponent
- Overrides:
setApplicableComponent
in classEntity
- Mappings:
Namespace Name Mixin selector named setApplicableComponent
Lnet/minecraft/entity/Entity;setApplicableComponent(Lnet/minecraft/component/ComponentType;Ljava/lang/Object;)Z
intermediary method_66654
Lnet/minecraft/class_1297;method_66654(Lnet/minecraft/class_9331;Ljava/lang/Object;)Z
official b
Lbzm;b(Lkp;Ljava/lang/Object;)Z
-