How wickidcow/slimefun-legacy works
Slimefun Legacy is a server-side Minecraft plugin that adds modpack-style gameplay while preserving legacy worlds and addon entry points. Players interact with custom items and machines; the plugin provides automation, cargo, energy, reactors, magic, and a guide experience. Persistent block and profile data underpin gameplay, while addon compatibility and optional external integrations support server operators. The README documents gameplay breadth; sampled source supports the storage, guide, diagnostics, and compatibility details shown here, but not the wiring of every gameplay subsystem.
Main entry points: SlimefunExtended.java Slimefun Legacy · controller Storage controllers · LegacyRecipeFillManager.java Guide and recipe fill · adapter Storage adapters
Components 21
Gameplay
- Slimefun Legacy
src/main/java/city/norain/slimefun4/SlimefunExtended.java - Custom items
src/main/java/io/github/thebusybiscuit/slimefun4/api/items - Machines and automation
src/main/java/io/github/thebusybiscuit/slimefun4/implementation - Cargo networks
src/main/java/io/github/thebusybiscuit/slimefun4/implementation - Energy and reactors
src/main/java/io/github/thebusybiscuit/slimefun4/implementation - Magic and exploration
src/main/java/io/github/thebusybiscuit/slimefun4/implementation - Guide and recipe fill
src/main/java/io/github/thebusybiscuit/slimefun4/implementation/guide/enhanced/LegacyRecipeFillManager.java
Persistence
- BlockStorage API
src/main/java/me/mrCookieSlime/Slimefun/api/BlockStorage.java - Storage controllers
src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller - Storage adapters
src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/adapter - Storage integrity
src/main/java/com/xzavier0722/mc/plugin/slimefun4/storage/controller/StorageIntegrityScanner.java
Platform and addons
- Addon API
src/main/java/io/github/thebusybiscuit/slimefun4/api/addons - Platform compatibility
src/main/java/io/github/thebusybiscuit/slimefun4/api/platform/PlatformCompatibilityService.java - External integrations
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/compatibility/DefaultExternalIntegrationService.java
Operations
- Addon and item doctor
src/main/java/io/github/thebusybiscuit/slimefun4/api/diagnostics/AddonDoctor.java - Item recovery
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/stability/ItemDoctorService.java - Storage health
src/main/java/io/github/thebusybiscuit/slimefun4/core/services/runtime/DefaultStorageRuntimeService.java
Other components
- Minecraft player
- Paper server
- Configured database
- Optional server plugins
Connections 20
- Minecraft player → Slimefun Legacy: plays on
- Slimefun Legacy → Custom items: provides
- Slimefun Legacy → Machines and automation: provides
- Slimefun Legacy → Cargo networks: provides
- Slimefun Legacy → Energy and reactors: provides
- Slimefun Legacy → Magic and exploration: provides
- Minecraft player → Guide and recipe fill: uses
- Guide and recipe fill → Minecraft player: fills recipes
- BlockStorage API → Storage controllers: reads and writes
- Storage controllers → Storage adapters: persists through
- Storage adapters → Configured database: reads and writes
- Storage integrity → Storage controllers: scans and repairs
- Addon API → Slimefun Legacy: registers addons
- Slimefun Legacy → Platform compatibility: exposes capabilities
- External integrations → Optional server plugins: discovers providers
- Slimefun Legacy → External integrations: manages integrations
- Addon and item doctor → Slimefun Legacy: reports compatibility
- Item recovery → Storage controllers: repairs item data
- Storage health → Storage controllers: reads health state
- Slimefun Legacy → Paper server: runs on