Перейти к содержимому
Mineforgian

Conium

Conium is a datapack and script framework for modern Minecraft, it provides very diverse features without Java coding, Conium lets you complete your mods only using datapacks.

1K загрузок11 подписчиковGPL-3.0-onlyfabric

Обновлён 5 января 2026 г. · опубликован 31 октября 2024 г.

  • Bedrock script sample

What is Conium

新世代を呼ぶハロー、声はまだ途切れないだろう、
新世界の扉を、ほら叩き続けよう!

Conium is a datapack and script framework for modern Minecraft, it provides very diverse features without Java coding, Conium lets you complete your mods only using the datapacks.

Warning

The full Conium feature is currently as 'on client' mode, the server needs to synchronize the datapacks and scripts to client but are not completed this feature now.

But the Conium scripting system can run on the server side completely, only the bedrock scripting APIs are not available on the server side now.

Requirements

Requirement Version Installs Notes
Java 21+ 21 Or higher 21 Or higher is ok
Minecraft >=1.21.11 Need 1.21.11 or higher can be use
Fabric language kotlin 1.13.5+kotlin.2.2.10!! Need Only kotlin 2.2.10 can be use
Fabric API ? Need Any version is ok

Build requirements

Conium has configured whole project, just clone the repository, and reload project then run the gradle task remapJar.

Requirement Version Notes
Java 21+ 21 Or higher
Gradle 8.14.2 8.14.2 or higher could be use
Kotlin 2.2.10!! Only 2.2.10 can be use
Fabric loom 1.13-SNAPSHOT 1.13-SNAPSHOT or other could be use
Minecraft >=1.21.11 Only 1.21.11 or higher can be use

NeoForge

About supporting of NeoForge, currently cannot be completed because the secure jar handler in NeoForge has conflict to kotlin native.

And Conium cannot remove kotlin native because scripting running needs, Conium may try to run script evaluator without NeoForge environment in the future.

Discord server

You can join ours discord server to chat with Conium community!

Data driven

See the Data driven

Conium script APIs

See the Conium scripting.

Bedrock script APIs

Not completed bedrock script APIs supports now, only framework able to run the samples.

Grammars

About TypeScript grammar, supported by structuring-translator: TypeScript supports

The MoLang support also based on structuring-translator but implemented by Conium: MoLang supports

Source Code and Contributions

Conium is built on an event-driven, context-oriented architecture with strong aspect-like capabilities, though it does not use event-sourced state semantics.

The codebase is architecturally complex and extensive. While we continuously improve documentation, navigating the source may still be challenging.

Therefore, we strongly recommend discussing your ideas with the core team before contributing. This ensures alignment with the project’s design and specifications.

Please note that pull requests submitted without prior discussion may be declined. For general inquiries, we encourage you to submit an issue tagged “question.”

Hitokoto

Conium will randomly roll a Hitokoto in console every time launching, the list of Hitokotos receives pull requests, only allow in English and Japanese, don't take other languages, don't accept nonsense sentences.

For the list, see ConiumHitokoto.kt.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.0.0-alpha14Альфа1.21.11fabric5 января 2026 г.Скачать (85.1 МБ)
1.0.0-alpha13Альфа1.21.8fabric3 сентября 2025 г.Скачать (84.7 МБ)
1.0.0-alpha12Альфа1.21.6, 1.21.7, 1.21.8fabric26 июля 2025 г.Скачать (84.7 МБ)
1.0.0-alpha11-fix1Альфа1.21.6, 1.21.7, 1.21.8fabric2 июля 2025 г.Скачать (101.6 МБ)
1.0.0-alpha11Альфа1.21.7, 1.21.8fabric2 июля 2025 г.Скачать (101.6 МБ)
1.0.0-alpha10Альфа1.21.4fabric27 марта 2025 г.Скачать (104.6 МБ)
1.0.0-alpha9Альфа1.21.4fabric9 февраля 2025 г.Скачать (121.6 МБ)
1.0.0-alpha8Альфа1.21.4fabric2 февраля 2025 г.Скачать (103.1 МБ)
1.0.0-alpha7-fixАльфа1.21.4fabric17 декабря 2024 г.Скачать (84.5 МБ)
1.0.0-alpha7Альфа1.21.4fabric16 декабря 2024 г.Скачать (84.5 МБ)
1.0.0-alpha6Альфа1.21.3fabric28 ноября 2024 г.Скачать (84.0 МБ)
1.0.0-alpha5-fix1Альфа1.21.3fabric16 ноября 2024 г.Скачать (83.4 МБ)
1.0.0-alpha5Альфа1.21.3fabric14 ноября 2024 г.Скачать (83.4 МБ)
1.0.0-alpha4Альфа1.21.3fabric8 ноября 2024 г.Скачать (83.4 МБ)
1.0.0-alpha3Альфа1.21.3fabric4 ноября 2024 г.Скачать (83.3 МБ)

Показаны последние 15 из 17 версий.

Ченджлог

1.0.0-alpha14Альфа1.21.11 · 5 января 2026 г.

Performance improves

Let events won't be triggered when no listeners requested the event.

Scripting

Use 'Cancelable' and 'NoCancelable' to prevent calling the request methods with the suffix 'Nr'.

Molang

Basic molang parsing and translating.

Minecraft

Update to '1.21.11' version.

Tech details

Add specified type of identity in metadata.
Make more generic type to the event type system for more clearing specify the next event type.
More DSL supporting.
Ordering templates orders and components orders to make more readable and maintainable.\

Bug fixes

Fix wrong effective blocks group in ConiumItemPickaxeTemplate.\

1.0.0-alpha13Альфа1.21.8 · 3 сентября 2025 г.

