Module @minecraft/server@1.13.0

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

Manifest Details

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

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

Install type definition for @minecraft/server module using npm:

npm i @minecraft/server@1.13.0

Enumerations

BlockComponentTypes
BlockPistonState
CustomComponentNameErrorReason
Direction
DisplaySlotId
DyeColor
EasingType
EnchantmentSlot
EntityComponentTypes
EntityDamageCause
EntityInitializationCause
EquipmentSlot
FluidType
GameMode
GameRule
HudElement
HudVisibility
InputPermissionCategory
ItemComponentTypes
ItemLockMode
MoonPhase
ObjectiveSortOrder
PaletteColor
ScoreboardIdentityType
ScriptEventSource
SignSide
StructureAnimationMode
StructureMirrorAxis
StructureRotation
StructureSaveMode
TimeOfDay
WeatherType

Classes

Block
BlockComponent
BlockComponentEntityFallOnEvent
BlockComponentOnPlaceEvent
BlockComponentPlayerDestroyEvent
BlockComponentPlayerInteractEvent
BlockComponentPlayerPlaceBeforeEvent
BlockComponentRandomTickEvent
BlockComponentRegistry
BlockComponentStepOffEvent
BlockComponentStepOnEvent
BlockComponentTickEvent
BlockCustomComponentAlreadyRegisteredError
BlockCustomComponentReloadNewComponentError
BlockCustomComponentReloadNewEventError
BlockCustomComponentReloadVersionError
BlockEvent
BlockExplodeAfterEvent
BlockExplodeAfterEventSignal
BlockInventoryComponent
BlockPermutation
BlockPistonComponent
BlockSignComponent
BlockStates
BlockStateType
BlockType
BlockTypes
BlockVolumeBase
ButtonPushAfterEvent
ButtonPushAfterEventSignal
Camera
CommandError
CommandResult
Component
Container
ContainerSlot
CustomComponentInvalidRegistryError
CustomComponentNameError
DataDrivenEntityTriggerAfterEvent
DataDrivenEntityTriggerAfterEventSignal
Dimension
DimensionType
DimensionTypes
Effect
EffectAddAfterEvent
EffectAddAfterEventSignal
EffectAddBeforeEvent
EffectAddBeforeEventSignal
EffectType
EffectTypes
EnchantmentLevelOutOfBoundsError
EnchantmentType
EnchantmentTypeNotCompatibleError
EnchantmentTypes
EnchantmentTypeUnknownIdError
Entity
EntityAddRiderComponent
EntityAgeableComponent
EntityAttributeComponent
EntityBaseMovementComponent
EntityCanClimbComponent
EntityCanFlyComponent
EntityCanPowerJumpComponent
EntityColor2Component
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
EntityLavaMovementComponent
EntityLeashableComponent
EntityLoadAfterEvent
EntityLoadAfterEventSignal
EntityMarkVariantComponent
EntityMovementAmphibiousComponent
EntityMovementBasicComponent
EntityMovementComponent
EntityMovementFlyComponent
EntityMovementGenericComponent
EntityMovementGlideComponent
EntityMovementHoverComponent
EntityMovementJumpComponent
EntityMovementSkipComponent
EntityMovementSwayComponent
EntityNavigationClimbComponent
EntityNavigationComponent
EntityNavigationFloatComponent
EntityNavigationFlyComponent
EntityNavigationGenericComponent
EntityNavigationHoverComponent
EntityNavigationWalkComponent
EntityOnFireComponent
EntityProjectileComponent
EntityPushThroughComponent
EntityRemoveAfterEvent
EntityRemoveAfterEventSignal
EntityRemoveBeforeEvent
EntityRemoveBeforeEventSignal
EntityRideableComponent
EntityRidingComponent
EntityScaleComponent
EntitySkinIdComponent
EntitySpawnAfterEvent
EntitySpawnAfterEventSignal
EntityTameableComponent
EntityTameMountComponent
EntityType
EntityTypeFamilyComponent
EntityTypes
EntityUnderwaterMovementComponent
EntityVariantComponent
EntityWantsJockeyComponent
ExplosionAfterEvent
ExplosionAfterEventSignal
ExplosionBeforeEvent
ExplosionBeforeEventSignal
FeedItem
FeedItemEffect
GameRuleChangeAfterEvent
GameRuleChangeAfterEventSignal
GameRules
IButtonPushAfterEventSignal
ILeverActionAfterEventSignal
InvalidContainerSlotError
InvalidStructureError
IPlayerJoinAfterEventSignal
IPlayerLeaveAfterEventSignal
IPlayerSpawnAfterEventSignal
ItemCompleteUseAfterEvent
ItemCompleteUseAfterEventSignal
ItemCompleteUseEvent
ItemComponent
ItemComponentBeforeDurabilityDamageEvent
ItemComponentCompleteUseEvent
ItemComponentConsumeEvent
ItemComponentHitEntityEvent
ItemComponentMineBlockEvent
ItemComponentRegistry
ItemComponentUseEvent
ItemComponentUseOnEvent
ItemCooldownComponent
ItemCustomComponentAlreadyRegisteredError
ItemCustomComponentReloadNewComponentError
ItemCustomComponentReloadNewEventError
ItemCustomComponentReloadVersionError
ItemDurabilityComponent
ItemEnchantableComponent
ItemFoodComponent
ItemReleaseUseAfterEvent
ItemReleaseUseAfterEventSignal
ItemStack
ItemStartUseAfterEvent
ItemStartUseAfterEventSignal
ItemStartUseOnAfterEvent
ItemStartUseOnAfterEventSignal
ItemStopUseAfterEvent
ItemStopUseAfterEventSignal
ItemStopUseOnAfterEvent
ItemStopUseOnAfterEventSignal
ItemType
ItemTypes
ItemUseAfterEvent
ItemUseAfterEventSignal
ItemUseBeforeEvent
ItemUseBeforeEventSignal
ItemUseOnAfterEvent
ItemUseOnAfterEventSignal
ItemUseOnBeforeEvent
ItemUseOnBeforeEventSignal
ItemUseOnEvent
LeverActionAfterEvent
LeverActionAfterEventSignal
ListBlockVolume
LocationInUnloadedChunkError
LocationOutOfWorldBoundariesError
MinecraftDimensionTypes
MolangVariableMap
PistonActivateAfterEvent
PistonActivateAfterEventSignal
Player
PlayerBreakBlockAfterEvent
PlayerBreakBlockAfterEventSignal
PlayerBreakBlockBeforeEvent
PlayerBreakBlockBeforeEventSignal
PlayerDimensionChangeAfterEvent
PlayerDimensionChangeAfterEventSignal
PlayerGameModeChangeAfterEvent
PlayerGameModeChangeAfterEventSignal
PlayerGameModeChangeBeforeEvent
PlayerGameModeChangeBeforeEventSignal
PlayerInputPermissionCategoryChangeAfterEvent
PlayerInputPermissionCategoryChangeAfterEventSignal
PlayerInputPermissions
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
Seat
Structure
StructureManager
System
SystemAfterEvents
TargetBlockHitAfterEvent
TargetBlockHitAfterEventSignal
Trigger
TripWireTripAfterEvent
TripWireTripAfterEventSignal
WeatherChangeAfterEvent
WeatherChangeAfterEventSignal
WeatherChangeBeforeEvent
WeatherChangeBeforeEventSignal
World
WorldAfterEvents
WorldBeforeEvents
WorldInitializeAfterEvent
WorldInitializeAfterEventSignal
WorldInitializeBeforeEvent
WorldInitializeBeforeEventSignal

