Class WardenEntity
- All Implemented Interfaces:
Monster,CommandOutput,Nameable,EntityLike,VibrationListener.Callback
- Mappings:
Namespace Name official btgintermediary net/minecraft/class_7260named net/minecraft/entity/mob/WardenEntity
-
Nested Class Summary
Nested 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 static final TrackedData<Integer>private WardenAngerManagerprivate static final org.slf4j.Loggerprivate static final intprivate static final intprivate static final intprivate static final floatprivate static final floatprivate static final floatprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final floatprivate static final floatprivate static final intprivate static final intprivate static final intprivate final EntityGameEventHandler<VibrationListener>private intprivate intprivate intprivate intFields 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, 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_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_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, worldFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable Entity entity, @Nullable Entity sourceEntity, float distance) Accepts a game event after delay.booleanaccepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.static voidaddDarknessToClosePlayers(ServerWorld world, Vec3d pos, @Nullable Entity entity, int range) private voidaddDigParticles(AnimationState animationState) protected floatbooleancanImmediatelyDespawn(double distanceSquared) booleanprotected booleancanStartRiding(Entity entity) Returns whether this entity can rideentity.protected EntityNavigationcreateNavigation(World world) Packet<?>Returns a packet to notify the clients of the entity's spawning.booleandamage(DamageSource source, float amount) Applies a damage to this entity.protected Brain<?>deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic) booleanprotected @Nullable SoundEventintgetAnger()private intgetBrain()protected SoundEventgetDimensions(EntityPose pose) Returns the dimensions of the entity with the givenpose.floatgetHeartPitch(float tickDelta) private intprotected SoundEventgetHurtSound(DamageSource source) floatgetPathfindingFavor(BlockPos pos, WorldView world) protected floatgetTag()floatgetTendrilPitch(float tickDelta) voidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.voidincreaseAngerAt(@Nullable Entity entity) voidincreaseAngerAt(@Nullable Entity entity, int amount, boolean listening) protected voidInitializes data tracker.initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable NbtCompound entityNbt) private booleanbooleanReturns whether the entity is immune from explosion knockback and damage.booleanisInvulnerableTo(DamageSource damageSource) Returns whether the entity is invulnerable todamageSource.booleanReturns whether the entity can be pushed by other entities.booleanisValidTarget(@Nullable Entity entity) protected voidmobTick()booleanReturns whether the entity should not emit vibrations.voidonSpawnPacket(EntitySpawnS2CPacket packet) Called on the client when the entity receives a spawn packet.voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.private voidprotected voidplayStepSound(BlockPos pos, BlockState state) protected voidvoidReads custom data fromnbt.voidremoveSuspect(Entity entity) protected voidvoidtick()Ticks this entity.booleanbooleanprivate voidvoidupdateAttackTarget(LivingEntity target) voidupdateEventHandler(BiConsumer<EntityGameEventHandler<?>, ServerWorld> callback) Called when the entity is loaded to register game event handlers.voidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.mob.HostileEntity
canSpawnIgnoreLightLevel, canSpawnInDark, createHostileAttributes, getArrowType, getFallSounds, getSoundCategory, getSplashSound, getSwimSound, isAngryAt, isDisallowedInPeaceful, isSpawnDark, shouldDropLoot, shouldDropXp, tickMovement, 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, canGather, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canTarget, canUseRangedWeapon, checkDespawn, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, detachLeash, dropEquipment, 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, getVisibilityCache, getXpToDrop, hasPositionTarget, initEquipment, initGoals, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, setAiDisabled, setAttacking, setBaby, 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, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canHit, canSee, canTakeDamage, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageArmor, damageHelmet, damageShield, disableExperienceDropping, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveEyeHeight, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getClimbingPos, getDamageTracker, getDespawnCounter, getDrinkSound, getEatSound, getEyeHeight, getGroup, 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, getSoundPitch, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBaby, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, kill, knockback, knockDownwards, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playEquipSound, positionInPortal, positionInPortal, processEquippedStack, 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, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, 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, getHeightOffset, 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, hasPortalCooldown, hasPrimaryPassenger, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, move, moveToWorld, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, 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, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, 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.world.event.listener.VibrationListener.Callback
canAccept, onListen
-
Field Details
-
field_38138
private static final org.slf4j.Logger field_38138- Mappings:
Namespace Name Mixin selector official bZLbtg;bZ:Lorg/slf4j/Logger;intermediary field_38138Lnet/minecraft/class_7260;field_38138:Lorg/slf4j/Logger;named field_38138Lnet/minecraft/entity/mob/WardenEntity;field_38138:Lorg/slf4j/Logger;
-
field_38139
private static final int field_38139- See Also:
- Mappings:
Namespace Name Mixin selector official caLbtg;ca:Iintermediary field_38139Lnet/minecraft/class_7260;field_38139:Inamed field_38139Lnet/minecraft/entity/mob/WardenEntity;field_38139:I
-
field_38142
private static final int field_38142- See Also:
- Mappings:
Namespace Name Mixin selector official cbLbtg;cb:Iintermediary field_38142Lnet/minecraft/class_7260;field_38142:Inamed field_38142Lnet/minecraft/entity/mob/WardenEntity;field_38142:I
-
field_38860
private static final int field_38860- See Also:
- Mappings:
Namespace Name Mixin selector official ccLbtg;cc:Iintermediary field_38860Lnet/minecraft/class_7260;field_38860:Inamed field_38860Lnet/minecraft/entity/mob/WardenEntity;field_38860:I
-
field_38143
private static final int field_38143- See Also:
- Mappings:
Namespace Name Mixin selector official cdLbtg;cd:Iintermediary field_38143Lnet/minecraft/class_7260;field_38143:Inamed field_38143Lnet/minecraft/entity/mob/WardenEntity;field_38143:I
-
field_38144
private static final float field_38144- See Also:
- Mappings:
Namespace Name Mixin selector official ceLbtg;ce:Fintermediary field_38144Lnet/minecraft/class_7260;field_38144:Fnamed field_38144Lnet/minecraft/entity/mob/WardenEntity;field_38144:F
-
field_38145
private static final float field_38145- See Also:
- Mappings:
Namespace Name Mixin selector official cfLbtg;cf:Fintermediary field_38145Lnet/minecraft/class_7260;field_38145:Fnamed field_38145Lnet/minecraft/entity/mob/WardenEntity;field_38145:F
-
field_38146
private static final float field_38146- See Also:
- Mappings:
Namespace Name Mixin selector official cgLbtg;cg:Fintermediary field_38146Lnet/minecraft/class_7260;field_38146:Fnamed field_38146Lnet/minecraft/entity/mob/WardenEntity;field_38146:F
-
field_38147
private static final int field_38147- See Also:
- Mappings:
Namespace Name Mixin selector official chLbtg;ch:Iintermediary field_38147Lnet/minecraft/class_7260;field_38147:Inamed field_38147Lnet/minecraft/entity/mob/WardenEntity;field_38147:I
-
ANGER
- Mappings:
Namespace Name Mixin selector official ciLbtg;ci:Laaj;intermediary field_38148Lnet/minecraft/class_7260;field_38148:Lnet/minecraft/class_2940;named ANGERLnet/minecraft/entity/mob/WardenEntity;ANGER:Lnet/minecraft/entity/data/TrackedData;
-
field_38149
private static final int field_38149- See Also:
- Mappings:
Namespace Name Mixin selector official cjLbtg;cj:Iintermediary field_38149Lnet/minecraft/class_7260;field_38149:Inamed field_38149Lnet/minecraft/entity/mob/WardenEntity;field_38149:I
-
field_38150
private static final int field_38150- See Also:
- Mappings:
Namespace Name Mixin selector official ckLbtg;ck:Iintermediary field_38150Lnet/minecraft/class_7260;field_38150:Inamed field_38150Lnet/minecraft/entity/mob/WardenEntity;field_38150:I
-
field_38151
private static final int field_38151- See Also:
- Mappings:
Namespace Name Mixin selector official clLbtg;cl:Iintermediary field_38151Lnet/minecraft/class_7260;field_38151:Inamed field_38151Lnet/minecraft/entity/mob/WardenEntity;field_38151:I
-
field_38152
private static final int field_38152- See Also:
- Mappings:
Namespace Name Mixin selector official cmLbtg;cm:Iintermediary field_38152Lnet/minecraft/class_7260;field_38152:Inamed field_38152Lnet/minecraft/entity/mob/WardenEntity;field_38152:I
-
field_38153
private static final int field_38153- See Also:
- Mappings:
Namespace Name Mixin selector official cnLbtg;cn:Iintermediary field_38153Lnet/minecraft/class_7260;field_38153:Inamed field_38153Lnet/minecraft/entity/mob/WardenEntity;field_38153:I
-
field_38155
private static final int field_38155- See Also:
- Mappings:
Namespace Name Mixin selector official coLbtg;co:Iintermediary field_38155Lnet/minecraft/class_7260;field_38155:Inamed field_38155Lnet/minecraft/entity/mob/WardenEntity;field_38155:I
-
field_38156
private static final int field_38156- See Also:
- Mappings:
Namespace Name Mixin selector official cpLbtg;cp:Iintermediary field_38156Lnet/minecraft/class_7260;field_38156:Inamed field_38156Lnet/minecraft/entity/mob/WardenEntity;field_38156:I
-
field_39117
private static final int field_39117- See Also:
- Mappings:
Namespace Name Mixin selector official cqLbtg;cq:Iintermediary field_39117Lnet/minecraft/class_7260;field_39117:Inamed field_39117Lnet/minecraft/entity/mob/WardenEntity;field_39117:I
-
field_38157
private static final int field_38157- See Also:
- Mappings:
Namespace Name Mixin selector official crLbtg;cr:Iintermediary field_38157Lnet/minecraft/class_7260;field_38157:Inamed field_38157Lnet/minecraft/entity/mob/WardenEntity;field_38157:I
-
field_38158
private static final int field_38158- See Also:
- Mappings:
Namespace Name Mixin selector official csLbtg;cs:Iintermediary field_38158Lnet/minecraft/class_7260;field_38158:Inamed field_38158Lnet/minecraft/entity/mob/WardenEntity;field_38158:I
-
field_38159
private static final int field_38159- See Also:
- Mappings:
Namespace Name Mixin selector official ctLbtg;ct:Iintermediary field_38159Lnet/minecraft/class_7260;field_38159:Inamed field_38159Lnet/minecraft/entity/mob/WardenEntity;field_38159:I
-
field_38160
private static final float field_38160- See Also:
- Mappings:
Namespace Name Mixin selector official cuLbtg;cu:Fintermediary field_38160Lnet/minecraft/class_7260;field_38160:Fnamed field_38160Lnet/minecraft/entity/mob/WardenEntity;field_38160:F
-
field_38161
private static final float field_38161- See Also:
- Mappings:
Namespace Name Mixin selector official cvLbtg;cv:Fintermediary field_38161Lnet/minecraft/class_7260;field_38161:Fnamed field_38161Lnet/minecraft/entity/mob/WardenEntity;field_38161:F
-
field_39305
private static final int field_39305- See Also:
- Mappings:
Namespace Name Mixin selector official cwLbtg;cw:Iintermediary field_39305Lnet/minecraft/class_7260;field_39305:Inamed field_39305Lnet/minecraft/entity/mob/WardenEntity;field_39305:I
-
tendrilPitch
private int tendrilPitch- Mappings:
Namespace Name Mixin selector official cxLbtg;cx:Iintermediary field_38162Lnet/minecraft/class_7260;field_38162:Inamed tendrilPitchLnet/minecraft/entity/mob/WardenEntity;tendrilPitch:I
-
lastTendrilPitch
private int lastTendrilPitch- Mappings:
Namespace Name Mixin selector official cyLbtg;cy:Iintermediary field_38163Lnet/minecraft/class_7260;field_38163:Inamed lastTendrilPitchLnet/minecraft/entity/mob/WardenEntity;lastTendrilPitch:I
-
heartbeatCooldown
private int heartbeatCooldown- Mappings:
Namespace Name Mixin selector official czLbtg;cz:Iintermediary field_38164Lnet/minecraft/class_7260;field_38164:Inamed heartbeatCooldownLnet/minecraft/entity/mob/WardenEntity;heartbeatCooldown:I
-
lastHeartbeatCooldown
private int lastHeartbeatCooldown- Mappings:
Namespace Name Mixin selector official cALbtg;cA:Iintermediary field_38165Lnet/minecraft/class_7260;field_38165:Inamed lastHeartbeatCooldownLnet/minecraft/entity/mob/WardenEntity;lastHeartbeatCooldown:I
-
roaringAnimationState
- Mappings:
Namespace Name Mixin selector official bLbtg;b:Lbbl;intermediary field_38168Lnet/minecraft/class_7260;field_38168:Lnet/minecraft/class_7094;named roaringAnimationStateLnet/minecraft/entity/mob/WardenEntity;roaringAnimationState:Lnet/minecraft/entity/AnimationState;
-
sniffingAnimationState
- Mappings:
Namespace Name Mixin selector official cLbtg;c:Lbbl;intermediary field_38169Lnet/minecraft/class_7260;field_38169:Lnet/minecraft/class_7094;named sniffingAnimationStateLnet/minecraft/entity/mob/WardenEntity;sniffingAnimationState:Lnet/minecraft/entity/AnimationState;
-
emergingAnimationState
- Mappings:
Namespace Name Mixin selector official dLbtg;d:Lbbl;intermediary field_38135Lnet/minecraft/class_7260;field_38135:Lnet/minecraft/class_7094;named emergingAnimationStateLnet/minecraft/entity/mob/WardenEntity;emergingAnimationState:Lnet/minecraft/entity/AnimationState;
-
diggingAnimationState
- Mappings:
Namespace Name Mixin selector official eLbtg;e:Lbbl;intermediary field_38136Lnet/minecraft/class_7260;field_38136:Lnet/minecraft/class_7094;named diggingAnimationStateLnet/minecraft/entity/mob/WardenEntity;diggingAnimationState:Lnet/minecraft/entity/AnimationState;
-
attackingAnimationState
- Mappings:
Namespace Name Mixin selector official bXLbtg;bX:Lbbl;intermediary field_38137Lnet/minecraft/class_7260;field_38137:Lnet/minecraft/class_7094;named attackingAnimationStateLnet/minecraft/entity/mob/WardenEntity;attackingAnimationState:Lnet/minecraft/entity/AnimationState;
-
chargingSonicBoomAnimationState
- Mappings:
Namespace Name Mixin selector official bYLbtg;bY:Lbbl;intermediary field_38859Lnet/minecraft/class_7260;field_38859:Lnet/minecraft/class_7094;named chargingSonicBoomAnimationStateLnet/minecraft/entity/mob/WardenEntity;chargingSonicBoomAnimationState:Lnet/minecraft/entity/AnimationState;
-
gameEventHandler
- Mappings:
Namespace Name Mixin selector official cBLbtg;cB:Lczs;intermediary field_38166Lnet/minecraft/class_7260;field_38166:Lnet/minecraft/class_5715;named gameEventHandlerLnet/minecraft/entity/mob/WardenEntity;gameEventHandler:Lnet/minecraft/world/event/listener/EntityGameEventHandler;
-
angerManager
- Mappings:
Namespace Name Mixin selector official cCLbtg;cC:Lbtf;intermediary field_38141Lnet/minecraft/class_7260;field_38141:Lnet/minecraft/class_7254;named angerManagerLnet/minecraft/entity/mob/WardenEntity;angerManager:Lnet/minecraft/entity/ai/WardenAngerManager;
-
-
Constructor Details
-
WardenEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbbn;<init>(Lbbr;Lcgx;)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
-
createSpawnPacket
Returns a packet to notify the clients of the entity's spawning.- Overrides:
createSpawnPacketin classLivingEntity- Returns:
- a packet to notify the clients of the entity's spawning
- Mappings:
Namespace Name Mixin selector official SLbbn;S()Ltc;intermediary method_18002Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;named createSpawnPacketLnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
-
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:
onSpawnPacketin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbbn;a(Ltg;)Vintermediary method_31471Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)Vnamed onSpawnPacketLnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V
-
canSpawn
-
getPathfindingFavor
- Overrides:
getPathfindingFavorin classHostileEntity- Mappings:
Namespace Name Mixin selector official aLbcl;a(Lgt;Lcha;)Fintermediary method_6144Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)Fnamed getPathfindingFavorLnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)F
-
isInvulnerableTo
Returns whether the entity is invulnerable todamageSource.This can be overridden to make the entity invulnerable to some damages, but
super.isInvulnerableTo()should be called in this case.- Overrides:
isInvulnerableToin classEntity- Returns:
- whether the entity is invulnerable to
damageSource - See Also:
- Mappings:
Namespace Name Mixin selector official bLbbn;b(Lbaw;)Zintermediary method_5679Lnet/minecraft/class_1297;method_5679(Lnet/minecraft/class_1282;)Znamed isInvulnerableToLnet/minecraft/entity/Entity;isInvulnerableTo(Lnet/minecraft/entity/damage/DamageSource;)Z
-
isDiggingOrEmerging
private boolean isDiggingOrEmerging()- Mappings:
Namespace Name Mixin selector official fMLbtg;fM()Zintermediary method_43113Lnet/minecraft/class_7260;method_43113()Znamed isDiggingOrEmergingLnet/minecraft/entity/mob/WardenEntity;isDiggingOrEmerging()Z
-
canStartRiding
Returns whether this entity can rideentity.Returning
falsecauses the entity to be unable to ride other entities. For example,WitherEntityoverrides this to returnfalse, so withers cannot ride boats or minecarts. Note that this check can be bypassed by passingtruetoEntity.startRiding(Entity, boolean).This is the opposite of
Entity.canAddPassenger(net.minecraft.entity.Entity).- Overrides:
canStartRidingin classEntity- Returns:
- whether this entity can ride
entity - See Also:
- Mappings:
Namespace Name Mixin selector official lLbbn;l(Lbbn;)Zintermediary method_5860Lnet/minecraft/class_1297;method_5860(Lnet/minecraft/class_1297;)Znamed canStartRidingLnet/minecraft/entity/Entity;canStartRiding(Lnet/minecraft/entity/Entity;)Z
-
disablesShield
public boolean disablesShield()- Overrides:
disablesShieldin classLivingEntity- Mappings:
Namespace Name Mixin selector official fmLbcc;fm()Zintermediary method_42149Lnet/minecraft/class_1309;method_42149()Znamed disablesShieldLnet/minecraft/entity/LivingEntity;disablesShield()Z
-
calculateNextStepSoundDistance
protected float calculateNextStepSoundDistance()- Overrides:
calculateNextStepSoundDistancein classEntity- Mappings:
Namespace Name Mixin selector official aFLbbn;aF()Fintermediary method_5867Lnet/minecraft/class_1297;method_5867()Fnamed calculateNextStepSoundDistanceLnet/minecraft/entity/Entity;calculateNextStepSoundDistance()F
-
addAttributes
- Mappings:
Namespace Name Mixin selector official nLbtg;n()Lbdc$a;intermediary method_42221Lnet/minecraft/class_7260;method_42221()Lnet/minecraft/class_5132$class_5133;named addAttributesLnet/minecraft/entity/mob/WardenEntity;addAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
occludeVibrationSignals
public boolean occludeVibrationSignals()Returns whether the entity should not emit vibrations.By default, wool or carpet item entities, and
WardenEntitydo not emit vibrations.- Overrides:
occludeVibrationSignalsin classEntity- Returns:
- whether the entity should not emit vibrations
- Mappings:
Namespace Name Mixin selector official aPLbbn;aP()Zintermediary method_33189Lnet/minecraft/class_1297;method_33189()Znamed occludeVibrationSignalsLnet/minecraft/entity/Entity;occludeVibrationSignals()Z
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official eCLbcc;eC()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official rLbce;r()Lajv;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 classHostileEntity- Mappings:
Namespace Name Mixin selector official cLbcc;c(Lbaw;)Lajv;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 classHostileEntity- Mappings:
Namespace Name Mixin selector official x_Lbcc;x_()Lajv;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
playStepSound
- Overrides:
playStepSoundin classEntity- Mappings:
Namespace Name Mixin selector official bLbbn;b(Lgt;Lcvo;)Vintermediary method_5712Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed playStepSoundLnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
tryAttack
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official a_Lbbn;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
getAnger
public int getAnger()- Mappings:
Namespace Name Mixin selector official qLbtg;q()Iintermediary method_42222Lnet/minecraft/class_7260;method_42222()Inamed getAngerLnet/minecraft/entity/mob/WardenEntity;getAnger()I
-
updateAnger
private void updateAnger()- Mappings:
Namespace Name Mixin selector official fPLbtg;fP()Vintermediary method_42217Lnet/minecraft/class_7260;method_42217()Vnamed updateAngerLnet/minecraft/entity/mob/WardenEntity;updateAnger()V
-
tick
public void tick()Ticks this entity. -
mobTick
protected void 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:
handleStatusin classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbbn;a(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
getHeartRate
private int getHeartRate()- Mappings:
Namespace Name Mixin selector official fQLbtg;fQ()Iintermediary method_42218Lnet/minecraft/class_7260;method_42218()Inamed getHeartRateLnet/minecraft/entity/mob/WardenEntity;getHeartRate()I
-
getTendrilPitch
public float getTendrilPitch(float tickDelta) - Mappings:
Namespace Name Mixin selector official yLbtg;y(F)Fintermediary method_42223Lnet/minecraft/class_7260;method_42223(F)Fnamed getTendrilPitchLnet/minecraft/entity/mob/WardenEntity;getTendrilPitch(F)F
-
getHeartPitch
public float getHeartPitch(float tickDelta) - Mappings:
Namespace Name Mixin selector official zLbtg;z(F)Fintermediary method_42202Lnet/minecraft/class_7260;method_42202(F)Fnamed getHeartPitchLnet/minecraft/entity/mob/WardenEntity;getHeartPitch(F)F
-
addDigParticles
- Mappings:
Namespace Name Mixin selector official aLbtg;a(Lbbl;)Vintermediary method_42205Lnet/minecraft/class_7260;method_42205(Lnet/minecraft/class_7094;)Vnamed addDigParticlesLnet/minecraft/entity/mob/WardenEntity;addDigParticles(Lnet/minecraft/entity/AnimationState;)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.
- Overrides:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbbn;a(Laaj;)Vintermediary method_5674Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
isImmuneToExplosion
public boolean isImmuneToExplosion()Returns whether the entity is immune from explosion knockback and damage.Invisible
ArmorStandEntityand emerging or diggingWardenEntityare immune from explosions.- Overrides:
isImmuneToExplosionin classEntity- Returns:
- whether the entity is immune from explosion knockback and damage
- Mappings:
Namespace Name Mixin selector official cELbbn;cE()Zintermediary method_5659Lnet/minecraft/class_1297;method_5659()Znamed isImmuneToExplosionLnet/minecraft/entity/Entity;isImmuneToExplosion()Z
-
deserializeBrain
- Overrides:
deserializeBrainin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbcc;a(Lcom/mojang/serialization/Dynamic;)Lbcx;intermediary method_18867Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;named deserializeBrainLnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
-
getBrain
- Overrides:
getBrainin classLivingEntity- Mappings:
Namespace Name Mixin selector official dyLbcc;dy()Lbcx;intermediary method_18868Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;named getBrainLnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
-
sendAiDebugData
protected void sendAiDebugData()- Overrides:
sendAiDebugDatain classMobEntity- Mappings:
Namespace Name Mixin selector official RLbce;R()Vintermediary method_18409Lnet/minecraft/class_1308;method_18409()Vnamed sendAiDebugDataLnet/minecraft/entity/mob/MobEntity;sendAiDebugData()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
EntityGameEventHandlerin the entity's constructor, and override this to callcallback. For example:if (this.world instanceof ServerWorld serverWorld) { callback.accept(this.handler, serverWorld); }- Overrides:
updateEventHandlerin classEntity- Mappings:
Namespace Name Mixin selector official aLbbn;a(Ljava/util/function/BiConsumer;)Vintermediary method_42147Lnet/minecraft/class_1297;method_42147(Ljava/util/function/BiConsumer;)Vnamed updateEventHandlerLnet/minecraft/entity/Entity;updateEventHandler(Ljava/util/function/BiConsumer;)V
-
getTag
- Specified by:
getTagin interfaceVibrationListener.Callback- Mappings:
Namespace Name Mixin selector official aLdab$b;a()Lakz;intermediary method_42210Lnet/minecraft/class_5718$class_5719;method_42210()Lnet/minecraft/class_6862;named getTagLnet/minecraft/world/event/listener/VibrationListener$Callback;getTag()Lnet/minecraft/tag/TagKey;
-
triggersAvoidCriterion
public boolean triggersAvoidCriterion()- Specified by:
triggersAvoidCriterionin interfaceVibrationListener.Callback- Mappings:
Namespace Name Mixin selector official tLdab$b;t()Zintermediary method_43695Lnet/minecraft/class_5718$class_5719;method_43695()Znamed triggersAvoidCriterionLnet/minecraft/world/event/listener/VibrationListener$Callback;triggersAvoidCriterion()Z
-
isValidTarget
- Mappings:
Namespace Name Mixin selector official aLbtg;a(Lbbn;)Zintermediary method_42206Lnet/minecraft/class_7260;method_42206(Lnet/minecraft/class_1297;)Znamed isValidTargetLnet/minecraft/entity/mob/WardenEntity;isValidTarget(Lnet/minecraft/entity/Entity;)Z
-
addDarknessToClosePlayers
public static void addDarknessToClosePlayers(ServerWorld world, Vec3d pos, @Nullable @Nullable Entity entity, int range) - Mappings:
Namespace Name Mixin selector official aLbtg;a(Lagg;Ldwq;Lbbn;I)Vintermediary method_42204Lnet/minecraft/class_7260;method_42204(Lnet/minecraft/class_3218;Lnet/minecraft/class_243;Lnet/minecraft/class_1297;I)Vnamed addDarknessToClosePlayersLnet/minecraft/entity/mob/WardenEntity;addDarknessToClosePlayers(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/entity/Entity;I)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 classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbbn;b(Lpj;)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 classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbbn;a(Lpj;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
playListeningSound
private void playListeningSound()- Mappings:
Namespace Name Mixin selector official fRLbtg;fR()Vintermediary method_42219Lnet/minecraft/class_7260;method_42219()Vnamed playListeningSoundLnet/minecraft/entity/mob/WardenEntity;playListeningSound()V
-
getAngriness
- Mappings:
Namespace Name Mixin selector official fJLbtg;fJ()Lbte;intermediary method_42214Lnet/minecraft/class_7260;method_42214()Lnet/minecraft/class_7253;named getAngrinessLnet/minecraft/entity/mob/WardenEntity;getAngriness()Lnet/minecraft/entity/mob/Angriness;
-
getAngerAtTarget
private int getAngerAtTarget()- Mappings:
Namespace Name Mixin selector official fSLbtg;fS()Iintermediary method_43999Lnet/minecraft/class_7260;method_43999()Inamed getAngerAtTargetLnet/minecraft/entity/mob/WardenEntity;getAngerAtTarget()I
-
removeSuspect
- Mappings:
Namespace Name Mixin selector official bLbtg;b(Lbbn;)Vintermediary method_42211Lnet/minecraft/class_7260;method_42211(Lnet/minecraft/class_1297;)Vnamed removeSuspectLnet/minecraft/entity/mob/WardenEntity;removeSuspect(Lnet/minecraft/entity/Entity;)V
-
increaseAngerAt
- Mappings:
Namespace Name Mixin selector official cLbtg;c(Lbbn;)Vintermediary method_42213Lnet/minecraft/class_7260;method_42213(Lnet/minecraft/class_1297;)Vnamed increaseAngerAtLnet/minecraft/entity/mob/WardenEntity;increaseAngerAt(Lnet/minecraft/entity/Entity;)V
-
increaseAngerAt
- Mappings:
Namespace Name Mixin selector official aLbtg;a(Lbbn;IZ)Vintermediary method_42212Lnet/minecraft/class_7260;method_42212(Lnet/minecraft/class_1297;IZ)Vnamed increaseAngerAtLnet/minecraft/entity/mob/WardenEntity;increaseAngerAt(Lnet/minecraft/entity/Entity;IZ)V
-
getPrimeSuspect
- Mappings:
Namespace Name Mixin selector official fKLbtg;fK()Ljava/util/Optional;intermediary method_42215Lnet/minecraft/class_7260;method_42215()Ljava/util/Optional;named getPrimeSuspectLnet/minecraft/entity/mob/WardenEntity;getPrimeSuspect()Ljava/util/Optional;
-
getTarget
-
canImmediatelyDespawn
public boolean canImmediatelyDespawn(double distanceSquared) - Overrides:
canImmediatelyDespawnin classMobEntity- Mappings:
Namespace Name Mixin selector official hLbce;h(D)Zintermediary method_5974Lnet/minecraft/class_1308;method_5974(D)Znamed canImmediatelyDespawnLnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
-
initialize
@Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt) - Overrides:
initializein classMobEntity- Mappings:
Namespace Name Mixin selector official aLbce;a(Lchm;Lbah;Lbcg;Lbcu;Lpj;)Lbcu;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;
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas 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
ItemEntityalso 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
Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
damagein classLivingEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector official aLbbn;a(Lbaw;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
updateAttackTarget
- Mappings:
Namespace Name Mixin selector official kLbtg;k(Lbcc;)Vintermediary method_43274Lnet/minecraft/class_7260;method_43274(Lnet/minecraft/class_1309;)Vnamed updateAttackTargetLnet/minecraft/entity/mob/WardenEntity;updateAttackTarget(Lnet/minecraft/entity/LivingEntity;)V
-
getDimensions
Returns the dimensions of the entity with the givenpose.- Overrides:
getDimensionsin classLivingEntity- Returns:
- the dimensions of the entity with the given
pose - See Also:
- Mappings:
Namespace Name Mixin selector official aLbbn;a(Lbco;)Lbbo;intermediary method_18377Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;named getDimensionsLnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
-
isPushable
public boolean isPushable()Returns whether the entity can be pushed by other entities.- Overrides:
isPushablein classLivingEntity- Returns:
- whether the entity can be pushed by other entities
- Mappings:
Namespace Name Mixin selector official blLbbn;bl()Zintermediary method_5810Lnet/minecraft/class_1297;method_5810()Znamed isPushableLnet/minecraft/entity/Entity;isPushable()Z
-
pushAway
- Overrides:
pushAwayin classLivingEntity- Mappings:
Namespace Name Mixin selector official ALbcc;A(Lbbn;)Vintermediary method_6087Lnet/minecraft/class_1309;method_6087(Lnet/minecraft/class_1297;)Vnamed pushAwayLnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
-
accepts
public boolean accepts(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, GameEvent.Emitter emitter) Returns whether the callback wants to accept this event.- Specified by:
acceptsin interfaceVibrationListener.Callback- Mappings:
Namespace Name Mixin selector official aLdab$b;a(Lagg;Lczx;Lgt;Lczv;Lczv$a;)Zintermediary method_32970Lnet/minecraft/class_5718$class_5719;method_32970(Lnet/minecraft/class_3218;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_5712$class_7397;)Znamed acceptsLnet/minecraft/world/event/listener/VibrationListener$Callback;accepts(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/world/event/GameEvent$Emitter;)Z
-
accept
public void accept(ServerWorld world, GameEventListener listener, BlockPos pos, GameEvent event, @Nullable @Nullable Entity entity, @Nullable @Nullable Entity sourceEntity, float distance) Accepts a game event after delay.- Specified by:
acceptin interfaceVibrationListener.Callback- Mappings:
Namespace Name Mixin selector official aLdab$b;a(Lagg;Lczx;Lgt;Lczv;Lbbn;Lbbn;F)Vintermediary method_32969Lnet/minecraft/class_5718$class_5719;method_32969(Lnet/minecraft/class_3218;Lnet/minecraft/class_5714;Lnet/minecraft/class_2338;Lnet/minecraft/class_5712;Lnet/minecraft/class_1297;Lnet/minecraft/class_1297;F)Vnamed acceptLnet/minecraft/world/event/listener/VibrationListener$Callback;accept(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/event/listener/GameEventListener;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/GameEvent;Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/Entity;F)V
-
getAngerManager
- Mappings:
Namespace Name Mixin selector official fLLbtg;fL()Lbtf;intermediary method_42216Lnet/minecraft/class_7260;method_42216()Lnet/minecraft/class_7254;named getAngerManagerLnet/minecraft/entity/mob/WardenEntity;getAngerManager()Lnet/minecraft/entity/ai/WardenAngerManager;
-