
Meltcaster
Allows you to melt and recast items into other items. Recipes are fully json configurable!

Description
🔥Meltcaster🔥(Initial release)
The Meltcaster is a smelter-style device used to recycle items like metal-scraps into metal bits and sometimes rare gears. It requires fuel (like charcoal) and input items (like scrap) to begin processing.
The default example recipe includes only the following input:
- metal-scraps
The recipes are fully configurable for both input and output, so feel free to make any recipe you like
To Do:
- <span style="text-decoration: line-through;">Add folder parsing to separate recipes into individual json files in a custom folder</span> DONE!
- YAML recipe parsing (for better human readibility)
🧪 Recipe Basics
Each Meltcaster Recipe defines:
-
Input Item: The item you smelt (e.g.,
metal-scraps) -
Meltcast Temperature: How hot the furnace needs to be to start processing
-
Meltcast Time: How long it takes to complete smelting
-
Outputs: What you get back, with chances per item
The initial release of this mod has a single recipe defined as follows:
Input: Metal Scraps
Meltcast Temperature: 1200 C
Meltcast Time: 60s
Outputs:
-
- Metal Bits - Group
- Chance: 100%
- Quantity: 1
- Note: Bit type is weighted roll for all metal bits in the game
- Rusty Gear
- Chance: 5%
- Quantity: 1
- Temporal Gear
- Chance: 1%
- Quantity: 1
- Metal Bits - Group
⚙️ Simple Outputs
Some recipes have simple outputs like:
-
gear-rusty– 5% chance -
gear-temporal– 1% chance
Each item has a chance defined:
- On simple outputs this is the chance for that item
- On group items this is the weighted chance for that item within it's group
🎲 Weighted Output Groups
Outputs can also be part of a group with weighted selection:
-
When the first item of a stack is processed, a random bit from the group is selected based on its weight (rarer bits have lower chances).
-
Each subsequent item will output the same selected bit until the number of items output exceeds the group roll interval defined in the recipe (16 by default).
This prevents players from "cherry-picking" rare bits by inserting one item at a time.
Weighted group rolls happen separately from non-group items, the chance defined on the group is the overall chance for entire group. Each item's chance is it's relative weight to other items within that group.
🌡️ Fuel & Temperature
-
The furnace must be ignited with fuel (like charcoal or coal).
-
It heats up gradually; once hot enough, the item starts melting.
Ratings & reviews
Sign in to leave a rating or comment.

