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

    Module @minecraft/server@1.9.0-beta

    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

    BlockComponentTypes
    BlockPistonState
    BlockVolumeIntersection
    CompoundBlockVolumeAction
    CompoundBlockVolumePositionRelativity
    Difficulty
    Direction
    DisplaySlotId
    DyeColor
    EasingType
    EntityComponentTypes
    EntityDamageCause
    EntityInitializationCause
    EntityLifetimeState
    EquipmentSlot
    FluidType
    GameMode
    ItemComponentTypes
    ItemLockMode
    MoonPhase
    ObjectiveSortOrder
    ScoreboardIdentityType
    ScriptEventSource
    SignSide
    TimeOfDay
    WatchdogTerminateReason
    WeatherType

    Classes

    BiomeType
    BiomeTypes
    Block
    BlockAreaSize
    BlockComponent
    BlockEvent
    BlockExplodeAfterEvent
    BlockExplodeAfterEventSignal
    BlockInventoryComponent
    BlockLavaContainerComponent
    BlockLiquidContainerComponent
    BlockLocationIterator
    BlockPermutation
    BlockPistonComponent
    BlockPotionContainerComponent
    BlockRecordPlayerComponent
    BlockSignComponent
    BlockSnowContainerComponent
    BlockStates
    BlockStateType
    BlockType
    BlockTypes
    BlockVolumeUtils
    BlockWaterContainerComponent
    BoundingBoxUtils
    ButtonPushAfterEvent
    ButtonPushAfterEventSignal
    Camera
    ChatSendAfterEvent
    ChatSendAfterEventSignal
    ChatSendBeforeEvent
    ChatSendBeforeEventSignal
    CommandError
    CommandResult
    Component
    CompoundBlockVolume
    Container
    ContainerSlot
    DataDrivenEntityTriggerAfterEvent
    DataDrivenEntityTriggerAfterEventSignal
    DataDrivenEntityTriggerBeforeEvent
    DataDrivenEntityTriggerBeforeEventSignal
    Dimension
    DimensionType
    DimensionTypes
    Effect
    EffectAddAfterEvent
    EffectAddAfterEventSignal
    EffectAddBeforeEvent
    EffectAddBeforeEventSignal
    EffectType
    EffectTypes
    EnchantmentLevelOutOfBoundsError
    EnchantmentType
    EnchantmentTypeNotCompatibleError
    EnchantmentTypes
    EnchantmentTypeUnknownIdError
    Entity
    EntityAddRiderComponent
    EntityAgeableComponent
    EntityAttributeComponent
    EntityBaseMovementComponent
    EntityBreathableComponent
    EntityCanClimbComponent
    EntityCanFlyComponent
    EntityCanPowerJumpComponent
    EntityColorComponent
    EntityComponent
    EntityDefinitionFeedItem
    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
    EntityIterator
    EntityLavaMovementComponent
    EntityLeashableComponent
    EntityLoadAfterEvent
    EntityLoadAfterEventSignal
    EntityMarkVariantComponent
    EntityMountTamingComponent
    EntityMovementAmphibiousComponent
    EntityMovementBasicComponent
    EntityMovementComponent
    EntityMovementFlyComponent
    EntityMovementGenericComponent
    EntityMovementGlideComponent
    EntityMovementHoverComponent
    EntityMovementJumpComponent
    EntityMovementSkipComponent
    EntityMovementSwayComponent
    EntityNavigationClimbComponent
    EntityNavigationComponent
    EntityNavigationFloatComponent
    EntityNavigationFlyComponent
    EntityNavigationGenericComponent
    EntityNavigationHoverComponent
    EntityNavigationWalkComponent
    EntityNpcComponent
    EntityOnFireComponent
    EntityProjectileComponent
    EntityPushThroughComponent
    EntityRemoveAfterEvent
    EntityRemoveAfterEventSignal
    EntityRemoveBeforeEvent
    EntityRemoveBeforeEventSignal
    EntityRideableComponent
    EntityRidingComponent
    EntityScaleComponent
    EntitySkinIdComponent
    EntitySpawnAfterEvent
    EntitySpawnAfterEventSignal
    EntityStrengthComponent
    EntityTameableComponent
    EntityType
    EntityTypeIterator
    EntityTypes
    EntityUnderwaterMovementComponent
    EntityVariantComponent
    EntityWantsJockeyComponent
    ExplosionAfterEvent
    ExplosionAfterEventSignal
    ExplosionBeforeEvent
    ExplosionBeforeEventSignal
    FeedItem
    FeedItemEffect
    FilterGroup
    FluidContainer
    IButtonPushAfterEventSignal
    ILeverActionAfterEventSignal
    InvalidContainerSlotError
    IPlayerJoinAfterEventSignal
    IPlayerLeaveAfterEventSignal
    IPlayerSpawnAfterEventSignal
    ItemCompleteUseAfterEvent
    ItemCompleteUseAfterEventSignal
    ItemComponent
    ItemCooldownComponent
    ItemDefinitionAfterEventSignal
    ItemDefinitionBeforeEventSignal
    ItemDefinitionTriggeredAfterEvent
    ItemDefinitionTriggeredBeforeEvent
    ItemDurabilityComponent
    ItemEnchantableComponent
    ItemFoodComponent
    ItemReleaseUseAfterEvent
    ItemReleaseUseAfterEventSignal
    ItemStack
    ItemStartUseAfterEvent
    ItemStartUseAfterEventSignal
    ItemStartUseOnAfterEvent
    ItemStartUseOnAfterEventSignal
    ItemStopUseAfterEvent
    ItemStopUseAfterEventSignal
    ItemStopUseOnAfterEvent
    ItemStopUseOnAfterEventSignal
    ItemType
    ItemTypes
    ItemUseAfterEvent
    ItemUseAfterEventSignal
    ItemUseBeforeEvent
    ItemUseBeforeEventSignal
    ItemUseOnAfterEvent
    ItemUseOnAfterEventSignal
    ItemUseOnBeforeEvent
    ItemUseOnBeforeEventSignal
    LeverActionAfterEvent
    LeverActionAfterEventSignal
    LocationInUnloadedChunkError
    LocationOutOfWorldBoundariesError
    MessageReceiveAfterEvent
    MinecraftDimensionTypes
    MolangVariableMap
    PistonActivateAfterEvent
    PistonActivateAfterEventSignal
    Player
    PlayerBreakBlockAfterEvent
    PlayerBreakBlockAfterEventSignal
    PlayerBreakBlockBeforeEvent
    PlayerBreakBlockBeforeEventSignal
    PlayerDimensionChangeAfterEvent
    PlayerDimensionChangeAfterEventSignal
    PlayerInteractWithBlockAfterEvent
    PlayerInteractWithBlockAfterEventSignal
    PlayerInteractWithBlockBeforeEvent
    PlayerInteractWithBlockBeforeEventSignal
    PlayerInteractWithEntityAfterEvent
    PlayerInteractWithEntityAfterEventSignal
    PlayerInteractWithEntityBeforeEvent
    PlayerInteractWithEntityBeforeEventSignal
    PlayerIterator
    PlayerJoinAfterEvent
    PlayerJoinAfterEventSignal
    PlayerLeaveAfterEvent
    PlayerLeaveAfterEventSignal
    PlayerLeaveBeforeEvent
    PlayerLeaveBeforeEventSignal
    PlayerPlaceBlockAfterEvent
    PlayerPlaceBlockAfterEventSignal
    PlayerPlaceBlockBeforeEvent
    PlayerPlaceBlockBeforeEventSignal
    PlayerSpawnAfterEvent
    PlayerSpawnAfterEventSignal
    PressurePlatePopAfterEvent
    PressurePlatePopAfterEventSignal
    PressurePlatePushAfterEvent
    PressurePlatePushAfterEventSignal
    ProjectileHitBlockAfterEvent
    ProjectileHitBlockAfterEventSignal
    ProjectileHitEntityAfterEvent
    ProjectileHitEntityAfterEventSignal
    Scoreboard
    ScoreboardIdentity
    ScoreboardObjective
    ScoreboardScoreInfo
    ScreenDisplay
    ScriptEventCommandMessageAfterEvent
    ScriptEventCommandMessageAfterEventSignal
    Seat
    ServerMessageAfterEventSignal
    System
    SystemAfterEvents
    SystemBeforeEvents
    TargetBlockHitAfterEvent
    TargetBlockHitAfterEventSignal
    Trigger
    TripWireTripAfterEvent
    TripWireTripAfterEventSignal
    Vector
    WatchdogTerminateBeforeEvent
    WatchdogTerminateBeforeEventSignal
    WeatherChangeAfterEvent
    WeatherChangeAfterEventSignal
    WeatherChangeBeforeEvent
    WeatherChangeBeforeEventSignal
    World
    WorldAfterEvents
    WorldBeforeEvents
    WorldInitializeAfterEvent
    WorldInitializeAfterEventSignal

    Interfaces

    BiomeSearchOptions
    BlockEventOptions
    BlockFillOptions
    BlockHitInformation
    BlockRaycastHit
    BlockRaycastOptions
    BlockVolume
    BoundingBox
    CameraDefaultOptions
    CameraEaseOptions
    CameraFadeOptions
    CameraFadeTimeOptions
    CameraSetFacingOptions
    CameraSetLocationOptions
    CameraSetPosOptions
    CameraSetRotOptions
    CompoundBlockVolumeItem
    DefinitionModifier
    DimensionLocation
    Enchantment
    EntityApplyDamageByProjectileOptions
    EntityApplyDamageOptions
    EntityDamageSource
    EntityDataDrivenTriggerEventOptions
    EntityEffectOptions
    EntityEventOptions
    EntityHitInformation
    EntityQueryOptions
    EntityQueryScoreOptions
    EntityRaycastHit
    EntityRaycastOptions
    ExplosionOptions
    MusicOptions
    PlayAnimationOptions
    PlayerSoundOptions
    ProjectileShootOptions
    RawMessage
    RawMessageScore
    RawText
    RGB
    RGBA
    ScoreboardObjectiveDisplayOptions
    ScriptEventMessageFilterOptions
    TeleportOptions
    TitleDisplayOptions
    Vector2
    Vector3
    WorldSoundOptions

    Type Aliases

    BlockComponentTypeMap
    EntityComponentTypeMap
    ItemComponentTypeMap

    Variables

    MoonPhaseCount
    system
    TicksPerDay
    TicksPerSecond
    world