








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
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.21, 1.21.1, 1.21.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as defCoreLib-0.3.2.jar — drop this file into the mods folder
- Download size: 753 KB
- Download link checked 24 Aug 2026 — working
These come from our own check of the pack file, not from the source page.




