Conium is a datapack and script framework for the modern Minecraft, it provides very diverse features without Java coding, Conium lets you complete your mods only using datapacks.
Requirement | Version | Installs | Notes |
---|---|---|---|
Java | 21!! | Need | Only 21 can be use |
Minecraft | 1.21.4!! | Need | Only 1.21.4 can be use |
Fabric language kotlin | 1.13.0+kotlin.2.1.0!! | Need | Only kotlin 2.1.0 can be use |
Fabric API | ? | Need | Any version is ok |
Fluxia | 1.1.0-fix2!! | Unnecessary | Built-in contents translator |
Conium has configured whole project, just clone the repository, and reload project then run the gradle task remapJar
.
Requirement | Version | Notes |
---|---|---|
Java | 21!! | Only 21 can be use |
Gradle | 8.11 | 8.11 or other could be use |
Kotlin | 2.1.0!! | Only 2.1.0 can be use |
Fabric loom | 1.9.2 | 1.9.2 or other could be use |
Minecraft | 1.21.4!! | Only 1.21.4 can be use |
See the Data driven
See the Conium scripting.
Not completed bedrock script APIs supports now, only framework able to runs the sample.
About typescript grammar, supported by structring-translator
or called fluxia
: Typescript supports
Currently, there's APIs is available:
In context:
Name | Conium API type | Gametest API type | Status |
---|---|---|---|
system | AbstractBedrockSystem | System | Alpha (Unstable) |
world | AbstractBedrockWorld | World | Alpha (Unstable) |
In APIs:
- world
- AbstractBedrockWorld impl by BedrockWorld as known as 'World' in SAPI
- player
- BedrockPlayer as known as 'Player' in SAPI
- delegate
- BedrockPlayerDelegate as known as 'Player[]' in SAPI
- screen
- BedrockOnScreenDisplay as known as 'ScreenDisplay' in SAPI
- delegate
- BedrockPlayer as known as 'Player' in SAPI
- player
- dimension
- BedrockDimensionLocation as known as 'DimensionLocation' in SAPI
- AbstractBedrockWorld impl by BedrockWorld as known as 'World' in SAPI
- system
- AbstractBedrockSystem impl by BedrockSystem as known as 'System' in SAPI
- item
- stack
- BedrockItemStack as known as 'ItemStack' in SAPI
- stack
- script
- BedrockScriptAnonymousObjectMap as known as 'anonymous object' in Javascript
- event
- BedrockBeforeEvents as known as 'WorldBeforeEvents' in SAPI
- context
- BedrockEventContext
- item
- use
- BedrockItemUseOnEventContext as known as 'ItemUseOnBeforeEvent' and 'ItemUseOnAfterEvent' in SAPI
- use
- context
- item
- use
- BedrockItemUseOnBeforeEvent as known as 'ItemUseOnBeforeEventSignal' in SAPI
- use
- BedrockBeforeEvents as known as 'WorldBeforeEvents' in SAPI
By bedrock script APIs:
- world
fun
getPlayers(): BedrockPlayerDelegateoperator fun
get: BedrockPlayer(index: Int)
val
onScreenDisplay: BedrockOnScreenDisplayfun
setTitle(title: String, properties: BedrockScriptAnonymousObjectMap)fun
updateSubtitle(title: String)
val
eventsBefore =get()
: BedrockBeforeEventsval
itemUseOn: BedrockItemUseOnEventfun
subscribe(action: (BedrockItemUseOnEventContext) -> Unit)
- system
fun
runInterval(callback: () -> Unit, tickInterval: Int): IntegerReceptaclefun
clearRun(runId: IntegerReceptacle)