-
Title APIs
Controls text displayed on the screen and the visibility of a HUD element.
-
HUD APIs
Controls text displayed on the screen and the visibility of a HUD element.
-
Place Feature APIs:
Places predefined features in the world, such as trees, structures, or other world generation elements.
-
Entity Properties APIs
Manages are extra pieces of data that further define an entity, such as how it appears or behaves. Entity Property values are always persisted through saving and loading.
- Entity.getProperty
- Entity.setProperty
- Entity.resetProperty
- Player.getProperty
- Player.setProperty
- Player.resetProperty
- Player.setPropertyOverrideForEntity
- Player.removePropertyOverrideForEntity
- Player.clearPropertyOverridesForEntity
- EntityQueryPropertyOptions (Target Selector for Entity Properties APIs)
-
Game Difficulty APIs
Sets or queries the difficulty level (peaceful, easy, etc.).
-
Jigsaw Structure APIs
Construct large structures from smaller sections using jigsaws.
-
Structure APIs
Save and load structures without having to use structure blocks.
-
Dynamic Property APIs
Save and load persist data within a Minecraft world, accessible only by scripts for each behaviour pack.
- ContainerSlot.setDynamicProperty
- Entity.setDynamicProperty
- ItemStack.setDynamicProperty
- World.setDynamicProperty
- ContainerSlot.setDynamicProperties
- Entity.setDynamicProperties
- ItemStack.setDynamicProperties
- World.setDynamicProperties
- ContainerSlot.getDynamicProperty
- Entity.getDynamicProperty
- ItemStack.getDynamicProperty
- World.getDynamicProperty
- ContainerSlot.getDynamicPropertyTotalByteCount
- Entity.getDynamicPropertyTotalByteCount
- ItemStack.getDynamicPropertyTotalByteCount
- World.getDynamicPropertyTotalByteCount
- ContainerSlot.getDynamicPropertyIds
- Entity.getDynamicPropertyIds
- ItemStack.getDynamicPropertyIds
- World.getDynamicPropertyIds
- ContainerSlot.clearDynamicProperties
- Entity.clearDynamicProperties
- ItemStack.clearDynamicProperties
- World.clearDynamicProperties
-
Scoreboard APIs
Manages and displays scoreboard objectives and their scores.
-
Custom Command APIs
Implements custom commands in script.
-
Custom Components APIs
Define and store various properties in JSON to functionality using scripting across blocks and items.
- ItemCustomComponent
- ItemCustomComponentInstance
- BlockCustomComponent
- BlockCustomComponentInstance
- BlockComponentRegistry.registerCustomComponent
- ItemComponentRegistry.registerCustomComponent
- BlockCustomComponentInstance.customComponentParameters
- CustomComponentParameters
- ItemCustomComponentInstance.customComponentParameters
-
Camera APIs
-
Input Permission APIs
-
Performance Watchdog APIs
-
Enchantment APIs
- Enchantment
- EnchantmentType
- EnchantmentTypes
- ItemEnchantableComponent.removeEnchantment
- ItemEnchantableComponent.removeAllEnchantments
- ItemEnchantableComponent.hasEnchantment
- ItemEnchantableComponent.getEnchantment
- ItemEnchantableComponent.getEnchantments
- ItemEnchantableComponent.canAddEnchantment
- ItemEnchantableComponent.addEnchantment
- ItemEnchantableComponent.addEnchantments
-
Input APIs
Script APIs to detect player input & modes.
- InputInfo
- Player.inputInfo
- PlayerInputModeChangeAfterEvent.previousInputModeUsed
- PlayerInputPermissions
- WorldAfterEvents.playerInputPermissionCategoryChange
- PlayerInputPermissionCategoryChangeAfterEvent
- WorldAfterEvents.playerInputModeChange
- PlayerInputModeChangeAfterEvent
- WorldAfterEvents.playerButtonInput
- PlayerButtonInputAfterEvent
- PlayerInputModeChangeAfterEvent.newInputModeUsed
- InputInfo.lastInputModeUsed
- InputEventOptions
- PlayerButtonInputAfterEvent.newButtonState
- InputInfo.getButtonState
- InputInfo.getMovementVector
-
Particle APIs
-
Liquid APIs
- PotionOptions.liquid
- EntityProjectileComponent.liquidInertia
- AimAssistPresetSettings.setLiquidTargetingItems
- Block.isLiquid
- Potions.getPotionLiquidType
- EntityFloatsInLiquidComponent
- JigsawPlaceOptions.liquidSettings
- JigsawStructurePlaceOptions.liquidSettings
- ItemPotionComponent.potionLiquidType
- PotionLiquidType
- Block.isLiquidBlocking
- BlockPermutation.isLiquidBlocking
- BlockRaycastOptions.includeLiquidBlocks
- EntityRaycastOptions.includeLiquidBlocks
- AimAssistPreset.getLiquidTargetingItems
- AimAssistPresetSettings.getLiquidTargetingItems
- Block.canContainLiquid
- BlockPermutation.canContainLiquid
- Block.canBeDestroyedByLiquidSpread
- BlockPermutation.canBeDestroyedByLiquidSpread
- Block.liquidSpreadCausesSpawn
- BlockPermutation.liquidSpreadCausesSpawn
- Block.liquidCanFlowFromDirection
-
Device Info APIs
-
Hardcore Mode APIs
-
Player Interact APIs
-
Redstone APIs
-
Block / Item / Player Inventory APIs
- BlockComponentTypes.Inventory
- EntityComponentTypes.Inventory
- ItemComponentTypes.Inventory
- ItemLockMode.inventory
- PlayerInventoryType.Inventory
- EntityInventoryComponent.inventorySize
- PlayerInventoryItemChangeAfterEvent.inventoryType
- InventoryItemEventOptions.inventoryType
- PlayerInventoryType
- WorldAfterEvents.playerInventoryItemChange
- PlayerInventoryItemChangeAfterEvent
- PlayerCursorInventoryComponent
- ItemInventoryComponent
- EntityInventoryComponent
- EntityComponentTypes.CursorInventory
- BlockInventoryComponent
- GameRule.KeepInventory
- GameRules.keepInventory
- InventoryItemEventOptions
-
Player Emote APIs
-
Game Rule APIs
-
GameMode APIs
- GameMode
- EntityFilter.gameMode
- Player.setGameMode
- PlayerGameModeChangeBeforeEvent
- PlayerGameModeChangeBeforeEventSignal
- PlayerGameModeChangeAfterEvent
- PlayerGameModeChangeAfterEventSignal
- Player.getGameMode
- PlayerGameModeChangeAfterEvent.toGameMode
- PlayerGameModeChangeBeforeEvent.toGameMode
- WorldAfterEvents.playerGameModeChange
- WorldBeforeEvents.playerGameModeChange
- PlayerGameModeChangeAfterEvent.fromGameMode
- PlayerGameModeChangeBeforeEvent.fromGameMode
- EntityFilter.excludeGameModes
-
Notifications
You must be signed in to change notification settings - Fork 0
Minecraft scripting APIs index
License
bot174/minecraft-scripting-apis
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
 |  | |||
 |  | |||
Repository files navigation
About
Minecraft scripting APIs index
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published