Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.x
Platforms
Tags
Creators
Details
DefCoreLib
Shared core library for the def9a2a4 plugin family - a data-driven custom-block engine plus demo content. On its own it only ships the engine and some command-only demo items; other plugins build their features on top of it. See https://def9a2a4.github.io/defCoreLib-docs/
What it provides
- Custom-block engine - YAML-driven player-head blocks with states, redstone behavior, particles, light, storage, and animated display entities. In particular, the use of custom heads and display entities allows cool visuals without any mods or resource packs!
- Custom items & heads, recipe registration, and persistence (chunk scan + self-healing) that companion plugins reuse instead of reimplementing.
- Mechanism engine - turns groups of blocks into moving display entities + colliders: glue-based doors/drawbridges and mechanism minecarts.
- Recipe gating - companion plugins switch their content's recipes on by namespace, so installing one adds a coherent, craftable feature set.
- ~20 command-only demo blocks (candles, redstone/binary displays, storage barrels, alarms, spinning/pulsing decorations) - grab them with
/defcorelib give. Not meant to be useful, just there for testing the functionality.
Used by
DefCoreLib is a dependency other plugins install alongside:
- VerticalSlabs - vertical slabs
- BetterBanners - flag banners + large/huge banners
- Mechanism - rotation mechanisms, glue, mechanism minecarts
- RedstoneDisplays - redstone power indicator heads
- Pipes - item-transport pipes
Gallery
| Plugin | Preview |
|---|---|
| VerticalSlabs | ![]() |
| BetterBanners | ![]() |
| Mechanism | ![]() |
| RedstoneDisplays | ![]() |
| Pipes | ![]() |
Commands
Permission corelib.admin.
| Command | Description |
|---|---|
/defcorelib give <id> [n] |
Give a custom item (namespace:id or shorthand; give glue -> glue brush) |
/defcorelib list |
List all registered block ids |
/defcorelib colliders |
Toggle mechanism collider glow visualization |
/defcorelib cleanorphans [confirm] |
Find (and, with confirm, remove) orphaned display entities |
Requires
Nothing - this is the base plugin.
Links
- Docs & item catalog: https://def9a2a4.github.io/defCoreLib-docs/
- Repository: https://github.com/def9a2a4/defCoreLib/
- Issues: https://github.com/def9a2a4/defCoreLib/issues







