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

Manifest Details

{
"module_name": "@minecraft/server",
"version": "2.6.0-beta"
}

Enumerations

AimAssistTargetMode
BlockComponentTypes
BlockPistonState
BlockVolumeIntersection
BookErrorReason
ButtonState
CommandPermissionLevel
CompoundBlockVolumeAction
CompoundBlockVolumePositionRelativity
ContainerRulesErrorReason
ControlScheme
CustomCommandErrorReason
CustomCommandParamType
CustomCommandSource
CustomCommandStatus
CustomComponentNameErrorReason
Difficulty
Direction
DisplaySlotId
DyeColor
EasingType
EnchantmentSlot
EntityAttachPoint
EntityComponentTypes
EntityDamageCause
EntityHealCause
EntityInitializationCause
EntitySwingSource
EquipmentSlot
FluidType
GameMode
GameRule
GraphicsMode
HeldItemOption
HudElement
HudVisibility
InputButton
InputMode
InputPermissionCategory
ItemComponentTypes
ItemLockMode
LiquidSettings
LiquidType
MemoryTier
MoonPhase
MovementType
NamespaceNameErrorReason
ObjectiveSortOrder
PaletteColor
PlatformType
PlayerInventoryType
PlayerPermissionLevel
ScoreboardIdentityType
ScriptEventSource
SignSide
StickyType
StructureAnimationMode
StructureMirrorAxis
StructureRotation
StructureSaveMode
TickingAreaErrorReason
TimeOfDay
TintMethod
WatchdogTerminateReason
WeatherType

Classes

