When added, this component makes the entity spawn with a
rider of the specified entityType.
实验性Ageable
Ageable
备注
Adds a timer for the entity to grow up. It can be
accelerated by giving the entity the items it likes as
defined by feedItems.
实验性Breathable
Breathable
备注
Defines what blocks this entity can breathe in and gives
them the ability to suffocate.
实验性CanClimb
CanClimb
备注
When added, this component signifies that the entity can
climb up ladders.
实验性CanFly
CanFly
备注
When added, this component signifies that the entity can
fly, and the pathfinder won't be restricted to paths where a
solid block is required underneath it.
实验性CanPowerJump
CanPowerJump
备注
When added, this component signifies that the entity can
power jump like the horse does within Minecraft.
实验性Color
Color
备注
Defines the entity's color. Only works on certain entities
that have predefined color values (e.g., sheep, llama,
shulker).
实验性Color2
Color2
备注
Defines the entity's secondary color. Only works on certain
entities that have predefined secondary color values (e.g.,
tropical fish).
实验性CursorInventory
CursorInventory
实验性Equippable
Equippable
备注
Provides access to a mob's equipment slots. This component
exists for all mob entities.
实验性FireImmune
FireImmune
备注
When added, this component signifies that this entity
doesn't take damage from fire.
实验性FloatsInLiquid
FloatsInLiquid
备注
When added, this component signifies that this entity can
float in liquid blocks.
实验性FlyingSpeed
FlyingSpeed
备注
Represents the flying speed of an entity.
实验性FrictionModifier
FrictionModifier
备注
Defines how much friction affects this entity.
实验性GroundOffset
GroundOffset
备注
Sets the offset from the ground that the entity is actually
at.
实验性Healable
Healable
备注
Defines the interactions with this entity for healing it.
实验性Health
Health
备注
Defines the health properties of an entity.
实验性Inventory
Inventory
备注
Defines this entity's inventory properties.
实验性IsBaby
IsBaby
备注
When added, this component signifies that this entity is a
baby.
实验性IsCharged
IsCharged
备注
When added, this component signifies that this entity is
charged.
实验性IsChested
IsChested
备注
When added, this component signifies that this entity is
currently carrying a chest.
实验性IsDyeable
IsDyeable
备注
When added, this component signifies that dyes can be used
on this entity to change its color.
实验性IsHiddenWhenInvisible
IsHiddenWhenInvisible
备注
When added, this component signifies that this entity can
hide from hostile mobs while invisible.
实验性IsIgnited
IsIgnited
备注
When added, this component signifies that this entity this
currently on fire.
实验性IsIllagerCaptain
IsIllagerCaptain
备注
When added, this component signifies that this entity is an
illager captain.
实验性IsSaddled
IsSaddled
备注
When added, this component signifies that this entity is
currently saddled.
实验性IsShaking
IsShaking
备注
When added, this component signifies that this entity is
currently shaking.
实验性IsSheared
IsSheared
备注
When added, this component signifies that this entity is
currently sheared.
实验性IsStackable
IsStackable
备注
When added, this component signifies that this entity can be
stacked.
实验性IsStunned
IsStunned
备注
When added, this component signifies that this entity is
currently stunned.
实验性IsTamed
IsTamed
备注
When added, this component signifies that this entity is
currently tamed.
实验性Item
Item
备注
If added onto the entity, this indicates that the entity
represents a free-floating item in the world. Lets you
retrieve the actual item stack contents via the itemStack
property.
实验性LavaMovement
LavaMovement
备注
Defines the base movement speed in lava of this entity.
实验性Leashable
Leashable
备注
Allows this entity to be leashed and defines the conditions
and events for this entity when is leashed.
实验性MarkVariant
MarkVariant
备注
When added, this component signifies that this entity
contains an additional variant value. Can be used to further
differentiate variants.
实验性Movement
Movement
备注
Defines the general movement speed of this entity.
实验性MovementAmphibious
MovementAmphibious
备注
When added, this movement control allows the mob to swim in
water and walk on land.
实验性MovementBasic
MovementBasic
备注
When added, this component allows the movement of an entity.
实验性MovementFly
MovementFly
备注
When added, this move control causes the mob to fly.
实验性MovementGeneric
MovementGeneric
备注
When added, this move control allows a mob to fly, swim,
climb, etc.
实验性MovementGlide
MovementGlide
备注
When added, this movement control allows the mob to glide.
实验性MovementHover
MovementHover
备注
When added, this move control causes the mob to hover.
实验性MovementJump
MovementJump
备注
Move control that causes the mob to jump as it moves with a
specified delay between jumps.
实验性MovementSkip
MovementSkip
备注
When added, this move control causes the mob to hop as it
moves.
实验性MovementSway
MovementSway
备注
When added, this move control causes the mob to sway side to
side giving the impression it is swimming.
实验性NavigationClimb
NavigationClimb
备注
Allows this entity to generate paths that include vertical
walls (for example, like Minecraft spiders do.)
实验性NavigationFloat
NavigationFloat
备注
Allows this entity to generate paths by flying around the
air like the regular Ghast.
实验性NavigationFly
NavigationFly
备注
Allows this entity to generate paths in the air (for
example, like Minecraft parrots do.)
实验性NavigationGeneric
NavigationGeneric
备注
Allows this entity to generate paths by walking, swimming,
flying and/or climbing around and jumping up and down a
block.
实验性NavigationHover
NavigationHover
备注
Allows this entity to generate paths in the air (for
example, like the Minecraft Bees do.) Keeps them from
falling out of the skies and doing predictive movement.
实验性NavigationWalk
NavigationWalk
备注
Allows this entity to generate paths by walking around and
jumping up and down a block like regular mobs.
实验性Npc
Npc
备注
Adds NPC capabilities to an entity such as custom skin,
name, and dialogue interactions.
实验性OnFire
OnFire
备注
When present on an entity, this entity is on fire.
实验性Projectile
Projectile
备注
The projectile component controls the properties of a
projectile entity and allows it to be shot in a given
direction. This component is present when the entity has the
minecraft:projectile component.
实验性PushThrough
PushThrough
备注
Sets the distance through which the entity can push through.
实验性Rideable
Rideable
备注
When added, this component adds the capability that an
entity can be ridden by another entity.
实验性Riding
Riding
备注
This component is added to any entity when it is riding
another entity.
实验性Scale
Scale
备注
Sets the entity's visual size.
实验性SkinId
SkinId
备注
Skin Id value. Can be used to differentiate skins, such as
base skins for villagers.
实验性Strength
Strength
备注
Defines the entity's strength to carry items.
实验性Tameable
Tameable
备注
Defines the rules for an entity to be tamed by the player.
实验性TameMount
TameMount
备注
Contains options for taming a rideable entity based on the
entity that mounts it.
实验性TypeFamily
TypeFamily
备注
Used to determine the type families the entity belongs to.
实验性UnderwaterMovement
UnderwaterMovement
备注
Defines the general movement speed underwater of this
entity.
实验性Variant
Variant
备注
Used to differentiate the component group of a variant of an
entity from others. (e.g. ocelot, villager).
实验性WantsJockey
WantsJockey
备注
When added, this component signifies that this entity wants
to become a jockey.
The types of entity components that are accessible via function Entity.getComponent.