Class Warden
java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<Entity>
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.Mob
net.minecraft.world.entity.PathfinderMob
net.minecraft.world.entity.monster.Monster
net.minecraft.world.entity.monster.warden.Warden
- All Implemented Interfaces:
CommandSource,Enemy,EntityAccess,VibrationListener.VibrationListenerConfig,Nameable,ICapabilityProvider,ICapabilityProviderImpl<Entity>,ICapabilitySerializable<CompoundTag>,IForgeEntity,IForgeLivingEntity,INBTSerializable<CompoundTag>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.LivingEntity
LivingEntity.FallsoundsNested classes/interfaces inherited from class net.minecraft.world.entity.Entity
Entity.MoveFunction, Entity.MovementEmission, Entity.RemovalReasonNested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AngerManagementprivate static final intprivate static final intprivate static final floatprivate static final EntityDataAccessor<Integer>private static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final floatprivate static final floatprivate final DynamicGameEventListener<VibrationListener>private static final intprivate intprivate intprivate static final floatprivate static final org.slf4j.Loggerprivate static final intprivate static final floatprivate static final intprivate static final intprivate static final intprivate static final intprivate intprivate intprivate static final intprivate static final intprivate static final intFields inherited from class net.minecraft.world.entity.PathfinderMob
DEFAULT_WALK_TARGET_VALUEFields inherited from class net.minecraft.world.entity.Mob
ambientSoundTime, armorDropChances, DEFAULT_EQUIPMENT_DROP_CHANCE, goalSelector, handDropChances, jumpControl, LEASH_TAG, lookControl, MAX_ENCHANTED_ARMOR_CHANCE, MAX_ENCHANTED_WEAPON_CHANCE, MAX_PICKUP_LOOT_CHANCE, MAX_WEARING_ARMOR_CHANCE, moveControl, navigation, PICKUP_REACH, PRESERVE_ITEM_DROP_CHANCE, targetSelector, UPDATE_GOAL_SELECTOR_EVERY_N_TICKS, xpRewardFields inherited from class net.minecraft.world.entity.LivingEntity
animationPosition, animationSpeed, animationSpeedOld, animStep, animStepO, ARMOR_SLOT_OFFSET, ARMOR_SLOTS, attackAnim, attackStrengthTicker, autoSpinAttackTicks, brain, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathScore, deathTime, DEFAULT_BASE_GRAVITY, DEFAULT_EYE_HEIGHT, EQUIPMENT_SLOT_OFFSET, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, flyingSpeed, HAND_SLOTS, hurtDir, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYRot, lerpZ, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, lyHeadRot, MIN_MOVEMENT_DISTANCE, noActionTime, oAttackAnim, oRun, PLAYER_HURT_EXPERIENCE_TIME, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, SWING_DURATION, swinging, swingingArm, swingTime, timeOffs, USE_ITEM_INTERVAL, useItem, useItemRemaining, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zzaFields inherited from class net.minecraft.world.entity.Entity
BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, BREATHING_DISTANCE_BELOW_EYES, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW, ENTITY_COUNTER, entityData, fallDistance, firstTick, FLAG_FALL_FLYING, FLAG_GLOWING, FLAG_ONFIRE, fluidHeight, flyDist, forgeFluidTypeHeight, FREEZE_HURT_FREQUENCY, hasImpulse, horizontalCollision, hurtMarked, ID_TAG, invulnerableTime, isInPowderSnow, isInsidePortal, level, MAX_ENTITY_TAG_COUNT, maxUpStep, minorHorizontalCollision, moveDist, noCulling, noPhysics, onGround, PASSENGERS_TAG, portalEntrancePos, portalTime, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, walkDist, walkDistO, wasEyeInWater, wasInPowderSnow, wasOnFire, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOldFields inherited from interface net.minecraft.commands.CommandSource
NULLFields inherited from interface net.minecraft.world.entity.monster.Enemy
XP_REWARD_BOSS, XP_REWARD_HUGE, XP_REWARD_LARGE, XP_REWARD_MEDIUM, XP_REWARD_NONE, XP_REWARD_SMALL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAdditionalSaveData(CompoundTag p_219434_) static voidapplyDarknessAround(ServerLevel p_219376_, Vec3 p_219377_, Entity p_219378_, int p_219379_) booleanprotected booleanbooleancanTargetEntity(Entity p_219386_) booleanbooleancheckSpawnObstruction(LevelReader p_219398_) voidclearAnger(Entity p_219429_) private voidclientDiggingParticles(AnimationState p_219384_) static AttributeSupplier.Builderprotected PathNavigationcreateNavigation(Level p_219396_) protected voidbooleanprotected voidbooleandoHurtTarget(Entity p_219472_) protected voidfinalizeSpawn(ServerLevelAccessor p_219400_, DifficultyInstance p_219401_, MobSpawnType p_219402_, SpawnGroupData p_219403_, CompoundTag p_219404_) private intprotected SoundEventgetBrain()intprotected SoundEventgetDimensions(Pose p_219392_) floatgetHeartAnimation(float p_219470_) private intprotected SoundEventgetHurtSound(DamageSource p_219440_) protected floatfloatgetTendrilAnimation(float p_219468_) floatgetWalkTargetValue(BlockPos p_219410_, LevelReader p_219411_) voidhandleEntityEvent(byte p_219360_) booleanhurt(DamageSource p_219381_, float p_219382_) booleanvoidincreaseAngerAt(Entity p_219442_) voidincreaseAngerAt(Entity p_219388_, int p_219389_, boolean p_219390_) private booleanbooleanisInvulnerableTo(DamageSource p_219427_) booleanprotected Brain<?>makeBrain(com.mojang.serialization.Dynamic<?> p_219406_) protected floatnextStep()voidonSignalReceive(ServerLevel p_219362_, GameEventListener p_219363_, BlockPos p_219364_, GameEvent p_219365_, Entity p_219366_, Entity p_219367_, float p_219368_) voidonSyncedDataUpdated(EntityDataAccessor<?> p_219422_) private voidprotected voidplayStepSound(BlockPos p_219431_, BlockState p_219432_) voidreadAdditionalSaveData(CompoundTag p_219415_) voidrecreateFromPacket(ClientboundAddEntityPacket p_219420_) booleanremoveWhenFarAway(double p_219457_) protected voidvoidsetAttackTarget(LivingEntity p_219460_) booleanshouldListen(ServerLevel p_219370_, GameEventListener p_219371_, BlockPos p_219372_, GameEvent p_219373_, GameEvent.Context p_219374_) private voidvoidtick()voidMethods inherited from class net.minecraft.world.entity.monster.Monster
aiStep, checkAnyLightMonsterSpawnRules, checkMonsterSpawnRules, createMonsterAttributes, getFallSounds, getProjectile, getSoundSource, getSwimSound, getSwimSplashSound, isDarkEnoughToSpawn, isPreventingPlayerRest, shouldDespawnInPeaceful, shouldDropExperience, shouldDropLoot, updateNoActionTimeMethods inherited from class net.minecraft.world.entity.PathfinderMob
checkSpawnRules, followLeashSpeed, getWalkTargetValue, isPathFinding, onLeashDistance, shouldStayCloseToLeashHolder, tickLeashMethods inherited from class net.minecraft.world.entity.Mob
ate, baseTick, canAttackType, canBeLeashed, canCutCorner, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canTakeItem, checkDespawn, checkMobSpawnRules, clearRestriction, convertTo, createBodyControl, createLootContext, createMobAttributes, dropCustomDeathLoot, dropFromLootTable, dropLeash, enchantSpawnedArmor, enchantSpawnedWeapon, equipItemIfPossible, getAmbientSoundInterval, getArmorSlots, getDefaultLootTable, getEquipmentDropChance, getEquipmentForSlot, getExperienceReward, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashHolder, getLookControl, getLootTable, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMaxSpawnClusterSize, getMeleeAttackRangeSqr, getMoveControl, getNavigation, getPathfindingMalus, getPerceivedTargetDistanceSquareForMeleeAttack, getPickResult, getPickupReach, getRestrictCenter, getRestrictRadius, getSensing, hasRestriction, interact, isAggressive, isControlledByLocalInstance, isEffectiveAi, isLeashed, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSunBurnTick, isWithinMeleeAttackRange, isWithinRestriction, isWithinRestriction, jumpInFluid, jumpInLiquid, lookAt, mobInteract, onOffspringSpawnedFromEgg, pickUpItem, playAmbientSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, registerGoals, removeAfterChangingDimensions, removeAllGoals, removeFreeWill, requiresCustomPersistence, restrictTo, serverAiStep, setAggressive, setBaby, setCanPickUpLoot, setDelayedLeashHolderId, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashedTo, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpeed, setTarget, setXxa, setYya, setZza, shouldPassengersInheritMalus, spawnAnim, startRiding, tickHeadTurn, updateControlFlags, wantsToPickUpMethods inherited from class net.minecraft.world.entity.LivingEntity
actuallyHurt, addEffect, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, broadcastBreakEvent, broadcastBreakEvent, calculateEntityAnimation, calculateFallDamage, canAttack, canAttack, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canBreatheUnderwater, canFreeze, canSpawnSoulSpeedParticle, canStandOnFluid, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, curePotionEffects, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, dropAllDeathLoot, dropEquipment, dropExperience, eat, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributeBaseValue, getAttributes, getAttributeValue, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBoundingBoxForCulling, getCapability, getCombatTracker, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDismountPoses, getDrinkingSound, getEatingSound, getEffect, getEquipmentSlotForItem, getEyeHeight, getFallFlyingTicks, getFluidFallingAdjustedMovement, getHealth, getItemInHand, getJumpBoostPower, getJumpPower, getKillCredit, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxHealth, getMeleeAttackReferencePosition, getMobType, getNoActionTime, getOffhandItem, getRandom, getRelativePortalPosition, getScale, getSleepingPos, getSlot, getSpeed, getStandingEyeHeight, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleRelativeFrictionAndCalculateMovement, hasEffect, hasItemInSlot, hasLineOfSight, heal, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, increaseAirSupply, invalidateCaps, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBaby, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInWall, isPickable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadTo, lerpTo, lookAt, onChangedBlock, onClimbable, onEffectAdded, onEffectRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onItemPickup, onLeaveCombat, onSoulSpeedBlock, outOfWorld, playBlockFallSound, playEquipSound, push, pushEntities, randomTeleport, releaseUsingItem, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, removeSoulSpeed, resetForwardDirectionOfRelativePortalPosition, reviveCaps, rideableUnderWater, rideTick, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setOnGround, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldRemoveSoulSpeed, shouldRiderFaceForward, shouldShowName, skipDropExperience, spawnSoulSpeedParticle, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, travel, triggerItemUseEffects, tryAddFrost, tryAddSoulSpeed, updateEffectVisibility, updateInvisibilityStatus, updateSwingTime, updateUsingItem, verifyEquippedItem, wasExperienceConsumedMethods inherited from class net.minecraft.world.entity.Entity
absMoveTo, absMoveTo, acceptsFailure, acceptsSuccess, addDeltaMovement, addPassenger, addTag, allowsDismounting, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canChangeDimensions, canCollideWith, canEnterPose, canSpawnSprintParticle, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkInsideBlocks, checkOutOfWorld, checkSlowFallDistance, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, copyPosition, createCommandSourceStack, createHoverEvent, discard, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doEnchantDamageEffects, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, findDimensionEntryPoint, fireImmune, fixupDimensions, gameEvent, gameEvent, getAirSupply, getAllSlots, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getBoundingBoxForPose, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControllingPassenger, getCustomName, getDeltaMovement, getDimensionChangingDelay, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getExitPortal, getEyeHeight, getEyeHeight, getEyeHeightAccess, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFeetBlockState, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getHandHoldingItemAngle, getId, getIndirectPassengers, getLeashOffset, getLeashOffset, getLevel, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getMyRidingOffset, getName, getOnPos, getOnPosLegacy, getPassengers, getPassengersAndSelf, getPassengersRidingOffset, getPercentFrozen, getPermissionLevel, getPersistentData, getPickRadius, getPistonPushReaction, getPortalWaitTime, getPose, getPosition, getPositionCodec, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getStringUUID, getSwimHighSpeedSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getY, getY, getYRot, getZ, getZ, handleInsidePortal, handleNetherPortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPermissions, hasPose, interactAt, is, isAddedToWorld, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInvisible, isInvisibleTo, isInvulnerable, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnGround, isOnPortalCooldown, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, lavaHurt, lerpMotion, limitPistonMovement, load, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onFlap, onInsideBlock, onInsideBubbleColumn, onlyOpCanSetNbt, onPassengerTurned, onRemovedFromWorld, pick, playEntityOnFireExtinguishedSound, playerTouch, playSound, playSound, playSwimSound, position, positionRider, processFlappingMovement, processPortalCooldown, push, reapplyPosition, refreshDimensions, remove, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendSystemMessage, setAirSupply, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevelCallback, setNoGravity, setOldPosAndRot, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSecondsOnFire, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldInformAdmins, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleportRelative, teleportTo, teleportToWithTicket, thunderHit, toString, touchingUnloadedChunk, trackingPosition, tryCheckInsideBlocks, turn, unRide, unsetRemoved, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, wasKilledMethods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, serializeCapsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.commands.CommandSource
alwaysAcceptsMethods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider
getCapabilityMethods inherited from interface net.minecraftforge.common.extensions.IForgeEntity
canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, deserializeNBT, getClassification, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getPickedResult, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isAddedToWorld, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onAddedToWorld, onRemovedFromWorld, revive, serializeNBT, shouldRiderSitMethods inherited from interface net.minecraftforge.common.extensions.IForgeLivingEntity
canDrownInFluidType, canSwimInFluidType, moveInFluid, self, sinkInFluidMethods inherited from interface net.minecraft.world.level.gameevent.vibrations.VibrationListener.VibrationListenerConfig
isValidVibration, onSignalSchedule
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
GAME_EVENT_LISTENER_RANGE
private static final int GAME_EVENT_LISTENER_RANGE- See Also:
-
VIBRATION_COOLDOWN_TICKS
private static final int VIBRATION_COOLDOWN_TICKS- See Also:
-
TIME_TO_USE_MELEE_UNTIL_SONIC_BOOM
private static final int TIME_TO_USE_MELEE_UNTIL_SONIC_BOOM- See Also:
-
MAX_HEALTH
private static final int MAX_HEALTH- See Also:
-
MOVEMENT_SPEED_WHEN_FIGHTING
private static final float MOVEMENT_SPEED_WHEN_FIGHTING- See Also:
-
KNOCKBACK_RESISTANCE
private static final float KNOCKBACK_RESISTANCE- See Also:
-
ATTACK_KNOCKBACK
private static final float ATTACK_KNOCKBACK- See Also:
-
ATTACK_DAMAGE
private static final int ATTACK_DAMAGE- See Also:
-
CLIENT_ANGER_LEVEL
-
DARKNESS_DISPLAY_LIMIT
private static final int DARKNESS_DISPLAY_LIMIT- See Also:
-
DARKNESS_DURATION
private static final int DARKNESS_DURATION- See Also:
-
DARKNESS_RADIUS
private static final int DARKNESS_RADIUS- See Also:
-
DARKNESS_INTERVAL
private static final int DARKNESS_INTERVAL- See Also:
-
ANGERMANAGEMENT_TICK_DELAY
private static final int ANGERMANAGEMENT_TICK_DELAY- See Also:
-
DEFAULT_ANGER
private static final int DEFAULT_ANGER- See Also:
-
PROJECTILE_ANGER
private static final int PROJECTILE_ANGER- See Also:
-
ON_HURT_ANGER_BOOST
private static final int ON_HURT_ANGER_BOOST- See Also:
-
RECENT_PROJECTILE_TICK_THRESHOLD
private static final int RECENT_PROJECTILE_TICK_THRESHOLD- See Also:
-
TOUCH_COOLDOWN_TICKS
private static final int TOUCH_COOLDOWN_TICKS- See Also:
-
DIGGING_PARTICLES_AMOUNT
private static final int DIGGING_PARTICLES_AMOUNT- See Also:
-
DIGGING_PARTICLES_DURATION
private static final float DIGGING_PARTICLES_DURATION- See Also:
-
DIGGING_PARTICLES_OFFSET
private static final float DIGGING_PARTICLES_OFFSET- See Also:
-
PROJECTILE_ANGER_DISTANCE
private static final int PROJECTILE_ANGER_DISTANCE- See Also:
-
tendrilAnimation
private int tendrilAnimation -
tendrilAnimationO
private int tendrilAnimationO -
heartAnimation
private int heartAnimation -
heartAnimationO
private int heartAnimationO -
roarAnimationState
-
sniffAnimationState
-
emergeAnimationState
-
diggingAnimationState
-
attackAnimationState
-
sonicBoomAnimationState
-
dynamicGameEventListener
-
angerManagement
-
-
Constructor Details
-
Warden
-
-
Method Details
-
getAddEntityPacket
- Overrides:
getAddEntityPacketin classEntity
-
recreateFromPacket
- Overrides:
recreateFromPacketin classLivingEntity
-
checkSpawnObstruction
- Overrides:
checkSpawnObstructionin classMob
-
getWalkTargetValue
- Overrides:
getWalkTargetValuein classMonster
-
isInvulnerableTo
- Overrides:
isInvulnerableToin classEntity
-
isDiggingOrEmerging
private boolean isDiggingOrEmerging() -
canRide
-
canDisableShield
public boolean canDisableShield()- Overrides:
canDisableShieldin classLivingEntity
-
nextStep
protected float nextStep() -
createAttributes
-
dampensVibrations
public boolean dampensVibrations()- Overrides:
dampensVibrationsin classEntity
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity
-
getAmbientSound
- Overrides:
getAmbientSoundin classMob
-
getHurtSound
- Overrides:
getHurtSoundin classMonster
-
getDeathSound
- Overrides:
getDeathSoundin classMonster
-
playStepSound
- Overrides:
playStepSoundin classEntity
-
doHurtTarget
- Overrides:
doHurtTargetin classMob
-
defineSynchedData
protected void defineSynchedData()- Overrides:
defineSynchedDatain classMob
-
getClientAngerLevel
public int getClientAngerLevel() -
syncClientAngerLevel
private void syncClientAngerLevel() -
tick
public void tick() -
customServerAiStep
protected void customServerAiStep()- Overrides:
customServerAiStepin classMob
-
handleEntityEvent
public void handleEntityEvent(byte p_219360_) - Overrides:
handleEntityEventin classMob
-
getHeartBeatDelay
private int getHeartBeatDelay() -
getTendrilAnimation
public float getTendrilAnimation(float p_219468_) -
getHeartAnimation
public float getHeartAnimation(float p_219470_) -
clientDiggingParticles
-
onSyncedDataUpdated
- Overrides:
onSyncedDataUpdatedin classLivingEntity
-
ignoreExplosion
public boolean ignoreExplosion()- Overrides:
ignoreExplosionin classEntity
-
makeBrain
- Overrides:
makeBrainin classLivingEntity
-
getBrain
- Overrides:
getBrainin classLivingEntity
-
sendDebugPackets
protected void sendDebugPackets()- Overrides:
sendDebugPacketsin classMob
-
updateDynamicGameEventListener
public void updateDynamicGameEventListener(BiConsumer<DynamicGameEventListener<?>, ServerLevel> p_219413_) - Overrides:
updateDynamicGameEventListenerin classEntity
-
getListenableEvents
- Specified by:
getListenableEventsin interfaceVibrationListener.VibrationListenerConfig
-
canTriggerAvoidVibration
public boolean canTriggerAvoidVibration()- Specified by:
canTriggerAvoidVibrationin interfaceVibrationListener.VibrationListenerConfig
-
canTargetEntity
-
applyDarknessAround
public static void applyDarknessAround(ServerLevel p_219376_, Vec3 p_219377_, @Nullable Entity p_219378_, int p_219379_) -
addAdditionalSaveData
- Overrides:
addAdditionalSaveDatain classMob
-
readAdditionalSaveData
- Overrides:
readAdditionalSaveDatain classMob
-
playListeningSound
private void playListeningSound() -
getAngerLevel
-
getActiveAnger
private int getActiveAnger() -
clearAnger
-
increaseAngerAt
-
increaseAngerAt
-
getEntityAngryAt
-
getTarget
-
removeWhenFarAway
public boolean removeWhenFarAway(double p_219457_) - Overrides:
removeWhenFarAwayin classMob
-
finalizeSpawn
@Nullable public SpawnGroupData finalizeSpawn(ServerLevelAccessor p_219400_, DifficultyInstance p_219401_, MobSpawnType p_219402_, @Nullable SpawnGroupData p_219403_, @Nullable CompoundTag p_219404_) - Overrides:
finalizeSpawnin classMob
-
hurt
- Overrides:
hurtin classLivingEntity
-
setAttackTarget
-
getDimensions
- Overrides:
getDimensionsin classLivingEntity
-
isPushable
public boolean isPushable()- Overrides:
isPushablein classLivingEntity
-
doPush
- Overrides:
doPushin classLivingEntity
-
shouldListen
public boolean shouldListen(ServerLevel p_219370_, GameEventListener p_219371_, BlockPos p_219372_, GameEvent p_219373_, GameEvent.Context p_219374_) - Specified by:
shouldListenin interfaceVibrationListener.VibrationListenerConfig
-
onSignalReceive
public void onSignalReceive(ServerLevel p_219362_, GameEventListener p_219363_, BlockPos p_219364_, GameEvent p_219365_, @Nullable Entity p_219366_, @Nullable Entity p_219367_, float p_219368_) - Specified by:
onSignalReceivein interfaceVibrationListener.VibrationListenerConfig
-
getAngerManagement
-