类 Player
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.entity.Entity
net.minecraft.world.entity.LivingEntity
net.minecraft.world.entity.player.Player
- 所有已实现的接口:
DataComponentGetter
,SyncedDataHolder
,Attackable
,EntityAccess
,UniquelyIdentifyable
,Nameable
,ScoreHolder
,Waypoint
,WaypointTransmitter
,IAttachmentHolder
,IEntityExtension
,ILivingEntityExtension
,IPlayerExtension
- 直接已知子类:
ServerPlayer
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 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.waypoints.Waypoint
Waypoint.Icon
-
字段概要
字段修饰符和类型字段说明private final Abilities
float
static final int
private boolean
protected int
private final ItemCooldowns
static final int
static final float
private static final int
private int
private static final EntityDataAccessor
<Float> protected static final EntityDataAccessor
<Byte> protected static final EntityDataAccessor
<Byte> private static final EntityDataAccessor
<Integer> protected static final EntityDataAccessor
<CompoundTag> protected static final EntityDataAccessor
<CompoundTag> static final float
private static final int
static final float
private static final int
private static final float
static final float
private static final boolean
static final HumanoidArm
static final int
private static final int
private static final int
private static final short
private static final int
static final Vec3
protected final float
private Component
protected int
static final int
protected PlayerEnderChestContainer
int
float
protected FoodData
private Pose
private final com.mojang.authlib.GameProfile
static final int
protected float
private boolean
(专用程序包) final Inventory
final InventoryMenu
protected int
private long
private ItemStack
private int
private static final org.slf4j.Logger
static final int
private static final int
float
static final String
private static final Map
<Pose, EntityDimensions> private final Collection
<MutableComponent> private boolean
static final int
private int
static final EntityDimensions
private final Collection
<MutableComponent> static final float
static final float
int
private long
int
static final int
protected boolean
double
double
double
double
double
double
从类继承的字段 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.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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
actuallyHurt
(ServerLevel p_376500_, DamageSource p_36312_, float p_36313_) protected void
addAdditionalSaveData
(ValueOutput p_421801_) boolean
void
aiStep()
void
animateHurt
(float p_265280_) void
int
awardRecipes
(Collection<RecipeHolder<?>> p_36213_) void
awardRecipesByKey
(List<ResourceKey<Recipe<?>>> p_312922_) void
awardStat
(ResourceLocation p_36221_) void
awardStat
(ResourceLocation p_36223_, int p_36224_) void
void
boolean
blockActionRestricted
(Level p_36188_, BlockPos p_36189_, GameType p_36190_) double
protected void
blockUsingItem
(ServerLevel p_400223_, LivingEntity p_399637_) boolean
boolean
boolean
boolean
canEat
(boolean p_36392_) private boolean
canFallAtLeast
(double p_341664_, double p_341597_, double p_397512_) protected boolean
canGlide()
boolean
canHarmPlayer
(Player p_36169_) boolean
canInteractWithBlock
(BlockPos p_319804_, double p_320349_) boolean
canInteractWithEntity
(Entity p_320327_, double p_320632_) boolean
canInteractWithEntity
(AABB p_320959_, double p_319981_) protected boolean
canPlayerFitWithinBlocksAndEntitiesWhen
(Pose p_294172_) boolean
boolean
boolean
boolean
causeFallDamage
(double p_397701_, float p_150093_, DamageSource p_150095_) void
causeFoodExhaustion
(float p_36400_) void
static AttributeSupplier.Builder
protected EntityEquipment
protected ItemCooldowns
void
private MutableComponent
decorateDisplayNameComponent
(MutableComponent p_36219_) protected void
defineSynchedData
(SynchedEntityData.Builder p_326117_) protected void
void
die
(DamageSource p_36152_) void
displayClientMessage
(Component p_36216_, boolean p_36217_) protected void
doAutoAttackOnTouch
(LivingEntity p_36355_) protected void
protected boolean
doesEmitEquipEvent
(EquipmentSlot p_219741_) protected void
protected void
dropEquipment
(ServerLevel p_376325_) double
protected boolean
abstract GameType
gameMode()
float
float
getAttackStrengthScale
(float p_36404_) protected int
getBaseExperienceReward
(ServerLevel p_376359_) protected float
float
protected SoundEvent
getDefaultDimensions
(Pose p_36166_) private Pose
float
getDestroySpeed
(BlockState p_36282_) 已过时。float
getDestroySpeed
(BlockState p_36282_, BlockPos pos) int
com.google.common.collect.ImmutableList
<Pose> protected float
getEnchantedDamage
(Entity p_345248_, float p_345836_, DamageSource p_345745_) int
protected int
protected float
Neo:com.mojang.authlib.GameProfile
float
protected SoundEvent
getHurtSound
(DamageSource p_36310_) float
getLuck()
protected float
protected Entity.MovementEmission
getName()
int
getProjectile
(ItemStack p_36349_) getRopeHoldPosition
(float p_36374_) int
getScore()
int
getSlot
(int p_150112_) float
getSpeed()
protected SoundEvent
protected SoundEvent
protected SoundEvent
int
void
giveExperienceLevels
(int p_36276_) void
giveExperiencePoints
(int p_36291_) void
handleCreativeModeItemDrop
(ItemStack p_361427_) void
handleEntityEvent
(byte p_36120_) boolean
boolean
boolean
hasCorrectToolForDrops
(BlockState p_36299_) 已过时。boolean
hasCorrectToolForDrops
(BlockState state, Level level, BlockPos pos) boolean
boolean
hasPermissions
(int p_376640_) protected void
hurtArmor
(DamageSource p_36251_, float p_36252_) protected void
hurtHelmet
(DamageSource p_150103_, float p_150104_) boolean
hurtServer
(ServerLevel p_376451_, DamageSource p_376171_, float p_376389_) void
increaseScore
(int p_36402_) interactOn
(Entity p_36158_, InteractionHand p_36159_) protected void
internalSetAbsorptionAmount
(float p_296426_) private boolean
isAboveGround
(float p_341626_) boolean
protected boolean
boolean
boolean
boolean
boolean
private boolean
isEquipped
(Item p_372870_) boolean
isHurt()
boolean
protected boolean
boolean
isInvulnerableTo
(ServerLevel p_376263_, DamageSource p_36249_) protected boolean
boolean
boolean
isModelPartShown
(PlayerModelPart p_36171_) boolean
boolean
boolean
boolean
boolean
boolean
protected boolean
boolean
boolean
boolean
killedEntity
(ServerLevel p_219735_, LivingEntity p_219736_) void
void
makeStuckInBlock
(BlockState p_36196_, Vec3 p_36197_) protected Vec3
maybeBackOffFromEdge
(Vec3 p_36201_, MoverType p_36202_) boolean
mayBuild()
boolean
mayUseItemAt
(BlockPos p_36205_, Direction p_36206_, ItemStack p_36207_) private void
void
onAboveBubbleColumn
(boolean p_368525_, BlockPos p_393868_) boolean
void
onEnchantmentPerformed
(ItemStack p_36172_, int p_36173_) void
onInsideBubbleColumn
(boolean p_368607_) void
void
openCommandBlock
(CommandBlockEntity p_36191_) void
openDialog
(Holder<Dialog> p_425559_) void
openHorseInventory
(AbstractHorse p_36167_, Container p_36168_) void
openItemGui
(ItemStack p_36174_, InteractionHand p_36175_) void
openJigsawBlock
(JigsawBlockEntity p_36192_) openMenu
(MenuProvider p_36150_) void
openMinecartCommandBlock
(BaseCommandBlock p_36182_) void
openStructureBlock
(StructureBlockEntity p_36194_) void
openTestBlock
(TestBlockEntity p_397347_) void
openTestInstanceBlock
(TestInstanceBlockEntity p_397914_) void
openTextEdit
(SignBlockEntity p_36193_, boolean p_277837_) void
playNotifySound
(SoundEvent p_36140_, SoundSource p_36141_, float p_36142_, float p_36143_) private void
playShoulderEntityAmbientSound
(CompoundTag p_36368_) void
playSound
(SoundEvent p_36137_, float p_36138_, float p_36139_) protected void
playStepSound
(BlockPos p_282121_, BlockState p_282194_) boolean
protected void
readAdditionalSaveData
(ValueInput p_422427_) void
Neo: Force the displayed name to refresh, by firingPlayerEvent.NameFormat
, using the real player name as event parameter.void
remove
(Entity.RemovalReason p_150097_) protected void
void
void
void
int
resetRecipes
(Collection<RecipeHolder<?>> p_36263_) void
void
respawn()
private void
respawnEntityOnShoulder
(CompoundTag p_36371_) void
rideTick()
void
sendMerchantOffers
(int p_36121_, MerchantOffers p_36122_, int p_36123_, int p_36124_, boolean p_36125_, boolean p_36126_) void
setClientLoaded
(boolean p_386810_) boolean
setEntityOnShoulder
(CompoundTag p_36361_) void
setForcedPose
(Pose pose) Neo: Force a pose for the player.void
setIgnoreFallDamageFromCurrentImpulse
(boolean p_352198_) void
setLastDeathLocation
(Optional<GlobalPos> p_219750_) void
setMainArm
(HumanoidArm p_36164_) void
setReducedDebugInfo
(boolean p_36394_) void
setRemainingFireTicks
(int p_36353_) void
setScore
(int p_36398_) protected void
setShoulderEntityLeft
(CompoundTag p_36363_) protected void
setShoulderEntityRight
(CompoundTag p_36365_) boolean
boolean
boolean
void
startAutoSpinAttack
(int p_204080_, float p_346316_, ItemStack p_345401_) void
com.mojang.datafixers.util.Either
<Player.BedSleepingProblem, Unit> startSleepInBed
(BlockPos p_36203_) void
stopSleepInBed
(boolean p_36226_, boolean p_36227_) void
void
void
tick()
void
protected void
private void
void
void
triggerRecipeCrafted
(RecipeHolder<?> p_301080_, List<ItemStack> p_283609_) void
boolean
private void
protected boolean
protected void
void
void
updateTutorialInventoryAction
(ItemStack p_150098_, ItemStack p_150099_, ClickAction p_150100_) protected boolean
从类继承的方法 net.minecraft.world.entity.LivingEntity
activeLocationDependentEnchantments, addEffect, addEffect, applyInput, applyItemBlocking, areAllEffectsAmbient, attackable, baseTick, blockedByItem, brainProvider, calculateEntityAnimation, calculateFallDamage, canAttack, canAttackType, canBeAffected, canBeSeenByAnyone, canBreatheUnderwater, canDispenserEquipIntoSlot, canEquipWithDispenser, canFreeze, canGlideUsing, canPickUpLoot, canStandOnFluid, canUsePortal, canUseSlot, checkAutoSpinAttack, checkFallDamage, clearSleepingPos, completeUsingItem, createLivingAttributes, createWitherRose, decreaseAirSupply, doHurtEquipment, doHurtTarget, doPush, drop, dropAllDeathLoot, dropCustomDeathLoot, dropExperience, dropFromGiftLootTable, dropFromLootTable, dropFromLootTable, dropFromShearingLootTable, equipmentHasChanged, forceAddEffect, getActiveEffects, getActiveEffectsMap, getAgeScale, getArmorCoverPercentage, getArmorValue, getArrowCount, getAttackAnim, getAttribute, getAttributeBaseValue, getAttributes, getAttributeValue, getBedOrientation, getBrain, getCombatTracker, getComfortableFallDistance, getCurrentSwingDuration, getDamageAfterArmorAbsorb, getDamageAfterMagicAbsorb, getDefaultGravity, getDimensions, getEffect, getEffectBlendFactor, getEffectiveGravity, getEquipmentSlotForItem, getEquipSound, getExperienceReward, getFallFlyingTicks, getFluidFallingAdjustedMovement, getHealth, getHitbox, getInterpolation, getItemBlockingWith, getItemBySlot, getItemHeldByArm, getItemInHand, getJumpBoostPower, getJumpPower, getJumpPower, getKillCredit, getKnockback, getLastAttacker, getLastClimbablePos, getLastDamageSource, getLastHurtByMob, getLastHurtByMobTimestamp, getLastHurtByPlayer, getLastHurtByPlayerMemoryTime, getLastHurtMob, getLastHurtMobTimestamp, getLocalBoundsForPose, getLootTableSeed, getMainHandItem, getMaxAbsorption, getMaxFallDistance, getMaxHealth, getNoActionTime, getOffhandItem, getPassengerRidingPosition, getPreciseBodyRotation, getRelativePortalPosition, getRiddenInput, getRiddenSpeed, getScale, getSecondsToDisableBlocking, getSleepingPos, getSlotForHand, getSoundVolume, getStingerCount, getSwimAmount, getTicksUsingItem, getUsedItemHand, getUseItem, getUseItemRemainingTicks, getViewYRot, getVisibilityPercent, getVisualRotationYInDegrees, getVoicePitch, getWaterSlowDown, getYHeadRot, goDownInWater, handleDamageEvent, handleExtraItemsCreatedOnUse, hasEffect, hasItemInSlot, hasLandedInLiquid, hasLineOfSight, hasLineOfSight, heal, igniteForTicks, increaseAirSupply, indicateDamage, isAffectedByPotions, isAlive, isAutoSpinAttack, isBaby, isBlocking, isCurrentlyGlowing, isDeadOrDying, isEquippableInSlot, isFallFlying, isHolding, isHolding, isInvertedHealAndHarm, isInWall, isJumping, isLookingAtMe, isPickable, isPushable, isSensitiveToWater, isSleeping, isSuppressingSlidingDownLadder, isTransmittingWaypoint, isUsingItem, isVisuallySwimming, jumpFromGround, jumpInLiquid, kill, knockback, lerpHeadRotationStep, lerpHeadTo, lookAt, makeBrain, makePoofParticles, makeSound, makeWaypointConnectionWith, maxUpStep, onAttributeUpdated, onBelowWorld, onChangedBlock, onEffectAdded, onEffectsRemoved, onEffectUpdated, onEnterCombat, onEquipItem, onEquippedItemBroken, onItemPickup, onLeaveCombat, onRemoval, onSyncedDataUpdated, playBlockFallSound, playHurtSound, push, pushEntities, randomTeleport, recreateFromPacket, releaseUsingItem, removeAllEffects, removeEffect, removeEffectNoUpdate, removeEffectParticles, removeFrost, resetForwardDirectionOfRelativePortalPosition, resolveMobResponsibleForDamage, resolvePlayerResponsibleForDamage, sanitizeScale, sendEffectToPassengers, serverAiStep, setAbsorptionAmount, setArrowCount, setDiscardFriction, setHealth, setItemInHand, setItemSlot, setJumping, setLastHurtByMob, setLastHurtByPlayer, setLastHurtByPlayer, setLastHurtMob, setLivingEntityFlag, setNoActionTime, setRecordPlayingNearby, setSleepingPos, setSpeed, setSprinting, setStingerCount, setYBodyRot, setYHeadRot, shouldDiscardFriction, shouldDropExperience, shouldDropLoot, skipDropExperience, spawnItemParticles, startSleeping, startUsingItem, stopFallFlying, stopRiding, stopUsingItem, swing, swing, take, tickDeath, tickEffects, tickHeadTurn, tickRidden, travelFlying, travelFlying, triggerOnDeathMobEffects, tryAddFrost, updateEffectVisibility, updateFallFlying, updateInvisibilityStatus, updateSwingTime, updateUsingItem, updateWalkAnimation, wasExperienceConsumed, waypointIcon, wouldNotSuffocateAtTargetPose
从类继承的方法 net.minecraft.world.entity.Entity
absSnapRotationTo, absSnapTo, absSnapTo, addDeltaMovement, addPassenger, addTag, adjustSpawnLocation, applyComponentsFromItemStack, applyEffectsFromBlocks, applyEffectsFromBlocks, applyGravity, applyImplicitComponent, applyImplicitComponentIfPresent, applyImplicitComponents, awardKillScore, blockPosition, broadcastToPlayer, calculateUpVector, calculateViewVector, canAddPassenger, canBeCollidedWith, canCollideWith, canControlVehicle, canRide, canSpawnSprintParticle, canTeleport, canTrample, captureDrops, captureDrops, castComponentValue, checkBelowWorld, checkDespawn, 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, 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, getControllingPassenger, getCustomName, getDefaultPassengerAttachmentPoint, getDeltaMovement, getDirection, getDismountLocationForPassenger, getEncodeId, getEntityData, getEyeHeight, getEyeHeight, getEyeInFluidType, getEyePosition, getEyePosition, getEyeY, getFirstPassenger, getFluidHeight, getFluidJumpThreshold, getFluidTypeHeight, getForward, getGravity, getHandHoldingItemAngle, getId, getInBlockState, getIndirectPassengers, getInputVector, getKnownMovement, getLightLevelDependentMagicValue, getLightProbePosition, getLookAngle, getLootTable, getMaxAirSupply, getMaxHeightFluidType, getMotionDirection, getNearestViewDirection, getOnPos, getOnPos, getOnPosLegacy, getPassengerAttachmentPoint, getPassengers, getPassengersAndSelf, getPercentFrozen, getPersistentData, getPickRadius, getPickResult, getPistonPushReaction, getPortalCooldown, getPose, getPosition, getPositionCodec, getPrimaryStepSoundBlockPos, getQuadLeashHolderOffsets, getRandom, getRandomX, getRandomY, getRandomZ, getRemainingFireTicks, getRemovalReason, getRequiresPrecisePosition, getRootVehicle, getRotationVector, getSelfAndPassengers, getServer, getSharedFlag, getStringUUID, 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, interact, interactAt, is, isAddedToLevel, isAffectedByBlocks, isAlliedTo, isAlliedTo, isAttackable, isColliding, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEyeInFluid, isFlapping, isFlyingVehicle, isFree, isFreezing, isFullyFrozen, isHorizontalCollisionMinor, isIgnoringBlockTriggers, isInClouds, isInFluidType, isInFluidType, isInLava, isInLiquid, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableToBase, isInWater, isInWaterOrRain, isLocalInstanceAuthoritative, isNoGravity, isOnFire, isOnPortalCooldown, isOnRails, isPassenger, isPassengerOfSameVehicle, isRemoved, isShiftKeyDown, isSilent, isSprinting, isSteppingCarefully, isSupportedBy, isSuppressingBounce, isUnderWater, isVehicle, isVisuallyCrawling, lavaHurt, lavaIgnite, lerpMotion, lerpPositionAndRotationStep, level, limitPistonMovement, load, makeBoundingBox, makeBoundingBox, markHurt, mayInteract, mirror, move, moveOrInterpolateTo, moveRelative, moveTowardsClosestSpace, nextStep, notifyLeasheeRemoved, notifyLeashHolder, oldPosition, onAddedToLevel, onClientRemoval, onExplosionHit, onFlap, onGround, onInsideBlock, onPassengerTurned, onRemovedFromLevel, onSyncedDataUpdated, pick, placePortalTicket, playCombinationStepSounds, playEntityOnFireExtinguishedSound, playerTouch, playMuffledStepSound, playSound, playSwimSound, position, positionRider, positionRider, problemPath, processFlappingMovement, processPortalCooldown, propagateFallToPassengers, push, push, reapplyPosition, refreshDimensions, registryAccess, removeAfterChangingDimensions, removeLatestMovementRecording, removePassenger, removeTag, 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, setRemoved, setRequiresPrecisePosition, setRot, setSharedFlag, setSharedFlagOnFire, setShiftKeyDown, setSilent, setSwimming, setTicksFrozen, setUUID, setViewScale, setXRot, setYRot, shearOffAllLeashConnections, shouldBlockExplode, shouldPlayLavaHurtSound, shouldRender, shouldRenderAtSqrDistance, showVehicleHealth, skipAttackInteraction, snapTo, snapTo, snapTo, snapTo, snapTo, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnAtLocation, spawnSprintParticle, startRiding, startRiding, startSeenByPlayer, stopSeenByPlayer, supportQuadLeashAsHolder, syncPacketPositionCodec, teleport, teleportRelative, teleportSetPosition, teleportSpectators, teleportTo, teleportTo, thunderHit, toString, touchingUnloadedChunk, trackingPosition, turn, unRide, unsetRemoved, updateDynamicGameEventListener, updateFluidHeightAndDoFluidPushing, updateFluidHeightAndDoFluidPushing, updateInWaterStateAndDoFluidPushing, 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.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, jumpInFluid, moveInFluid, onDamageTaken, self, sinkInFluid
从接口继承的方法 net.neoforged.neoforge.common.extensions.IPlayerExtension
isCloseEnough, isFakePlayer, mayFly, openMenu, openMenu
从接口继承的方法 net.minecraft.world.scores.ScoreHolder
getFeedbackDisplayName
-
字段详细资料
-
PERSISTED_NBT_TAG
- 另请参阅:
-
LOGGER
private static final org.slf4j.Logger LOGGER -
DEFAULT_MAIN_HAND
-
DEFAULT_MODEL_CUSTOMIZATION
public static final int DEFAULT_MODEL_CUSTOMIZATION- 另请参阅:
-
MAX_HEALTH
public static final int MAX_HEALTH- 另请参阅:
-
SLEEP_DURATION
public static final int SLEEP_DURATION- 另请参阅:
-
WAKE_UP_DURATION
public static final int WAKE_UP_DURATION- 另请参阅:
-
ENDER_SLOT_OFFSET
public static final int ENDER_SLOT_OFFSET- 另请参阅:
-
HELD_ITEM_SLOT
public static final int HELD_ITEM_SLOT- 另请参阅:
-
CRAFTING_SLOT_OFFSET
public static final int CRAFTING_SLOT_OFFSET- 另请参阅:
-
DEFAULT_BLOCK_INTERACTION_RANGE
public static final float DEFAULT_BLOCK_INTERACTION_RANGE- 另请参阅:
-
DEFAULT_ENTITY_INTERACTION_RANGE
public static final float DEFAULT_ENTITY_INTERACTION_RANGE- 另请参阅:
-
CROUCH_BB_HEIGHT
public static final float CROUCH_BB_HEIGHT- 另请参阅:
-
SWIMMING_BB_WIDTH
public static final float SWIMMING_BB_WIDTH- 另请参阅:
-
SWIMMING_BB_HEIGHT
public static final float SWIMMING_BB_HEIGHT- 另请参阅:
-
DEFAULT_EYE_HEIGHT
public static final float DEFAULT_EYE_HEIGHT- 另请参阅:
-
CURRENT_IMPULSE_CONTEXT_RESET_GRACE_TIME_TICKS
private static final int CURRENT_IMPULSE_CONTEXT_RESET_GRACE_TIME_TICKS- 另请参阅:
-
DEFAULT_VEHICLE_ATTACHMENT
-
STANDING_DIMENSIONS
-
POSES
-
DATA_PLAYER_ABSORPTION_ID
-
DATA_SCORE_ID
-
DATA_PLAYER_MODE_CUSTOMISATION
-
DATA_PLAYER_MAIN_HAND
-
DATA_SHOULDER_LEFT
-
DATA_SHOULDER_RIGHT
-
CLIENT_LOADED_TIMEOUT_TIME
public static final int CLIENT_LOADED_TIMEOUT_TIME- 另请参阅:
-
DEFAULT_SLEEP_TIMER
private static final short DEFAULT_SLEEP_TIMER- 另请参阅:
-
DEFAULT_EXPERIENCE_PROGRESS
private static final float DEFAULT_EXPERIENCE_PROGRESS- 另请参阅:
-
DEFAULT_EXPERIENCE_LEVEL
private static final int DEFAULT_EXPERIENCE_LEVEL- 另请参阅:
-
DEFAULT_TOTAL_EXPERIENCE
private static final int DEFAULT_TOTAL_EXPERIENCE- 另请参阅:
-
NO_ENCHANTMENT_SEED
private static final int NO_ENCHANTMENT_SEED- 另请参阅:
-
DEFAULT_SELECTED_SLOT
private static final int DEFAULT_SELECTED_SLOT- 另请参阅:
-
DEFAULT_SCORE
private static final int DEFAULT_SCORE- 另请参阅:
-
DEFAULT_IGNORE_FALL_DAMAGE_FROM_CURRENT_IMPULSE
private static final boolean DEFAULT_IGNORE_FALL_DAMAGE_FROM_CURRENT_IMPULSE- 另请参阅:
-
DEFAULT_CURRENT_IMPULSE_CONTEXT_RESET_GRACE_TIME
private static final int DEFAULT_CURRENT_IMPULSE_CONTEXT_RESET_GRACE_TIME- 另请参阅:
-
timeEntitySatOnShoulder
private long timeEntitySatOnShoulder -
inventory
-
enderChestInventory
-
inventoryMenu
-
containerMenu
-
foodData
-
jumpTriggerTime
protected int jumpTriggerTime -
clientLoaded
private boolean clientLoaded -
clientLoadedTimeoutTimer
protected int clientLoadedTimeoutTimer -
oBob
public float oBob -
bob
public float bob -
takeXpDelay
public int takeXpDelay -
xCloakO
public double xCloakO -
yCloakO
public double yCloakO -
zCloakO
public double zCloakO -
xCloak
public double xCloak -
yCloak
public double yCloak -
zCloak
public double zCloak -
sleepCounter
private int sleepCounter -
wasUnderwater
protected boolean wasUnderwater -
abilities
-
experienceLevel
public int experienceLevel -
totalExperience
public int totalExperience -
experienceProgress
public float experienceProgress -
enchantmentSeed
protected int enchantmentSeed -
defaultFlySpeed
protected final float defaultFlySpeed- 另请参阅:
-
lastLevelUpTime
private int lastLevelUpTime -
gameProfile
private final com.mojang.authlib.GameProfile gameProfile -
reducedDebugInfo
private boolean reducedDebugInfo -
lastItemInMainHand
-
cooldowns
-
lastDeathLocation
-
fishing
-
hurtDir
protected float hurtDir -
currentImpulseImpactPos
-
currentExplosionCause
-
ignoreFallDamageFromCurrentImpulse
private boolean ignoreFallDamageFromCurrentImpulse -
currentImpulseContextResetGraceTime
private int currentImpulseContextResetGraceTime -
prefixes
-
suffixes
-
forcedPose
-
lastDayTimeTick
private long lastDayTimeTick -
displayname
-
-
构造器详细资料
-
Player
-
-
方法详细资料
-
createEquipment
- 覆盖:
createEquipment
在类中LivingEntity
-
blockActionRestricted
-
createAttributes
-
defineSynchedData
- 覆盖:
defineSynchedData
在类中LivingEntity
-
tick
public void tick()- 覆盖:
tick
在类中LivingEntity
-
getMaxHeadRotationRelativeToBody
protected float getMaxHeadRotationRelativeToBody() -
isSecondaryUseActive
public boolean isSecondaryUseActive() -
wantsToStopRiding
protected boolean wantsToStopRiding() -
isStayingOnGroundSurface
protected boolean isStayingOnGroundSurface() -
updateIsUnderwater
protected boolean updateIsUnderwater() -
onAboveBubbleColumn
- 覆盖:
onAboveBubbleColumn
在类中Entity
-
onInsideBubbleColumn
public void onInsideBubbleColumn(boolean p_368607_) - 覆盖:
onInsideBubbleColumn
在类中Entity
-
turtleHelmetTick
private void turtleHelmetTick() -
isEquipped
-
createItemCooldowns
-
moveCloak
private void moveCloak() -
updatePlayerPose
protected void updatePlayerPose() -
getDesiredPose
-
canPlayerFitWithinBlocksAndEntitiesWhen
-
getSwimSound
- 覆盖:
getSwimSound
在类中Entity
-
getSwimSplashSound
- 覆盖:
getSwimSplashSound
在类中Entity
-
getSwimHighSpeedSplashSound
- 覆盖:
getSwimHighSpeedSplashSound
在类中Entity
-
getDimensionChangingDelay
public int getDimensionChangingDelay()- 覆盖:
getDimensionChangingDelay
在类中Entity
-
playSound
-
playNotifySound
public void playNotifySound(SoundEvent p_36140_, SoundSource p_36141_, float p_36142_, float p_36143_) -
getSoundSource
- 覆盖:
getSoundSource
在类中Entity
-
getFireImmuneTicks
protected int getFireImmuneTicks()- 覆盖:
getFireImmuneTicks
在类中Entity
-
handleEntityEvent
public void handleEntityEvent(byte p_36120_) - 覆盖:
handleEntityEvent
在类中LivingEntity
-
closeContainer
public void closeContainer() -
doCloseContainer
protected void doCloseContainer() -
rideTick
public void rideTick()- 覆盖:
rideTick
在类中LivingEntity
-
aiStep
public void aiStep()- 覆盖:
aiStep
在类中LivingEntity
-
tickRegeneration
protected void tickRegeneration() -
playShoulderEntityAmbientSound
-
touch
-
getScore
public int getScore() -
setScore
public void setScore(int p_36398_) -
increaseScore
public void increaseScore(int p_36402_) -
startAutoSpinAttack
-
getWeaponItem
- 覆盖:
getWeaponItem
在类中LivingEntity
-
die
- 覆盖:
die
在类中LivingEntity
-
dropEquipment
- 覆盖:
dropEquipment
在类中LivingEntity
-
destroyVanishingCursedItems
protected void destroyVanishingCursedItems() -
getHurtSound
- 覆盖:
getHurtSound
在类中LivingEntity
-
getDeathSound
- 覆盖:
getDeathSound
在类中LivingEntity
-
handleCreativeModeItemDrop
-
drop
-
getDestroySpeed
已过时。Neo:getDestroySpeed(BlockState, BlockPos)
instead -
getDestroySpeed
-
hasCorrectToolForDrops
已过时。 -
hasCorrectToolForDrops
-
readAdditionalSaveData
- 覆盖:
readAdditionalSaveData
在类中LivingEntity
-
addAdditionalSaveData
- 覆盖:
addAdditionalSaveData
在类中LivingEntity
-
isInvulnerableTo
- 覆盖:
isInvulnerableTo
在类中LivingEntity
-
hurtServer
- 覆盖:
hurtServer
在类中LivingEntity
-
blockUsingItem
- 覆盖:
blockUsingItem
在类中LivingEntity
-
canBeSeenAsEnemy
public boolean canBeSeenAsEnemy()- 覆盖:
canBeSeenAsEnemy
在类中LivingEntity
-
canHarmPlayer
-
hurtArmor
- 覆盖:
hurtArmor
在类中LivingEntity
-
hurtHelmet
- 覆盖:
hurtHelmet
在类中LivingEntity
-
actuallyHurt
- 覆盖:
actuallyHurt
在类中LivingEntity
-
isTextFilteringEnabled
public boolean isTextFilteringEnabled() -
openTextEdit
-
openMinecartCommandBlock
-
openCommandBlock
-
openStructureBlock
-
openTestBlock
-
openTestInstanceBlock
-
openJigsawBlock
-
openHorseInventory
-
openMenu
-
openDialog
-
sendMerchantOffers
public void sendMerchantOffers(int p_36121_, MerchantOffers p_36122_, int p_36123_, int p_36124_, boolean p_36125_, boolean p_36126_) -
openItemGui
-
interactOn
-
removeVehicle
public void removeVehicle()- 覆盖:
removeVehicle
在类中Entity
-
isImmobile
protected boolean isImmobile()- 覆盖:
isImmobile
在类中LivingEntity
-
isAffectedByFluids
public boolean isAffectedByFluids()- 覆盖:
isAffectedByFluids
在类中LivingEntity
-
maybeBackOffFromEdge
- 覆盖:
maybeBackOffFromEdge
在类中Entity
-
isAboveGround
private boolean isAboveGround(float p_341626_) -
canFallAtLeast
private boolean canFallAtLeast(double p_341664_, double p_341597_, double p_397512_) -
attack
-
getEnchantedDamage
-
doAutoAttackOnTouch
- 覆盖:
doAutoAttackOnTouch
在类中LivingEntity
-
crit
-
magicCrit
-
sweepAttack
public void sweepAttack() -
respawn
public void respawn() -
remove
- 覆盖:
remove
在类中LivingEntity
-
isClientAuthoritative
public boolean isClientAuthoritative()- 覆盖:
isClientAuthoritative
在类中Entity
-
isLocalClientAuthoritative
protected boolean isLocalClientAuthoritative()- 覆盖:
isLocalClientAuthoritative
在类中Entity
-
isLocalPlayer
public boolean isLocalPlayer() -
canSimulateMovement
public boolean canSimulateMovement()- 覆盖:
canSimulateMovement
在类中Entity
-
isEffectiveAi
public boolean isEffectiveAi()- 覆盖:
isEffectiveAi
在类中Entity
-
getGameProfile
public com.mojang.authlib.GameProfile getGameProfile() -
getInventory
-
getAbilities
-
hasInfiniteMaterials
public boolean hasInfiniteMaterials()- 覆盖:
hasInfiniteMaterials
在类中LivingEntity
-
preventsBlockDrops
public boolean preventsBlockDrops() -
updateTutorialInventoryAction
public void updateTutorialInventoryAction(ItemStack p_150098_, ItemStack p_150099_, ClickAction p_150100_) -
hasContainerOpen
public boolean hasContainerOpen() -
canDropItems
public boolean canDropItems() -
startSleepInBed
public com.mojang.datafixers.util.Either<Player.BedSleepingProblem,Unit> startSleepInBed(BlockPos p_36203_) -
stopSleepInBed
public void stopSleepInBed(boolean p_36226_, boolean p_36227_) -
stopSleeping
public void stopSleeping()- 覆盖:
stopSleeping
在类中LivingEntity
-
isSleepingLongEnough
public boolean isSleepingLongEnough() -
getSleepTimer
public int getSleepTimer() -
displayClientMessage
-
awardStat
-
awardStat
-
awardStat
-
awardStat
-
resetStat
-
awardRecipes
-
triggerRecipeCrafted
-
awardRecipesByKey
-
resetRecipes
-
travel
- 覆盖:
travel
在类中LivingEntity
-
canGlide
protected boolean canGlide()- 覆盖:
canGlide
在类中LivingEntity
-
updateSwimming
public void updateSwimming()- 覆盖:
updateSwimming
在类中Entity
-
freeAt
-
getSpeed
public float getSpeed()- 覆盖:
getSpeed
在类中LivingEntity
-
causeFallDamage
- 覆盖:
causeFallDamage
在类中LivingEntity
-
tryToStartFallFlying
public boolean tryToStartFallFlying() -
startFallFlying
public void startFallFlying() -
doWaterSplashEffect
protected void doWaterSplashEffect()- 覆盖:
doWaterSplashEffect
在类中Entity
-
playStepSound
- 覆盖:
playStepSound
在类中Entity
-
getFallSounds
- 覆盖:
getFallSounds
在类中LivingEntity
-
killedEntity
- 覆盖:
killedEntity
在类中Entity
-
makeStuckInBlock
- 覆盖:
makeStuckInBlock
在类中Entity
-
giveExperiencePoints
public void giveExperiencePoints(int p_36291_) -
getEnchantmentSeed
public int getEnchantmentSeed() -
onEnchantmentPerformed
-
giveExperienceLevels
public void giveExperienceLevels(int p_36276_) -
getXpNeededForNextLevel
public int getXpNeededForNextLevel() -
causeFoodExhaustion
public void causeFoodExhaustion(float p_36400_) -
getWardenSpawnTracker
-
getFoodData
-
canEat
public boolean canEat(boolean p_36392_) -
isHurt
public boolean isHurt() -
mayBuild
public boolean mayBuild() -
mayUseItemAt
-
getBaseExperienceReward
- 覆盖:
getBaseExperienceReward
在类中LivingEntity
-
isAlwaysExperienceDropper
protected boolean isAlwaysExperienceDropper() -
shouldShowName
public boolean shouldShowName()- 覆盖:
shouldShowName
在类中LivingEntity
-
getMovementEmission
- 覆盖:
getMovementEmission
在类中Entity
-
onUpdateAbilities
public void onUpdateAbilities() -
getName
-
getEnderChestInventory
-
doesEmitEquipEvent
- 覆盖:
doesEmitEquipEvent
在类中LivingEntity
-
addItem
-
setEntityOnShoulder
-
removeEntitiesOnShoulder
protected void removeEntitiesOnShoulder() -
respawnEntityOnShoulder
-
gameMode
-
isSpectator
public boolean isSpectator()- 覆盖:
isSpectator
在类中Entity
-
canBeHitByProjectile
public boolean canBeHitByProjectile()- 覆盖:
canBeHitByProjectile
在类中Entity
-
isSwimming
public boolean isSwimming()- 覆盖:
isSwimming
在类中Entity
-
isCreative
public boolean isCreative() -
isPushedByFluid
public boolean isPushedByFluid()- 覆盖:
isPushedByFluid
在类中Entity
-
getScoreboard
-
getDisplayName
- 指定者:
getDisplayName
在接口中Nameable
- 指定者:
getDisplayName
在接口中ScoreHolder
- 覆盖:
getDisplayName
在类中Entity
-
decorateDisplayNameComponent
-
getScoreboardName
- 指定者:
getScoreboardName
在接口中ScoreHolder
- 覆盖:
getScoreboardName
在类中Entity
-
internalSetAbsorptionAmount
protected void internalSetAbsorptionAmount(float p_296426_) -
getAbsorptionAmount
public float getAbsorptionAmount()- 覆盖:
getAbsorptionAmount
在类中LivingEntity
-
isModelPartShown
-
getSlot
- 覆盖:
getSlot
在类中LivingEntity
-
isReducedDebugInfo
public boolean isReducedDebugInfo() -
setReducedDebugInfo
public void setReducedDebugInfo(boolean p_36394_) -
setRemainingFireTicks
public void setRemainingFireTicks(int p_36353_) - 覆盖:
setRemainingFireTicks
在类中Entity
-
getMainArm
- 指定者:
getMainArm
在类中LivingEntity
-
setMainArm
-
getShoulderEntityLeft
-
setShoulderEntityLeft
-
getShoulderEntityRight
-
setShoulderEntityRight
-
getCurrentItemAttackStrengthDelay
public float getCurrentItemAttackStrengthDelay() -
getAttackStrengthScale
public float getAttackStrengthScale(float p_36404_) -
resetAttackStrengthTicker
public void resetAttackStrengthTicker() -
getCooldowns
-
getBlockSpeedFactor
protected float getBlockSpeedFactor()- 覆盖:
getBlockSpeedFactor
在类中LivingEntity
-
getLuck
public float getLuck()- 覆盖:
getLuck
在类中LivingEntity
-
canUseGameMasterBlocks
public boolean canUseGameMasterBlocks() -
getPermissionLevel
public int getPermissionLevel() -
hasPermissions
public boolean hasPermissions(int p_376640_) -
getDefaultDimensions
- 覆盖:
getDefaultDimensions
在类中LivingEntity
-
getDismountPoses
- 覆盖:
getDismountPoses
在类中LivingEntity
-
getProjectile
- 覆盖:
getProjectile
在类中LivingEntity
-
getRopeHoldPosition
- 覆盖:
getRopeHoldPosition
在类中Entity
-
isAlwaysTicking
public boolean isAlwaysTicking()- 指定者:
isAlwaysTicking
在接口中EntityAccess
- 覆盖:
isAlwaysTicking
在类中Entity
-
isScoping
public boolean isScoping() -
shouldBeSaved
public boolean shouldBeSaved()- 指定者:
shouldBeSaved
在接口中EntityAccess
- 覆盖:
shouldBeSaved
在类中Entity
-
getLastDeathLocation
-
setLastDeathLocation
-
getHurtDir
public float getHurtDir()- 覆盖:
getHurtDir
在类中LivingEntity
-
animateHurt
public void animateHurt(float p_265280_) - 覆盖:
animateHurt
在类中LivingEntity
-
canSprint
public boolean canSprint() -
getFlyingSpeed
protected float getFlyingSpeed()- 覆盖:
getFlyingSpeed
在类中LivingEntity
-
hasClientLoaded
public boolean hasClientLoaded() -
tickClientLoadTimeout
public void tickClientLoadTimeout() -
setClientLoaded
public void setClientLoaded(boolean p_386810_) -
blockInteractionRange
public double blockInteractionRange() -
entityInteractionRange
public double entityInteractionRange() -
canInteractWithEntity
-
canInteractWithEntity
-
canInteractWithBlock
-
setIgnoreFallDamageFromCurrentImpulse
public void setIgnoreFallDamageFromCurrentImpulse(boolean p_352198_) -
isIgnoringFallDamageFromCurrentImpulse
public boolean isIgnoringFallDamageFromCurrentImpulse() -
tryResetCurrentImpulseContext
public void tryResetCurrentImpulseContext() -
resetCurrentImpulseContext
public void resetCurrentImpulseContext() -
shouldRotateWithMinecart
public boolean shouldRotateWithMinecart() -
onClimbable
public boolean onClimbable()- 覆盖:
onClimbable
在类中LivingEntity
-
debugInfo
-
getPrefixes
-
getSuffixes
-
refreshDisplayName
public void refreshDisplayName()Neo: Force the displayed name to refresh, by firingPlayerEvent.NameFormat
, using the real player name as event parameter. -
setForcedPose
Neo: Force a pose for the player. If set, the vanilla pose determination and clearance check is skipped. Make sure the pose is clear yourself (e.g. in PlayerTick). This has to be set just once, do not set it every tick. Make sure to clear (null) the pose if not required anymore and only use if necessary. -
getForcedPose
Neo:- 返回:
- The forced pose if set, null otherwise
-
getDestroySpeed(BlockState, BlockPos)
instead