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

    Module @minecraft/server@1.6.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.5.0"
    }

    Enumerations

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

    Classes

    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
    DefinitionModifier
    Dimension
    DimensionType
    DimensionTypes
    DynamicPropertiesDefinition
    Effect
    EffectAddAfterEvent
    EffectAddAfterEventSignal
    EffectType
    EffectTypes
    Enchantment
    EnchantmentList
    EnchantmentSlot
    EnchantmentType
    EnchantmentTypes
    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
    EntityOnFireComponent
    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
    IPlayerJoinAfterEventSignal
    IPlayerLeaveAfterEventSignal
    IPlayerSpawnAfterEventSignal
    ItemCompleteUseAfterEvent
    ItemCompleteUseAfterEventSignal
    ItemComponent
    ItemCooldownComponent
    ItemDefinitionAfterEventSignal
    ItemDefinitionBeforeEventSignal
    ItemDefinitionTriggeredAfterEvent
    ItemDefinitionTriggeredBeforeEvent
    ItemDurabilityComponent
    ItemEnchantsComponent
    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
    PistonActivateBeforeEvent
    PistonActivateBeforeEventSignal
    Player
    PlayerBreakBlockAfterEvent
    PlayerBreakBlockAfterEventSignal
    PlayerBreakBlockBeforeEvent
    PlayerBreakBlockBeforeEventSignal
    PlayerIterator
    PlayerJoinAfterEvent
    PlayerJoinAfterEventSignal
    PlayerLeaveAfterEvent
    PlayerLeaveAfterEventSignal
    PlayerPlaceBlockAfterEvent
    PlayerPlaceBlockAfterEventSignal
    PlayerPlaceBlockBeforeEvent
    PlayerPlaceBlockBeforeEventSignal
    PlayerSpawnAfterEvent
    PlayerSpawnAfterEventSignal
    PressurePlatePopAfterEvent
    PressurePlatePopAfterEventSignal
    PressurePlatePushAfterEvent
    PressurePlatePushAfterEventSignal
    ProjectileHitBlockAfterEvent
    ProjectileHitBlockAfterEventSignal
    ProjectileHitEntityAfterEvent
    ProjectileHitEntityAfterEventSignal
    PropertyRegistry
    Scoreboard
    ScoreboardIdentity
    ScoreboardObjective
    ScoreboardScoreInfo
    ScreenDisplay
    ScriptEventCommandMessageAfterEvent
    ScriptEventCommandMessageAfterEventSignal
    Seat
    ServerMessageAfterEventSignal
    System
    SystemAfterEvents
    SystemBeforeEvents
    TargetBlockHitAfterEvent
    TargetBlockHitAfterEventSignal
    Trigger
    TripWireTripAfterEvent
    TripWireTripAfterEventSignal
    Vector
    WatchdogTerminateBeforeEvent
    WatchdogTerminateBeforeEventSignal
    WeatherChangeAfterEvent
    WeatherChangeAfterEventSignal
    World
    WorldAfterEvents
    WorldBeforeEvents
    WorldInitializeAfterEvent
    WorldInitializeAfterEventSignal

    Interfaces

    BlockEventOptions
    BlockFillOptions
    BlockHitInformation
    BlockRaycastHit
    BlockRaycastOptions
    BlockVolume
    BoundingBox
    CameraEaseOptions
    CameraFadeOptions
    CameraFadeTimeOptions
    CompoundBlockVolumeItem
    DimensionLocation
    EntityApplyDamageByProjectileOptions
    EntityApplyDamageOptions
    EntityDamageSource
    EntityDataDrivenTriggerEventOptions
    EntityEffectOptions
    EntityEventOptions
    EntityHitInformation
    EntityQueryOptions
    EntityQueryScoreOptions
    EntityRaycastHit
    EntityRaycastOptions
    ExplosionOptions
    MusicOptions
    NumberRange
    PlayAnimationOptions
    PlayerSoundOptions
    RawMessage
    RawMessageScore
    RawText
    RGB
    RGBA
    ScoreboardObjectiveDisplayOptions
    ScriptCameraDefaultOptions
    ScriptCameraSetFacingOptions
    ScriptCameraSetLocationOptions
    ScriptCameraSetPosOptions
    ScriptCameraSetRotOptions
    ScriptEventMessageFilterOptions
    TeleportOptions
    TitleDisplayOptions
    Vector2
    Vector3
    WorldSoundOptions

    Variables

    MoonPhaseCount
    system
    TicksPerDay
    TicksPerSecond
    world