Entities in @minecraft/server.
41 pages in @minecraft/server.
Classes
Section titled “Classes”
EffectType ClassAn effect type, as handed to VariableMap ClassMolang variables for a particle effect, as DeliveryType ClassHow a potion is taken: EffectType ClassWhich potion a potion item holds, as
Entity.addEffect.
EntityClassA mob, item, orb, arrow, cloud or minecart in the world, or a player.
MolangPlayer.spawnParticle takes them.
PotionConsume, ThrownSplash or ThrownLingering.
PotionMinecraftPotionEffectTypes names them: Swiftness, LongSwiftness, ...
Interfaces
Section titled “Interfaces”
EffectInterfaceAn effect on a player.
EntityDamageSource InterfaceWhat hurt or killed an entity.
EntityHitInformation Interface
EntityType InterfaceAn entity type.
SeatInterfaceOne of a rideable entity's seats.
EntityDamageCause EnumThe snake_case string a InitializationCause EnumWhy an entity was created.
EquipmentSlot EnumWhere an item is worn or held, for
EntityDamageSource.cause carries.
EntityEntityEquippableComponent.
Options
Section titled “Options”
EntityEffectOptions InterfaceOptions for FilterOptions InterfaceOptions for QueryOptions InterfaceOptions for Options InterfaceOptions for
Player.addEffect.
EntityDimension.getEntities.
EntityWorld.getPlayers.
TeleportPlayer.teleport.
Typed only
Section titled “Typed only”Declared so plugins written against the full Mojang API type-check. Most are not backed by Basalt yet.
AnimationOptions Interface
DefinitionModifier Interface
EntityApplyDamageByProjectileOptions Interface
EntityApplyDamageOptions Interface
EntityAttachPoint Enum
EntityDefinitionFeedItem Class
EntityFilter Interface
EntityHealCause Enum
EntityHealSource Class
EntityQueryPropertyOptions Interface
EntityQueryScoreOptions Interface
EntityRaycastHit Interface
EntityRaycastOptions Interface
EntitySwingSource Enum
EntityVisibilityRules Interface
EntityWaypoint Class
FeedItem Class
FeedItemEffect Class
MovementType Enum
PlayAnimationOptions Interface
PotionsClass
ProjectileShootOptions Interface
SpawnEntityOptions Interface
TriggerClass