类 HappyGhast
- 所有已实现的接口:
DataComponentGetter
,SyncedDataHolder
,Attackable
,EquipmentUser
,Leashable
,Targeting
,EntityAccess
,UniquelyIdentifyable
,Nameable
,ScoreHolder
,Waypoint
,WaypointTransmitter
,IAttachmentHolder
,IEntityExtension
,ILivingEntityExtension
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) static class
(专用程序包) class
(专用程序包) class
(专用程序包) class
从类继承的嵌套类/接口 net.minecraft.world.entity.AgeableMob
AgeableMob.AgeableMobGroupData
从类继承的嵌套类/接口 net.minecraft.world.entity.LivingEntity
LivingEntity.Fallsounds
从类继承的嵌套类/接口 net.minecraft.world.entity.Entity
Entity.MoveFunction, Entity.MovementEmission, Entity.RemovalReason
从类继承的嵌套类/接口 net.neoforged.neoforge.attachment.AttachmentHolder
AttachmentHolder.AsField
从接口继承的嵌套类/接口 net.minecraft.world.entity.Leashable
Leashable.LeashData, Leashable.Wrench
从接口继承的嵌套类/接口 net.minecraft.world.waypoints.Waypoint
Waypoint.Icon
-
字段概要
字段修饰符和类型字段说明static final float
static final int
private static final EntityDataAccessor
<Boolean> static final int
private int
static final int
private static final float
private static final int
static final int
private int
static final int
static final int
static final float
private static final EntityDataAccessor
<Boolean> private static final int
static final int
从类继承的字段 net.minecraft.world.entity.animal.Animal
PARENT_AGE_AFTER_BREEDING
从类继承的字段 net.minecraft.world.entity.AgeableMob
age, BABY_START_AGE, DEFAULT_AGE, DEFAULT_FORCED_AGE, forcedAge, forcedAgeTimer
从类继承的字段 net.minecraft.world.entity.PathfinderMob
DEFAULT_WALK_TARGET_VALUE
从类继承的字段 net.minecraft.world.entity.Mob
ambientSoundTime, goalSelector, jumpControl, lookControl, MAX_ENCHANTED_ARMOR_CHANCE, MAX_ENCHANTED_WEAPON_CHANCE, MAX_PICKUP_LOOT_CHANCE, MAX_WEARING_ARMOR_CHANCE, moveControl, navigation, PICKUP_REACH, preventConversionSpawns, RANDOM_SPAWN_BONUS_ID, TAG_CAN_PICK_UP_LOOT, TAG_DROP_CHANCES, TAG_LEFT_HANDED, TAG_NO_AI, targetSelector, UPDATE_GOAL_SELECTOR_EVERY_N_TICKS, xpReward
从类继承的字段 net.minecraft.world.entity.LivingEntity
ARMOR_SLOT_OFFSET, attackAnim, attackStrengthTicker, autoSpinAttackDmg, autoSpinAttackItemStack, autoSpinAttackTicks, BASE_JUMP_POWER, BODY_ARMOR_OFFSET, brain, damageContainers, DATA_LIVING_ENTITY_FLAGS, dead, DEATH_DURATION, deathTime, DEFAULT_BABY_SCALE, DEFAULT_BASE_GRAVITY, elytraAnimationState, equipment, EQUIPMENT_SLOT_OFFSET, EXTRA_RENDER_CULLING_SIZE_WITH_BIG_HAT, fallFlyTicks, hurtDuration, hurtTime, INPUT_FRICTION, interpolation, invulnerableDuration, jumping, lastHurt, lastHurtByPlayer, lastHurtByPlayerMemoryTime, lerpHeadSteps, lerpYHeadRot, LIVING_ENTITY_FLAG_IS_USING, LIVING_ENTITY_FLAG_OFF_HAND, LIVING_ENTITY_FLAG_SPIN_ATTACK, MIN_MOVEMENT_DISTANCE, noActionTime, oAttackAnim, PLAYER_HURT_EXPERIENCE_TIME, PLAYER_NOT_WEARING_DISGUISE_ITEM, PLAYER_NOT_WEARING_DISGUISE_ITEM_FOR_TARGET, removeArrowTime, removeStingerTime, SADDLE_OFFSET, SLEEPING_DIMENSIONS, SWING_DURATION, swinging, swingingArm, swingTime, TAG_ATTRIBUTES, TAG_BRAIN, TAG_DEATH_TIME, TAG_EQUIPMENT, TAG_FALL_FLYING, TAG_HEALTH, TAG_HURT_BY_TIMESTAMP, TAG_HURT_TIME, TAG_SLEEPING_POS, 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, invulnerableTime, isInPowderSnow, mainSupportingBlockPos, MAX_ENTITY_TAG_COUNT, MAX_MOVEMENTS_HANDELED_PER_TICK, minorHorizontalCollision, moveDist, noPhysics, portalProcess, random, stringUUID, stuckSpeedMultiplier, TAG_AIR, TAG_DATA, TAG_FALL_DISTANCE, TAG_FIRE, TAG_GLOWING, TAG_ID, TAG_INVULNERABLE, TAG_MOTION, TAG_NO_GRAVITY, TAG_ON_GROUND, TAG_PASSENGERS, TAG_PORTAL_COOLDOWN, TAG_POS, TAG_ROTATION, TAG_SILENT, TAG_UUID, tickCount, TOTAL_AIR_SUPPLY, uuid, verticalCollision, verticalCollisionBelow, wasEyeInWater, wasInPowderSnow, wasTouchingWater, xo, xOld, xRotO, yo, yOld, yRotO, zo, zOld
从类继承的字段 net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEY
从接口继承的字段 net.minecraft.world.entity.Leashable
AXIS_SPECIFIC_ELASTICITY, ENTITY_ATTACHMENT_POINT, LEASH_ELASTIC_DIST, LEASH_TAG, LEASH_TOO_FAR_DIST, LEASHER_ATTACHMENT_POINT, MAXIMUM_ALLOWED_LEASHED_DIST, SHARED_QUAD_ATTACHMENT_POINTS, SPRING_DAMPENING, STIFFNESS, TORSIONAL_ELASTICITY
从接口继承的字段 net.minecraft.world.scores.ScoreHolder
WILDCARD, WILDCARD_NAME
从接口继承的字段 net.minecraft.world.waypoints.Waypoint
MAX_RANGE, WAYPOINT_TRANSMIT_RANGE_HIDE_MODIFIER
从接口继承的字段 net.minecraft.world.waypoints.WaypointTransmitter
REALLY_FAR_DISTANCE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
addAdditionalSaveData
(ValueOutput p_423551_) protected void
addPassenger
(Entity p_416440_) private void
protected void
void
aiStep()
private void
protected Brain.Provider
<HappyGhast> protected boolean
canAddPassenger
(Entity p_416701_) boolean
canBeCollidedWith
(@Nullable Entity p_423679_) boolean
protected boolean
canDispenserEquipIntoSlot
(EquipmentSlot p_419719_) boolean
boolean
canUseSlot
(EquipmentSlot p_416032_) protected void
checkFallDamage
(double p_415661_, boolean p_416292_, BlockState p_416145_, BlockPos p_416322_) private void
private void
static AttributeSupplier.Builder
private PathNavigation
createBabyNavigation
(Level p_416140_) protected BodyRotationControl
protected void
customServerAiStep
(ServerLevel p_415734_) protected void
defineSynchedData
(SynchedEntityData.Builder p_418455_) private void
doPlayerRide
(Player p_415979_) float
protected SoundEvent
int
@Nullable AgeableMob
getBreedOffspring
(ServerLevel p_416321_, AgeableMob p_415790_) @Nullable LivingEntity
protected SoundEvent
private int
protected SoundEvent
getHurtSound
(DamageSource p_416586_) int
Vec3[]
protected Vec3
getRiddenInput
(Player p_415905_, Vec3 p_416391_) protected Vec2
getRiddenRotation
(LivingEntity p_416565_) float
float
getWalkTargetValue
(BlockPos p_415671_, LevelReader p_416275_) boolean
boolean
boolean
boolean
double
double
protected Brain
<?> makeBrain
(com.mojang.serialization.Dynamic<?> p_415876_) mobInteract
(Player p_416280_, InteractionHand p_416599_) void
notifyLeashHolder
(Leashable p_418430_) boolean
void
protected void
playStepSound
(BlockPos p_418048_, BlockState p_418140_) void
readAdditionalSaveData
(ValueInput p_423487_) protected void
protected void
removePassenger
(Entity p_415575_) protected float
sanitizeScale
(float p_423595_) private boolean
protected void
private void
setLeashHolder
(boolean p_418010_) private void
setServerStillTimeout
(int p_428379_) protected boolean
boolean
boolean
private void
void
tick()
protected void
tickRidden
(Player p_415788_, Vec3 p_415718_) void
从类继承的方法 net.minecraft.world.entity.animal.Animal
actuallyHurt, canMate, checkAnimalSpawnRules, createAnimalAttributes, finalizeSpawnChildFromBreeding, getBaseExperienceReward, getInLoveTime, getLoveCause, handleEntityEvent, isBrightEnoughToSpawn, isInLove, playEatingSound, removeWhenFarAway, resetLove, setInLove, setInLoveTime, spawnChildFromBreeding, usePlayerItem
从类继承的方法 net.minecraft.world.entity.AgeableMob
ageUp, ageUp, canBreed, finalizeSpawn, getAge, getForcedAge, getForcedAgeTimer, getSpeedUpSecondsWhenFeeding, isBaby, onSyncedDataUpdated, setAge, setBaby
从类继承的方法 net.minecraft.world.entity.PathfinderMob
checkSpawnRules, closeRangeLeashBehaviour, followLeashSpeed, getWalkTargetValue, isPanicking, isPathFinding, whenLeashedTo
从类继承的方法 net.minecraft.world.entity.Mob
ate, baseTick, canAttackType, canBeLeashed, canFireProjectileWeapon, canHoldItem, canPickUpLoot, canReplaceCurrentItem, canReplaceEqualItem, canShearEquipment, checkDespawn, checkMobSpawnRules, checkSpawnObstruction, clampHeadRotationToBody, clearHome, convertTo, convertTo, createEquipmentSlotContainer, createMobAttributes, createNavigation, doHurtTarget, dropCustomDeathLoot, dropFromLootTable, dropPreservedEquipment, dropPreservedEquipment, enchantSpawnedArmor, enchantSpawnedWeapon, equip, equip, equipItemIfPossible, getAttackBoundingBox, getBodyArmorItem, getDropChances, getEquipmentForSlot, getHeadRotSpeed, getHomePosition, getHomeRadius, getJumpControl, getLeashData, getLookControl, getLootTable, getLootTableSeed, getMainArm, getMaxFallDistance, getMaxHeadXRot, getMaxHeadYRot, getMoveControl, getNavigation, getPathfindingMalus, getPickResult, getPickupReach, getPreferredWeaponType, getSensing, getSpawnType, getTarget, getTargetFromBrain, hasHome, interact, isAggressive, isEffectiveAi, isLeftHanded, isMaxGroupSizeReached, isNoAi, isPersistenceRequired, isSaddled, isSpawnCancelled, isSunBurnTick, isWearingBodyArmor, isWithinHome, isWithinHome, isWithinHome, isWithinMeleeAttackRange, jumpInFluid, jumpInLiquid, leashTooFarBehaviour, lookAt, onAttributeUpdated, onLeashRemoved, onOffspringSpawnedFromEgg, onPathfindingDone, onPathfindingStart, pickUpItem, playAmbientSound, playAttackSound, playHurtSound, populateDefaultEquipmentEnchantments, populateDefaultEquipmentSlots, removeAfterChangingDimensions, removeAllGoals, removeFreeWill, requiresCustomPersistence, serverAiStep, setAggressive, setBodyArmorItem, setCanPickUpLoot, setDropChance, setGuaranteedDrop, setHomeTo, setItemSlotAndDropWhenKilled, setLeashData, setLeftHanded, setNoAi, setPathfindingMalus, setPersistenceRequired, setSpawnCancelled, setSpeed, setTarget, setXxa, setYya, setZza, shouldDespawnInPeaceful, shouldPassengersInheritMalus, spawnAnim, startRiding, stopInPlace, tickHeadTurn, updateControlFlags, wantsToPickUp
从类继承的方法 net.minecraft.world.entity.LivingEntity
activeLocationDependentEnchantments, addEffect, addEffect, animateHurt, applyInput, applyItemBlocking, areAllEffectsAmbient, attackable, blockedByItem, blockUsingItem, calculateEntityAnimation, calculateFallDamage, canAttack, canBeAffected, canBeSeenAsEnemy, canBeSeenByAnyone, canEquipWithDispenser, canFreeze, canGlide, canGlideUsing, canStandOnFluid, canUsePortal, causeFallDamage, checkAutoSpinAttack, clearSleepingPos, completeUsingItem, createEquipment, createLivingAttributes, createWitherRose, decreaseAirSupply, die, doAutoAttackOnTouch, doesEmitEquipEvent, doHurtEquipment, doPush, drop, dropAllDeathLoot, dropEquipment, dropExperience, dropFromGiftLootTable, dropFromLootTable, dropFromShearingLootTable, equipmentHasChanged, forceAddEffect, getAbsorptionAmount, getActiveEffects, getActiveEffectsMap, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBlockSpeedFactor, getBrain, getCombatTracker, getComfortableFallDistance, getCurrentSwingDuration, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDefaultDimensions, getDefaultGravity, getDimensions, getDismountPoses, getEffect, getEffectBlendFactor, getEffectiveGravity, getEquipmentSlotForItem, getEquipSound, getExperienceReward, getFallFlyingTicks, getFallSounds, getFluidFallingAdjustedMovement, getFlyingSpeed, getHealth, getHitbox, getHurtDir, getInterpolation, getItemBlockingWith, getItemBySlot, getItemHeldByArm, getItemInHand, getJumpBoostPower, getJumpPower, getJumpPower, getKillCredit, getKnockback, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtByPlayer, getLastHurtByPlayerMemoryTime, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getLuck, getMainHandItem, getMaxAbsorption, getMaxHeadRotationRelativeToBody, getMaxHealth, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getPreciseBodyRotation, getProjectile, getRelativePortalPosition, getRiddenSpeed, getScale, getSecondsToDisableBlocking, getSleepingPos, getSlot, getSlotForHand, getSoundVolume, getSpeed, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getWaterSlowDown, getWeaponItem, getYHeadRot, goDownInWater, handleDamageEvent, handleExtraItemsCreatedOnUse, hasEffect, hasInfiniteMaterials, hasItemInSlot, hasLandedInLiquid, hasLineOfSight, hasLineOfSight, heal, hurtArmor, hurtHelmet, hurtServer, igniteForTicks, increaseAirSupply, indicateDamage, internalSetAbsorptionAmount, isAffectedByFluids, isAffectedByPotions, isAlive, isAlwaysExperienceDropper, isAutoSpinAttack, isBlocking, isCurrentlyGlowing, isDeadOrDying, isEquippableInSlot, isFallFlying, isHolding, isHolding, isImmobile, isInvertedHealAndHarm, isInvulnerableTo, isInWall, isJumping, isLookingAtMe, isPickable, isPushable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isTransmittingWaypoint, isUsingItem, isVisuallySwimming, jumpFromGround, kill, knockback, lerpHeadRotationStep, lerpHeadTo, lookAt, makePoofParticles, makeSound, makeWaypointConnectionWith, maxUpStep, onBelowWorld, onChangedBlock, onEffectAdded, onEffectsRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onEquippedItemBroken, onItemPickup, onLeaveCombat, onRemoval, playBlockFallSound, push, pushEntities, randomTeleport, recreateFromPacket, releaseUsingItem, remove, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, resetForwardDirectionOfRelativePortalPosition, resolveMobResponsibleForDamage, resolvePlayerResponsibleForDamage, rideTick, sendEffectToPassengers, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setItemSlot, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, shouldShowName, skipDropExperience, spawnItemParticles, startSleeping, startUsingItem, stopFallFlying, stopRiding, stopSleeping, stopUsingItem, swing, swing, take, tickDeath, tickEffects, travelFlying, travelFlying, triggerOnDeathMobEffects, tryAddFrost, updateEffectVisibility, updateFallFlying, updateInvisibilityStatus, updateSwingTime, updateUsingItem, updateWalkAnimation, wasExperienceConsumed, waypointIcon, wouldNotSuffocateAtTargetPose
从类继承的方法 net.minecraft.world.entity.Entity
absSnapRotationTo, absSnapTo, absSnapTo, addDeltaMovement, addTag, adjustSpawnLocation, applyComponentsFromItemStack, applyEffectsFromBlocks, applyEffectsFromBlocks, applyGravity, applyImplicitComponent, applyImplicitComponentIfPresent, applyImplicitComponents, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canBeHitByProjectile, canCollideWith, canControlVehicle, canRide, canSimulateMovement, canSpawnSprintParticle, canSprint, canTeleport, canTrample, captureDrops, captureDrops, castComponentValue, checkBelowWorld, checkFallDistanceAccumulation, checkSupportingBlock, chunkPosition, clearFire, clearFreeze, clearMovementThisTick, closerThan, closerThan, collideBoundingBox, collidedWithFluid, collidedWithShapeMovingFrom, considersEntityAsAlly, copyPosition, couldAcceptPassenger, countPlayerPassengers, createCommandSourceStackForNameResolution, createHoverEvent, damageSources, dampensVibrations, deflection, discard, dismountsUnderwater, dismountTo, displayFireAnimation, distanceTo, distanceToSqr, distanceToSqr, distanceToSqr, doCheckFallDamage, doWaterSplashEffect, dropAllLeashConnections, ejectPassengers, equals, extinguishFire, fillCrashReportCategory, fireImmune, fixupDimensions, forceSetRotation, fudgePositionAfterSizeChange, gameEvent, gameEvent, get, getAddEntityPacket, getAirSupply, getAttachments, getBbHeight, getBbWidth, getBlockExplosionResistance, getBlockJumpFactor, getBlockPosBelowThatAffectsMyMovement, getBlockStateOn, getBlockStateOnLegacy, getBlockX, getBlockY, getBlockZ, getBoundingBox, getCapability, getCapability, getCollisionHorizontalEscapeVector, 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, 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, getRequiresPrecisePosition, getRootVehicle, getRopeHoldPosition, getRotationVector, getScoreboardName, getSelfAndPassengers, getServer, getSharedFlag, getStringUUID, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTags, getTeam, getTeamColor, getTicksFrozen, getTicksRequiredToFreeze, getType, getTypeName, getUpVector, getUUID, getVehicle, getVehicleAttachmentPoint, getViewScale, getViewVector, getViewXRot, getX, getX, getXRot, getXRot, getY, getY, getYRot, getYRot, getZ, getZ, handleOnAboveBubbleColumn, handleOnInsideBubbleColumn, handlePortal, hasControllingPassenger, hasCustomName, hasExactlyOnePlayerPassenger, hasGlowingTag, hashCode, hasIndirectPassenger, hasPassenger, hasPassenger, hasPose, hurt, hurtClient, hurtOrSimulate, igniteForSeconds, ignoreExplosion, interactAt, is, isAddedToLevel, isAffectedByBlocks, isAlliedTo, isAlliedTo, isAlwaysTicking, isAttackable, isClientAuthoritative, isColliding, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInClouds, isInFluidType, isInFluidType, isInLava, isInLiquid, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableToBase, isInWater, isInWaterOrRain, isLocalClientAuthoritative, isLocalInstanceAuthoritative, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isPushedByFluid, isRemoved, isShiftKeyDown, isSilent, isSpectator, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isSwimming, isUnderWater, isVehicle, isVisuallyCrawling, killedEntity, lavaHurt, lavaIgnite, lerpMotion, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, makeBoundingBox, makeStuckInBlock, markHurt, maybeBackOffFromEdge, mayInteract, mirror, move, moveOrInterpolateTo, moveRelative, moveTowardsClosestSpace, nextStep, notifyLeasheeRemoved, oldPosition, onAboveBubbleColumn, onAddedToLevel, onClientRemoval, onExplosionHit, onFlap, onGround, onInsideBlock, onInsideBubbleColumn, onPassengerTurned, onRemovedFromLevel, onSyncedDataUpdated, pick, placePortalTicket, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSound, playSwimSound, position, positionRider, positionRider, problemPath, processFlappingMovement, processPortalCooldown, propagateFallToPassengers, push, push, reapplyPosition, refreshDimensions, registryAccess, removeLatestMovementRecording, removeTag, removeVehicle, repositionEntityAfterLoad, resetFallDistance, restoreFrom, revive, rotate, save, saveAsPassenger, saveWithoutId, sendBubbleColumnParticles, setAirSupply, setAsInsidePortal, setBoundingBox, setComponent, setCustomName, setCustomNameVisible, setData, 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, setRequiresPrecisePosition, setRot, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shearOffAllLeashConnections, shouldBeSaved, shouldBlockExplode, shouldPlayLavaHurtSound, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, snapTo, snapTo, snapTo, snapTo, snapTo, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startSeenByPlayer, stopSeenByPlayer, syncPacketPositionCodec, teleport, teleportRelative, teleportSetPosition, teleportSpectators, teleportTo, teleportTo, thunderHit, toString, touchingUnloadedChunk, trackingPosition, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, updateSwimming, waterSwimSound
从类继承的方法 net.neoforged.neoforge.attachment.AttachmentHolder
deserializeAttachments, getData, getExistingDataOrNull, hasAttachments, hasData, removeData, serializeAttachments
从接口继承的方法 net.minecraft.core.component.DataComponentGetter
get, getOrDefault, getOrDefault, getTyped, has, has
从接口继承的方法 net.minecraft.world.entity.EquipmentUser
equip, equip, equip, getItemBySlot, resolveSlot, setItemSlot
从接口继承的方法 net.neoforged.neoforge.attachment.IAttachmentHolder
getData, getExistingData, getExistingData, getExistingDataOrNull, hasData, removeData, setData
从接口继承的方法 net.neoforged.neoforge.common.extensions.IEntityExtension
canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canTrample, captureDrops, captureDrops, copyAttachmentsFrom, getClassification, getEyeInFluidType, getFluidFallDistanceModifier, getFluidMotionScale, getFluidTypeHeight, getMaxHeightFluidType, getParts, getPersistentData, getSoundFromFluidType, hasCustomOutlineRendering, isAddedToLevel, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, onAddedToLevel, onRemovedFromLevel, revive, sendPairingData, shouldRiderSit
从接口继承的方法 net.neoforged.neoforge.common.extensions.ILivingEntityExtension
canDrownInFluidType, canSwimInFluidType, moveInFluid, onDamageTaken, self, sinkInFluid
从接口继承的方法 net.minecraft.world.entity.Leashable
canHaveALeashAttachedTo, checkElasticInteractions, dropLeash, getLeashHolder, getLeashOffset, getQuadLeashOffsets, isLeashed, leashDistanceTo, mayBeLeashed, readLeashData, removeLeash, setDelayedLeashHolderId, setLeashedTo, supportQuadLeash, writeLeashData
从接口继承的方法 net.minecraft.world.scores.ScoreHolder
getFeedbackDisplayName
-
字段详细资料
-
BABY_SCALE
public static final float BABY_SCALE- 另请参阅:
-
WANDER_GROUND_DISTANCE
public static final int WANDER_GROUND_DISTANCE- 另请参阅:
-
SMALL_RESTRICTION_RADIUS
public static final int SMALL_RESTRICTION_RADIUS- 另请参阅:
-
LARGE_RESTRICTION_RADIUS
public static final int LARGE_RESTRICTION_RADIUS- 另请参阅:
-
RESTRICTION_RADIUS_BUFFER
public static final int RESTRICTION_RADIUS_BUFFER- 另请参阅:
-
FAST_HEALING_TICKS
public static final int FAST_HEALING_TICKS- 另请参阅:
-
SLOW_HEALING_TICKS
public static final int SLOW_HEALING_TICKS- 另请参阅:
-
MAX_PASSANGERS
public static final int MAX_PASSANGERS- 另请参阅:
-
STILL_TIMEOUT_ON_LOAD_GRACE_PERIOD
private static final int STILL_TIMEOUT_ON_LOAD_GRACE_PERIOD- 另请参阅:
-
MAX_STILL_TIMEOUT
private static final int MAX_STILL_TIMEOUT- 另请参阅:
-
SPEED_MULTIPLIER_WHEN_PANICKING
public static final float SPEED_MULTIPLIER_WHEN_PANICKING- 另请参阅:
-
IS_FOOD
-
leashHolderTime
private int leashHolderTime -
serverStillTimeout
private int serverStillTimeout -
IS_LEASH_HOLDER
-
STAYS_STILL
-
MAX_SCALE
private static final float MAX_SCALE- 另请参阅:
-
-
构造器详细资料
-
HappyGhast
-
-
方法详细资料
-
setServerStillTimeout
private void setServerStillTimeout(int p_428379_) -
registerGoals
protected void registerGoals()- 覆盖:
registerGoals
在类中Mob
-
adultGhastSetup
private void adultGhastSetup() -
babyGhastSetup
private void babyGhastSetup() -
ageBoundaryReached
protected void ageBoundaryReached()- 覆盖:
ageBoundaryReached
在类中AgeableMob
-
createAttributes
-
sanitizeScale
protected float sanitizeScale(float p_423595_) - 覆盖:
sanitizeScale
在类中LivingEntity
-
checkFallDamage
protected void checkFallDamage(double p_415661_, boolean p_416292_, BlockState p_416145_, BlockPos p_416322_) - 覆盖:
checkFallDamage
在类中LivingEntity
-
onClimbable
public boolean onClimbable()- 覆盖:
onClimbable
在类中LivingEntity
-
travel
- 覆盖:
travel
在类中LivingEntity
-
getWalkTargetValue
- 覆盖:
getWalkTargetValue
在类中Animal
-
canBreatheUnderwater
public boolean canBreatheUnderwater()- 覆盖:
canBreatheUnderwater
在类中LivingEntity
-
shouldStayCloseToLeashHolder
protected boolean shouldStayCloseToLeashHolder() -
playStepSound
- 覆盖:
playStepSound
在类中Entity
-
getVoicePitch
public float getVoicePitch()- 覆盖:
getVoicePitch
在类中LivingEntity
-
getSoundSource
- 覆盖:
getSoundSource
在类中Entity
-
getAmbientSoundInterval
public int getAmbientSoundInterval()- 覆盖:
getAmbientSoundInterval
在类中Animal
-
getAmbientSound
- 覆盖:
getAmbientSound
在类中Mob
-
getHurtSound
- 覆盖:
getHurtSound
在类中LivingEntity
-
getDeathSound
- 覆盖:
getDeathSound
在类中LivingEntity
-
getMaxSpawnClusterSize
public int getMaxSpawnClusterSize()- 覆盖:
getMaxSpawnClusterSize
在类中Mob
-
getBreedOffspring
@Nullable public @Nullable AgeableMob getBreedOffspring(ServerLevel p_416321_, AgeableMob p_415790_) - 指定者:
getBreedOffspring
在类中AgeableMob
-
canFallInLove
public boolean canFallInLove()- 覆盖:
canFallInLove
在类中Animal
-
getAgeScale
public float getAgeScale()- 覆盖:
getAgeScale
在类中LivingEntity
-
isFood
-
canUseSlot
- 覆盖:
canUseSlot
在类中LivingEntity
-
canDispenserEquipIntoSlot
- 覆盖:
canDispenserEquipIntoSlot
在类中Mob
-
mobInteract
- 覆盖:
mobInteract
在类中Animal
-
doPlayerRide
-
addPassenger
- 覆盖:
addPassenger
在类中Entity
-
removePassenger
- 覆盖:
removePassenger
在类中Entity
-
canAddPassenger
- 覆盖:
canAddPassenger
在类中Entity
-
getControllingPassenger
- 覆盖:
getControllingPassenger
在类中Mob
-
getRiddenInput
- 覆盖:
getRiddenInput
在类中LivingEntity
-
getRiddenRotation
-
tickRidden
- 覆盖:
tickRidden
在类中LivingEntity
-
brainProvider
- 覆盖:
brainProvider
在类中LivingEntity
-
makeBrain
- 覆盖:
makeBrain
在类中LivingEntity
-
customServerAiStep
- 覆盖:
customServerAiStep
在类中Animal
-
tick
public void tick() -
aiStep
public void aiStep() -
getHappyGhastRestrictionRadius
private int getHappyGhastRestrictionRadius() -
checkRestriction
private void checkRestriction() -
continuousHeal
private void continuousHeal() -
sendDebugPackets
protected void sendDebugPackets()- 覆盖:
sendDebugPackets
在类中Mob
-
defineSynchedData
- 覆盖:
defineSynchedData
在类中AgeableMob
-
setLeashHolder
private void setLeashHolder(boolean p_418010_) -
isLeashHolder
public boolean isLeashHolder() -
syncStayStillFlag
private void syncStayStillFlag() -
staysStill
public boolean staysStill() -
supportQuadLeashAsHolder
public boolean supportQuadLeashAsHolder()- 覆盖:
supportQuadLeashAsHolder
在类中Entity
-
getQuadLeashHolderOffsets
- 覆盖:
getQuadLeashHolderOffsets
在类中Entity
-
getLeashOffset
-
leashElasticDistance
public double leashElasticDistance() -
leashSnapDistance
public double leashSnapDistance() -
onElasticLeashPull
public void onElasticLeashPull() -
notifyLeashHolder
- 覆盖:
notifyLeashHolder
在类中Entity
-
addAdditionalSaveData
- 覆盖:
addAdditionalSaveData
在类中Animal
-
readAdditionalSaveData
- 覆盖:
readAdditionalSaveData
在类中Animal
-
isOnStillTimeout
public boolean isOnStillTimeout() -
scanPlayerAboveGhast
private boolean scanPlayerAboveGhast() -
createBodyControl
- 覆盖:
createBodyControl
在类中Mob
-
canBeCollidedWith
- 覆盖:
canBeCollidedWith
在类中Entity
-
isFlyingVehicle
public boolean isFlyingVehicle()- 覆盖:
isFlyingVehicle
在类中Entity
-