AimAssistCategory
AimAssistCategorySettings
AimAssistPreset
AimAssistPresetSettings
AimAssistRegistry
BiomeType
BiomeTypes
Block
BlockBoundingBoxUtils
BlockComponent
BlockComponentBlockBreakEvent
BlockComponentEntityEvent
BlockComponentEntityFallOnEvent
BlockComponentOnPlaceEvent
BlockComponentPlayerBreakEvent
BlockComponentPlayerInteractEvent
BlockComponentPlayerPlaceBeforeEvent
BlockComponentRandomTickEvent
BlockComponentRedstoneUpdateEvent
BlockComponentRegistry
BlockComponentStepOffEvent
BlockComponentStepOnEvent
BlockComponentTickEvent
BlockCustomComponentAlreadyRegisteredError
BlockCustomComponentInstance
BlockCustomComponentReloadNewComponentError
BlockCustomComponentReloadNewEventError
BlockCustomComponentReloadVersionError
BlockEvent
BlockExplodeAfterEvent
BlockExplodeAfterEventSignal
BlockFluidContainerComponent
BlockInventoryComponent
BlockLocationIterator
BlockMapColorComponent
BlockMovableComponent
BlockPermutation
BlockPistonComponent
BlockPrecipitationInteractionsComponent
BlockRecordPlayerComponent
BlockRedstoneProducerComponent
BlockSignComponent
BlockStates
BlockStateType
BlockType
BlockTypes
BlockVolume
BlockVolumeBase
BookError
BookPageContentError
ButtonPushAfterEvent
ButtonPushAfterEventSignal
Camera
CatmullRomSpline
ChatSendAfterEvent
ChatSendAfterEventSignal
ChatSendBeforeEvent
ChatSendBeforeEventSignal
ClientSystemInfo
CommandError
CommandResult
Component
CompoundBlockVolume
Container
ContainerRulesError
ContainerSlot
CustomCommandError
CustomCommandOrigin
CustomCommandRegistry
CustomComponentInvalidRegistryError
CustomComponentNameError
CustomComponentParameters
DamagedByEntityCondition
DataDrivenEntityTriggerAfterEvent
DataDrivenEntityTriggerAfterEventSignal
Dimension
DimensionType
DimensionTypes
Effect
EffectAddAfterEvent
EffectAddAfterEventSignal
EffectAddBeforeEvent
EffectAddBeforeEventSignal
EffectType
EffectTypes
EmptyLootItem
EnchantInfo
EnchantmentLevelOutOfBoundsError
EnchantmentType
EnchantmentTypeNotCompatibleError
EnchantmentTypes
EnchantmentTypeUnknownIdError
EnchantRandomEquipmentFunction
EnchantRandomlyFunction
EnchantWithLevelsFunction
Entity
EntityAddRiderComponent
EntityAgeableComponent
EntityAttributeComponent
EntityBaseMovementComponent
EntityBreathableComponent
EntityCanClimbComponent
EntityCanFlyComponent
EntityCanPowerJumpComponent
EntityColor2Component
EntityColorComponent
EntityComponent
EntityDefinitionFeedItem
EntityDieAfterEvent
EntityDieAfterEventSignal
EntityEquippableComponent
EntityExhaustionComponent
EntityFireImmuneComponent
EntityFloatsInLiquidComponent
EntityFlyingSpeedComponent
EntityFrictionModifierComponent
EntityHasMarkVariantCondition
EntityHasVariantCondition
EntityHealableComponent
EntityHealAfterEvent
EntityHealAfterEventSignal
EntityHealBeforeEvent
EntityHealBeforeEventSignal
EntityHealSource
EntityHealthChangedAfterEvent
EntityHealthChangedAfterEventSignal
EntityHealthComponent
EntityHitBlockAfterEvent
EntityHitBlockAfterEventSignal
EntityHitEntityAfterEvent
EntityHitEntityAfterEventSignal
EntityHungerComponent
EntityHurtAfterEvent
EntityHurtAfterEventSignal
EntityHurtBeforeEvent
EntityHurtBeforeEventSignal
EntityInventoryComponent
EntityIsBabyComponent
EntityIsChargedComponent
EntityIsChestedComponent
EntityIsDyeableComponent
EntityIsHiddenWhenInvisibleComponent
EntityIsIgnitedComponent
EntityIsIllagerCaptainComponent
EntityIsSaddledComponent
EntityIsShakingComponent
EntityIsShearedComponent
EntityIsStackableComponent
EntityIsStunnedComponent
EntityIsTamedComponent
EntityItemComponent
EntityItemDropAfterEvent
EntityItemDropAfterEventSignal
EntityItemPickupAfterEvent
EntityItemPickupAfterEventSignal
EntityItemPickupBeforeEvent
EntityItemPickupBeforeEventSignal
EntityKilledCondition
EntityLavaMovementComponent
EntityLeashableComponent
EntityLoadAfterEvent
EntityLoadAfterEventSignal
EntityMarkVariantComponent
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
EntitySaturationComponent
EntityScaleComponent
EntitySkinIdComponent
EntitySpawnAfterEvent
EntitySpawnAfterEventSignal
EntitySpawnError
EntityStrengthComponent
EntityTameableComponent
EntityTameMountComponent
EntityType
EntityTypeFamilyComponent
EntityTypes
EntityUnderwaterMovementComponent
EntityVariantComponent
EntityWantsJockeyComponent
ExplorationMapFunction
ExplosionAfterEvent
ExplosionAfterEventSignal
ExplosionBeforeEvent
ExplosionBeforeEventSignal
ExplosionDecayFunction
FeedItem
FeedItemEffect
FillContainerFunction
FluidContainer
GameRuleChangeAfterEvent
GameRuleChangeAfterEventSignal
GameRules
InputInfo
InvalidBlockComponentError
InvalidContainerError
InvalidContainerSlotError
InvalidEntityError
InvalidItemStackError
InvalidIteratorError
InvalidPotionDeliveryTypeError
InvalidPotionEffectTypeError
InvalidStructureError
IsBabyCondition
ItemBookComponent
ItemCompleteUseAfterEvent
ItemCompleteUseAfterEventSignal
ItemCompleteUseEvent
ItemComponent
ItemComponentBeforeDurabilityDamageEvent
ItemComponentCompleteUseEvent
ItemComponentConsumeEvent
ItemComponentHitEntityEvent
ItemComponentMineBlockEvent
ItemComponentRegistry
ItemComponentUseEvent
ItemComponentUseOnEvent
ItemCompostableComponent
ItemCooldownComponent
ItemCustomComponentAlreadyRegisteredError
ItemCustomComponentInstance
ItemCustomComponentReloadNewComponentError
ItemCustomComponentReloadNewEventError
ItemCustomComponentReloadVersionError
ItemDurabilityComponent
ItemDyeableComponent
ItemEnchantableComponent
ItemFoodComponent
ItemInventoryComponent
ItemPotionComponent
ItemReleaseUseAfterEvent
ItemReleaseUseAfterEventSignal
ItemStack
ItemStartUseAfterEvent
ItemStartUseAfterEventSignal
ItemStartUseOnAfterEvent
ItemStartUseOnAfterEventSignal
ItemStopUseAfterEvent
ItemStopUseAfterEventSignal
ItemStopUseOnAfterEvent
ItemStopUseOnAfterEventSignal
ItemType
ItemTypes
ItemUseAfterEvent
ItemUseAfterEventSignal
ItemUseBeforeEvent
ItemUseBeforeEventSignal
ItemUseOnEvent
KilledByEntityCondition
KilledByPlayerCondition
KilledByPlayerOrPetsCondition
LeverActionAfterEvent
LeverActionAfterEventSignal
LinearSpline
ListBlockVolume
LocationInUnloadedChunkError
LocationOutOfWorldBoundariesError
LootingEnchantFunction
LootItem
LootItemCondition
LootItemFunction
LootPool
LootPoolEntry
LootPoolTiers
LootTable
LootTableEntry
LootTableManager
LootTableReference
MatchToolCondition
MessageReceiveAfterEvent
MolangVariableMap
NamespaceNameError
PackSettingChangeAfterEvent
PackSettingChangeAfterEventSignal
PassengerOfEntityCondition
PistonActivateAfterEvent
PistonActivateAfterEventSignal
PlaceJigsawError
Player
PlayerAimAssist
PlayerBreakBlockAfterEvent
PlayerBreakBlockAfterEventSignal
PlayerBreakBlockBeforeEvent
PlayerBreakBlockBeforeEventSignal
PlayerButtonInputAfterEvent
PlayerButtonInputAfterEventSignal
PlayerCursorInventoryComponent
PlayerDimensionChangeAfterEvent
PlayerDimensionChangeAfterEventSignal
PlayerEmoteAfterEvent
PlayerEmoteAfterEventSignal
PlayerGameModeChangeAfterEvent
PlayerGameModeChangeAfterEventSignal
PlayerGameModeChangeBeforeEvent
PlayerGameModeChangeBeforeEventSignal
PlayerHotbarSelectedSlotChangeAfterEvent
PlayerHotbarSelectedSlotChangeAfterEventSignal
PlayerInputModeChangeAfterEvent
PlayerInputModeChangeAfterEventSignal
PlayerInputPermissionCategoryChangeAfterEvent
PlayerInputPermissionCategoryChangeAfterEventSignal
PlayerInputPermissions
PlayerInteractWithBlockAfterEvent
PlayerInteractWithBlockAfterEventSignal
PlayerInteractWithBlockBeforeEvent
PlayerInteractWithBlockBeforeEventSignal
PlayerInteractWithEntityAfterEvent
PlayerInteractWithEntityAfterEventSignal
PlayerInteractWithEntityBeforeEvent
PlayerInteractWithEntityBeforeEventSignal
PlayerInventoryItemChangeAfterEvent
PlayerInventoryItemChangeAfterEventSignal
PlayerJoinAfterEvent
PlayerJoinAfterEventSignal
PlayerLeaveAfterEvent
PlayerLeaveAfterEventSignal
PlayerLeaveBeforeEvent
PlayerLeaveBeforeEventSignal
PlayerPlaceBlockAfterEvent
PlayerPlaceBlockAfterEventSignal
PlayerPlaceBlockBeforeEvent
PlayerPlaceBlockBeforeEventSignal
PlayerSpawnAfterEvent
PlayerSpawnAfterEventSignal
PlayerSwingStartAfterEvent
PlayerSwingStartAfterEventSignal
PlayerUseNameTagAfterEvent
PlayerUseNameTagAfterEventSignal
PotionDeliveryType
PotionEffectType
Potions
PressurePlatePopAfterEvent
PressurePlatePopAfterEventSignal
PressurePlatePushAfterEvent
PressurePlatePushAfterEventSignal
ProjectileHitBlockAfterEvent
ProjectileHitBlockAfterEventSignal
ProjectileHitEntityAfterEvent
ProjectileHitEntityAfterEventSignal
RandomAuxValueFunction
RandomBlockStateFunction
RandomChanceCondition
RandomChanceWithLootingCondition
RandomDifficultyChanceCondition
RandomDyeFunction
RandomRegionalDifficultyChanceCondition
RawMessageError
Scoreboard
ScoreboardIdentity
ScoreboardObjective
ScoreboardScoreInfo
ScreenDisplay
ScriptEventCommandMessageAfterEvent
ScriptEventCommandMessageAfterEventSignal
Seat
ServerMessageAfterEventSignal
SetArmorTrimFunction
SetBannerDetailsFunction
SetBookContentsFunction
SetDataFromColorIndexFunction
SetItemCountFunction
SetItemDamageFunction
SetItemDataFunction
SetItemLoreFunction
SetItemNameFunction
SetOminousBottleFunction
SetPotionFunction
SetSpawnEggFunction
SetStewEffectFunction
ShutdownBeforeEventSignal
ShutdownEvent
SmeltItemFunction
SpecificEnchantFunction
StartupBeforeEventSignal
StartupEvent
Structure
StructureManager
System
SystemAfterEvents
SystemBeforeEvents
SystemInfo
TargetBlockHitAfterEvent
TargetBlockHitAfterEventSignal
TickingAreaError
TickingAreaManager
Trigger
TripWireTripAfterEvent
TripWireTripAfterEventSignal
UnloadedChunksError
WatchdogTerminateBeforeEvent
WatchdogTerminateBeforeEventSignal
WeatherChangeAfterEvent
WeatherChangeAfterEventSignal
WeatherChangeBeforeEvent
WeatherChangeBeforeEventSignal
World
WorldAfterEvents
WorldBeforeEvents
WorldLoadAfterEvent
WorldLoadAfterEventSignal