Interfaces

BlockCustomComponent
BlockEventOptions
BlockFilter
BlockHitInformation
BlockRaycastHit
BlockRaycastOptions
CameraDefaultOptions
CameraEaseOptions
CameraFadeOptions
CameraFadeTimeOptions
CameraSetFacingOptions
CameraSetLocationOptions
CameraSetPosOptions
CameraSetRotOptions
DefinitionModifier
DimensionLocation
Enchantment
EntityApplyDamageByProjectileOptions
EntityApplyDamageOptions
EntityDamageSource
EntityDataDrivenTriggerEventOptions
EntityEffectOptions
EntityEventOptions
EntityFilter
EntityHitInformation
EntityQueryOptions
EntityQueryScoreOptions
EntityRaycastHit
EntityRaycastOptions
ExplosionOptions
ItemCustomComponent
MusicOptions
PlayAnimationOptions
PlayerSoundOptions
ProjectileShootOptions
RawMessage
RawMessageScore
RawText
RGB
RGBA
ScoreboardObjectiveDisplayOptions
ScriptEventMessageFilterOptions
StructureCreateOptions
StructurePlaceOptions
TeleportOptions
TitleDisplayOptions
Vector2
Vector3
VectorXZ
WorldSoundOptions

Variables

HudElementsCount
HudVisibilityCount
MoonPhaseCount
system
TicksPerSecond
world