Events

Add event 'SERVER_CONFIGURED_CONNECTION'.

Add event 'CRAFTING_TABLE_CRAFTING'.

Add event 'CRAFTING_TABLE_CRAFTED'.

Clear event subscribers clearly.

DSL

Make (M) to M.() . Change 'break block' cascaded event from 'breaking block' to 'broken block'.

Templates

Add new template "entity_placer" and bedrock component "minecraft:entity_placer".

Bug fixes

Fix bug of null pointer exception when requesting server configured connection event.

Fix "minecraft:glint" wrongly be "glint" in template name.

Others

Shorter event metadata impl. Renamed conium bedrock templates to "Component"s.

1.0.0-alpha12Альфа1.21.6, 1.21.7, 1.21.8 · 26 июля 2025 г.

Conium event

  1. Add classical event handle way (subscriber and metadata).
  2. Add DSL style event handler
  3. Add async event handler supports

Item templates

  1. 'used_on_block_convert_to'
  2. 'consume_on_used'

Block register

  1. Early register the block before world-gen state, let blocks able to participate the world generates

Depends

  1. Remove fluxia mod, build-in the structuring translator

Bug fixes

Fix bug of infinitely loop when transforming args.

1.0.0-alpha11-fix1Альфа1.21.6, 1.21.7, 1.21.8 · 2 июля 2025 г.
  1. Fix bug of bedrock script unable to run.
  2. Fix bug of 'setTitle' invalid in 'onScreenDisplay' in bedrock script.
  3. Fix issue of 'PLAYER' arg cannot transform from arg 'ITEM_USAGE_CONTEXT'.
  4. Add 'itemUse' to WorldBeforeEvents in bedrock script.
1.0.0-alpha11Альфа1.21.7, 1.21.8 · 2 июля 2025 г.

Warning

Conium is currently as 'on client' mode, the server needs to synchronize the datapacks and scripts to client but are not completed this feature now.

Changes

Upgrade to minecraft 1.21.7 version.

1.0.0-alpha10Альфа1.21.4 · 27 марта 2025 г.

Conium event

  1. Renamed events, remove suffixes 'event' in the events list.
  2. Move more event trigger to intermediary.
  3. Add 'attachPreparation' in event context, used to pre-vary raw inputted args.
  4. Add dynamic register APIs for item, block and entity.
  5. Add more minecraft class import.
  6. Clear all event subscribes on reloading data packet

New event support

Add events support:

  1. ITEM_USE
  2. ITEM_USED
  3. RECEIVE_CHUNK
  4. RECEIVED_CHUNK

Bedrock event

  1. Add 'dimension' field to bedrock entity. (Entity#dimension)
  2. Use 'runCommand' to execute 'runCommandAsync' method. (Entity.runCommandAsync)
  3. Let bedrock entity can use raycast to get a block hit. (Entity.getBlockFromViewDirection)
  4. Make bedrock world(dimension) able to create the explosions. (Dimension.createExplosion)
  5. Renamed 'BedrockWorld' to correctly name 'BedrockDimension' to prevent ambiguity.

New event support

Add event support:

  1. itemUseBeforeEvent
  2. itemUseAfterEvent

Configuration

Add config file config/conium.json used to toggle conium features, currently toggleable: enable_debug and enable_bedrock_script.

1.0.0-alpha9Альфа1.21.4 · 9 февраля 2025 г.

Conium script

  1. Use static delegate and extend function to make minecraft methods and members remap to the meaningful name.
  2. Update fluxia version to '1.1.4-fix3'.

Bedrock script APIs

  1. Add unsubscribe method in bedrock event.
  2. Supported to after event of itemUseOn.
  3. Upgrade structuring-translator version.
  4. Let bedrock script APIs can cancel cascade events in before events.
  5. Add bedrock script APIs facade type reference.

Performance optimization

Use kotlin package indexes to import classes to script context.

Bug fixes

  1. Fix bug of unable to load bedrock APIs in typescript.
  2. Fix bug of always trigger fire extinguishing event and extinguished event when entity in rain.
1.0.0-alpha8Альфа1.21.4 · 2 февраля 2025 г.

Conium script

Event types

Add events support:

  1. ENTITY_TRY_SLEEP
  2. ENTITY_SLEEP
  3. ENTITY_WAKE_UP
  4. ENTITY_WAKED_UP
  5. ENTITY_ON_FIRE
  6. ENTITY_EXTINGUISH_FIRE
  7. ENTITY_EXTINGUISHED_FIRE
  8. ENTITY_SPRINT
  9. ENTITY_SPRINTING
  10. ENTITY_STOP_SPRINT
  11. RANDOM
  12. SERVER_RANDOM

Event args

Add event args:

  1. C_BLOCK_ENTITY

Event contexts

Now can use method 'preRequestNr' and 'requestNr' to replace 'preRequest' and 'request' to request the event context without returning a boolean value.

Data driven

Supported block templates:

  1. 'emits_redstone_power'
  2. 'emits_strong_redstone_power'
  3. 'emits_weak_redstone_power'
  4. 'enable_block_entity'
  5. 'data'
  6. 'block_entity_presets'

Supported item templates:

  1. 'ignite'
  2. 'clear_ignite'

Block entity

Supported load block entities from data driven, defined data using block template 'data' and could dynamic change values in game running by scripts.

Bug fixes

  1. Fix bug of unable to use Minecraft classes
  2. Fix bug of some useful classes not import in common init script.

Others

  1. Add hitokoto in console log
  2. Optimization performances
  3. Update libraries version
  4. Add discord server in modmenu.
  5. Replaced homepage to modrinth.

Комментарии

Загружаем…