Package net.minecraft.entity.mob
Class ZombieVillagerEntity
- All Implemented Interfaces:
Attackable,Monster,Targeter,VariantHolder<VillagerType>,CommandOutput,Nameable,VillagerDataContainer,EntityLike
- Mappings:
Namespace Name official bwuintermediary net/minecraft/class_1641named net/minecraft/entity/mob/ZombieVillagerEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.ZombieEntity
ZombieEntity.ZombieDataNested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final TrackedData<Boolean>private static final intprivate static final intprivate static final intprivate static final intprivate @Nullable NbtElementprivate static final Loggerprivate @Nullable NbtCompoundprivate static final TrackedData<VillagerData>private intFields inherited from class net.minecraft.entity.mob.ZombieEntity
field_30515, field_30516, field_30517, field_30519, field_41028Fields inherited from class net.minecraft.entity.mob.PathAwareEntity
DEFAULT_PATHFINDING_FAVORFields 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, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, 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, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, 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_FLAGFields 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_44870, field_44871, field_44872, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFireFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMYFields 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
ConstructorsConstructorDescriptionZombieVillagerEntity(EntityType<? extends ZombieVillagerEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleancanImmediatelyDespawn(double distanceSquared) private voidfinishConversion(ServerWorld world) private intgetHurtSound(DamageSource source) protected ItemStackgetSkull()Returns the item stack this entity will drop when killed by a charged creeper.floatintgetXp()voidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.protected voidInitializes data tracker.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) interactMob(PlayerEntity player, Hand hand) booleanvoidReads custom data fromnbt.private voidsetConverting(@Nullable UUID uuid, int delay) voidsetGossipData(NbtElement gossipData) voidsetOfferData(NbtCompound offerData) voidsetVillagerData(VillagerData villagerData) voidsetXp(int xp) voidtick()Ticks this entity.voidWrites 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, tryAttackMethods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getFallSounds, getPathfindingFavor, getProjectileType, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropLoot, shouldDropXp, updateDespawnCounterMethods inherited from class net.minecraft.entity.mob.PathAwareEntity
canSpawn, getFollowLeashSpeed, getPathfindingFavor, isNavigating, shouldFollowLeash, updateForLeashLength, updateLeashMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickUpLoot, canSpawn, canTarget, canUseRangedWeapon, checkDespawn, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getControllingPassenger, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLimitPerChunk, getLookControl, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getSquaredDistanceToAttackPosOf, getTarget, getVisibilityCache, hasPositionTarget, interact, isAffectedByDaylight, isAiDisabled, isAttacking, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isPersistent, lookAtEntity, loot, method_51851, mobTick, movesIndependently, onEatingGrass, onFinishPathfinding, onPlayerSpawnedChild, onStartPathfinding, 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, updateGoalControlsMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, blockedByShield, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canUsePortals, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackPos, getAttributeBaseValue, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getSaddledSpeed, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, 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, onDamaged, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, remove, 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, tickControlled, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canSprintAsVehicle, canStartRiding, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCommandTags, getControllingVehicle, getCustomName, getDamageSources, 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, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getNameLabelHeight, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPosWithYOffset, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, limitFallDistance, method_51848, method_51849, method_51850, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, 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, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilencedMethods inherited from interface net.minecraft.village.VillagerDataContainer
getVariant, setVariant
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLbwu;b:Lorg/slf4j/Logger;intermediary field_36334Lnet/minecraft/class_1641;field_36334:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/entity/mob/ZombieVillagerEntity;LOGGER:Lorg/slf4j/Logger;
-
CONVERTING
- Mappings:
Namespace Name Mixin selector official cLbwu;c:Laby;intermediary field_7423Lnet/minecraft/class_1641;field_7423:Lnet/minecraft/class_2940;named CONVERTINGLnet/minecraft/entity/mob/ZombieVillagerEntity;CONVERTING:Lnet/minecraft/entity/data/TrackedData;
-
VILLAGER_DATA
- Mappings:
Namespace Name Mixin selector official dLbwu;d:Laby;intermediary field_7420Lnet/minecraft/class_1641;field_7420:Lnet/minecraft/class_2940;named VILLAGER_DATALnet/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 bXLbwu;bX:Iintermediary field_30523Lnet/minecraft/class_1641;field_30523:Inamed field_30523Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30523:I
-
field_30520
private static final int field_30520- See Also:
- Mappings:
Namespace Name Mixin selector official bYLbwu;bY:Iintermediary field_30520Lnet/minecraft/class_1641;field_30520:Inamed field_30520Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30520:I
-
field_30521
private static final int field_30521- See Also:
- Mappings:
Namespace Name Mixin selector official bZLbwu;bZ:Iintermediary field_30521Lnet/minecraft/class_1641;field_30521:Inamed field_30521Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30521:I
-
field_30522
private static final int field_30522- See Also:
- Mappings:
Namespace Name Mixin selector official caLbwu;ca:Iintermediary field_30522Lnet/minecraft/class_1641;field_30522:Inamed field_30522Lnet/minecraft/entity/mob/ZombieVillagerEntity;field_30522:I
-
conversionTimer
private int conversionTimer- Mappings:
Namespace Name Mixin selector official cbLbwu;cb:Iintermediary field_7422Lnet/minecraft/class_1641;field_7422:Inamed conversionTimerLnet/minecraft/entity/mob/ZombieVillagerEntity;conversionTimer:I
-
converter
- Mappings:
Namespace Name Mixin selector official ccLbwu;cc:Ljava/util/UUID;intermediary field_7421Lnet/minecraft/class_1641;field_7421:Ljava/util/UUID;named converterLnet/minecraft/entity/mob/ZombieVillagerEntity;converter:Ljava/util/UUID;
-
gossipData
- Mappings:
Namespace Name Mixin selector official cdLbwu;cd:Lrk;intermediary field_20299Lnet/minecraft/class_1641;field_20299:Lnet/minecraft/class_2520;named gossipDataLnet/minecraft/entity/mob/ZombieVillagerEntity;gossipData:Lnet/minecraft/nbt/NbtElement;
-
offerData
- Mappings:
Namespace Name Mixin selector official ceLbwu;ce:Lqr;intermediary field_17047Lnet/minecraft/class_1641;field_17047:Lnet/minecraft/class_2487;named offerDataLnet/minecraft/entity/mob/ZombieVillagerEntity;offerData:Lnet/minecraft/nbt/NbtCompound;
-
xp
private int xp- Mappings:
Namespace Name Mixin selector official cfLbwu;cf:Iintermediary field_18877Lnet/minecraft/class_1641;field_18877:Inamed xpLnet/minecraft/entity/mob/ZombieVillagerEntity;xp:I
-
-
Constructor Details
-
ZombieVillagerEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbfh;<init>(Lbfl;Lcmk;)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
-
-
Method Details
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTrackerin classZombieEntity- Mappings:
Namespace Name Mixin selector official a_Lbfh;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/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:
writeCustomDataToNbtin classZombieEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbfh;b(Lqr;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/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.
nbtmight 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:
readCustomDataFromNbtin classZombieEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbfh;a(Lqr;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
tick
public void tick()Ticks this entity.- Overrides:
tickin classZombieEntity- See Also:
- Mappings:
Namespace Name Mixin selector official lLbfh;l()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
interactMob
- Overrides:
interactMobin classMobEntity- Mappings:
Namespace Name Mixin selector official bLbfz;b(Lbym;Lbdv;)Lbdw;intermediary method_5992Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;named interactMobLnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
canConvertInWater
protected boolean canConvertInWater()- Overrides:
canConvertInWaterin classZombieEntity- Mappings:
Namespace Name Mixin selector official fYLbwt;fY()Zintermediary method_7209Lnet/minecraft/class_1642;method_7209()Znamed canConvertInWaterLnet/minecraft/entity/mob/ZombieEntity;canConvertInWater()Z
-
canImmediatelyDespawn
public boolean canImmediatelyDespawn(double distanceSquared) - Overrides:
canImmediatelyDespawnin classMobEntity- Mappings:
Namespace Name Mixin selector official hLbfz;h(D)Zintermediary method_5974Lnet/minecraft/class_1308;method_5974(D)Znamed canImmediatelyDespawnLnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
-
isConverting
public boolean isConverting()- Mappings:
Namespace Name Mixin selector official ghLbwu;gh()Zintermediary method_7198Lnet/minecraft/class_1641;method_7198()Znamed isConvertingLnet/minecraft/entity/mob/ZombieVillagerEntity;isConverting()Z
-
setConverting
- Mappings:
Namespace Name Mixin selector official aLbwu;a(Ljava/util/UUID;I)Vintermediary method_7199Lnet/minecraft/class_1641;method_7199(Ljava/util/UUID;I)Vnamed setConvertingLnet/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:
handleStatusin classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbfh;b(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
finishConversion
- Mappings:
Namespace Name Mixin selector official cLbwu;c(Laif;)Vintermediary method_7197Lnet/minecraft/class_1641;method_7197(Lnet/minecraft/class_3218;)Vnamed finishConversionLnet/minecraft/entity/mob/ZombieVillagerEntity;finishConversion(Lnet/minecraft/server/world/ServerWorld;)V
-
getConversionRate
private int getConversionRate()- Mappings:
Namespace Name Mixin selector official gkLbwu;gk()Iintermediary method_7194Lnet/minecraft/class_1641;method_7194()Inamed getConversionRateLnet/minecraft/entity/mob/ZombieVillagerEntity;getConversionRate()I
-
getSoundPitch
public float getSoundPitch()- Overrides:
getSoundPitchin classLivingEntity- Mappings:
Namespace Name Mixin selector official eSLbfx;eS()Fintermediary method_6017Lnet/minecraft/class_1309;method_6017()Fnamed getSoundPitchLnet/minecraft/entity/LivingEntity;getSoundPitch()F
-
getAmbientSound
- Overrides:
getAmbientSoundin classZombieEntity- Mappings:
Namespace Name Mixin selector official rLbfz;r()Lamg;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classZombieEntity- Mappings:
Namespace Name Mixin selector official dLbfx;d(Lbem;)Lamg;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classZombieEntity- Mappings:
Namespace Name Mixin selector official g_Lbfx;g_()Lamg;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getStepSound
- Overrides:
getStepSoundin classZombieEntity- Mappings:
Namespace Name Mixin selector official tLbwt;t()Lamg;intermediary method_7207Lnet/minecraft/class_1642;method_7207()Lnet/minecraft/class_3414;named getStepSoundLnet/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:
getSkullin classZombieEntity- Mappings:
Namespace Name Mixin selector official fXLbwt;fX()Lcfx;intermediary method_7215Lnet/minecraft/class_1642;method_7215()Lnet/minecraft/class_1799;named getSkullLnet/minecraft/entity/mob/ZombieEntity;getSkull()Lnet/minecraft/item/ItemStack;
-
setOfferData
- Mappings:
Namespace Name Mixin selector official cLbwu;c(Lqr;)Vintermediary method_16916Lnet/minecraft/class_1641;method_16916(Lnet/minecraft/class_2487;)Vnamed setOfferDataLnet/minecraft/entity/mob/ZombieVillagerEntity;setOfferData(Lnet/minecraft/nbt/NbtCompound;)V
-
setGossipData
- Mappings:
Namespace Name Mixin selector official aLbwu;a(Lrk;)Vintermediary method_21649Lnet/minecraft/class_1641;method_21649(Lnet/minecraft/class_2520;)Vnamed setGossipDataLnet/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:
initializein classZombieEntity- Mappings:
Namespace Name Mixin selector official aLbfz;a(Lcmz;Lbdu;Lbgb;Lbgr;Lqr;)Lbgr;intermediary method_5943Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;named initializeLnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
-
setVillagerData
- Specified by:
setVillagerDatain interfaceVillagerDataContainer- Mappings:
Namespace Name Mixin selector official aLbyb;a(Lbya;)Vintermediary method_7195Lnet/minecraft/class_3851;method_7195(Lnet/minecraft/class_3850;)Vnamed setVillagerDataLnet/minecraft/village/VillagerDataContainer;setVillagerData(Lnet/minecraft/village/VillagerData;)V
-
getVillagerData
- Specified by:
getVillagerDatain interfaceVillagerDataContainer- Mappings:
Namespace Name Mixin selector official giLbyb;gi()Lbya;intermediary method_7231Lnet/minecraft/class_3851;method_7231()Lnet/minecraft/class_3850;named getVillagerDataLnet/minecraft/village/VillagerDataContainer;getVillagerData()Lnet/minecraft/village/VillagerData;
-
getXp
public int getXp()- Mappings:
Namespace Name Mixin selector official gjLbwu;gj()Iintermediary method_35194Lnet/minecraft/class_1641;method_35194()Inamed getXpLnet/minecraft/entity/mob/ZombieVillagerEntity;getXp()I
-
setXp
public void setXp(int xp) - Mappings:
Namespace Name Mixin selector official bLbwu;b(I)Vintermediary method_19622Lnet/minecraft/class_1641;method_19622(I)Vnamed setXpLnet/minecraft/entity/mob/ZombieVillagerEntity;setXp(I)V
-