类 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
- 所有已实现的接口:
SyncedDataHolder
,Attackable
,EquipmentUser
,Leashable
,Enemy
,Targeting
,EntityAccess
,VibrationSystem
,Nameable
,ScoreHolder
,ICapabilityProvider
,ICapabilityProviderImpl<Entity>
,ICapabilitySerializable<CompoundTag>
,IForgeEntity
,IForgeLivingEntity
,INBTSerializable<CompoundTag>
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.world.entity.LivingEntity
LivingEntity.Fallsounds
从类继承的嵌套类/接口 net.minecraft.world.entity.Entity
Entity.MoveFunction, Entity.MovementEmission, Entity.RemovalReason
从类继承的嵌套类/接口 net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
从接口继承的嵌套类/接口 net.minecraft.world.entity.Leashable
Leashable.LeashData
从接口继承的嵌套类/接口 net.minecraft.world.level.gameevent.vibrations.VibrationSystem
VibrationSystem.Data, VibrationSystem.Listener, VibrationSystem.Ticker, VibrationSystem.User
-
字段概要
字段修饰符和类型字段说明(专用程序包) AngerManagement
private static final int
private static final int
private static final float
private static final EntityDataAccessor
<Integer> 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 final DynamicGameEventListener
<VibrationSystem.Listener> private static final int
private int
private int
private static final float
private static final org.slf4j.Logger
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 int
private int
private static final int
private static final int
private static final int
private VibrationSystem.Data
private final VibrationSystem.User
从类继承的字段 net.minecraft.world.entity.PathfinderMob
DEFAULT_WALK_TARGET_VALUE
从类继承的字段 net.minecraft.world.entity.Mob
ambientSoundTime, armorDropChances, bodyArmorDropChance, DEFAULT_EQUIPMENT_DROP_CHANCE, goalSelector, handDropChances, jumpControl, 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, PRESERVE_ITEM_DROP_CHANCE_THRESHOLD, RANDOM_SPAWN_BONUS_ID, targetSelector, UPDATE_GOAL_SELECTOR_EVERY_N_TICKS, xpReward
从类继承的字段 net.minecraft.world.entity.LivingEntity
animStep, animStepO, appliedScale, ARMOR_SLOT_OFFSET, ARMOR_SLOTS, attackAnim, attackStrengthTicker, ATTRIBUTES_FIELD, autoSpinAttackDmg, autoSpinAttackItemStack, autoSpinAttackTicks, BASE_JUMP_POWER, BODY_ARMOR_OFFSET, brain, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathTime, DEFAULT_BABY_SCALE, DEFAULT_BASE_GRAVITY, elytraAnimationState, EQUIPMENT_SLOT_OFFSET, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, HAND_SLOTS, hurtDuration, hurtTime, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerTime, lerpHeadSteps, lerpSteps, lerpX, lerpXRot, lerpY, lerpYHeadRot, lerpYRot, lerpZ, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, MIN_MOVEMENT_DISTANCE, noActionTime, oAttackAnim, oRun, PLAYER_HURT_EXPERIENCE_TIME, PLAYER_NOT_WEARING_DISGUISE_ITEM, removeArrowTime, removeStingerTime, rotA, rotOffs, run, SLEEPING_DIMENSIONS, SWING_DURATION, swinging, swingingArm, swingTime, timeOffs, useItem, useItemRemaining, walkAnimation, xxa, yBodyRot, yBodyRotO, yHeadRot, yHeadRotO, yya, zza
从类继承的字段 net.minecraft.world.entity.Entity
BASE_SAFE_FALL_DISTANCE, BASE_TICKS_REQUIRED_TO_FREEZE, blocksBuilding, BOARDING_COOLDOWN, boardingCooldown, CONTENTS_SLOT_INDEX, DATA_POSE, DATA_SHARED_FLAGS_ID, DEFAULT_BB_HEIGHT, DEFAULT_BB_WIDTH, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2, DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5, DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0, 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, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, minorHorizontalCollision, moveDist, noPhysics, PASSENGERS_TAG, portalProcess, random, stringUUID, stuckSpeedMultiplier, tickCount, TOTAL_AIR_SUPPLY, uuid, UUID_TAG, verticalCollision, verticalCollisionBelow, wasEyeInWater, wasInPowderSnow, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOld
从接口继承的字段 net.minecraft.world.entity.monster.Enemy
XP_REWARD_BOSS, XP_REWARD_HUGE, XP_REWARD_LARGE, XP_REWARD_MEDIUM, XP_REWARD_NONE, XP_REWARD_SMALL
从接口继承的字段 net.minecraft.world.entity.Leashable
LEASH_ELASTIC_DIST, LEASH_TAG, LEASH_TOO_FAR_DIST
从接口继承的字段 net.minecraft.world.scores.ScoreHolder
WILDCARD, WILDCARD_NAME
从接口继承的字段 net.minecraft.world.level.gameevent.vibrations.VibrationSystem
DEFAULT_VIBRATION_FREQUENCY, RESONANCE_EVENTS, VIBRATION_FREQUENCY_FOR_EVENT
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
addAdditionalSaveData
(CompoundTag p_219434_) static void
applyDarknessAround
(ServerLevel p_219376_, Vec3 p_219377_, Entity p_219378_, int p_219379_) boolean
protected boolean
boolean
canTargetEntity
(Entity p_219386_) boolean
checkSpawnObstruction
(LevelReader p_219398_) void
clearAnger
(Entity p_219429_) private void
clientDiggingParticles
(AnimationState p_219384_) static AttributeSupplier.Builder
protected PathNavigation
createNavigation
(Level p_219396_) protected void
customServerAiStep
(ServerLevel p_363493_) boolean
protected void
defineSynchedData
(SynchedEntityData.Builder p_332612_) boolean
doHurtTarget
(ServerLevel p_365355_, Entity p_219472_) protected void
finalizeSpawn
(ServerLevelAccessor p_219400_, DifficultyInstance p_219401_, EntitySpawnReason p_365792_, SpawnGroupData p_219403_) Forge: Override-Only, call via ForgeEventFactory.onFinalizeSpawn.
Overrides are allowed.private int
getAddEntityPacket
(ServerEntity p_342925_) protected SoundEvent
getBrain()
int
protected SoundEvent
getDefaultDimensions
(Pose p_330637_) float
getHeartAnimation
(float p_219470_) private int
protected SoundEvent
getHurtSound
(DamageSource p_219440_) protected float
float
getTendrilAnimation
(float p_219468_) float
getWalkTargetValue
(BlockPos p_219410_, LevelReader p_219411_) void
handleEntityEvent
(byte p_219360_) boolean
hurtServer
(ServerLevel p_362745_, DamageSource p_363028_, float p_361172_) boolean
ignoreExplosion
(Explosion p_312105_) void
increaseAngerAt
(Entity p_219442_) void
increaseAngerAt
(Entity p_219388_, int p_219389_, boolean p_219390_) (专用程序包) boolean
boolean
isInvulnerableTo
(ServerLevel p_365950_, DamageSource p_219427_) boolean
protected Brain
<?> makeBrain
(com.mojang.serialization.Dynamic<?> p_219406_) protected float
nextStep()
void
onSyncedDataUpdated
(EntityDataAccessor<?> p_219422_) private void
protected void
playStepSound
(BlockPos p_219431_, BlockState p_219432_) void
readAdditionalSaveData
(CompoundTag p_219415_) void
recreateFromPacket
(ClientboundAddEntityPacket p_219420_) boolean
removeWhenFarAway
(double p_219457_) protected void
void
setAttackTarget
(LivingEntity p_219460_) private void
void
tick()
void
从类继承的方法 net.minecraft.world.entity.monster.Monster
aiStep, checkAnyLightMonsterSpawnRules, checkMonsterSpawnRules, createMonsterAttributes, getFallSounds, getProjectile, getSoundSource, getSwimSound, getSwimSplashSound, isDarkEnoughToSpawn, isPreventingPlayerRest, shouldDespawnInPeaceful, shouldDropExperience, shouldDropLoot, updateNoActionTime
从类继承的方法 net.minecraft.world.entity.PathfinderMob
checkSpawnRules, closeRangeLeashBehaviour, followLeashSpeed, getWalkTargetValue, handleLeashAtDistance, isPanicking, isPathFinding, shouldStayCloseToLeashHolder
从类继承的方法 net.minecraft.world.entity.Mob
ate, baseTick, canAttackType, canBeLeashed, canDispenserEquipIntoSlot, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canUseSlot, checkDespawn, checkMobSpawnRules, clampHeadRotationToBody, clearRestriction, convertTo, convertTo, createBodyControl, createMobAttributes, dropCustomDeathLoot, dropFromLootTable, dropPreservedEquipment, dropPreservedEquipment, enchantSpawnedArmor, enchantSpawnedWeapon, equip, equip, equipItemIfPossible, getAmbientSoundInterval, getArmorAndBodyArmorSlots, getArmorDropChances, getArmorSlots, getAttackBoundingBox, getBaseExperienceReward, getBodyArmorItem, getControllingPassenger, getEquipmentDropChance, getEquipmentForSlot, getHandDropChances, getHandSlots, getHeadRotSpeed, getItemBySlot, getJumpControl, getLeashData, getLookControl, getLootTable, getLootTableSeed, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMaxSpawnClusterSize, getMoveControl, getNavigation, getPathfindingMalus, getPickResult, getPickupReach, getPreferredWeaponType, getRestrictCenter, getRestrictRadius, getSensing, getSpawnReason, getTargetFromBrain, hasRestriction, interact, isAggressive, isEffectiveAi, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSpawnCancelled, isSunBurnTick, isWearingBodyArmor, isWithinMeleeAttackRange, isWithinRestriction, isWithinRestriction, jumpInFluid, jumpInLiquid, leashTooFarBehaviour, lookAt, mobInteract, onAttributeUpdated, onLeashRemoved, onOffspringSpawnedFromEgg, onPathfindingDone, onPathfindingStart, pickUpItem, playAmbientSound, playAttackSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, registerGoals, removeAfterChangingDimensions, removeAllGoals, removeFreeWill, requiresCustomPersistence, restrictTo, serverAiStep, setAggressive, setBaby, setBodyArmorItem, setCanPickUpLoot, setDropChance, setGuaranteedDrop, setItemSlot, setItemSlotAndDropWhenKilled, setLeashData, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpawnCancelled, setSpeed, setTarget, setXxa, setYya, setZza, shouldPassengersInheritMalus, spawnAnim, startRiding, stopInPlace, tickHeadTurn, updateControlFlags, wantsToPickUp
从类继承的方法 net.minecraft.world.entity.LivingEntity
activeLocationDependentEnchantments, actuallyHurt, addEffect, addEffect, animateHurt, areAllEffectsAmbient, attackable, blockedByShield, blockUsingShield, brainProvider, calculateEntityAnimation, calculateFallDamage, canAttack, canBeAffected, canBeNameTagged, canBeSeenAsEnemy, canBeSeenByAnyone, canBreatheUnderwater, cancelLerp, canEquipWithDispenser, canFreeze, canGlide, canGlideUsing, canStandOnFluid, canUsePortal, causeFallDamage, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doHurtEquipment, dropAllDeathLoot, dropEquipment, dropExperience, dropFromGiftLootTable, dropFromLootTable, dropFromShearingLootTable, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getAgeScale, getAllSlots, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getCapability, getCombatTracker, getComfortableFallDistance, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDefaultGravity, getDimensions, getDismountPoses, getEffect, getEffectiveGravity, getEquipmentSlotForItem, getExperienceReward, getFallFlyingTicks, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHitbox, getHurtDir, getItemBlockingWith, getItemHeldByArm, getItemInHand, getJumpBoostPower, getJumpPower, getJumpPower, getKillCredit, getKnockback, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtByPlayerTime, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getMainHandItem, getMaxAbsorption, getMaxHeadRotationRelativeToBody, getMaxHealth, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getPreciseBodyRotation, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSleepingPos, getSlot, getSlotForHand, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getWeaponItem, getYHeadRot, goDownInWater, handleDamageEvent, handleExtraItemsCreatedOnUse, hasEffect, hasInfiniteMaterials, hasItemInSlot, hasLandedInLiquid, hasLineOfSight, hasLineOfSight, heal, hurtArmor, hurtCurrentlyUsedShield, hurtHelmet, igniteForTicks, increaseAirSupply, indicateDamage, internalSetAbsorptionAmount, invalidateCaps, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBaby, isBlocking, isCurrentlyGlowing, isDamageSourceBlocked, isDeadOrDying, isEquippableInSlot, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInWall, isLookingAtMe, isPickable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadRotationStep, lerpHeadTo, lerpTargetX, lerpTargetXRot, lerpTargetY, lerpTargetYRot, lerpTargetZ, lerpTo, lookAt, makePoofParticles, makeSound, maxUpStep, onBelowWorld, onChangedBlock, onClimbable, onEffectAdded, onEffectsRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onEquippedItemBroken, onItemPickup, onLeaveCombat, playBlockFallSound, push, pushEntities, randomTeleport, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, resetForwardDirectionOfRelativePortalPosition, resolveMobResponsibleForDamage, resolvePlayerResponsibleForDamage, reviveCaps, rideTick, sanitizeScale, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldRiderFaceForward, shouldShowName, skipDropExperience, spawnItemParticles, startSleeping, startUsingItem, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, tickRidden, travel, triggerOnDeathMobEffects, tryAddFrost, updateEffectVisibility, updateFallFlying, updateInvisibilityStatus, updateSwingTime, updateUsingItem, updateWalkAnimation, verifyEquippedItem, wasExperienceConsumed, wouldNotSuffocateAtTargetPose
从类继承的方法 net.minecraft.world.entity.Entity
absMoveTo, absMoveTo, absRotateTo, addDeltaMovement, addPassenger, addTag, adjustSpawnLocation, applyEffectsFromBlocks, applyEffectsFromBlocks, applyGravity, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canBeHitByProjectile, canCollideWith, canControlVehicle, canSpawnSprintParticle, canSprint, canTeleport, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, checkBelowWorld, checkSlowFallDistance, checkSupportingBlock, chunkPosition, clearFire, closerThan, closerThan, collideBoundingBox, considersEntityAsAlly, copyPosition, couldAcceptPassenger, countPlayerPassengers, createCommandSourceStackForNameResolution, createHoverEvent, damageSources, deflection, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doCheckFallDamage, doWaterSplashEffect, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, fireImmune, fixupDimensions, forceSetRotation, fudgePositionAfterSizeChange, gameEvent, gameEvent, getAirSupply, getAttachments, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCollisionHorizontalEscapeVector, getCommandSenderWorld, getControlledVehicle, getCustomName, getDefaultPassengerAttachmentPoint, getDeltaMovement, getDimensionChangingDelay, getDirection, getDismountLocationForPassenger, getDisplayName, getEncodeId, getEntityData, getEyeHeight, getEyeHeight, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFireImmuneTicks, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getGravity, getHandHoldingItemAngle, getId, getInBlockState, getIndirectPassengers, getInputVector, getKnownMovement, getLeashOffset, getLeashOffset, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getMaxAirSupply, getMaxHeightFluidType, getMotionDirection, getMovementEmission, getName, getNearestViewDirection, getOnPos, getOnPos, getOnPosLegacy, getPassengerAttachmentPoint, getPassengers, getPassengersAndSelf, getPercentFrozen, getPersistentData, getPickRadius, getPistonPushReaction, getPortalCooldown, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getRandom, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getStringUUID, getSwimHighSpeedSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getVehicleAttachmentPoint, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getXRot, getY, getY, getYRot, getYRot, getZ, getZ, handlePortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPose, hurt, hurtClient, hurtOrSimulate, igniteForSeconds, interactAt, is, isAddedToWorld, isAffectedByBlocks, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isColliding, isControlledByClient, isControlledByLocalInstance, isControlledByOrIsLocalPlayer, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInFluidType, isInFluidType, isInLava, isInLiquid, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableToBase, isInWater, isInWaterOrBubble, isInWaterOrRain, isInWaterOrSwimmable, isInWaterRainOrBubble, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killedEntity, lavaHurt, lerpMotion, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveRelative, moveTo, moveTo, moveTo, moveTo, moveTo, moveTowardsClosestSpace, newDoubleList, newFloatList, oldPosition, onAboveBubbleCol, onAddedToWorld, onClientRemoval, onExplosionHit, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onPassengerTurned, onRemoval, onRemovedFromWorld, onSyncedDataUpdated, pick, placePortalTicket, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playSwimSound, position, positionRider, positionRider, processFlappingMovement, processPortalCooldown, push, push, reapplyPosition, recordMovementThroughBlocks, refreshDimensions, registryAccess, removePassenger, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, setAirSupply, setAsInsidePortal, setBoundingBox, setCustomName, setCustomNameVisible, setDeltaMovement, setDeltaMovement, setFluidTypeHeight, setGlowingTag, setId, setInvisible, setInvulnerable, setIsInPowderSnow, setLevel, setLevelCallback, setNoGravity, setOldPos, setOldPosAndRot, setOldPosAndRot, setOldRot, setOnGround, setOnGroundWithMovement, setOnGroundWithMovement, setPortalCooldown, setPortalCooldown, setPos, setPos, setPose, setPosRaw, setRemainingFireTicks, setRemoved, setRot, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shouldBeSaved, shouldBlockExplode, shouldPlayLavaHurtSound, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleport, teleportRelative, teleportSetPosition, teleportTo, teleportTo, thunderHit, toString, touchingUnloadedChunk, trackingPosition, turn, unRide, unsetRemoved, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSound
从类继承的方法 net.minecraftforge.common.capabilities.CapabilityProvider
deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, serializeCaps
从接口继承的方法 net.minecraft.world.entity.EquipmentUser
equip, equip, equip, resolveSlot
从接口继承的方法 net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability
从接口继承的方法 net.minecraftforge.common.extensions.IForgeEntity
canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, canUpdate, canUpdate, captureDrops, captureDrops, deserializeNBT, getClassification, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getSoundFromFluidType, hasCustomOutlineRendering, isAddedToWorld, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onAddedToWorld, onRemovedFromWorld, revive, serializeNBT, shouldRiderSit, shouldUpdateFluidWhileBoating
从接口继承的方法 net.minecraftforge.common.extensions.IForgeLivingEntity
canDrownInFluidType, canSwimInFluidType, moveInFluid, self, sinkInFluid
从接口继承的方法 net.minecraft.world.entity.Leashable
canHaveALeashAttachedToIt, dropLeash, elasticRangeLeashBehaviour, getLeashHolder, isLeashed, mayBeLeashed, readLeashData, removeLeash, setDelayedLeashHolderId, setLeashedTo, writeLeashData
从接口继承的方法 net.minecraft.world.scores.ScoreHolder
getFeedbackDisplayName
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
VIBRATION_COOLDOWN_TICKS
private static final int VIBRATION_COOLDOWN_TICKS- 另请参阅:
-
TIME_TO_USE_MELEE_UNTIL_SONIC_BOOM
private static final int TIME_TO_USE_MELEE_UNTIL_SONIC_BOOM- 另请参阅:
-
MAX_HEALTH
private static final int MAX_HEALTH- 另请参阅:
-
MOVEMENT_SPEED_WHEN_FIGHTING
private static final float MOVEMENT_SPEED_WHEN_FIGHTING- 另请参阅:
-
KNOCKBACK_RESISTANCE
private static final float KNOCKBACK_RESISTANCE- 另请参阅:
-
ATTACK_KNOCKBACK
private static final float ATTACK_KNOCKBACK- 另请参阅:
-
ATTACK_DAMAGE
private static final int ATTACK_DAMAGE- 另请参阅:
-
FOLLOW_RANGE
private static final int FOLLOW_RANGE- 另请参阅:
-
CLIENT_ANGER_LEVEL
-
DARKNESS_DISPLAY_LIMIT
private static final int DARKNESS_DISPLAY_LIMIT- 另请参阅:
-
DARKNESS_DURATION
private static final int DARKNESS_DURATION- 另请参阅:
-
DARKNESS_RADIUS
private static final int DARKNESS_RADIUS- 另请参阅:
-
DARKNESS_INTERVAL
private static final int DARKNESS_INTERVAL- 另请参阅:
-
ANGERMANAGEMENT_TICK_DELAY
private static final int ANGERMANAGEMENT_TICK_DELAY- 另请参阅:
-
DEFAULT_ANGER
private static final int DEFAULT_ANGER- 另请参阅:
-
PROJECTILE_ANGER
private static final int PROJECTILE_ANGER- 另请参阅:
-
ON_HURT_ANGER_BOOST
private static final int ON_HURT_ANGER_BOOST- 另请参阅:
-
RECENT_PROJECTILE_TICK_THRESHOLD
private static final int RECENT_PROJECTILE_TICK_THRESHOLD- 另请参阅:
-
TOUCH_COOLDOWN_TICKS
private static final int TOUCH_COOLDOWN_TICKS- 另请参阅:
-
DIGGING_PARTICLES_AMOUNT
private static final int DIGGING_PARTICLES_AMOUNT- 另请参阅:
-
DIGGING_PARTICLES_DURATION
private static final float DIGGING_PARTICLES_DURATION- 另请参阅:
-
DIGGING_PARTICLES_OFFSET
private static final float DIGGING_PARTICLES_OFFSET- 另请参阅:
-
PROJECTILE_ANGER_DISTANCE
private static final int PROJECTILE_ANGER_DISTANCE- 另请参阅:
-
tendrilAnimation
private int tendrilAnimation -
tendrilAnimationO
private int tendrilAnimationO -
heartAnimation
private int heartAnimation -
heartAnimationO
private int heartAnimationO -
roarAnimationState
-
sniffAnimationState
-
emergeAnimationState
-
diggingAnimationState
-
attackAnimationState
-
sonicBoomAnimationState
-
dynamicGameEventListener
-
vibrationUser
-
vibrationData
-
angerManagement
AngerManagement angerManagement
-
-
构造器详细资料
-
Warden
-
-
方法详细资料
-
getAddEntityPacket
- 覆盖:
getAddEntityPacket
在类中Entity
-
recreateFromPacket
- 覆盖:
recreateFromPacket
在类中LivingEntity
-
checkSpawnObstruction
- 覆盖:
checkSpawnObstruction
在类中Mob
-
getWalkTargetValue
- 覆盖:
getWalkTargetValue
在类中Monster
-
isInvulnerableTo
- 覆盖:
isInvulnerableTo
在类中LivingEntity
-
isDiggingOrEmerging
boolean isDiggingOrEmerging() -
canRide
-
canDisableShield
public boolean canDisableShield()- 覆盖:
canDisableShield
在类中LivingEntity
-
nextStep
protected float nextStep() -
createAttributes
-
dampensVibrations
public boolean dampensVibrations()- 覆盖:
dampensVibrations
在类中Entity
-
getSoundVolume
protected float getSoundVolume()- 覆盖:
getSoundVolume
在类中LivingEntity
-
getAmbientSound
- 覆盖:
getAmbientSound
在类中Mob
-
getHurtSound
- 覆盖:
getHurtSound
在类中Monster
-
getDeathSound
- 覆盖:
getDeathSound
在类中Monster
-
playStepSound
- 覆盖:
playStepSound
在类中Entity
-
doHurtTarget
- 覆盖:
doHurtTarget
在类中Mob
-
defineSynchedData
- 覆盖:
defineSynchedData
在类中Mob
-
getClientAngerLevel
public int getClientAngerLevel() -
syncClientAngerLevel
private void syncClientAngerLevel() -
tick
public void tick() -
customServerAiStep
- 覆盖:
customServerAiStep
在类中Mob
-
handleEntityEvent
public void handleEntityEvent(byte p_219360_) - 覆盖:
handleEntityEvent
在类中Mob
-
getHeartBeatDelay
private int getHeartBeatDelay() -
getTendrilAnimation
public float getTendrilAnimation(float p_219468_) -
getHeartAnimation
public float getHeartAnimation(float p_219470_) -
clientDiggingParticles
-
onSyncedDataUpdated
- 指定者:
onSyncedDataUpdated
在接口中SyncedDataHolder
- 覆盖:
onSyncedDataUpdated
在类中LivingEntity
-
ignoreExplosion
- 覆盖:
ignoreExplosion
在类中Entity
-
makeBrain
- 覆盖:
makeBrain
在类中LivingEntity
-
getBrain
- 覆盖:
getBrain
在类中LivingEntity
-
sendDebugPackets
protected void sendDebugPackets()- 覆盖:
sendDebugPackets
在类中Mob
-
updateDynamicGameEventListener
public void updateDynamicGameEventListener(BiConsumer<DynamicGameEventListener<?>, ServerLevel> p_219413_) - 覆盖:
updateDynamicGameEventListener
在类中Entity
-
canTargetEntity
-
applyDarknessAround
public static void applyDarknessAround(ServerLevel p_219376_, Vec3 p_219377_, @Nullable Entity p_219378_, int p_219379_) -
addAdditionalSaveData
- 覆盖:
addAdditionalSaveData
在类中Mob
-
readAdditionalSaveData
- 覆盖:
readAdditionalSaveData
在类中Mob
-
playListeningSound
private void playListeningSound() -
getAngerLevel
-
getActiveAnger
private int getActiveAnger() -
clearAnger
-
increaseAngerAt
-
increaseAngerAt
-
getEntityAngryAt
-
getTarget
-
removeWhenFarAway
public boolean removeWhenFarAway(double p_219457_) - 覆盖:
removeWhenFarAway
在类中Mob
-
finalizeSpawn
@Nullable public SpawnGroupData finalizeSpawn(ServerLevelAccessor p_219400_, DifficultyInstance p_219401_, EntitySpawnReason p_365792_, @Nullable SpawnGroupData p_219403_) 从类复制的说明:Mob
Forge: Override-Only, call via ForgeEventFactory.onFinalizeSpawn.
Overrides are allowed. Do not wrap super calls within override (as that will cause stack overflows).
Vanilla calls are replaced with a transformer, and are not visible in source.
Be certain to either call super.finalizeSpawn or set the
Mob.spawnReason
field from within your override.- 覆盖:
finalizeSpawn
在类中Mob
-
hurtServer
- 覆盖:
hurtServer
在类中LivingEntity
-
setAttackTarget
-
getDefaultDimensions
- 覆盖:
getDefaultDimensions
在类中LivingEntity
-
isPushable
public boolean isPushable()- 覆盖:
isPushable
在类中LivingEntity
-
doPush
- 覆盖:
doPush
在类中LivingEntity
-
getAngerManagement
-
getVibrationData
- 指定者:
getVibrationData
在接口中VibrationSystem
-
getVibrationUser
- 指定者:
getVibrationUser
在接口中VibrationSystem
-