promotional bannermobile promotional banner

ShapeGen

Additional shapes for any block, including modded ones

ShapeGen

Features

  • Adds a panel (vertical slab), a step and a pole for every slab block in the game, including slabs added by other mods, no addons required
  • Add slabs and stairs for any block (off by default)
  • All generated shapes are visually and functionally identical to the original block, and are placed next to it in creative tabs
  • Smaller shapes merge into larger ones when placed together
  • Shapeless crafting recipes convert between slab ↔ panel and step ↔ pole
  • Crafting recipes for steps and poles using 3 slabs
  • Stonecutter recipes for all shapes
  • Improved stonecutter - cuts wood and every other block with slabs or stairs, converts between variants of the same block, cuts processed blocks back down and recycles stairs, doors, trapdoors and fences
  • Rebalanced block recipes - crafting and stonecutter amounts for stairs, buttons, pressure plates, trapdoors, doors, fences, fence gates and signs match the amount of material they use
  • Missing block recovery - loading a world after disabling shapes replaces the missing blocks with the closest available shape instead of removing it

Configuration

ShapeGen uses Fzzy Config for configuration. It is not synced between client and server. In multiplayer, ensure all players have the same configuration, or they may not be able to connect. Copy the server's config/shapegen/config.toml to each client.

Shape configuration

You can turn panels, steps and poles on or off, both globally and for each slab. Slab and stairs generation for full blocks is off by default - turn on Generate Slabs or Generate Stairs, then pick blocks in the block list. Both lists have "All on" and "All off" buttons for each shape. Note that generated stairs and slabs for blocks with special properties may not look or function correctly.

Improved stonecutter

The stonecutter gets recipes derived from the game's own crafting, stonecutter and smelting recipes, so they also cover modded blocks:

  • Woodcutting - logs, wood, stems and hyphae (stripped or not) and planks can be cut into every wooden block made from that wood type. Wood can be cut into logs, and anything can be cut into its stripped counterpart
  • Every block of a stonecutter family can be cut into every other block of that family and their slabs, stairs, walls, buttons and pressure plates, for example polished andesite back into andesite
  • Processed blocks can be cut back down - smelted blocks into what they were smelted from (stone into cobblestone, smooth stone into stone, deepslate into cobbled deepslate) and mossy blocks into their regular variant
  • Copper blocks can be cut into copper bars, chains, doors, trapdoors and lightning rods
  • Recycling - stairs, slabs, walls, doors, trapdoors, fences and fence gates can be cut into smaller blocks of the same material, and stairs back into full blocks

Amounts follow the crafting recipes, so the stonecutter never gives more material than crafting would. When a recipe needs more than one input item, it uses ShapeGen's extended stonecutter recipe format described below. When this option is disabled, only panels, steps and poles get stonecutter recipes, copied from the existing slab stonecutter recipes.

ShapeGen extends the stonecutter recipe format with a new shapegen:input_count field that defines the amount of the input item required to obtain the output. This means you can use this feature in your own recipes via data packs while ShapeGen is installed, simply by adding "shapegen:input_count": 3 to your recipe JSON, for example. The extended format is enabled while either this option or "Rebalanced block recipes" is enabled. The stonecutter shows how many input items a recipe needs in the recipe tooltip, and highlights recipes in red when the input slot doesn't hold enough. JEI, EMI and RRV (26.1 and newer) show the required amount in the input slots.

Rebalanced block recipes

Rebalances crafting recipes that don't make sense mathematically, like 6 planks making 4 stairs and one plank making a single button, for example. Amounts are based on the following values, measured in full blocks (for example planks):

Block Value Crafting recipe
Slab 1/2 3 blocks → 6 slabs
Stairs 3/4 6 blocks → 8 stairs
Wall 1 6 blocks → 6 walls
Button 1/4 1 block → 4 buttons
Pressure plate 1/2 2 blocks → 4 pressure plates
Trapdoor 1/2 6 blocks → 12 trapdoors
Door 1 6 blocks → 6 doors
Fence 1 4 blocks + 2 sticks → 5 fences
Fence gate 1 2 blocks + 4 sticks → 4 fence gates
Sign 1 6 blocks + 1 stick → 6 signs

Only recipes made from full blocks are changed, so metal doors, trapdoors and pressure plates keep their vanilla recipes. When "Improved stonecutter" is on, stonecutter recipes are made consistent with crafting recipes, so they match the conversion rates above.

Missing block recovery

Loading a world that contains disabled block shapes permanently replaces those blocks and items with the closest available shape, keeping facing, half and waterlogging where possible (for example a panel becomes its slab, a step becomes a pole or a slab, and a generated slab becomes the generated stairs or the original block). If no replacement exists, they become air. Enabling new block shapes in existing worlds is safe.

Resource packs

The stonecutter has been renamed to "Blockcutter" since the improved stonecutter can cut any block, not just stone-type blocks. This can be turned off by disabling the "Blockcutter" resource pack. Panels can be renamed to vertical slabs if desired by enabling the "Vertical slabs" resource pack.

ShapeGen Team

profile avatar
Owner
Grand Artisan tier icon
  • 19
    Followers
  • 36
    Projects
  • 17.7M
    Downloads
Donate

More from pajicView all