Package net.minecraft.entity.mob
Class ZombieVillagerEntity
- All Implemented Interfaces:
Monster
,CommandOutput
,Nameable
,VillagerDataContainer
,EntityLike
- Mappings:
Namespace Name official bsk
intermediary net/minecraft/class_1641
named net/minecraft/entity/mob/ZombieVillagerEntity
-
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
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private static final TrackedData<Boolean>
private static final int
private static final int
private static final int
private static final int
private static final org.slf4j.Logger
private @Nullable NbtElement
private @Nullable NbtCompound
private static final TrackedData<VillagerData>
private int
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, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, field_38932, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, MINIMUM_DROPPED_XP_PER_EQUIPMENT, moveControl, navigation, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
Fields inherited from interface net.minecraft.entity.mob.Monster
NORMAL_MONSTER_XP, SMALL_MONSTER_XP, STRONG_MONSTER_XP, STRONGER_MONSTER_XP, WITHER_XP, ZERO_XP
-
Constructor Summary
ConstructorDescriptionZombieVillagerEntity
(EntityType<? extends ZombieVillagerEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
canImmediatelyDespawn
(double distanceSquared) private void
finishConversion
(ServerWorld world) private int
getHurtSound
(DamageSource source) protected ItemStack
getSkull()
Returns the item stack this entity will drop when killed by a charged creeper.float
int
getXp()
void
handleStatus
(byte status) Called on the client when the entity receives an entity status from the server.protected void
Initializes data tracker.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) interactMob
(PlayerEntity player, Hand hand) boolean
void
Reads custom data fromnbt
.private void
setConverting
(@Nullable UUID uuid, int delay) void
setGossipData
(NbtElement gossipData) void
setOfferData
(NbtCompound offerData) void
setVillagerData
(VillagerData villagerData) void
setXp
(int xp) void
tick()
Ticks this entity.void
Writes custom data tonbt
.Methods inherited from class net.minecraft.entity.mob.ZombieEntity
applyAttributeModifiers, burnsInDaylight, canBreakDoors, canGather, canPickupItem, convertInWater, convertTo, createZombieAttributes, damage, dropEquipment, getActiveEyeHeight, getGroup, getHeightOffset, getXpToDrop, initAttributes, initCustomGoals, initEquipment, initGoals, isBaby, isConvertingInWater, onKilledOther, onTrackedDataSet, playStepSound, setBaby, setCanBreakDoors, shouldBeBaby, shouldBreakDoors, tickMovement, tryAttack
Methods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getArrowType, getFallSounds, getPathfindingFavor, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropLoot, shouldDropXp, updateDespawnCounter
Methods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, shouldFollowLeash, updateForLeashLength, updateLeash
Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLimitPerChunk, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPotentialEscapePositions, getSafeFallDistance, getTarget, getVisibilityCache, hasPositionTarget, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, 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
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playEquipSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMessageSourceProfile, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldownn, hasPrimaryPassenger, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, 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, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
field_36334
private static final org.slf4j.Logger field_36334- Mappings:
Namespace Name Mixin selector official b
Lbsk;b:Lorg/slf4j/Logger;
intermediary field_36334
Lnet/minecraft/class_1641;field_36334:Lorg/slf4j/Logger;
named field_36334
Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_36334:Lorg/slf4j/Logger;
-
CONVERTING
- Mappings:
Namespace Name Mixin selector official c
Lbsk;c:Laaj;
intermediary field_7423
Lnet/minecraft/class_1641;field_7423:Lnet/minecraft/class_2940;
named CONVERTING
Lnet/minecraft/entity/mob/ZombieVillagerEntity;CONVERTING:Lnet/minecraft/entity/data/TrackedData;
-
VILLAGER_DATA
- Mappings:
Namespace Name Mixin selector official d
Lbsk;d:Laaj;
intermediary field_7420
Lnet/minecraft/class_1641;field_7420:Lnet/minecraft/class_2940;
named VILLAGER_DATA
Lnet/minecraft/entity/mob/ZombieVillagerEntity;VILLAGER_DATA:Lnet/minecraft/entity/data/TrackedData;
-
field_30523
private static final int field_30523- See Also:
- Mappings:
Namespace Name Mixin selector official ca
Lbsk;ca:I
intermediary field_30523
Lnet/minecraft/class_1641;field_30523:I
named field_30523
Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30523:I
-
field_30520
private static final int field_30520- See Also:
- Mappings:
Namespace Name Mixin selector official cb
Lbsk;cb:I
intermediary field_30520
Lnet/minecraft/class_1641;field_30520:I
named field_30520
Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30520:I
-
field_30521
private static final int field_30521- See Also:
- Mappings:
Namespace Name Mixin selector official cc
Lbsk;cc:I
intermediary field_30521
Lnet/minecraft/class_1641;field_30521:I
named field_30521
Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30521:I
-
field_30522
private static final int field_30522- See Also:
- Mappings:
Namespace Name Mixin selector official cd
Lbsk;cd:I
intermediary field_30522
Lnet/minecraft/class_1641;field_30522:I
named field_30522
Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30522:I
-
conversionTimer
private int conversionTimer- Mappings:
Namespace Name Mixin selector official ce
Lbsk;ce:I
intermediary field_7422
Lnet/minecraft/class_1641;field_7422:I
named conversionTimer
Lnet/minecraft/entity/mob/ZombieVillagerEntity;conversionTimer:I
-
converter
- Mappings:
Namespace Name Mixin selector official cf
Lbsk;cf:Ljava/util/UUID;
intermediary field_7421
Lnet/minecraft/class_1641;field_7421:Ljava/util/UUID;
named converter
Lnet/minecraft/entity/mob/ZombieVillagerEntity;converter:Ljava/util/UUID;
-
gossipData
- Mappings:
Namespace Name Mixin selector official cg
Lbsk;cg:Lqc;
intermediary field_20299
Lnet/minecraft/class_1641;field_20299:Lnet/minecraft/class_2520;
named gossipData
Lnet/minecraft/entity/mob/ZombieVillagerEntity;gossipData:Lnet/minecraft/nbt/NbtElement;
-
offerData
- Mappings:
Namespace Name Mixin selector official ch
Lbsk;ch:Lpj;
intermediary field_17047
Lnet/minecraft/class_1641;field_17047:Lnet/minecraft/class_2487;
named offerData
Lnet/minecraft/entity/mob/ZombieVillagerEntity;offerData:Lnet/minecraft/nbt/NbtCompound;
-
xp
private int xp- Mappings:
Namespace Name Mixin selector official ci
Lbsk;ci:I
intermediary field_18877
Lnet/minecraft/class_1641;field_18877:I
named xp
Lnet/minecraft/entity/mob/ZombieVillagerEntity;xp:I
-
-
Constructor Details
-
ZombieVillagerEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbbn;<init>(Lbbr;Lcgx;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTracker
in classZombieEntity
- Mappings:
Namespace Name Mixin selector official a_
Lbbn;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
writeCustomDataToNbt
Writes custom data tonbt
. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Overrides:
writeCustomDataToNbt
in classZombieEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbbn;b(Lpj;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
Reads custom data fromnbt
. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbt
might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readCustomDataFromNbt
in classZombieEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbbn;a(Lpj;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in classZombieEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official k
Lbbn;k()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
named tick
Lnet/minecraft/entity/Entity;tick()V
-
interactMob
- Overrides:
interactMob
in classMobEntity
- Mappings:
Namespace Name Mixin selector official b
Lbce;b(Lbuc;Lbai;)Lbaj;
intermediary method_5992
Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interactMob
Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
canConvertInWater
protected boolean canConvertInWater()- Overrides:
canConvertInWater
in classZombieEntity
- Mappings:
Namespace Name Mixin selector official fK
Lbsj;fK()Z
intermediary method_7209
Lnet/minecraft/class_1642;method_7209()Z
named canConvertInWater
Lnet/minecraft/entity/mob/ZombieEntity;canConvertInWater()Z
-
canImmediatelyDespawn
public boolean canImmediatelyDespawn(double distanceSquared) - Overrides:
canImmediatelyDespawn
in classMobEntity
- Mappings:
Namespace Name Mixin selector official h
Lbce;h(D)Z
intermediary method_5974
Lnet/minecraft/class_1308;method_5974(D)Z
named canImmediatelyDespawn
Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
-
isConverting
public boolean isConverting()- Mappings:
Namespace Name Mixin selector official fT
Lbsk;fT()Z
intermediary method_7198
Lnet/minecraft/class_1641;method_7198()Z
named isConverting
Lnet/minecraft/entity/mob/ZombieVillagerEntity;isConverting()Z
-
setConverting
- Mappings:
Namespace Name Mixin selector official a
Lbsk;a(Ljava/util/UUID;I)V
intermediary method_7199
Lnet/minecraft/class_1641;method_7199(Ljava/util/UUID;I)V
named setConverting
Lnet/minecraft/entity/mob/ZombieVillagerEntity;setConverting(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:
- Mappings:
Namespace Name Mixin selector official a
Lbbn;a(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
-
finishConversion
- Mappings:
Namespace Name Mixin selector official c
Lbsk;c(Lagg;)V
intermediary method_7197
Lnet/minecraft/class_1641;method_7197(Lnet/minecraft/class_3218;)V
named finishConversion
Lnet/minecraft/entity/mob/ZombieVillagerEntity;finishConversion(Lnet/minecraft/server/world/ServerWorld;)V
-
getConversionRate
private int getConversionRate()- Mappings:
Namespace Name Mixin selector official fW
Lbsk;fW()I
intermediary method_7194
Lnet/minecraft/class_1641;method_7194()I
named getConversionRate
Lnet/minecraft/entity/mob/ZombieVillagerEntity;getConversionRate()I
-
getSoundPitch
public float getSoundPitch()- Overrides:
getSoundPitch
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eD
Lbcc;eD()F
intermediary method_6017
Lnet/minecraft/class_1309;method_6017()F
named getSoundPitch
Lnet/minecraft/entity/LivingEntity;getSoundPitch()F
-
getAmbientSound
- Overrides:
getAmbientSound
in classZombieEntity
- Mappings:
Namespace Name Mixin selector official r
Lbce;r()Lajv;
intermediary method_5994
Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
named getAmbientSound
Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSound
in classZombieEntity
- Mappings:
Namespace Name Mixin selector official c
Lbcc;c(Lbaw;)Lajv;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSound
in classZombieEntity
- Mappings:
Namespace Name Mixin selector official x_
Lbcc;x_()Lajv;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getStepSound
- Overrides:
getStepSound
in classZombieEntity
- Mappings:
Namespace Name Mixin selector official t
Lbsj;t()Lajv;
intermediary method_7207
Lnet/minecraft/class_1642;method_7207()Lnet/minecraft/class_3414;
named getStepSound
Lnet/minecraft/entity/mob/ZombieEntity;getStepSound()Lnet/minecraft/sound/SoundEvent;
-
getSkull
Returns the item stack this entity will drop when killed by a charged creeper.- Overrides:
getSkull
in classZombieEntity
- Mappings:
Namespace Name Mixin selector official fJ
Lbsj;fJ()Lcax;
intermediary method_7215
Lnet/minecraft/class_1642;method_7215()Lnet/minecraft/class_1799;
named getSkull
Lnet/minecraft/entity/mob/ZombieEntity;getSkull()Lnet/minecraft/item/ItemStack;
-
setOfferData
- Mappings:
Namespace Name Mixin selector official c
Lbsk;c(Lpj;)V
intermediary method_16916
Lnet/minecraft/class_1641;method_16916(Lnet/minecraft/class_2487;)V
named setOfferData
Lnet/minecraft/entity/mob/ZombieVillagerEntity;setOfferData(Lnet/minecraft/nbt/NbtCompound;)V
-
setGossipData
- Mappings:
Namespace Name Mixin selector official a
Lbsk;a(Lqc;)V
intermediary method_21649
Lnet/minecraft/class_1641;method_21649(Lnet/minecraft/class_2520;)V
named setGossipData
Lnet/minecraft/entity/mob/ZombieVillagerEntity;setGossipData(Lnet/minecraft/nbt/NbtElement;)V
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt) - Overrides:
initialize
in classZombieEntity
- Mappings:
Namespace Name Mixin selector official a
Lbce;a(Lchm;Lbah;Lbcg;Lbcu;Lpj;)Lbcu;
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_2487;)Lnet/minecraft/class_1315;
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/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
setVillagerData
- Specified by:
setVillagerData
in interfaceVillagerDataContainer
- Mappings:
Namespace Name Mixin selector official a
Lbtr;a(Lbtq;)V
intermediary method_7195
Lnet/minecraft/class_3851;method_7195(Lnet/minecraft/class_3850;)V
named setVillagerData
Lnet/minecraft/village/VillagerDataContainer;setVillagerData(Lnet/minecraft/village/VillagerData;)V
-
getVillagerData
- Specified by:
getVillagerData
in interfaceVillagerDataContainer
- Mappings:
Namespace Name Mixin selector official fU
Lbtr;fU()Lbtq;
intermediary method_7231
Lnet/minecraft/class_3851;method_7231()Lnet/minecraft/class_3850;
named getVillagerData
Lnet/minecraft/village/VillagerDataContainer;getVillagerData()Lnet/minecraft/village/VillagerData;
-
getXp
public int getXp()- Mappings:
Namespace Name Mixin selector official fV
Lbsk;fV()I
intermediary method_35194
Lnet/minecraft/class_1641;method_35194()I
named getXp
Lnet/minecraft/entity/mob/ZombieVillagerEntity;getXp()I
-
setXp
public void setXp(int xp) - Mappings:
Namespace Name Mixin selector official a
Lbsk;a(I)V
intermediary method_19622
Lnet/minecraft/class_1641;method_19622(I)V
named setXp
Lnet/minecraft/entity/mob/ZombieVillagerEntity;setXp(I)V
-