All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Data Driven Composter

Data Driven Composter

by Ampflower • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Data Driven Composter

A server-sided composter mod that allows you to customise what you can feed to composters for Fabric & Quilt!

How to Use?

Requirements:

Install Minecraft 1.18.2 or 1.19, DDC and your mod loader of choice, then customise the config at config/ddc.json. No client mod is required, but you may install to use it in single player or with LAN.

Config - ddc.json

Example configuration

Note: By default, the entire registry will be present.

Tip: If you would like to hot reload the configuration without restarting the server, use the default /reload command built into the game. DDC will automatically load in your changes live without any other intervention, including restoring the vanilla registry if you want.

{
   // Whether to disable vanilla registration. Set this to true if
   // you'd like to define your own values for vanilla's stuff.
   "disableDefaultVanillaRegistry": false,
   // Whether to disable the datapack registry. Set this to true if
   // you'd like to define your own values for vanilla's stuff, or
   // disable modded entries on Quilt.
   "disableDatapackRegistry": false,
   // Whether registration should be logged or not.
   // Disabled by default due to it spamming stack traces for each call.
   "logAllDirectRegistration": false,
   // Items that can be composted in a composter.
   // Identifier -> Chance
   "compostableItems": {
      "minecraft:glow_lichen": 0.5,
      "minecraft:poppy": 0.65,
      "minecraft:cocoa_beans": 0.65,
      "minecraft:azalea": 0.65,
      "minecraft:nether_wart": 0.65,
      ...
   }
}
  • disableDefaultVanillaRegistry
    • true: Disables Vanilla registration.
    • false: Keep Vanilla registration.
  • disableDatapackRegistry
    • true: Disables datapack registration.
    • false: Keep datapack registration.
  • logAllDirectRegistration: Debugging option.
    • true: Logs all registrations to the composter block.
    • false: Does not log any registration to the composter block.
  • compostableItems
    • minecraft:...: Identifier for the item to allow composting of.
    • 0 - 1: Chance between 0 & 1 for an item to add to the composter.

Planned Features

  • [ ] Customisable returns with chance
  • [ ] QSL's RegistryEntryAttachment for more dynamic initialisation.
  • [ ] Custom Datapack Recipe type to allow for datapacks to register compostable items.

How to Install Data Driven Composter (Mod)

Data Driven Composter by Ampflower is verified for Fabric, Quilt across Minecraft versions 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1 (latest release: 0.2.2+mc.1.19.3, file size: 190 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1) and platform (Fabric, Quilt).
  2. Make sure you have the compatible loader or environment installed for Fabric, Quilt.
  3. Move the downloaded Data Driven Composter file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.x 1.19.x
Fabric Quilt
last yr. 1
1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.19.3
Fabric Quilt
last yr. 1
1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.19.3
Fabric Quilt
last yr. 1
1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.19 1.18.2
Fabric Quilt
last yr. 1
Changes since v0.2.1

  • Correctly JiJ Lifecycle Events

  • 1.20 note: You will need to download the latest Fabric API.*
Changes since v0.1.1

  • Correctly JiJ Lifecycle Events
Changes since v0.2.0

  • Fix QSL quirk with it reregistering Vanilla on reload
Changes since v0.1.0

  • Fix QSL quirk with it reregistering Vanilla on reload
  • Note: This will not run on <=1.19.2*

Changes since v0.1.0

  • Updated to 1.19.3
Changes since v0.0.0

  • Updated dependencies
  • Rewrite initialisation logic for better mod compatibility
  • Add configuration hot-loading on /reload
  • Clean-up repository

Initial release of Data Drive Composter for 1.18.2 and 1.19.
Data Driven Composter Icon
Download Data Driven Composter
Select game version
Select platform