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

Dependencies

  • @minecraft/common@1.1.0

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

Installation

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

npm i @minecraft/server@1.12.0-beta.1.21.0-stable

Index

Enumerations

Classes

BiomeType BiomeTypes Block BlockComponent BlockComponentEntityFallOnEvent BlockComponentOnPlaceEvent BlockComponentPlayerDestroyEvent BlockComponentPlayerInteractEvent BlockComponentPlayerPlaceBeforeEvent BlockComponentRandomTickEvent BlockComponentRegistry BlockComponentStepOffEvent BlockComponentStepOnEvent BlockComponentTickEvent BlockEvent BlockExplodeAfterEvent BlockExplodeAfterEventSignal BlockInventoryComponent BlockLavaContainerComponent BlockLiquidContainerComponent BlockLocationIterator BlockPermutation BlockPistonComponent BlockPotionContainerComponent BlockRecordPlayerComponent BlockSignComponent BlockSnowContainerComponent BlockStateType BlockStates BlockType BlockTypes BlockVolume BlockVolumeBase BlockWaterContainerComponent BoundingBoxUtils ButtonPushAfterEvent ButtonPushAfterEventSignal Camera ChatSendAfterEvent ChatSendAfterEventSignal ChatSendBeforeEvent ChatSendBeforeEventSignal CommandError CommandResult Component CompoundBlockVolume Container ContainerSlot DataDrivenEntityTriggerAfterEvent DataDrivenEntityTriggerAfterEventSignal Dimension DimensionType DimensionTypes Effect EffectAddAfterEvent EffectAddAfterEventSignal EffectAddBeforeEvent EffectAddBeforeEventSignal EffectType EffectTypes EnchantmentLevelOutOfBoundsError EnchantmentType EnchantmentTypeNotCompatibleError EnchantmentTypeUnknownIdError EnchantmentTypes Entity EntityAddRiderComponent EntityAgeableComponent EntityAttributeComponent EntityBaseMovementComponent EntityBreathableComponent 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 EntityIterator 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 EntityScaleComponent EntitySkinIdComponent EntitySpawnAfterEvent EntitySpawnAfterEventSignal EntityStrengthComponent EntityTameMountComponent EntityTameableComponent EntityType EntityTypeFamilyComponent EntityTypeIterator EntityTypes EntityUnderwaterMovementComponent EntityVariantComponent EntityWantsJockeyComponent ExplosionAfterEvent ExplosionAfterEventSignal ExplosionBeforeEvent ExplosionBeforeEventSignal FeedItem FeedItemEffect FilterGroup FluidContainer GameRuleChangeAfterEvent GameRuleChangeAfterEventSignal GameRules IButtonPushAfterEventSignal ILeverActionAfterEventSignal IPlayerJoinAfterEventSignal IPlayerLeaveAfterEventSignal IPlayerSpawnAfterEventSignal InvalidContainerSlotError InvalidStructureError ItemCompleteUseAfterEvent ItemCompleteUseAfterEventSignal ItemCompleteUseEvent ItemComponent ItemComponentBeforeDurabilityDamageEvent ItemComponentCompleteUseEvent ItemComponentConsumeEvent ItemComponentHitEntityEvent ItemComponentMineBlockEvent ItemComponentRegistry ItemComponentUseEvent ItemComponentUseOnEvent ItemCooldownComponent ItemCustomComponentAlreadyRegisteredError ItemCustomComponentNameError 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 MessageReceiveAfterEvent 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 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 Structure StructureManager System SystemAfterEvents SystemBeforeEvents TargetBlockHitAfterEvent TargetBlockHitAfterEventSignal Trigger TripWireTripAfterEvent TripWireTripAfterEventSignal UnloadedChunksError WatchdogTerminateBeforeEvent WatchdogTerminateBeforeEventSignal WeatherChangeAfterEvent WeatherChangeAfterEventSignal WeatherChangeBeforeEvent WeatherChangeBeforeEventSignal World WorldAfterEvents WorldBeforeEvents WorldInitializeAfterEvent WorldInitializeAfterEventSignal WorldInitializeBeforeEvent WorldInitializeBeforeEventSignal

Interfaces

Type Aliases

Variables