类 Entity
- 所有已实现的接口:
CommandSource
,EntityAccess
,Nameable
,ICapabilityProvider
,ICapabilityProviderImpl<Entity>
,ICapabilitySerializable<CompoundTag>
,IForgeEntity
,INBTSerializable<CompoundTag>
- 直接已知子类:
AbstractMinecart
,AreaEffectCloud
,Boat
,Display
,EndCrystal
,EvokerFangs
,ExperienceOrb
,EyeOfEnder
,FallingBlockEntity
,HangingEntity
,Interaction
,ItemEntity
,LightningBolt
,LivingEntity
,Marker
,PartEntity
,PrimedTnt
,Projectile
public abstract class Entity
extends CapabilityProvider<Entity>
implements Nameable, EntityAccess, CommandSource, IForgeEntity
-
嵌套类概要
嵌套类修饰符和类型类说明static interface
static enum
static enum
从类继承的嵌套类/接口 net.minecraftforge.common.capabilities.CapabilityProvider
CapabilityProvider.AsField<B extends ICapabilityProviderImpl<B>>
-
字段概要
字段修饰符和类型字段说明static final int
private AABB
private BlockPos
boolean
static final int
protected int
static final float
private boolean
private Collection<ItemEntity>
private ChunkPos
private float
private static final EntityDataAccessor<Integer>
private static final EntityDataAccessor<Optional<Component>>
private static final EntityDataAccessor<Boolean>
private static final EntityDataAccessor<Boolean>
protected static final EntityDataAccessor<Pose>
protected static final EntityDataAccessor<Byte>
private static final EntityDataAccessor<Boolean>
private static final EntityDataAccessor<Integer>
static final float
static final float
static final float
static final double
static final double
private Vec3
private EntityDimensions
protected static final AtomicInteger
protected final SynchedEntityData
private float
float
private BlockState
protected boolean
protected static final int
protected static final int
private static final int
protected static final int
private static final int
private static final int
private static final int
已过时。已过时。float
protected it.unimi.dsi.fastutil.objects.Object2DoubleMap<FluidType>
private FluidType
static final int
private boolean
boolean
private boolean
boolean
boolean
private int
static final String
private static final AABB
private boolean
int
private boolean
Internal use for keeping track of entities that are tracked by a world, to allow guarantees that entity position changes will force a chunk load, avoiding potential issues with entity desyncing and bad chunk data.boolean
protected boolean
private int
private static final double
private static final double
private Level
private EntityInLevelCallback
private static final org.slf4j.Logger
static final int
private float
boolean
float
private float
boolean
boolean
private boolean
private boolean
private final VecDeltaCodec
private com.google.common.collect.ImmutableList<Entity>
static final String
private CompoundTag
private final double[]
private long
private int
protected BlockPos
protected int
private Vec3
protected final RandomSource
private int
private Entity.RemovalReason
protected String
protected Vec3
int
static final int
private final EntityType<?>
已过时。protected UUID
static final String
private Entity
boolean
boolean
private static double
float
float
protected boolean
boolean
boolean
protected boolean
private static final double
double
double
private float
float
double
double
private float
float
double
double
从接口继承的字段 net.minecraft.commands.CommandSource
NULL
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
absMoveTo
(double pX, double pY, double pZ) void
absMoveTo
(double pX, double pY, double pZ, float pYRot, float pXRot) boolean
boolean
protected abstract void
addAdditionalSaveData
(CompoundTag pCompound) void
addDeltaMovement
(Vec3 pAddend) protected void
addPassenger
(Entity pPassenger) boolean
void
animateHurt
(float pYaw) private double
applyPistonMovementRestriction
(Direction.Axis pAxis, double pDistance) void
awardKillScore
(Entity pKilled, int pScoreValue, DamageSource pSource) void
baseTick()
boolean
broadcastToPlayer
(ServerPlayer pPlayer) protected final Vec3
calculateUpVector
(float pXRot, float pYRot) protected final Vec3
calculateViewVector
(float pXRot, float pYRot) protected boolean
canAddPassenger
(Entity pPassenger) boolean
boolean
boolean
boolean
canCollideWith
(Entity pEntity) protected boolean
canEnterPose
(Pose pPose) boolean
protected boolean
boolean
boolean
boolean
canTrample
(BlockState state, BlockPos pos, float fallDistance) boolean
void
canUpdate
(boolean value) captureDrops
(Collection<ItemEntity> value) boolean
causeFallDamage
(float pFallDistance, float pMultiplier, DamageSource pSource) changeDimension
(ServerLevel pDestination) changeDimension
(ServerLevel pDestination, ITeleporter teleporter) void
void
protected void
checkFallDamage
(double pY, boolean pOnGround, BlockState pState, BlockPos pPos) protected void
void
protected void
checkSupportingBlock
(boolean pOnGround, Vec3 pMovement) void
boolean
closerThan
(Entity pEntity, double pDistance) boolean
closerThan
(Entity pEntity, double pHorizontalDistance, double pVerticalDistance) private Vec3
static Vec3
collideBoundingBox
(Entity pEntity, Vec3 pVec, AABB pCollisionBox, Level pLevel, List<VoxelShape> pPotentialHits) private static Vec3
collideWithShapes
(Vec3 pDeltaMovement, AABB pEntityBB, List<VoxelShape> pShapes) void
copyPosition
(Entity pEntity) protected boolean
已过时。protected HoverEvent
boolean
protected abstract void
final void
discard()
boolean
void
dismountTo
(double pX, double pY, double pZ) boolean
float
distanceTo
(Entity pEntity) double
distanceToSqr
(double pX, double pY, double pZ) double
distanceToSqr
(Entity pEntity) double
distanceToSqr
(Vec3 pVec) void
doEnchantDamageEffects
(LivingEntity pAttacker, Entity pTarget) protected void
void
boolean
void
void
fillCrashReportCategory
(CrashReportCategory pCategory) protected PortalInfo
findDimensionEntryPoint
(ServerLevel pDestination) boolean
protected void
已过时。void
void
int
final float
final float
float
getBlockExplosionResistance
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) protected float
protected BlockPos
protected float
protected BlockState
已过时。final int
final int
final int
final AABB
protected AABB
getBoundingBoxForPose
(Pose pPose) protected static Vec3
getCollisionHorizontalEscapeVector
(double pVehicleWidth, double pPassengerWidth, float pYRot) int
getDimensions
(Pose pPose) getDismountLocationForPassenger
(LivingEntity pPassenger) final String
protected Optional<BlockUtil.FoundRectangle>
getExitPortal
(ServerLevel pDestination, BlockPos pFindFrom, boolean pIsToNether, WorldBorder pWorldBorder) final float
float
getEyeHeight
(Pose pPose) protected float
getEyeHeight
(Pose pPose, EntityDimensions pDimensions) float
getEyeHeightAccess
(Pose pose, EntityDimensions size) Accessor method forgetEyeHeight(Pose, EntityDimensions)
final FluidType
Returns the fluid that is on the entity's eyes.final Vec3
final Vec3
getEyePosition
(float pPartialTicks) double
getEyeY()
protected int
double
getFluidHeight
(TagKey<Fluid> pFluidTag) 已过时。double
final double
getFluidTypeHeight
(FluidType type) Returns the height of the fluid type in relation to the bounding box of the entity.getHandHoldingItemAngle
(Item pItem) int
getId()
private static Vec3
getInputVector
(Vec3 pRelative, float pMotionScaler, float pFacing) protected Vec3
getLeashOffset
(float pPartialTick) float
已过时。getLightProbePosition
(float pPartialTicks) int
int
Returns the fluid type which is the highest on the bounding box of the entity.protected Entity.MovementEmission
double
getName()
float
getOnPos()
protected BlockPos
getOnPos
(float pYOffset) 已过时。double
float
protected int
Returns a NBTTagCompound that can be used to store custom data for this entity.float
int
int
getPose()
final Vec3
getPosition
(float pPartialTicks) protected BlockPos
double
getRandomX
(double pScale) double
double
getRandomZ
(double pScale) protected Vec3
getRelativePortalPosition
(Direction.Axis pAxis, BlockUtil.FoundRectangle pPortal) int
getRopeHoldPosition
(float pPartialTicks) protected boolean
getSharedFlag
(int pFlag) getSlot
(int pSlot) protected SoundEvent
protected SoundEvent
protected SoundEvent
getTags()
getTeam()
int
int
int
EntityType<?>
getType()
protected Component
final Vec3
getUpVector
(float pPartialTicks) getUUID()
static double
final Vec3
getViewVector
(float pPartialTicks) float
getViewXRot
(float pPartialTicks) float
getViewYRot
(float pPartialTick) float
final double
getX()
double
getX
(double pScale) float
getXRot()
final double
getY()
double
getY
(double pScale) float
float
getYRot()
final double
getZ()
double
getZ
(double pScale) void
handleDamageEvent
(DamageSource pDamageSource) void
handleEntityEvent
(byte pId) void
handleInsidePortal
(BlockPos pPos) protected void
final boolean
boolean
boolean
final boolean
int
hashCode()
boolean
hasIndirectPassenger
(Entity pEntity) boolean
hasPassenger
(Predicate<Entity> pPredicate) boolean
hasPassenger
(Entity pEntity) boolean
hasPermissions
(int pLevel) boolean
boolean
hurt
(DamageSource pSource, float pAmount) boolean
interact
(Player pPlayer, InteractionHand pHand) interactAt
(Player pPlayer, Vec3 pVec, InteractionHand pHand) boolean
final boolean
Gets whether this entity has been added to a world (for tracking).boolean
isAlive()
boolean
isAlliedTo
(Entity pEntity) boolean
isAlliedTo
(Team pTeam) boolean
boolean
boolean
isColliding
(BlockPos pPos, BlockState pState) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEyeInFluid
(TagKey<Fluid> pFluidTag) 已过时。protected boolean
boolean
isFree
(double pX, double pY, double pZ) private boolean
boolean
boolean
protected boolean
isHorizontalCollisionMinor
(Vec3 pDeltaMovement) boolean
private boolean
final boolean
Returns whether the entity is in a fluid.final boolean
isInFluidType
(BiPredicate<FluidType, Double> predicate, boolean forAllTypes) Returns whether the fluid type the entity is currently in matches the specified condition.boolean
isInLava()
private boolean
isInRain()
boolean
boolean
isInvisibleTo
(Player pPlayer) boolean
boolean
isInvulnerableTo
(DamageSource pSource) boolean
isInWall()
boolean
boolean
boolean
boolean
boolean
boolean
isOnFire()
boolean
boolean
boolean
boolean
isPassengerOfSameVehicle
(Entity pEntity) boolean
boolean
boolean
已过时。final boolean
boolean
boolean
isSilent()
boolean
boolean
private boolean
isStateClimbable
(BlockState pState) boolean
boolean
isSupportedBy
(BlockPos pPos) boolean
boolean
boolean
boolean
boolean
boolean
void
kill()
boolean
killedEntity
(ServerLevel pLevel, LivingEntity pEntity) void
lavaHurt()
void
lerpHeadTo
(float pYaw, int pPitch) void
lerpMotion
(double pX, double pY, double pZ) void
lerpTo
(double pX, double pY, double pZ, float pYRot, float pXRot, int pLerpSteps, boolean pTeleport) level()
protected Vec3
limitPistonMovement
(Vec3 pPos) void
load
(CompoundTag pCompound) void
lookAt
(EntityAnchorArgument.Anchor pAnchor, Vec3 pTarget) protected AABB
void
makeStuckInBlock
(BlockState pState, Vec3 pMotionMultiplier) protected void
markHurt()
float
已过时。UseIForgeEntity.getStepHeight()
to get the real step height value.protected Vec3
maybeBackOffFromEdge
(Vec3 pVec, MoverType pMover) boolean
mayInteract
(Level pLevel, BlockPos pPos) float
void
void
moveRelative
(float pAmount, Vec3 pRelative) void
moveTo
(double p_20105_, double p_20106_, double p_20107_) void
moveTo
(double pX, double pY, double pZ, float pYRot, float pXRot) void
void
protected void
moveTowardsClosestSpace
(double pX, double pY, double pZ) protected ListTag
newDoubleList
(double... pNumbers) protected ListTag
newFloatList
(float... pNumbers) protected float
nextStep()
void
onAboveBubbleCol
(boolean pDownwards) void
Called after the entity has been added to the world's ticking list.protected void
void
protected void
onFlap()
boolean
onGround()
protected void
onInsideBlock
(BlockState pState) void
onInsideBubbleColumn
(boolean pDownwards) boolean
void
onPassengerTurned
(Entity pEntityToUpdate) void
Called after the entity has been removed to the world's ticking list.void
onSyncedDataUpdated
(List<SynchedEntityData.DataValue<?>> pDataValues) void
onSyncedDataUpdated
(EntityDataAccessor<?> pKey) pick
(double pHitDistance, float pPartialTicks, boolean pHitFluids) private void
protected void
playCombinationStepSounds
(BlockState pPrimaryState, BlockState pSecondaryState, BlockPos primaryPos, BlockPos secondaryPos) protected void
void
playerTouch
(Player pPlayer) protected void
playMuffledStepSound
(BlockState pState, BlockPos pos) void
playSound
(SoundEvent pSound) void
playSound
(SoundEvent pSound, float pVolume, float pPitch) protected void
playStepSound
(BlockPos pPos, BlockState pState) protected void
playSwimSound
(float pVolume) position()
final void
positionRider
(Entity pPassenger) protected void
positionRider
(Entity pPassenger, Entity.MoveFunction pCallback) protected void
protected void
void
push
(double pX, double pY, double pZ) void
protected abstract void
readAdditionalSaveData
(CompoundTag pCompound) protected void
void
void
void
remove
(Entity.RemovalReason pReason) private static Component
removeAction
(Component pName) protected void
protected void
removePassenger
(Entity pPassenger) boolean
void
protected boolean
void
void
restoreFrom
(Entity pEntity) void
revive()
Revives an entity that has been removed from a world.void
rideTick()
float
boolean
save
(CompoundTag pCompound) boolean
saveAsPassenger
(CompoundTag pCompound) saveWithoutId
(CompoundTag pCompound) void
sendSystemMessage
(Component pComponent) void
setAirSupply
(int pAir) final void
setBoundingBox
(AABB pBb) void
setCustomName
(Component pName) void
setCustomNameVisible
(boolean pAlwaysRenderNameTag) void
setDeltaMovement
(double pX, double pY, double pZ) void
setDeltaMovement
(Vec3 pDeltaMovement) protected final void
setFluidTypeHeight
(FluidType type, double height) final void
setGlowingTag
(boolean pHasGlowingTag) void
setId
(int pId) void
setInvisible
(boolean pInvisible) void
setInvulnerable
(boolean pIsInvulnerable) void
setIsInPowderSnow
(boolean pIsInPowderSnow) void
setItemSlot
(EquipmentSlot pSlot, ItemStack pStack) protected void
void
setLevelCallback
(EntityInLevelCallback pLevelCallback) void
setMaxUpStep
(float pMaxUpStep) 已过时。Use attribute modifiers for theForgeMod#STEP_HEIGHT
attribute.void
setNoGravity
(boolean pNoGravity) final void
void
setOnGround
(boolean pOnGround) void
setOnGroundWithKnownMovement
(boolean pOnGround, Vec3 pMovement) void
void
setPortalCooldown
(int pPortalCooldown) void
setPos
(double p_20210_, double p_20211_, double p_20212_) final void
void
final void
setPosRaw
(double pX, double pY, double pZ) void
setRemainingFireTicks
(int pRemainingFireTicks) final void
setRemoved
(Entity.RemovalReason pRemovalReason) protected void
setRot
(float pYRot, float pXRot) void
setSecondsOnFire
(int pSeconds) protected void
setSharedFlag
(int pFlag, boolean pSet) void
setSharedFlagOnFire
(boolean pIsOnFire) void
setShiftKeyDown
(boolean pKeyDown) void
setSilent
(boolean pIsSilent) void
setSprinting
(boolean pSprinting) void
setSwimming
(boolean pSwimming) void
setTicksFrozen
(int pTicksFrozen) void
static void
setViewScale
(double pRenderDistWeight) void
setXRot
(float pXRot) void
setYBodyRot
(float pYBodyRot) void
setYHeadRot
(float pYHeadRot) void
setYRot
(float pYRot) boolean
boolean
shouldBlockExplode
(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) boolean
private boolean
boolean
shouldRender
(double pX, double pY, double pZ) boolean
shouldRenderAtSqrDistance
(double pDistance) boolean
boolean
boolean
skipAttackInteraction
(Entity pEntity) spawnAtLocation
(ItemStack pStack) spawnAtLocation
(ItemStack pStack, float pOffsetY) spawnAtLocation
(ItemLike pItem) spawnAtLocation
(ItemLike pItem, int pOffsetY) protected void
boolean
startRiding
(Entity pVehicle) boolean
startRiding
(Entity pVehicle, boolean pForce) void
startSeenByPlayer
(ServerPlayer pServerPlayer) void
void
stopSeenByPlayer
(ServerPlayer pServerPlayer) void
syncPacketPositionCodec
(double pX, double pY, double pZ) private void
void
teleportRelative
(double pDx, double pDy, double pDz) void
teleportTo
(double pX, double pY, double pZ) boolean
teleportTo
(ServerLevel pLevel, double pX, double pY, double pZ, Set<RelativeMovement> pRelativeMovements, float pYRot, float pXRot) final void
teleportToWithTicket
(double pX, double pY, double pZ) void
thunderHit
(ServerLevel pLevel, LightningBolt pLightning) void
tick()
toString()
boolean
protected void
void
turn
(double pYRot, double pXRot) final void
unRide()
protected void
void
updateDynamicGameEventListener
(BiConsumer<DynamicGameEventListener<?>, ServerLevel> pListenerConsumer) void
boolean
updateFluidHeightAndDoFluidPushing
(TagKey<Fluid> pFluidTag, double pMotionScale) 已过时。private void
protected boolean
(专用程序包) void
void
private boolean
vibrationAndSoundEffectsFromBlock
(BlockPos pPos, BlockState pState, boolean pPlayStepSound, boolean pBroadcastGameEvent, Vec3 p_286448_) private void
walkingStepSound
(BlockPos pPos, BlockState pState) protected void
从类继承的方法 net.minecraftforge.common.capabilities.CapabilityProvider
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
从接口继承的方法 net.minecraft.commands.CommandSource
alwaysAccepts
从接口继承的方法 net.minecraftforge.common.capabilities.ICapabilityProvider
getCapability, getCapability
从接口继承的方法 net.minecraftforge.common.extensions.IForgeEntity
canBeRiddenUnderFluidType, canFluidExtinguish, canHydrateInFluidType, canRiderInteract, canStartSwimming, canSwimInFluidType, deserializeNBT, getClassification, getFluidFallDistanceModifier, getFluidMotionScale, getParts, getPickedResult, getSoundFromFluidType, getStepHeight, hasCustomOutlineRendering, isEyeInFluidType, isInFluidType, isInFluidType, isInFluidType, isMultipartEntity, isPushedByFluid, serializeNBT, shouldRiderSit
-
字段详细资料
-
LOGGER
private static final org.slf4j.Logger LOGGER -
ID_TAG
- 另请参阅:
-
PASSENGERS_TAG
- 另请参阅:
-
ENTITY_COUNTER
-
EMPTY_LIST
-
BOARDING_COOLDOWN
public static final int BOARDING_COOLDOWN- 另请参阅:
-
TOTAL_AIR_SUPPLY
public static final int TOTAL_AIR_SUPPLY- 另请参阅:
-
MAX_ENTITY_TAG_COUNT
public static final int MAX_ENTITY_TAG_COUNT- 另请参阅:
-
DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2
public static final float DELTA_AFFECTED_BY_BLOCKS_BELOW_0_2- 另请参阅:
-
DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5
public static final double DELTA_AFFECTED_BY_BLOCKS_BELOW_0_5- 另请参阅:
-
DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0
public static final double DELTA_AFFECTED_BY_BLOCKS_BELOW_1_0- 另请参阅:
-
BREATHING_DISTANCE_BELOW_EYES
public static final float BREATHING_DISTANCE_BELOW_EYES- 另请参阅:
-
BASE_TICKS_REQUIRED_TO_FREEZE
public static final int BASE_TICKS_REQUIRED_TO_FREEZE- 另请参阅:
-
FREEZE_HURT_FREQUENCY
public static final int FREEZE_HURT_FREQUENCY- 另请参阅:
-
INITIAL_AABB
-
WATER_FLOW_SCALE
private static final double WATER_FLOW_SCALE- 另请参阅:
-
LAVA_FAST_FLOW_SCALE
private static final double LAVA_FAST_FLOW_SCALE- 另请参阅:
-
LAVA_SLOW_FLOW_SCALE
private static final double LAVA_SLOW_FLOW_SCALE- 另请参阅:
-
UUID_TAG
- 另请参阅:
-
viewScale
private static double viewScale -
type
已过时。 -
id
private int id -
blocksBuilding
public boolean blocksBuilding -
passengers
-
boardingCooldown
protected int boardingCooldown -
vehicle
-
level
-
xo
public double xo -
yo
public double yo -
zo
public double zo -
position
-
blockPosition
-
chunkPosition
-
deltaMovement
-
yRot
private float yRot -
xRot
private float xRot -
yRotO
public float yRotO -
xRotO
public float xRotO -
bb
-
onGround
private boolean onGround -
horizontalCollision
public boolean horizontalCollision -
verticalCollision
public boolean verticalCollision -
verticalCollisionBelow
public boolean verticalCollisionBelow -
minorHorizontalCollision
public boolean minorHorizontalCollision -
hurtMarked
public boolean hurtMarked -
stuckSpeedMultiplier
-
removalReason
-
DEFAULT_BB_WIDTH
public static final float DEFAULT_BB_WIDTH- 另请参阅:
-
DEFAULT_BB_HEIGHT
public static final float DEFAULT_BB_HEIGHT- 另请参阅:
-
walkDistO
public float walkDistO -
walkDist
public float walkDist -
moveDist
public float moveDist -
flyDist
public float flyDist -
fallDistance
public float fallDistance -
nextStep
private float nextStep -
xOld
public double xOld -
yOld
public double yOld -
zOld
public double zOld -
maxUpStep
private float maxUpStep -
noPhysics
public boolean noPhysics -
random
-
tickCount
public int tickCount -
remainingFireTicks
private int remainingFireTicks -
wasTouchingWater
protected boolean wasTouchingWater -
fluidHeight
已过时。 -
wasEyeInWater
protected boolean wasEyeInWater -
fluidOnEyes
已过时。 -
invulnerableTime
public int invulnerableTime -
firstTick
protected boolean firstTick -
entityData
-
DATA_SHARED_FLAGS_ID
-
FLAG_ONFIRE
protected static final int FLAG_ONFIRE- 另请参阅:
-
FLAG_SHIFT_KEY_DOWN
private static final int FLAG_SHIFT_KEY_DOWN- 另请参阅:
-
FLAG_SPRINTING
private static final int FLAG_SPRINTING- 另请参阅:
-
FLAG_SWIMMING
private static final int FLAG_SWIMMING- 另请参阅:
-
FLAG_INVISIBLE
private static final int FLAG_INVISIBLE- 另请参阅:
-
FLAG_GLOWING
protected static final int FLAG_GLOWING- 另请参阅:
-
FLAG_FALL_FLYING
protected static final int FLAG_FALL_FLYING- 另请参阅:
-
DATA_AIR_SUPPLY_ID
-
DATA_CUSTOM_NAME
-
DATA_CUSTOM_NAME_VISIBLE
-
DATA_SILENT
-
DATA_NO_GRAVITY
-
DATA_POSE
-
DATA_TICKS_FROZEN
-
levelCallback
-
packetPositionCodec
-
noCulling
public boolean noCulling -
hasImpulse
public boolean hasImpulse -
portalCooldown
private int portalCooldown -
isInsidePortal
protected boolean isInsidePortal -
portalTime
protected int portalTime -
portalEntrancePos
-
invulnerable
private boolean invulnerable -
uuid
-
stringUUID
-
hasGlowingTag
private boolean hasGlowingTag -
tags
-
pistonDeltas
private final double[] pistonDeltas -
pistonDeltasGameTime
private long pistonDeltasGameTime -
dimensions
-
eyeHeight
private float eyeHeight -
isInPowderSnow
public boolean isInPowderSnow -
wasInPowderSnow
public boolean wasInPowderSnow -
wasOnFire
public boolean wasOnFire -
mainSupportingBlockPos
-
onGroundNoBlocks
private boolean onGroundNoBlocks -
crystalSoundIntensity
private float crystalSoundIntensity -
lastCrystalSoundPlayTick
private int lastCrystalSoundPlayTick -
hasVisualFire
private boolean hasVisualFire -
feetBlockState
-
canUpdate
private boolean canUpdate -
captureDrops
-
persistentData
-
isAddedToWorld
private boolean isAddedToWorldInternal use for keeping track of entities that are tracked by a world, to allow guarantees that entity position changes will force a chunk load, avoiding potential issues with entity desyncing and bad chunk data. -
forgeFluidTypeHeight
-
forgeFluidTypeOnEyes
-
-
构造器详细资料
-
Entity
-
-
方法详细资料
-
isColliding
-
getTeamColor
public int getTeamColor() -
isSpectator
public boolean isSpectator() -
unRide
public final void unRide() -
syncPacketPositionCodec
public void syncPacketPositionCodec(double pX, double pY, double pZ) -
getPositionCodec
-
getType
-
getId
public int getId()- 指定者:
getId
在接口中EntityAccess
-
setId
public void setId(int pId) -
getTags
-
addTag
-
removeTag
-
kill
public void kill() -
discard
public final void discard() -
defineSynchedData
protected abstract void defineSynchedData() -
getEntityData
-
equals
-
hashCode
public int hashCode() -
remove
-
onClientRemoval
public void onClientRemoval() -
setPose
-
getPose
-
hasPose
-
closerThan
-
closerThan
-
setRot
protected void setRot(float pYRot, float pXRot) -
setPos
-
setPos
public void setPos(double p_20210_, double p_20211_, double p_20212_) -
makeBoundingBox
-
reapplyPosition
protected void reapplyPosition() -
turn
public void turn(double pYRot, double pXRot) -
tick
public void tick() -
baseTick
public void baseTick() -
checkBelowWorld
public void checkBelowWorld() -
setPortalCooldown
public void setPortalCooldown() -
setPortalCooldown
public void setPortalCooldown(int pPortalCooldown) -
getPortalCooldown
public int getPortalCooldown() -
isOnPortalCooldown
public boolean isOnPortalCooldown() -
processPortalCooldown
protected void processPortalCooldown() -
getPortalWaitTime
public int getPortalWaitTime() -
lavaHurt
public void lavaHurt() -
setSecondsOnFire
public void setSecondsOnFire(int pSeconds) -
setRemainingFireTicks
public void setRemainingFireTicks(int pRemainingFireTicks) -
getRemainingFireTicks
public int getRemainingFireTicks() -
clearFire
public void clearFire() -
onBelowWorld
protected void onBelowWorld() -
isFree
public boolean isFree(double pX, double pY, double pZ) -
isFree
-
setOnGround
public void setOnGround(boolean pOnGround) -
setOnGroundWithKnownMovement
-
isSupportedBy
-
checkSupportingBlock
-
onGround
public boolean onGround() -
move
-
isStateClimbable
-
vibrationAndSoundEffectsFromBlock
private boolean vibrationAndSoundEffectsFromBlock(BlockPos pPos, BlockState pState, boolean pPlayStepSound, boolean pBroadcastGameEvent, Vec3 p_286448_) -
isHorizontalCollisionMinor
-
tryCheckInsideBlocks
protected void tryCheckInsideBlocks() -
playEntityOnFireExtinguishedSound
protected void playEntityOnFireExtinguishedSound() -
extinguishFire
public void extinguishFire() -
processFlappingMovement
protected void processFlappingMovement() -
getOnPosLegacy
已过时。 -
getBlockPosBelowThatAffectsMyMovement
-
getOnPos
-
getOnPos
-
getBlockJumpFactor
protected float getBlockJumpFactor() -
getBlockSpeedFactor
protected float getBlockSpeedFactor() -
maybeBackOffFromEdge
-
limitPistonMovement
-
applyPistonMovementRestriction
-
collide
-
collideBoundingBox
-
collideWithShapes
private static Vec3 collideWithShapes(Vec3 pDeltaMovement, AABB pEntityBB, List<VoxelShape> pShapes) -
nextStep
protected float nextStep() -
getSwimSound
-
getSwimSplashSound
-
getSwimHighSpeedSplashSound
-
checkInsideBlocks
protected void checkInsideBlocks() -
onInsideBlock
-
gameEvent
-
gameEvent
-
walkingStepSound
-
waterSwimSound
protected void waterSwimSound() -
getPrimaryStepSoundBlockPos
-
playCombinationStepSounds
protected void playCombinationStepSounds(BlockState pPrimaryState, BlockState pSecondaryState, BlockPos primaryPos, BlockPos secondaryPos) -
playMuffledStepSound
-
playStepSound
-
shouldPlayAmethystStepSound
-
playAmethystStepSound
private void playAmethystStepSound() -
playSwimSound
protected void playSwimSound(float pVolume) -
onFlap
protected void onFlap() -
isFlapping
protected boolean isFlapping() -
playSound
-
playSound
-
isSilent
public boolean isSilent() -
setSilent
public void setSilent(boolean pIsSilent) -
isNoGravity
public boolean isNoGravity() -
setNoGravity
public void setNoGravity(boolean pNoGravity) -
getMovementEmission
-
dampensVibrations
public boolean dampensVibrations() -
checkFallDamage
-
fireImmune
public boolean fireImmune() -
causeFallDamage
-
isInWater
public boolean isInWater() -
isInRain
private boolean isInRain() -
isInBubbleColumn
private boolean isInBubbleColumn() -
isInWaterOrRain
public boolean isInWaterOrRain() -
isInWaterRainOrBubble
public boolean isInWaterRainOrBubble() -
isInWaterOrBubble
public boolean isInWaterOrBubble() -
isUnderWater
public boolean isUnderWater() -
updateSwimming
public void updateSwimming() -
updateInWaterStateAndDoFluidPushing
protected boolean updateInWaterStateAndDoFluidPushing() -
updateInWaterStateAndDoWaterCurrentPushing
void updateInWaterStateAndDoWaterCurrentPushing() -
updateFluidOnEyes
private void updateFluidOnEyes() -
doWaterSplashEffect
protected void doWaterSplashEffect() -
getBlockStateOnLegacy
已过时。 -
getBlockStateOn
-
canSpawnSprintParticle
public boolean canSpawnSprintParticle() -
spawnSprintParticle
protected void spawnSprintParticle() -
isEyeInFluid
已过时。 -
isInLava
public boolean isInLava() -
moveRelative
-
getInputVector
-
getLightLevelDependentMagicValue
已过时。 -
absMoveTo
public void absMoveTo(double pX, double pY, double pZ, float pYRot, float pXRot) -
absMoveTo
public void absMoveTo(double pX, double pY, double pZ) -
moveTo
-
moveTo
public void moveTo(double p_20105_, double p_20106_, double p_20107_) -
moveTo
-
moveTo
public void moveTo(double pX, double pY, double pZ, float pYRot, float pXRot) -
setOldPosAndRot
public final void setOldPosAndRot() -
distanceTo
-
distanceToSqr
public double distanceToSqr(double pX, double pY, double pZ) -
distanceToSqr
-
distanceToSqr
-
playerTouch
-
push
-
push
public void push(double pX, double pY, double pZ) -
markHurt
protected void markHurt() -
hurt
-
getViewVector
-
getViewXRot
public float getViewXRot(float pPartialTicks) -
getViewYRot
public float getViewYRot(float pPartialTick) -
calculateViewVector
-
getUpVector
-
calculateUpVector
-
getEyePosition
-
getEyePosition
-
getLightProbePosition
-
getPosition
-
pick
-
canBeHitByProjectile
public boolean canBeHitByProjectile() -
isPickable
public boolean isPickable() -
isPushable
public boolean isPushable() -
awardKillScore
-
shouldRender
public boolean shouldRender(double pX, double pY, double pZ) -
shouldRenderAtSqrDistance
public boolean shouldRenderAtSqrDistance(double pDistance) -
saveAsPassenger
-
save
-
saveWithoutId
-
load
-
repositionEntityAfterLoad
protected boolean repositionEntityAfterLoad() -
getEncodeId
-
readAdditionalSaveData
-
addAdditionalSaveData
-
newDoubleList
-
newFloatList
-
spawnAtLocation
-
spawnAtLocation
-
spawnAtLocation
-
spawnAtLocation
-
isAlive
public boolean isAlive() -
isInWall
public boolean isInWall() -
interact
-
canCollideWith
-
canBeCollidedWith
public boolean canBeCollidedWith() -
rideTick
public void rideTick() -
positionRider
-
positionRider
-
onPassengerTurned
-
getMyRidingOffset
public double getMyRidingOffset() -
getPassengersRidingOffset
public double getPassengersRidingOffset() -
startRiding
-
showVehicleHealth
public boolean showVehicleHealth() -
startRiding
-
canRide
-
canEnterPose
-
ejectPassengers
public void ejectPassengers() -
removeVehicle
public void removeVehicle() -
stopRiding
public void stopRiding() -
addPassenger
-
removePassenger
-
canAddPassenger
-
couldAcceptPassenger
已过时。Forge: Userider sensitive version
-
lerpTo
public void lerpTo(double pX, double pY, double pZ, float pYRot, float pXRot, int pLerpSteps, boolean pTeleport) -
lerpHeadTo
public void lerpHeadTo(float pYaw, int pPitch) -
getPickRadius
public float getPickRadius() -
getLookAngle
-
getHandHoldingItemAngle
-
getRotationVector
-
getForward
-
handleInsidePortal
-
handleNetherPortal
protected void handleNetherPortal() -
getDimensionChangingDelay
public int getDimensionChangingDelay() -
lerpMotion
public void lerpMotion(double pX, double pY, double pZ) -
handleDamageEvent
-
handleEntityEvent
public void handleEntityEvent(byte pId) -
animateHurt
public void animateHurt(float pYaw) -
getHandSlots
-
getArmorSlots
-
getAllSlots
-
setItemSlot
-
isOnFire
public boolean isOnFire() -
isPassenger
public boolean isPassenger() -
isVehicle
public boolean isVehicle() -
dismountsUnderwater
public boolean dismountsUnderwater() -
setShiftKeyDown
public void setShiftKeyDown(boolean pKeyDown) -
isShiftKeyDown
public boolean isShiftKeyDown() -
isSteppingCarefully
public boolean isSteppingCarefully() -
isSuppressingBounce
public boolean isSuppressingBounce() -
isDiscrete
public boolean isDiscrete() -
isDescending
public boolean isDescending() -
isCrouching
public boolean isCrouching() -
isSprinting
public boolean isSprinting() -
setSprinting
public void setSprinting(boolean pSprinting) -
isSwimming
public boolean isSwimming() -
isVisuallySwimming
public boolean isVisuallySwimming() -
isVisuallyCrawling
public boolean isVisuallyCrawling() -
setSwimming
public void setSwimming(boolean pSwimming) -
hasGlowingTag
public final boolean hasGlowingTag() -
setGlowingTag
public final void setGlowingTag(boolean pHasGlowingTag) -
isCurrentlyGlowing
public boolean isCurrentlyGlowing() -
isInvisible
public boolean isInvisible() -
isInvisibleTo
-
isOnRails
public boolean isOnRails() -
updateDynamicGameEventListener
public void updateDynamicGameEventListener(BiConsumer<DynamicGameEventListener<?>, ServerLevel> pListenerConsumer) -
getTeam
-
isAlliedTo
-
isAlliedTo
-
setInvisible
public void setInvisible(boolean pInvisible) -
getMaxAirSupply
public int getMaxAirSupply() -
getAirSupply
public int getAirSupply() -
setAirSupply
public void setAirSupply(int pAir) -
getTicksFrozen
public int getTicksFrozen() -
setTicksFrozen
public void setTicksFrozen(int pTicksFrozen) -
getPercentFrozen
public float getPercentFrozen() -
isFullyFrozen
public boolean isFullyFrozen() -
getTicksRequiredToFreeze
public int getTicksRequiredToFreeze() -
thunderHit
-
onAboveBubbleCol
public void onAboveBubbleCol(boolean pDownwards) -
onInsideBubbleColumn
public void onInsideBubbleColumn(boolean pDownwards) -
killedEntity
-
checkSlowFallDistance
public void checkSlowFallDistance() -
resetFallDistance
public void resetFallDistance() -
moveTowardsClosestSpace
protected void moveTowardsClosestSpace(double pX, double pY, double pZ) -
makeStuckInBlock
-
removeAction
-
getName
-
getTypeName
-
is
-
getYHeadRot
public float getYHeadRot() -
setYHeadRot
public void setYHeadRot(float pYHeadRot) -
setYBodyRot
public void setYBodyRot(float pYBodyRot) -
isAttackable
public boolean isAttackable() -
skipAttackInteraction
-
toString
-
isInvulnerableTo
-
isInvulnerable
public boolean isInvulnerable() -
setInvulnerable
public void setInvulnerable(boolean pIsInvulnerable) -
copyPosition
-
restoreFrom
-
changeDimension
-
changeDimension
-
removeAfterChangingDimensions
protected void removeAfterChangingDimensions() -
findDimensionEntryPoint
-
getRelativePortalPosition
-
getExitPortal
protected Optional<BlockUtil.FoundRectangle> getExitPortal(ServerLevel pDestination, BlockPos pFindFrom, boolean pIsToNether, WorldBorder pWorldBorder) -
canChangeDimensions
public boolean canChangeDimensions() -
getBlockExplosionResistance
public float getBlockExplosionResistance(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, FluidState pFluidState, float pExplosionPower) -
shouldBlockExplode
public boolean shouldBlockExplode(Explosion pExplosion, BlockGetter pLevel, BlockPos pPos, BlockState pBlockState, float pExplosionPower) -
getMaxFallDistance
public int getMaxFallDistance() -
isIgnoringBlockTriggers
public boolean isIgnoringBlockTriggers() -
fillCrashReportCategory
-
displayFireAnimation
public boolean displayFireAnimation() -
setUUID
-
getUUID
- 指定者:
getUUID
在接口中EntityAccess
-
getStringUUID
-
getScoreboardName
-
isPushedByFluid
已过时。 -
getViewScale
public static double getViewScale() -
setViewScale
public static void setViewScale(double pRenderDistWeight) -
getDisplayName
- 指定者:
getDisplayName
在接口中Nameable
-
setCustomName
-
getCustomName
- 指定者:
getCustomName
在接口中Nameable
-
hasCustomName
public boolean hasCustomName()- 指定者:
hasCustomName
在接口中Nameable
-
setCustomNameVisible
public void setCustomNameVisible(boolean pAlwaysRenderNameTag) -
isCustomNameVisible
public boolean isCustomNameVisible() -
teleportToWithTicket
public final void teleportToWithTicket(double pX, double pY, double pZ) -
teleportTo
public boolean teleportTo(ServerLevel pLevel, double pX, double pY, double pZ, Set<RelativeMovement> pRelativeMovements, float pYRot, float pXRot) -
dismountTo
public void dismountTo(double pX, double pY, double pZ) -
teleportTo
public void teleportTo(double pX, double pY, double pZ) -
teleportPassengers
private void teleportPassengers() -
teleportRelative
public void teleportRelative(double pDx, double pDy, double pDz) -
shouldShowName
public boolean shouldShowName() -
onSyncedDataUpdated
-
onSyncedDataUpdated
-
fixupDimensions
已过时。 -
refreshDimensions
public void refreshDimensions() -
getDirection
-
getMotionDirection
-
createHoverEvent
-
broadcastToPlayer
-
getBoundingBox
- 指定者:
getBoundingBox
在接口中EntityAccess
-
getBoundingBoxForCulling
-
getBoundingBoxForPose
-
setBoundingBox
-
getEyeHeight
-
getEyeHeight
-
getEyeHeight
public final float getEyeHeight() -
getLeashOffset
-
getLeashOffset
-
getSlot
-
sendSystemMessage
- 指定者:
sendSystemMessage
在接口中CommandSource
-
getCommandSenderWorld
-
getServer
-
interactAt
-
ignoreExplosion
public boolean ignoreExplosion() -
doEnchantDamageEffects
-
startSeenByPlayer
-
stopSeenByPlayer
-
rotate
-
mirror
-
onlyOpCanSetNbt
public boolean onlyOpCanSetNbt() -
getControllingPassenger
-
hasControllingPassenger
public final boolean hasControllingPassenger() -
getPassengers
-
getFirstPassenger
-
hasPassenger
-
hasPassenger
-
getIndirectPassengersStream
-
getSelfAndPassengers
- 指定者:
getSelfAndPassengers
在接口中EntityAccess
-
getPassengersAndSelf
- 指定者:
getPassengersAndSelf
在接口中EntityAccess
-
getIndirectPassengers
-
hasExactlyOnePlayerPassenger
public boolean hasExactlyOnePlayerPassenger() -
getRootVehicle
-
isPassengerOfSameVehicle
-
hasIndirectPassenger
-
isControlledByLocalInstance
public boolean isControlledByLocalInstance() -
isEffectiveAi
public boolean isEffectiveAi() -
getCollisionHorizontalEscapeVector
protected static Vec3 getCollisionHorizontalEscapeVector(double pVehicleWidth, double pPassengerWidth, float pYRot) -
getDismountLocationForPassenger
-
getVehicle
-
getControlledVehicle
-
getPistonPushReaction
-
getSoundSource
-
getFireImmuneTicks
protected int getFireImmuneTicks() -
createCommandSourceStack
-
getPermissionLevel
protected int getPermissionLevel() -
hasPermissions
public boolean hasPermissions(int pLevel) -
acceptsSuccess
public boolean acceptsSuccess()- 指定者:
acceptsSuccess
在接口中CommandSource
-
acceptsFailure
public boolean acceptsFailure()- 指定者:
acceptsFailure
在接口中CommandSource
-
shouldInformAdmins
public boolean shouldInformAdmins()- 指定者:
shouldInformAdmins
在接口中CommandSource
-
lookAt
-
updateFluidHeightAndDoFluidPushing
@Deprecated public boolean updateFluidHeightAndDoFluidPushing(TagKey<Fluid> pFluidTag, double pMotionScale) 已过时。 -
updateFluidHeightAndDoFluidPushing
public void updateFluidHeightAndDoFluidPushing() -
touchingUnloadedChunk
public boolean touchingUnloadedChunk() -
getFluidHeight
已过时。 -
getFluidJumpThreshold
public double getFluidJumpThreshold() -
getBbWidth
public final float getBbWidth() -
getBbHeight
public final float getBbHeight() -
getNameTagOffsetY
public float getNameTagOffsetY() -
getAddEntityPacket
-
getDimensions
-
position
-
trackingPosition
-
blockPosition
- 指定者:
blockPosition
在接口中EntityAccess
-
getFeetBlockState
-
chunkPosition
-
getDeltaMovement
-
setDeltaMovement
-
addDeltaMovement
-
setDeltaMovement
public void setDeltaMovement(double pX, double pY, double pZ) -
getBlockX
public final int getBlockX() -
getX
public final double getX() -
getX
public double getX(double pScale) -
getRandomX
public double getRandomX(double pScale) -
getBlockY
public final int getBlockY() -
getY
public final double getY() -
getY
public double getY(double pScale) -
getRandomY
public double getRandomY() -
getEyeY
public double getEyeY() -
getBlockZ
public final int getBlockZ() -
getZ
public final double getZ() -
getZ
public double getZ(double pScale) -
getRandomZ
public double getRandomZ(double pScale) -
setPosRaw
public final void setPosRaw(double pX, double pY, double pZ) -
checkDespawn
public void checkDespawn() -
getRopeHoldPosition
-
recreateFromPacket
-
getPickResult
-
setIsInPowderSnow
public void setIsInPowderSnow(boolean pIsInPowderSnow) -
canFreeze
public boolean canFreeze() -
isFreezing
public boolean isFreezing() -
getYRot
public float getYRot() -
getVisualRotationYInDegrees
public float getVisualRotationYInDegrees() -
setYRot
public void setYRot(float pYRot) -
getXRot
public float getXRot() -
setXRot
public void setXRot(float pXRot) -
canSprint
public boolean canSprint() -
maxUpStep
已过时。UseIForgeEntity.getStepHeight()
to get the real step height value.Gets the value of the legacymaxUpStep
field. Only used by players when the modified value causes issues. -
setMaxUpStep
已过时。Use attribute modifiers for theForgeMod#STEP_HEIGHT
attribute.Changes the legacymaxUpStep
field. Only used by vanilla entities to improve maintainability.For your own entities, you should change the default value of ForgeMod#STEP_HEIGHT during attribute creation.
For modifying the step height of other entities, you should use
AttributeModifiers
forForgeMod#STEP_HEIGHT
. -
isRemoved
public final boolean isRemoved() -
getRemovalReason
-
setRemoved
- 指定者:
setRemoved
在接口中EntityAccess
-
unsetRemoved
protected void unsetRemoved() -
setLevelCallback
- 指定者:
setLevelCallback
在接口中EntityAccess
-
shouldBeSaved
public boolean shouldBeSaved()- 指定者:
shouldBeSaved
在接口中EntityAccess
-
isAlwaysTicking
public boolean isAlwaysTicking()- 指定者:
isAlwaysTicking
在接口中EntityAccess
-
mayInteract
-
canUpdate
public void canUpdate(boolean value) - 指定者:
canUpdate
在接口中IForgeEntity
-
canUpdate
public boolean canUpdate()- 指定者:
canUpdate
在接口中IForgeEntity
-
captureDrops
- 指定者:
captureDrops
在接口中IForgeEntity
-
captureDrops
- 指定者:
captureDrops
在接口中IForgeEntity
-
getPersistentData
从接口复制的说明:IForgeEntity
Returns a NBTTagCompound that can be used to store custom data for this entity. It will be written, and read from disc, so it persists over world saves.- 指定者:
getPersistentData
在接口中IForgeEntity
- 返回:
- A NBTTagCompound
-
canTrample
从接口复制的说明:IForgeEntity
- 指定者:
canTrample
在接口中IForgeEntity
pos
- The block posfallDistance
- The fall distance- 返回:
true
if this entity can trample,false
otherwise
-
isAddedToWorld
public final boolean isAddedToWorld()从接口复制的说明:IForgeEntity
Gets whether this entity has been added to a world (for tracking). Specifically between the times when an entity is added to a world and the entity being removed from the world's tracked lists.- 指定者:
isAddedToWorld
在接口中IForgeEntity
- 返回:
- True if this entity is being tracked by a world
-
onAddedToWorld
public void onAddedToWorld()从接口复制的说明:IForgeEntity
Called after the entity has been added to the world's ticking list. Can be overriden, but needs to call super to prevent MC-136995.- 指定者:
onAddedToWorld
在接口中IForgeEntity
-
onRemovedFromWorld
public void onRemovedFromWorld()从接口复制的说明:IForgeEntity
Called after the entity has been removed to the world's ticking list. Can be overriden, but needs to call super to prevent MC-136995.- 指定者:
onRemovedFromWorld
在接口中IForgeEntity
-
revive
public void revive()从接口复制的说明:IForgeEntity
Revives an entity that has been removed from a world. Used as replacement for entity.removed = true. Having it as a function allows the entity to react to being revived.- 指定者:
revive
在接口中IForgeEntity
-
getEyeHeightAccess
Accessor method forgetEyeHeight(Pose, EntityDimensions)
-
setFluidTypeHeight
-
getFluidTypeHeight
从接口复制的说明:IForgeEntity
Returns the height of the fluid type in relation to the bounding box of the entity. If the entity is not in the fluid type, then0
is returned.- 指定者:
getFluidTypeHeight
在接口中IForgeEntity
- 参数:
type
- the type of the fluid- 返回:
- the height of the fluid compared to the entity
-
isInFluidType
从接口复制的说明:IForgeEntity
Returns whether the fluid type the entity is currently in matches the specified condition.- 指定者:
isInFluidType
在接口中IForgeEntity
- 参数:
predicate
- a test taking in the fluid type and its heightforAllTypes
-true
if all fluid types should match the condition instead of at least one- 返回:
true
if a fluid type meets the condition,false
otherwise
-
isInFluidType
public final boolean isInFluidType()从接口复制的说明:IForgeEntity
Returns whether the entity is in a fluid.- 指定者:
isInFluidType
在接口中IForgeEntity
- 返回:
true
if the entity is in a fluid,false
otherwise
-
getEyeInFluidType
从接口复制的说明:IForgeEntity
Returns the fluid that is on the entity's eyes.- 指定者:
getEyeInFluidType
在接口中IForgeEntity
- 返回:
- the fluid that is on the entity's eyes
-
getMaxHeightFluidType
从接口复制的说明:IForgeEntity
Returns the fluid type which is the highest on the bounding box of the entity.- 指定者:
getMaxHeightFluidType
在接口中IForgeEntity
- 返回:
- the fluid type which is the highest on the bounding box of the entity
-
level
-
setLevel
-
damageSources
-
rider sensitive version