MCPcopy Index your code
hub / github.com/Xiao-MoMi/craft-engine

github.com/Xiao-MoMi/craft-engine @26.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release 26.7 ↗ · + Follow
16,535 symbols 57,998 edges 2,233 files 229 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

logo CraftEngine

Ask DeepWiki doc

📌 About CraftEngine

CraftEngine works as a next-generation solution for custom content implementation.

Build

🐚 Command Line

  • Start terminal and change directory to the project folder.
  • Execute "./gradlew build" and get the artifact under /target folder.

💻 IDE

  • Import the project and execute gradle build action.
  • Get the artifact under /target folder.

Inspired Projects

This project draws inspiration and refers to some implementations from the following open-source works: + Paper + LuckPerms + Fabric + packetevents + DataFixerUpper + ViaVersion

Core Dependencies

The implementation relies on these fundamental libraries: + cloud-minecraft + adventure + byte-buddy

How to Contribute

🔌 New Features & Bug Fixes

If your PR is about a bug fix, it will most likely get merged. If you want to submit a new feature, please make sure to contact me in advance on Discord. The code you contribute will be open-sourced under the GPLv3 license. If you prefer a more permissive license(MIT), you can specifically indicate it at the top of the file.

🌍 Translations

  1. Clone this repository.
  2. Create a new language file in: /common-files/src/main/resources/translations
  3. Once done, submit a pull request to dev branch for review. We appreciate your contributions!

Differences Between Versions

Version Official Support Exclusive Features Dev Builds
Community Edition ❌ No ❌ No ❌ No
Premium Edition ✔️ Yes ✔️ Yes ✔️ Yes

💖 Support the Developer

Help sustain CraftEngine's development by going Premium!

CraftEngine API

repositories {
    maven("https://repo.momirealms.net/releases/")
}
dependencies {
    compileOnly("net.momirealms:craft-engine-core:26.6")
    compileOnly("net.momirealms:craft-engine-bukkit:26.6")
    compileOnly("net.momirealms:craft-engine-adventure:26.6") // import this if you want to use the adventure library shaded by CraftEngine
}

Extension points exported contracts — how you extend this code

Condition (Interface)
(no doc) [49 implementers]
bukkit/proxy/src/main/java/net/momirealms/craftengine/proxy/MinecraftPredicate.java
BiomeRemapper (Interface)
(no doc) [10 implementers]
bukkit/src/main/java/net/momirealms/craftengine/bukkit/plugin/network/listener/game/LevelChunkWithLightListener.java
AxiomCustomDisplayAPIProxy (Interface)
(no doc) [85 implementers]
bukkit/compatibility/src/main/java/net/momirealms/craftengine/bukkit/compatibility/axiom/AxiomCustomDisplayAPIProxy.java
SchedulerTask (Interface)
(no doc) [10 implementers]
core/src/main/java/net/momirealms/craftengine/core/plugin/scheduler/SchedulerTask.java
CraftBlockStatesProxy (Interface)
(no doc) [8 implementers]
bukkit/proxy/src/main/java/net/momirealms/craftengine/proxy/bukkit/craftbukkit/block/CraftBlockStatesProxy.java
EntityTypeHandler (Interface)
(no doc) [11 implementers]
bukkit/src/main/java/net/momirealms/craftengine/bukkit/plugin/network/listener/game/AddEntityListener.java
PluginLogger (Interface)
(no doc) [6 implementers]
core/src/main/java/net/momirealms/craftengine/core/plugin/logger/PluginLogger.java
RegistryOpsProxy (Interface)
(no doc) [85 implementers]
bukkit/proxy/src/main/java/net/momirealms/craftengine/proxy/minecraft/resources/RegistryOpsProxy.java

Core symbols most depended-on inside this repo

of
called by 1088
core/src/main/java/net/momirealms/craftengine/core/util/Key.java
add
called by 864
bukkit/proxy/src/main/java/net/momirealms/craftengine/proxy/minecraft/world/phys/Vec3Proxy.java
put
called by 850
bukkit/proxy/src/main/java/net/momirealms/craftengine/proxy/minecraft/nbt/CompoundTagProxy.java
get
called by 699
bukkit/proxy/src/main/java/net/momirealms/craftengine/proxy/minecraft/nbt/ListTagProxy.java
get
called by 529
core/src/main/java/net/momirealms/craftengine/core/plugin/context/text/TextProvider.java
ce
called by 446
core/src/main/java/net/momirealms/craftengine/core/util/Key.java
logger
called by 429
core/src/main/java/net/momirealms/craftengine/core/plugin/Plugin.java
of
called by 429
core/src/main/java/net/momirealms/craftengine/core/util/Cancellable.java

Shape

Method 13,442
Class 2,183
Interface 808
Enum 87
Function 15

Languages

Java100%
Kotlin1%

Modules by API surface

core/src/main/java/net/momirealms/craftengine/core/plugin/config/Config.java216 symbols
core/src/main/java/net/momirealms/craftengine/core/util/FriendlyByteBuf.java210 symbols
bukkit/src/main/java/net/momirealms/craftengine/bukkit/plugin/user/BukkitServerPlayer.java198 symbols
core/src/main/java/net/momirealms/craftengine/core/entity/player/Player.java110 symbols
bukkit/proxy/src/main/java/net/momirealms/craftengine/proxy/minecraft/world/level/block/state/BlockBehaviourProxy.java107 symbols
core/src/main/java/net/momirealms/craftengine/core/util/ConcurrentChainedUUID2ReferenceHashTable.java106 symbols
bukkit/src/main/java/net/momirealms/craftengine/bukkit/block/entity/DrawerBlockEntityController.java96 symbols
core/src/main/java/net/momirealms/craftengine/core/item/Item.java94 symbols
core/src/main/java/net/momirealms/craftengine/core/pack/AbstractPackManager.java89 symbols
bukkit/src/main/java/net/momirealms/craftengine/bukkit/plugin/injector/BlockGenerator.java87 symbols
core/src/main/java/net/momirealms/craftengine/core/item/AbstractItem.java86 symbols
core/src/main/java/net/momirealms/craftengine/core/entity/furniture/behavior/FurnitureController.java80 symbols

For agents

$ claude mcp add craft-engine \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact