Dumpster

Dumpster

Dump registries, tags, and all you want about your game in your local files

by
2.3K Downloads
fabricquiltgame-mechanicsmanagementutility
Rent Server with this Mod

About this Mod

Dumpster

Allows you do dump, at will

  • your game's registries, with the command /dump registries
  • your game's data, including tags, recipes and more, with the command /dump data
  • more specific data, such as either tags, recipes, loot tables, etc, with the command /dump data <type>
  • both of the above, with the pure /dump command

Config

Includes a small configuration file, allowing you to set whether or not to dump the tags and/or the recipes when dumping the data. The same way, you can configure whether to dump data and/or registries upon reload or startup.
It also gives you the option to control how should the dump files be organized.

This file can be found as dumpster.properties file, in the config folder.

Server or Client

This mod has actually been thought somewhat smartly! (I surprise even myself)

So, when the mod is on the server, OP players only have the option to use the /dumpster command, which will dump the wanted data in the server's files!

And just as well, when the mod is on the client, the player will be able to use the /dumpster command without any concern of whether they are OP or not.

Last but not least, if the mod is on both the client and the server, due to Minecraft's architecture, the client-side command will be renamed /dump-client, in order to work properly.

Use cases

This mod is not meant to be used for regular gaming! It is solely intended as a handy tool for datapack, mod and modpack creators, for them to be able to know whether their game manipulations had a proper impact on the game.

Compatibility

This mod is not able to process modded recipe types by default. Thus, a compatibility layer must be implemented, either on the side of the mod adding the recipe type, or by some third-party mod that intends to add it.

How to implement compatibility

You may import this mod in your Gradle project using the Modrinth maven API, as per indicated in the documentation.

You may then implement the RecipeJsonParser interface in a class and register it as a recipe-dump entry-point as shown in the base fabric.mod.json file.

You shall also annotate it with the TargetRecipeType annotation, in order to indicate what recipe you are actually registering it for. You may as well indicate a priority value, if you want to overhaul another parser, by providing it a higher value.

And that is all you have to do.

All in all, your recipe dump class shall resemble the following (using Yarn mappings):

import com.google.gson.JsonObject;
import mc.recraftors.dumpster.recipes.RecipeJsonParser;
import mc.recraftors.dumpster.recipes.TargetRecipeType;
import net.minecraft.recipe.Recipe;

@TargetRecipeType("mymod:myrecipetype")
public class MyRecipeTypeJsonParser implements RecipeJsonParser {
    private MyRecipe recipe;

    @Override
    public JsonParser.InResult in(Recipe<?> recipe) {
        if (recipe instanceof MyRecipe myRecipe) {
            this.recipe = myRecipe;
            return RecipeJsonParser.InResult.SUCCESS;
        }
        return RecipeJsonParser.InResult.FAILURE;
    }

    @Override
    public JsonObject toJson() {
        // implement your parsing method here
    }
}

Other methods are optionally available, for in-detail functionalities, such as regrouping multiple recipes generated out of a single files, or supporting alternative recipe type IDs

Available Versions

Dumpster 1.1release
MC 1.19, 1.19.1, 1.19.2fabric
November 11, 2023
Dumpster 1.0release
MC 1.19, 1.19.1, 1.19.2fabric, quilt
October 31, 2023
Dumpster 0.9release
MC 1.19, 1.19.1, 1.19.2fabric, quilt
October 27, 2023
Dumpster 0.8release
MC 1.19, 1.19.1, 1.19.2fabric, quilt
October 16, 2023
Dumpster 0.7release
MC 1.19, 1.19.1fabric, quilt
October 15, 2023

How to Install Dumpster on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.19.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Dumpster". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricquilt

Minecraft Versions

1.19.2, 1.19.1, 1.19

Server-side

~ Optional

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Dumpster server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.19.2). You can switch loaders with one click in the panel.

Is Dumpster compatible with fabric and quilt?

Dumpster officially supports fabric, quilt for Minecraft 1.19.2, 1.19.1, 1.19. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Dumpster – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Dumpster consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Dumpster with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Optional

Supported Versions

1.19.21.19.11.19