Charset Crafting Mod — Reference
Cauldron Crafting
The Cauldron module completely replaces the vanilla Minecraft cauldron with a significantly more advanced version. While it retains all vanilla functionality, it introduces several new mechanics:
- Fluid Storage: Acts as a one-bucket (1000 mB) tank that can hold any fluid, including lava and modded liquids.
- Item Dyeing: Allows for dyeing leather armor, wool, and even dropped item entities by right-clicking them into dyed water.
- Tipped Arrows: Create tipped arrows by dipping them into cauldrons filled with lingering potions.
- Hazardous Fluids: Mobs that fall into a cauldron filled with lava will take fire damage.
- Bottle Logic: Configurable water bottle sizes (defaulting to 250 mB) allow for more precise fluid management.
Crafting Mechanics
Recipes in the cauldron can consume fluids or simply require their presence. Some recipes may even transform the fluid inside (e.g., turning water into lava upon completion).
Pocket Crafting
The Pocket Crafting Table is a handheld tool that provides a full 3x3 crafting grid without requiring a block to be placed in the world.
Usage and Shortcuts
To use the table, simply right-click while holding it or press the 'C' key (default) if it is in your hotbar or the first 18 slots of your inventory. The interface includes several utility buttons: * Rotate: Spins the outer 8 items in the grid clockwise. * Balance: Evenly distributes item stacks across the grid. * Clear: Returns all items in the grid to your inventory.
Crafting Recipe
| Input | Pattern | Result |
|---|---|---|
| 1x Crafting Table, 1x Stick | Vertical Column | 1x Pocket Crafting Table |
Compression Crafting
Compression crafting is an in-world automation system that uses physical force to combine items. It requires the Compression Crafter block and Barrels (from the Charset Storage module).
Multiblock Setup
- The Grid: Arrange Barrels in a 3x3 (or smaller) vertical or horizontal grid. The facing of the barrel determines the "front" of the crafting slot.
- The Crafters: Place Compression Crafters facing into the barrels from the sides.
- Activation: Apply a redstone signal to a Compression Crafter. This will trigger the compression, consuming the items inside the barrels and outputting the result into any adjacent inventory.
This system is ideal for automating the creation of storage blocks (like Iron Blocks or Glowstone) without a traditional GUI-based autocrafter.
CraftTweaker Integration
Charset provides extensive support for CraftTweaker, allowing pack makers to define custom cauldron recipes and manage block functionalities.
Cauldron Recipes
// Add a recipe: Input, Fluid (mB), Output
mods.charset.Cauldron.addItemRecipe(<minecraft:dirt>, <liquid:water> * 100, <minecraft:diamond>);
// Add a recipe where fluid is NOT consumed (set boolean to false)
mods.charset.Cauldron.addItemRecipe(<minecraft:dirt>, <liquid:water> * 100, <minecraft:diamond>, false);
// Add a recipe that transforms the fluid: Input, Input Fluid, Output, Output Fluid
mods.charset.Cauldron.addItemFluidRecipe(<minecraft:dirt>, <liquid:water> * 500, <minecraft:diamond>, <liquid:lava> * 500);
Functionality Registry
You can whitelist or blacklist blocks from specific Charset mechanics using the Registry.
// Allow stone to be carried
mods.charset.Registry.allow("carry", "minecraft:stone");
// Forbid a specific block from being locked
mods.charset.Registry.forbid("lock", <minecraft:chest>);
Material Registry
Used for internal block relations (e.g., for reskinning barrels or other modular blocks).
// Register a block as a specific material type
mods.charset.MaterialRegistry.registerTypes(<minecraft:stone>, "block", "stone");
// Register a relation (e.g., Stone to Stone Brick)
mods.charset.MaterialRegistry.registerRelation(<minecraft:stone>, "brick", <minecraft:stonebrick>);