Skip to content
BasaltSoftware
Bedrock 1.26.60

Site colour

Discord
Esc

    ↑↓ moveEnter openEsc close

    Keyboard shortcuts
    Ctrl K
    Search the whole site, from any page
    /
    Jump to the sidebar search, or search the whole site where there isn't one
    Enter
    Open the top search result
    Esc
    Clear the search, or close this panel
    ?
    Show these shortcuts
    Entity components

    EntityComponent

    The base shared by the entity-bound components.

    1 min read · 1 section

    Class in @minecraft/server

    Extends Component

    Extended by EntityHealthComponent, EntityInventoryComponent, EntityItemComponent, EntityEquippableComponent, EntityRideableComponent, EntityRidingComponent, EntityAddRiderComponent, EntityAgeableComponent, EntityAttributeComponent, EntityBaseMovementComponent, EntityBreathableComponent, EntityCanClimbComponent, EntityCanFlyComponent, EntityCanPowerJumpComponent, EntityColor2Component, EntityColorComponent, EntityEnderInventoryComponent, EntityFireImmuneComponent, EntityFloatsInLiquidComponent, EntityFlyingSpeedComponent, EntityFrictionModifierComponent, EntityHealableComponent, EntityIsBabyComponent, EntityIsChargedComponent, EntityIsChestedComponent, EntityIsDyeableComponent, EntityIsHiddenWhenInvisibleComponent, EntityIsIgnitedComponent, EntityIsIllagerCaptainComponent, EntityIsSaddledComponent, EntityIsShakingComponent, EntityIsShearedComponent, EntityIsStackableComponent, EntityIsStunnedComponent, EntityIsTamedComponent, EntityLeashableComponent, EntityMarkVariantComponent, EntityNavigationComponent, EntityOnFireComponent, EntityProjectileComponent, EntityPushThroughComponent, EntityScaleComponent, EntitySkinIdComponent, EntityStrengthComponent, EntityTameableComponent, EntityTameMountComponent, EntityTypeFamilyComponent, EntityVariantComponent, EntityWantsJockeyComponent, PlayerCursorInventoryComponent

    The base shared by the entity-bound components.

    import { EntityComponent } from '@minecraft/server';
    protected constructor();