Interfaces

AABB
AnimationOptions
BiomeFilter
BiomeSearchOptions
BlockBoundingBox
BlockCustomComponent
BlockEventOptions
BlockFillOptions
BlockFilter
BlockHitInformation
BlockRaycastHit
BlockRaycastOptions
CameraAttachOptions
CameraFadeOptions
CameraFadeTimeOptions
CameraFixedBoomOptions
CameraFovOptions
CameraSetFacingOptions
CameraSetLocationOptions
CameraSetPosOptions
CameraSetRotOptions
CameraTargetOptions
CompoundBlockVolumeItem
ContainerRules
CustomCommand
CustomCommandParameter
CustomCommandResult
DefinitionModifier
DimensionLocation
EaseOptions
Enchantment
EntityApplyDamageByProjectileOptions
EntityApplyDamageOptions
EntityDamageSource
EntityDataDrivenTriggerEventOptions
EntityEffectOptions
EntityEventOptions
EntityFilter
EntityHealEventOptions
EntityHitInformation
EntityHurtAfterEventOptions
EntityHurtBeforeEventOptions
EntityItemDropEventOptions
EntityItemPickupEventOptions
EntityQueryOptions
EntityQueryPropertyOptions
EntityQueryScoreOptions
EntityRaycastHit
EntityRaycastOptions
EqualsComparison
ExplosionOptions
GetBlocksStandingOnOptions
GreaterThanComparison
GreaterThanOrEqualsComparison
HotbarEventOptions
InputEventOptions
InventoryItemEventOptions
ItemCustomComponent
ItemFilter
JigsawPlaceOptions
JigsawStructurePlaceOptions
LessThanComparison
LessThanOrEqualsComparison
MusicOptions
NotEqualsComparison
PlayAnimationOptions
PlayerAimAssistSettings
PlayerSoundOptions
PlayerSwingEventOptions
ProgressKeyFrame
ProjectileShootOptions
RangeComparison
RawMessage
RawMessageScore
RawText
RGB
RGBA
RotationKeyFrame
ScoreboardObjectiveDisplayOptions
ScriptEventMessageFilterOptions
SpawnEntityOptions
SplineAnimation
StructureCreateOptions
StructurePlaceOptions
TeleportOptions
TickingArea
TickingAreaOptions
TitleDisplayOptions
Vector2
Vector3
VectorXZ
VectorYZ
WorldSoundOptions

Type Aliases

BlockComponentReturnType
BlockComponentTypeMap
BlockStateArg
EntityComponentReturnType
EntityComponentTypeMap
EntityIdentifierType
ItemComponentReturnType
ItemComponentTypeMap
VanillaEntityIdentifier

Variables

HudElementsCount
HudVisibilityCount
MoonPhaseCount
system
TicksPerDay
TicksPerSecond
world