Script API - v1.20.60
    Preparing search index...

    Module @minecraft/server@1.8.0

    Contains many types related to manipulating a Minecraft world, including entities, blocks, dimensions, and more.

    Manifest Details

    {
    "module_name": "@minecraft/server",
    "version": "1.8.0"
    }
    • @minecraft/common@1.1.0

    {
    "module_name": "@minecraft/common",
    "version": "1.1.0"
    }

    Enumerations

    Direction
    DisplaySlotId
    EasingType
    EntityDamageCause
    EntityInitializationCause
    EquipmentSlot
    FluidType
    GameMode
    ItemLockMode
    MoonPhase
    ObjectiveSortOrder
    ScoreboardIdentityType
    ScriptEventSource
    TimeOfDay
    WeatherType

    Classes

    Block
    BlockComponent
    BlockEvent
    BlockInventoryComponent
    BlockPermutation
    BlockType
    ButtonPushAfterEvent
    ButtonPushAfterEventSignal
    Camera
    CommandError
    CommandResult
    Component
    Container
    DataDrivenEntityTriggerAfterEvent
    DataDrivenEntityTriggerAfterEventSignal
    Dimension
    Effect
    EffectAddAfterEvent
    EffectAddAfterEventSignal
    EffectAddBeforeEvent
    EffectAddBeforeEventSignal
    EffectType
    Entity
    EntityAttributeComponent
    EntityBaseMovementComponent
    EntityCanClimbComponent
    EntityCanFlyComponent
    EntityCanPowerJumpComponent
    EntityColorComponent
    EntityComponent
    EntityDieAfterEvent
    EntityDieAfterEventSignal
    EntityEquippableComponent
    EntityFireImmuneComponent
    EntityFloatsInLiquidComponent
    EntityFlyingSpeedComponent
    EntityFrictionModifierComponent
    EntityGroundOffsetComponent
    EntityHealableComponent
    EntityHealthChangedAfterEvent
    EntityHealthChangedAfterEventSignal
    EntityHealthComponent
    EntityHitBlockAfterEvent
    EntityHitBlockAfterEventSignal
    EntityHitEntityAfterEvent
    EntityHitEntityAfterEventSignal
    EntityHurtAfterEvent
    EntityHurtAfterEventSignal
    EntityInventoryComponent
    EntityIsBabyComponent
    EntityIsChargedComponent
    EntityIsChestedComponent
    EntityIsDyeableComponent
    EntityIsHiddenWhenInvisibleComponent
    EntityIsIgnitedComponent
    EntityIsIllagerCaptainComponent
    EntityIsSaddledComponent
    EntityIsShakingComponent
    EntityIsShearedComponent
    EntityIsStackableComponent
    EntityIsStunnedComponent
    EntityIsTamedComponent
    EntityItemComponent
    EntityLoadAfterEvent
    EntityLoadAfterEventSignal
    EntityMarkVariantComponent
    EntityMovementAmphibiousComponent
    EntityMovementBasicComponent
    EntityMovementFlyComponent
    EntityMovementGenericComponent
    EntityMovementHoverComponent
    EntityMovementJumpComponent
    EntityMovementSkipComponent
    EntityPushThroughComponent
    EntityRemoveAfterEvent
    EntityRemoveAfterEventSignal
    EntityRemoveBeforeEvent
    EntityRemoveBeforeEventSignal
    EntityScaleComponent
    EntitySkinIdComponent
    EntitySpawnAfterEvent
    EntitySpawnAfterEventSignal
    EntityVariantComponent
    EntityWantsJockeyComponent
    ExplosionAfterEvent
    ExplosionAfterEventSignal
    ExplosionBeforeEvent
    ExplosionBeforeEventSignal
    FeedItem
    FeedItemEffect
    IButtonPushAfterEventSignal
    ILeverActionAfterEventSignal
    IPlayerJoinAfterEventSignal
    IPlayerLeaveAfterEventSignal
    IPlayerSpawnAfterEventSignal
    ItemCompleteUseAfterEvent
    ItemCompleteUseAfterEventSignal
    ItemComponent
    ItemReleaseUseAfterEvent
    ItemReleaseUseAfterEventSignal
    ItemStack
    ItemStartUseAfterEvent
    ItemStartUseAfterEventSignal
    ItemStartUseOnAfterEvent
    ItemStartUseOnAfterEventSignal
    ItemStopUseAfterEvent
    ItemStopUseAfterEventSignal
    ItemStopUseOnAfterEvent
    ItemStopUseOnAfterEventSignal
    ItemType
    ItemUseAfterEvent
    ItemUseAfterEventSignal
    ItemUseBeforeEvent
    ItemUseBeforeEventSignal
    ItemUseOnAfterEvent
    ItemUseOnAfterEventSignal
    ItemUseOnBeforeEvent
    ItemUseOnBeforeEventSignal
    LeverActionAfterEvent
    LeverActionAfterEventSignal
    LocationInUnloadedChunkError
    LocationOutOfWorldBoundariesError
    MinecraftDimensionTypes
    MolangVariableMap
    Player
    PlayerBreakBlockAfterEvent
    PlayerBreakBlockAfterEventSignal
    PlayerBreakBlockBeforeEvent
    PlayerBreakBlockBeforeEventSignal
    PlayerDimensionChangeAfterEvent
    PlayerDimensionChangeAfterEventSignal
    PlayerInteractWithBlockAfterEvent
    PlayerInteractWithBlockAfterEventSignal
    PlayerInteractWithBlockBeforeEvent
    PlayerInteractWithBlockBeforeEventSignal
    PlayerInteractWithEntityAfterEvent
    PlayerInteractWithEntityAfterEventSignal
    PlayerInteractWithEntityBeforeEvent
    PlayerInteractWithEntityBeforeEventSignal
    PlayerJoinAfterEvent
    PlayerJoinAfterEventSignal
    PlayerLeaveAfterEvent
    PlayerLeaveAfterEventSignal
    PlayerLeaveBeforeEvent
    PlayerLeaveBeforeEventSignal
    PlayerPlaceBlockAfterEvent
    PlayerPlaceBlockAfterEventSignal
    PlayerSpawnAfterEvent
    PlayerSpawnAfterEventSignal
    PressurePlatePopAfterEvent
    PressurePlatePopAfterEventSignal
    PressurePlatePushAfterEvent
    PressurePlatePushAfterEventSignal
    ProjectileHitBlockAfterEvent
    ProjectileHitBlockAfterEventSignal
    ProjectileHitEntityAfterEvent
    ProjectileHitEntityAfterEventSignal
    Scoreboard
    ScoreboardIdentity
    ScoreboardObjective
    ScoreboardScoreInfo
    ScreenDisplay
    ScriptEventCommandMessageAfterEvent
    ScriptEventCommandMessageAfterEventSignal
    System
    SystemAfterEvents
    TargetBlockHitAfterEvent
    TargetBlockHitAfterEventSignal
    TripWireTripAfterEvent
    TripWireTripAfterEventSignal
    World
    WorldAfterEvents
    WorldBeforeEvents

    Interfaces

    BlockEventOptions
    BlockHitInformation
    BlockRaycastHit
    BlockRaycastOptions
    CameraDefaultOptions
    CameraEaseOptions
    CameraFadeOptions
    CameraFadeTimeOptions
    CameraSetFacingOptions
    CameraSetLocationOptions
    CameraSetPosOptions
    CameraSetRotOptions
    DefinitionModifier
    DimensionLocation
    EntityApplyDamageByProjectileOptions
    EntityApplyDamageOptions
    EntityDamageSource
    EntityDataDrivenTriggerEventOptions
    EntityEffectOptions
    EntityEventOptions
    EntityHitInformation
    EntityQueryOptions
    EntityQueryScoreOptions
    EntityRaycastHit
    EntityRaycastOptions
    MusicOptions
    PlayerSoundOptions
    RawMessage
    RawMessageScore
    RGB
    RGBA
    ScoreboardObjectiveDisplayOptions
    ScriptEventMessageFilterOptions
    TeleportOptions
    TitleDisplayOptions
    Vector2
    Vector3
    WorldSoundOptions

    Variables

    MoonPhaseCount
    system
    TicksPerSecond
    world