Class WardenEntity
- All Implemented Interfaces:
ComponentsAccess
,Attackable
,DataTracked
,EquipmentHolder
,Leashable
,Monster
,Targeter
,ScoreHolder
,Nameable
,EntityLike
,UniquelyIdentifiable
,Vibrations
,ServerWaypoint
,Waypoint
- Mappings:
Namespace Name named net/minecraft/entity/mob/WardenEntity
intermediary net/minecraft/class_7260
official ctw
-
Nested Class Summary
Nested ClassesNested 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.event.Vibrations
Vibrations.Callback, Vibrations.ListenerData, Vibrations.Ticker, Vibrations.VibrationListener
Nested classes/interfaces inherited from interface net.minecraft.world.waypoint.Waypoint
Waypoint.Config
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData
<Integer> (package private) WardenAngerManager
private static final int
private static final int
private static final float
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final float
private static final float
private static final int
private static final int
private static final int
private static final int
private final EntityGameEventHandler
<Vibrations.VibrationListener> private int
private static final float
private int
private int
private static final int
private static final float
private int
private final Vibrations.Callback
private Vibrations.ListenerData
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.event.Vibrations
DEFAULT_FREQUENCY, FREQUENCIES, RESONATIONS
Fields inherited from interface net.minecraft.world.waypoint.Waypoint
DEFAULT_PLAYER_RANGE, DISABLE_TRACKING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addDarknessToClosePlayers
(ServerWorld world, Vec3d pos, @Nullable Entity entity, int range) private void
addDigParticles
(AnimationState animationState) protected float
boolean
canImmediatelyDespawn
(double distanceSquared) boolean
protected boolean
canStartRiding
(Entity entity) Returns whether this entity can rideentity
.protected EntityNavigation
createNavigation
(World world) createSpawnPacket
(EntityTrackerEntry entityTrackerEntry) Returns a packet to notify the clients of the entity's spawning.boolean
damage
(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.protected Brain
<?> deserializeBrain
(com.mojang.serialization.Dynamic<?> dynamic) protected @Nullable SoundEvent
int
getAnger()
private int
getBaseDimensions
(EntityPose pose) getBrain()
protected SoundEvent
float
getHeartAlpha
(float tickProgress) private int
protected SoundEvent
getHurtSound
(DamageSource source) float
getPathfindingFavor
(BlockPos pos, WorldView world) protected float
float
getTendrilAlpha
(float tickProgress) float
void
handleStatus
(byte status) Called on the client when the entity receives an entity status from the server.void
increaseAngerAt
(@Nullable Entity entity) void
increaseAngerAt
(@Nullable Entity entity, int amount, boolean listening) protected void
initDataTracker
(DataTracker.Builder builder) Initializes data tracker.initialize
(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData) (package private) boolean
boolean
isImmuneToExplosion
(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage.boolean
isInvulnerableTo
(ServerWorld world, DamageSource source) boolean
Returns whether the entity can be pushed by other entities.boolean
isValidTarget
(@Nullable Entity entity) protected void
mobTick
(ServerWorld world) boolean
Returns whether the entity should not emit vibrations.void
onSpawnPacket
(EntitySpawnS2CPacket packet) Called on the client when the entity receives a spawn packet.void
onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.private void
protected void
playStepSound
(BlockPos pos, BlockState state) protected void
protected void
readCustomData
(ReadView view) void
removeSuspect
(Entity entity) protected void
void
tick()
Ticks this entity.boolean
tryAttack
(ServerWorld world, Entity target) private void
void
updateAttackTarget
(LivingEntity target) void
updateEventHandler
(BiConsumer<EntityGameEventHandler<?>, ServerWorld> callback) Called when the entity is loaded to register game event handlers.protected void
writeCustomData
(WriteView view) Methods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getFallSounds, getProjectileType, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropExperience, shouldDropLoot, tickMovement, 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, canGather, canMobSpawn, cannotDespawn, canPickupItem, canPickUpLoot, canRemoveSaddle, canTarget, canUseRangedWeapon, checkDespawn, clampHeadYaw, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, convertTo, createBodyControl, createEquipmentInventory, createMobAttributes, dropAllForeignEquipment, dropEquipment, dropForeignEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipBodyArmor, equipLootStack, getAttackBox, getBodyArmor, getControllingPassenger, getEquipmentDropChances, getEquipmentForSlot, getExperienceToDrop, getItemPickUpRangeExpander, getJumpControl, getLeashData, getLimitPerChunk, getLookControl, getLootTableKey, getLootTableSeed, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPreferredWeapons, getSafeFallDistance, getTargetInBrain, getVisibilityCache, hasPositionTarget, hasSaddleEquipped, initEquipment, initGoals, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isInAttackRange, isInPositionTargetRange, isInPositionTargetRange, isInPositionTargetRange, isLeftHanded, isPersistent, isWearingBodyArmor, lookAtEntity, loot, movesIndependently, onEatingGrass, onFinishPathfinding, onLeashRemoved, onPlayerSpawnedChild, onStartPathfinding, playAmbientSound, playAttackSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, setAiDisabled, setAttacking, setBaby, 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, 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, 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, getSoundPitch, getStackInArm, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getWaypointConfig, getWeaponStack, getYaw, giveOrDropStack, handleFallDamage, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, hasWaypoint, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBaby, isBlocking, isClimbing, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInCreativeMode, isInsideWall, isInSwimmingPose, isJumping, isMobOrPlayer, isPartOfGame, isSleeping, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onRemoval, onRemove, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, playBlockFallSound, playSound, positionInPortal, positionInPortal, 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, canAddPassenger, canAvoidTraps, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canTeleportBetween, castComponentValue, changeLookDirection, clearQueuedCollisionChecks, clientDamage, collides, collidesWith, collidesWithFluid, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, defrost, detach, detachAllHeldLeashes, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, get, 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, getType, 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, 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, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onHeldLeashUpdate, onKilledOther, 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, setApplicableComponent, 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, 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
-
field_38142
private static final int field_38142- See Also:
- Mappings:
Namespace Name Mixin selector named field_38142
Lnet/minecraft/entity/mob/WardenEntity;field_38142:I
intermediary field_38142
Lnet/minecraft/class_7260;field_38142:I
official ck
Lctw;ck:I
-
field_38860
private static final int field_38860- See Also:
- Mappings:
Namespace Name Mixin selector named field_38860
Lnet/minecraft/entity/mob/WardenEntity;field_38860:I
intermediary field_38860
Lnet/minecraft/class_7260;field_38860:I
official cl
Lctw;cl:I
-
MAX_HEALTH
private static final int MAX_HEALTH- See Also:
- Mappings:
Namespace Name Mixin selector named MAX_HEALTH
Lnet/minecraft/entity/mob/WardenEntity;MAX_HEALTH:I
intermediary field_38143
Lnet/minecraft/class_7260;field_38143:I
official cm
Lctw;cm:I
-
MOVEMENT_SPEED
private static final float MOVEMENT_SPEED- See Also:
- Mappings:
Namespace Name Mixin selector named MOVEMENT_SPEED
Lnet/minecraft/entity/mob/WardenEntity;MOVEMENT_SPEED:F
intermediary field_38144
Lnet/minecraft/class_7260;field_38144:F
official cn
Lctw;cn:F
-
KNOCKBACK_RESISTANCE
private static final float KNOCKBACK_RESISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector named KNOCKBACK_RESISTANCE
Lnet/minecraft/entity/mob/WardenEntity;KNOCKBACK_RESISTANCE:F
intermediary field_38145
Lnet/minecraft/class_7260;field_38145:F
official co
Lctw;co:F
-
ATTACK_KNOCKBACK
private static final float ATTACK_KNOCKBACK- See Also:
- Mappings:
Namespace Name Mixin selector named ATTACK_KNOCKBACK
Lnet/minecraft/entity/mob/WardenEntity;ATTACK_KNOCKBACK:F
intermediary field_38146
Lnet/minecraft/class_7260;field_38146:F
official cp
Lctw;cp:F
-
ATTACK_DAMAGE
private static final int ATTACK_DAMAGE- See Also:
- Mappings:
Namespace Name Mixin selector named ATTACK_DAMAGE
Lnet/minecraft/entity/mob/WardenEntity;ATTACK_DAMAGE:I
intermediary field_38147
Lnet/minecraft/class_7260;field_38147:I
official cq
Lctw;cq:I
-
FOLLOW_RANGE
private static final int FOLLOW_RANGE- See Also:
- Mappings:
Namespace Name Mixin selector named FOLLOW_RANGE
Lnet/minecraft/entity/mob/WardenEntity;FOLLOW_RANGE:I
intermediary field_52503
Lnet/minecraft/class_7260;field_52503:I
official cr
Lctw;cr:I
-
ANGER
- Mappings:
Namespace Name Mixin selector named ANGER
Lnet/minecraft/entity/mob/WardenEntity;ANGER:Lnet/minecraft/entity/data/TrackedData;
intermediary field_38148
Lnet/minecraft/class_7260;field_38148:Lnet/minecraft/class_2940;
official cs
Lctw;cs:Lalh;
-
field_38149
private static final int field_38149- See Also:
- Mappings:
Namespace Name Mixin selector named field_38149
Lnet/minecraft/entity/mob/WardenEntity;field_38149:I
intermediary field_38149
Lnet/minecraft/class_7260;field_38149:I
official ct
Lctw;ct:I
-
DARKNESS_EFFECT_DURATION
private static final int DARKNESS_EFFECT_DURATION- See Also:
- Mappings:
Namespace Name Mixin selector named DARKNESS_EFFECT_DURATION
Lnet/minecraft/entity/mob/WardenEntity;DARKNESS_EFFECT_DURATION:I
intermediary field_38150
Lnet/minecraft/class_7260;field_38150:I
official cu
Lctw;cu:I
-
field_38151
private static final int field_38151- See Also:
- Mappings:
Namespace Name Mixin selector named field_38151
Lnet/minecraft/entity/mob/WardenEntity;field_38151:I
intermediary field_38151
Lnet/minecraft/class_7260;field_38151:I
official cv
Lctw;cv:I
-
field_38152
private static final int field_38152- See Also:
- Mappings:
Namespace Name Mixin selector named field_38152
Lnet/minecraft/entity/mob/WardenEntity;field_38152:I
intermediary field_38152
Lnet/minecraft/class_7260;field_38152:I
official cw
Lctw;cw:I
-
field_38153
private static final int field_38153- See Also:
- Mappings:
Namespace Name Mixin selector named field_38153
Lnet/minecraft/entity/mob/WardenEntity;field_38153:I
intermediary field_38153
Lnet/minecraft/class_7260;field_38153:I
official cx
Lctw;cx:I
-
ANGRINESS_AMOUNT
private static final int ANGRINESS_AMOUNT- See Also:
- Mappings:
Namespace Name Mixin selector named ANGRINESS_AMOUNT
Lnet/minecraft/entity/mob/WardenEntity;ANGRINESS_AMOUNT:I
intermediary field_38155
Lnet/minecraft/class_7260;field_38155:I
official cy
Lctw;cy:I
-
field_38156
private static final int field_38156- See Also:
- Mappings:
Namespace Name Mixin selector named field_38156
Lnet/minecraft/entity/mob/WardenEntity;field_38156:I
intermediary field_38156
Lnet/minecraft/class_7260;field_38156:I
official cz
Lctw;cz:I
-
field_39117
private static final int field_39117- See Also:
- Mappings:
Namespace Name Mixin selector named field_39117
Lnet/minecraft/entity/mob/WardenEntity;field_39117:I
intermediary field_39117
Lnet/minecraft/class_7260;field_39117:I
official cA
Lctw;cA:I
-
field_38157
private static final int field_38157- See Also:
- Mappings:
Namespace Name Mixin selector named field_38157
Lnet/minecraft/entity/mob/WardenEntity;field_38157:I
intermediary field_38157
Lnet/minecraft/class_7260;field_38157:I
official cB
Lctw;cB:I
-
field_38158
private static final int field_38158- See Also:
- Mappings:
Namespace Name Mixin selector named field_38158
Lnet/minecraft/entity/mob/WardenEntity;field_38158:I
intermediary field_38158
Lnet/minecraft/class_7260;field_38158:I
official cC
Lctw;cC:I
-
field_38159
private static final int field_38159- See Also:
- Mappings:
Namespace Name Mixin selector named field_38159
Lnet/minecraft/entity/mob/WardenEntity;field_38159:I
intermediary field_38159
Lnet/minecraft/class_7260;field_38159:I
official cD
Lctw;cD:I
-
field_38160
private static final float field_38160- See Also:
- Mappings:
Namespace Name Mixin selector named field_38160
Lnet/minecraft/entity/mob/WardenEntity;field_38160:F
intermediary field_38160
Lnet/minecraft/class_7260;field_38160:F
official cE
Lctw;cE:F
-
field_38161
private static final float field_38161- See Also:
- Mappings:
Namespace Name Mixin selector named field_38161
Lnet/minecraft/entity/mob/WardenEntity;field_38161:F
intermediary field_38161
Lnet/minecraft/class_7260;field_38161:F
official cF
Lctw;cF:F
-
field_39305
private static final int field_39305- See Also:
- Mappings:
Namespace Name Mixin selector named field_39305
Lnet/minecraft/entity/mob/WardenEntity;field_39305:I
intermediary field_39305
Lnet/minecraft/class_7260;field_39305:I
official cG
Lctw;cG:I
-
tendrilAlpha
private int tendrilAlpha- Mappings:
Namespace Name Mixin selector named tendrilAlpha
Lnet/minecraft/entity/mob/WardenEntity;tendrilAlpha:I
intermediary field_38162
Lnet/minecraft/class_7260;field_38162:I
official cH
Lctw;cH:I
-
lastTendrilAlpha
private int lastTendrilAlpha- Mappings:
Namespace Name Mixin selector named lastTendrilAlpha
Lnet/minecraft/entity/mob/WardenEntity;lastTendrilAlpha:I
intermediary field_38163
Lnet/minecraft/class_7260;field_38163:I
official cI
Lctw;cI:I
-
heartbeatCooldown
private int heartbeatCooldown- Mappings:
Namespace Name Mixin selector named heartbeatCooldown
Lnet/minecraft/entity/mob/WardenEntity;heartbeatCooldown:I
intermediary field_38164
Lnet/minecraft/class_7260;field_38164:I
official cJ
Lctw;cJ:I
-
lastHeartbeatCooldown
private int lastHeartbeatCooldown- Mappings:
Namespace Name Mixin selector named lastHeartbeatCooldown
Lnet/minecraft/entity/mob/WardenEntity;lastHeartbeatCooldown:I
intermediary field_38165
Lnet/minecraft/class_7260;field_38165:I
official cM
Lctw;cM:I
-
roaringAnimationState
- Mappings:
Namespace Name Mixin selector named roaringAnimationState
Lnet/minecraft/entity/mob/WardenEntity;roaringAnimationState:Lnet/minecraft/entity/AnimationState;
intermediary field_38168
Lnet/minecraft/class_7260;field_38168:Lnet/minecraft/class_7094;
official a
Lctw;a:Lbzd;
-
sniffingAnimationState
- Mappings:
Namespace Name Mixin selector named sniffingAnimationState
Lnet/minecraft/entity/mob/WardenEntity;sniffingAnimationState:Lnet/minecraft/entity/AnimationState;
intermediary field_38169
Lnet/minecraft/class_7260;field_38169:Lnet/minecraft/class_7094;
official b
Lctw;b:Lbzd;
-
emergingAnimationState
- Mappings:
Namespace Name Mixin selector named emergingAnimationState
Lnet/minecraft/entity/mob/WardenEntity;emergingAnimationState:Lnet/minecraft/entity/AnimationState;
intermediary field_38135
Lnet/minecraft/class_7260;field_38135:Lnet/minecraft/class_7094;
official c
Lctw;c:Lbzd;
-
diggingAnimationState
- Mappings:
Namespace Name Mixin selector named diggingAnimationState
Lnet/minecraft/entity/mob/WardenEntity;diggingAnimationState:Lnet/minecraft/entity/AnimationState;
intermediary field_38136
Lnet/minecraft/class_7260;field_38136:Lnet/minecraft/class_7094;
official d
Lctw;d:Lbzd;
-
attackingAnimationState
- Mappings:
Namespace Name Mixin selector named attackingAnimationState
Lnet/minecraft/entity/mob/WardenEntity;attackingAnimationState:Lnet/minecraft/entity/AnimationState;
intermediary field_38137
Lnet/minecraft/class_7260;field_38137:Lnet/minecraft/class_7094;
official e
Lctw;e:Lbzd;
-
chargingSonicBoomAnimationState
- Mappings:
Namespace Name Mixin selector named chargingSonicBoomAnimationState
Lnet/minecraft/entity/mob/WardenEntity;chargingSonicBoomAnimationState:Lnet/minecraft/entity/AnimationState;
intermediary field_38859
Lnet/minecraft/class_7260;field_38859:Lnet/minecraft/class_7094;
official f
Lctw;f:Lbzd;
-
gameEventHandler
- Mappings:
Namespace Name Mixin selector named gameEventHandler
Lnet/minecraft/entity/mob/WardenEntity;gameEventHandler:Lnet/minecraft/world/event/listener/EntityGameEventHandler;
intermediary field_38166
Lnet/minecraft/class_7260;field_38166:Lnet/minecraft/class_5715;
official cN
Lctw;cN:Leiy;
-
vibrationCallback
- Mappings:
Namespace Name Mixin selector named vibrationCallback
Lnet/minecraft/entity/mob/WardenEntity;vibrationCallback:Lnet/minecraft/world/event/Vibrations$Callback;
intermediary field_44598
Lnet/minecraft/class_7260;field_44598:Lnet/minecraft/class_8514$class_5719;
official cO
Lctw;cO:Lejk$d;
-
vibrationListenerData
- Mappings:
Namespace Name Mixin selector named vibrationListenerData
Lnet/minecraft/entity/mob/WardenEntity;vibrationListenerData:Lnet/minecraft/world/event/Vibrations$ListenerData;
intermediary field_44599
Lnet/minecraft/class_7260;field_44599:Lnet/minecraft/class_8514$class_8515;
official cP
Lctw;cP:Lejk$a;
-
angerManager
WardenAngerManager angerManager- Mappings:
Namespace Name Mixin selector named angerManager
Lnet/minecraft/entity/mob/WardenEntity;angerManager:Lnet/minecraft/entity/ai/WardenAngerManager;
intermediary field_38141
Lnet/minecraft/class_7260;field_38141:Lnet/minecraft/class_7254;
official cQ
Lctw;cQ:Lctv;
-
-
Constructor Details
-
WardenEntity
- 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
-
createSpawnPacket
Returns a packet to notify the clients of the entity's spawning.- Overrides:
createSpawnPacket
in classEntity
- Returns:
- a packet to notify the clients of the entity's spawning
- API Note:
- Subclasses should return
new EntitySpawnS2CPacket(this)
, unless they use a custom spawning packet. - Mappings:
Namespace Name Mixin selector named createSpawnPacket
Lnet/minecraft/entity/Entity;createSpawnPacket(Lnet/minecraft/server/network/EntityTrackerEntry;)Lnet/minecraft/network/packet/Packet;
intermediary method_18002
Lnet/minecraft/class_1297;method_18002(Lnet/minecraft/class_3231;)Lnet/minecraft/class_2596;
official a
Lbzm;a(Latz;)Lzw;
-
onSpawnPacket
Called on the client when the entity receives a spawn packet.This sets the entity's position, angles, ID, and UUID. Subclasses can override this to initialize additional fields.
- Overrides:
onSpawnPacket
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named onSpawnPacket
Lnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V
intermediary method_31471
Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)V
official a
Lbzm;a(Lacr;)V
-
canSpawn
-
getPathfindingFavor
- Overrides:
getPathfindingFavor
in classHostileEntity
- Mappings:
Namespace Name Mixin selector named getPathfindingFavor
Lnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)F
intermediary method_6144
Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)F
official a
Lcau;a(Ljb;Ldmx;)F
-
isInvulnerableTo
- Overrides:
isInvulnerableTo
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named isInvulnerableTo
Lnet/minecraft/entity/LivingEntity;isInvulnerableTo(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;)Z
intermediary method_5679
Lnet/minecraft/class_1309;method_5679(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;)Z
official a
Lcam;a(Laub;Lbyb;)Z
-
isDiggingOrEmerging
boolean isDiggingOrEmerging()- Mappings:
Namespace Name Mixin selector named isDiggingOrEmerging
Lnet/minecraft/entity/mob/WardenEntity;isDiggingOrEmerging()Z
intermediary method_43113
Lnet/minecraft/class_7260;method_43113()Z
official gK
Lctw;gK()Z
-
canStartRiding
Returns whether this entity can rideentity
.Returning
false
causes the entity to be unable to ride other entities. For example,WitherEntity
overrides this to returnfalse
, so withers cannot ride boats or minecarts. Note that this check can be bypassed by passingtrue
toMobEntity.startRiding(Entity, boolean)
.This is the opposite of
Entity.canAddPassenger(net.minecraft.entity.Entity)
.- Overrides:
canStartRiding
in classEntity
- Returns:
- whether this entity can ride
entity
- See Also:
- Mappings:
Namespace Name Mixin selector named canStartRiding
Lnet/minecraft/entity/Entity;canStartRiding(Lnet/minecraft/entity/Entity;)Z
intermediary method_5860
Lnet/minecraft/class_1297;method_5860(Lnet/minecraft/class_1297;)Z
official p
Lbzm;p(Lbzm;)Z
-
getWeaponDisableBlockingForSeconds
public float getWeaponDisableBlockingForSeconds()- Overrides:
getWeaponDisableBlockingForSeconds
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getWeaponDisableBlockingForSeconds
Lnet/minecraft/entity/LivingEntity;getWeaponDisableBlockingForSeconds()F
intermediary method_67125
Lnet/minecraft/class_1309;method_67125()F
official gb
Lcam;gb()F
-
calculateNextStepSoundDistance
protected float calculateNextStepSoundDistance()- Overrides:
calculateNextStepSoundDistance
in classEntity
- Mappings:
Namespace Name Mixin selector named calculateNextStepSoundDistance
Lnet/minecraft/entity/Entity;calculateNextStepSoundDistance()F
intermediary method_5867
Lnet/minecraft/class_1297;method_5867()F
official aX
Lbzm;aX()F
-
addAttributes
- Mappings:
Namespace Name Mixin selector named addAttributes
Lnet/minecraft/entity/mob/WardenEntity;addAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
intermediary method_42221
Lnet/minecraft/class_7260;method_42221()Lnet/minecraft/class_5132$class_5133;
official l
Lctw;l()Lcbr$a;
-
occludeVibrationSignals
public boolean occludeVibrationSignals()Returns whether the entity should not emit vibrations.By default, wool or carpet
invalid reference
item entities
WardenEntity
do not emit vibrations.- Overrides:
occludeVibrationSignals
in classEntity
- Returns:
- whether the entity should not emit vibrations
- Mappings:
Namespace Name Mixin selector named occludeVibrationSignals
Lnet/minecraft/entity/Entity;occludeVibrationSignals()Z
intermediary method_33189
Lnet/minecraft/class_1297;method_33189()Z
official bk
Lbzm;bk()Z
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolume
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getSoundVolume
Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
intermediary method_6107
Lnet/minecraft/class_1309;method_6107()F
official fk
Lcam;fk()F
-
getAmbientSound
- Overrides:
getAmbientSound
in classMobEntity
- 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 classHostileEntity
- 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 classHostileEntity
- 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;
-
playStepSound
- Overrides:
playStepSound
in classEntity
- Mappings:
Namespace Name Mixin selector named playStepSound
Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
intermediary method_5712
Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
official b
Lbzm;b(Ljb;Leeb;)V
-
tryAttack
- Overrides:
tryAttack
in classMobEntity
- Mappings:
Namespace Name Mixin selector named tryAttack
Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)Z
intermediary method_6121
Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Z
official c
Lcam;c(Laub;Lbzm;)Z
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTracker
in classMobEntity
- 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
-
getAnger
public int getAnger()- Mappings:
Namespace Name Mixin selector named getAnger
Lnet/minecraft/entity/mob/WardenEntity;getAnger()I
intermediary method_42222
Lnet/minecraft/class_7260;method_42222()I
official m
Lctw;m()I
-
updateAnger
private void updateAnger()- Mappings:
Namespace Name Mixin selector named updateAnger
Lnet/minecraft/entity/mob/WardenEntity;updateAnger()V
intermediary method_42217
Lnet/minecraft/class_7260;method_42217()V
official gN
Lctw;gN()V
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in classMobEntity
- 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
-
mobTick
-
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
-
getHeartRate
private int getHeartRate()- Mappings:
Namespace Name Mixin selector named getHeartRate
Lnet/minecraft/entity/mob/WardenEntity;getHeartRate()I
intermediary method_42218
Lnet/minecraft/class_7260;method_42218()I
official gO
Lctw;gO()I
-
getTendrilAlpha
public float getTendrilAlpha(float tickProgress) - Mappings:
Namespace Name Mixin selector named getTendrilAlpha
Lnet/minecraft/entity/mob/WardenEntity;getTendrilAlpha(F)F
intermediary method_42223
Lnet/minecraft/class_7260;method_42223(F)F
official J
Lctw;J(F)F
-
getHeartAlpha
public float getHeartAlpha(float tickProgress) - Mappings:
Namespace Name Mixin selector named getHeartAlpha
Lnet/minecraft/entity/mob/WardenEntity;getHeartAlpha(F)F
intermediary method_42202
Lnet/minecraft/class_7260;method_42202(F)F
official K
Lctw;K(F)F
-
addDigParticles
- Mappings:
Namespace Name Mixin selector named addDigParticles
Lnet/minecraft/entity/mob/WardenEntity;addDigParticles(Lnet/minecraft/entity/AnimationState;)V
intermediary method_42205
Lnet/minecraft/class_7260;method_42205(Lnet/minecraft/class_7094;)V
official a
Lctw;a(Lbzd;)V
-
onTrackedDataSet
Called on the client when the tracked data is set.This can be overridden to refresh other fields when the tracked data is set or changed.
- Specified by:
onTrackedDataSet
in interfaceDataTracked
- Overrides:
onTrackedDataSet
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named onTrackedDataSet
Lnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
intermediary method_5674
Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)V
official a
Lalk;a(Lalh;)V
-
isImmuneToExplosion
Returns whether the entity is immune from explosion knockback and damage.Invisible
ArmorStandEntity
and emerging or diggingWardenEntity
are immune from explosions.- Overrides:
isImmuneToExplosion
in classEntity
- Returns:
- whether the entity is immune from explosion knockback and damage
- Mappings:
Namespace Name Mixin selector named isImmuneToExplosion
Lnet/minecraft/entity/Entity;isImmuneToExplosion(Lnet/minecraft/world/explosion/Explosion;)Z
intermediary method_5659
Lnet/minecraft/class_1297;method_5659(Lnet/minecraft/class_1927;)Z
official a
Lbzm;a(Ldmn;)Z
-
deserializeBrain
- Overrides:
deserializeBrain
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named deserializeBrain
Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
intermediary method_18867
Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
official a
Lcam;a(Lcom/mojang/serialization/Dynamic;)Lcbm;
-
getBrain
- Overrides:
getBrain
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getBrain
Lnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
intermediary method_18868
Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;
official eh
Lcam;eh()Lcbm;
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugData
in classMobEntity
- Mappings:
Namespace Name Mixin selector named sendAiDebugData
Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
intermediary method_18409
Lnet/minecraft/class_1308;method_18409()V
official ah
Lcao;ah()V
-
updateEventHandler
Called when the entity is loaded to register game event handlers.Entities that listen to game events should first create an instance of
EntityGameEventHandler
in the entity's constructor, and override this to callcallback
. For example:if (this.world instanceof ServerWorld serverWorld) { callback.accept(this.handler, serverWorld); }
- Overrides:
updateEventHandler
in classEntity
- Mappings:
Namespace Name Mixin selector named updateEventHandler
Lnet/minecraft/entity/Entity;updateEventHandler(Ljava/util/function/BiConsumer;)V
intermediary method_42147
Lnet/minecraft/class_1297;method_42147(Ljava/util/function/BiConsumer;)V
official a
Lbzm;a(Ljava/util/function/BiConsumer;)V
-
isValidTarget
- Mappings:
Namespace Name Mixin selector named isValidTarget
Lnet/minecraft/entity/mob/WardenEntity;isValidTarget(Lnet/minecraft/entity/Entity;)Z
intermediary method_42206
Lnet/minecraft/class_7260;method_42206(Lnet/minecraft/class_1297;)Z
official G
Lctw;G(Lbzm;)Z
-
addDarknessToClosePlayers
public static void addDarknessToClosePlayers(ServerWorld world, Vec3d pos, @Nullable @Nullable Entity entity, int range) - Mappings:
Namespace Name Mixin selector named addDarknessToClosePlayers
Lnet/minecraft/entity/mob/WardenEntity;addDarknessToClosePlayers(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/Entity;I)V
intermediary method_42204
Lnet/minecraft/class_7260;method_42204(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;Lnet/minecraft/class_1297;I)V
official a
Lctw;a(Laub;Lfis;Lbzm;I)V
-
writeCustomData
- Overrides:
writeCustomData
in classMobEntity
- 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 classMobEntity
- 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
-
playListeningSound
private void playListeningSound()- Mappings:
Namespace Name Mixin selector named playListeningSound
Lnet/minecraft/entity/mob/WardenEntity;playListeningSound()V
intermediary method_42219
Lnet/minecraft/class_7260;method_42219()V
official gP
Lctw;gP()V
-
getAngriness
- Mappings:
Namespace Name Mixin selector named getAngriness
Lnet/minecraft/entity/mob/WardenEntity;getAngriness()Lnet/minecraft/entity/mob/Angriness;
intermediary method_42214
Lnet/minecraft/class_7260;method_42214()Lnet/minecraft/class_7253;
official n
Lctw;n()Lctu;
-
getAngerAtTarget
private int getAngerAtTarget()- Mappings:
Namespace Name Mixin selector named getAngerAtTarget
Lnet/minecraft/entity/mob/WardenEntity;getAngerAtTarget()I
intermediary method_43999
Lnet/minecraft/class_7260;method_43999()I
official gQ
Lctw;gQ()I
-
removeSuspect
- Mappings:
Namespace Name Mixin selector named removeSuspect
Lnet/minecraft/entity/mob/WardenEntity;removeSuspect(Lnet/minecraft/entity/Entity;)V
intermediary method_42211
Lnet/minecraft/class_7260;method_42211(Lnet/minecraft/class_1297;)V
official H
Lctw;H(Lbzm;)V
-
increaseAngerAt
- Mappings:
Namespace Name Mixin selector named increaseAngerAt
Lnet/minecraft/entity/mob/WardenEntity;increaseAngerAt(Lnet/minecraft/entity/Entity;)V
intermediary method_42213
Lnet/minecraft/class_7260;method_42213(Lnet/minecraft/class_1297;)V
official I
Lctw;I(Lbzm;)V
-
increaseAngerAt
- Mappings:
Namespace Name Mixin selector named increaseAngerAt
Lnet/minecraft/entity/mob/WardenEntity;increaseAngerAt(Lnet/minecraft/entity/Entity;IZ)V
intermediary method_42212
Lnet/minecraft/class_7260;method_42212(Lnet/minecraft/class_1297;IZ)V
official a
Lctw;a(Lbzm;IZ)V
-
getPrimeSuspect
- Mappings:
Namespace Name Mixin selector named getPrimeSuspect
Lnet/minecraft/entity/mob/WardenEntity;getPrimeSuspect()Ljava/util/Optional;
intermediary method_42215
Lnet/minecraft/class_7260;method_42215()Ljava/util/Optional;
official t
Lctw;t()Ljava/util/Optional;
-
getTarget
- Specified by:
getTarget
in interfaceTargeter
- Overrides:
getTarget
in classMobEntity
- Mappings:
Namespace Name Mixin selector named getTarget
Lnet/minecraft/entity/Targeter;getTarget()Lnet/minecraft/entity/LivingEntity;
intermediary method_5968
Lnet/minecraft/class_8152;method_5968()Lnet/minecraft/class_1309;
official e
Lcbj;e()Lcam;
-
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
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData) - Overrides:
initialize
in classMobEntity
- 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;
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntity
has health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntity
also have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity
, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
LivingEntity.isInvulnerableTo(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource)
and return early.- Overrides:
damage
in classLivingEntity
- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damage
Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Z
intermediary method_64397
Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Z
official a
Lbzm;a(Laub;Lbyb;F)Z
-
updateAttackTarget
- Mappings:
Namespace Name Mixin selector named updateAttackTarget
Lnet/minecraft/entity/mob/WardenEntity;updateAttackTarget(Lnet/minecraft/entity/LivingEntity;)V
intermediary method_43274
Lnet/minecraft/class_7260;method_43274(Lnet/minecraft/class_1309;)V
official i
Lctw;i(Lcam;)V
-
getBaseDimensions
- Overrides:
getBaseDimensions
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named getBaseDimensions
Lnet/minecraft/entity/LivingEntity;getBaseDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
intermediary method_55694
Lnet/minecraft/class_1309;method_55694(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
official e
Lcam;e(Lcay;)Lbzp;
-
isPushable
public boolean isPushable()Returns whether the entity can be pushed by other entities.- Overrides:
isPushable
in classLivingEntity
- Returns:
- whether the entity can be pushed by other entities
- Mappings:
Namespace Name Mixin selector named isPushable
Lnet/minecraft/entity/Entity;isPushable()Z
intermediary method_5810
Lnet/minecraft/class_1297;method_5810()Z
official bL
Lbzm;bL()Z
-
pushAway
- Overrides:
pushAway
in classLivingEntity
- Mappings:
Namespace Name Mixin selector named pushAway
Lnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
intermediary method_6087
Lnet/minecraft/class_1309;method_6087(Lnet/minecraft/class_1297;)V
official E
Lcam;E(Lbzm;)V
-
getAngerManager
- Mappings:
Namespace Name Mixin selector named getAngerManager
Lnet/minecraft/entity/mob/WardenEntity;getAngerManager()Lnet/minecraft/entity/ai/WardenAngerManager;
intermediary method_42216
Lnet/minecraft/class_7260;method_42216()Lnet/minecraft/class_7254;
official gH
Lctw;gH()Lctv;
-
getVibrationListenerData
- Specified by:
getVibrationListenerData
in interfaceVibrations
- Mappings:
Namespace Name Mixin selector named getVibrationListenerData
Lnet/minecraft/world/event/Vibrations;getVibrationListenerData()Lnet/minecraft/world/event/Vibrations$ListenerData;
intermediary method_51298
Lnet/minecraft/class_8514;method_51298()Lnet/minecraft/class_8514$class_8515;
official gI
Lejk;gI()Lejk$a;
-
getVibrationCallback
- Specified by:
getVibrationCallback
in interfaceVibrations
- Mappings:
Namespace Name Mixin selector named getVibrationCallback
Lnet/minecraft/world/event/Vibrations;getVibrationCallback()Lnet/minecraft/world/event/Vibrations$Callback;
intermediary method_51299
Lnet/minecraft/class_8514;method_51299()Lnet/minecraft/class_8514$class_5719;
official gJ
Lejk;gJ()Lejk$d;
-