90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
portable crafting preview
Open crafting screens from your inventory.
Works server-side, with extra polish when installed on the client.
Requires Connector and FFAPI on (neo)forge.

Server Features

  • Open workstation blocks by right-clicking them in the inventory (or using them from the hotbar)
  • Supports crafting, smithing, stonecutting, grinding, looms, cartography tables, and anvils by default
  • Supports all vanilla and most modded non-container workstations via the config (see below)

Mixed-Side Features

  • Opening workstations is seamless, with no ping-dependent "ghost pickup" while the screen is loading
  • Quickly open your crafting table via a hotkey (Default: v)
  • Swap to portable workstations using Inventory Tabs

tabs preview

Modpack Configuration

You add and change which workstations are portable via config/portable_crafting.toml.
Blocks must open the specified screen handler on use, or this will not work.

[blockItemScreens]
	"minecraft:crafting_table" = "minecraft:crafting"
	"...block_item" = "...screen_handler"

[blockItemTags]
	"c:player_workstations/crafting_tables" = "minecraft:crafting_table"
	"...item_tag" = "...block_item_from_above"

Modded non-container workstations that use vanilla code conventions will work. Others crash, so test as you go.
The config is synchronised to the client when mixed-side to display tabs and apply seam-hiding changes.

Incompatible Blocks

Don't file issues for modded workstations! We can't fix them on our side.
To function as portable workstations, blocks must:

  • Have no state/container, i.e. items cannot be left in them
  • Override getMenuProvider / createScreenHandlerFactory to open their screen
  • Have a screen that doesn't rely on the existence of a block at the position provided at any time
  • Have a screen that can be uniquely identified by a screen handler type

Afterword

All mods are built on the work of many others.

This mod specifically is inspired by a similar feature from Svenhjol's Charm - one of the few implementations of portable crafting grids that didn't introduce new items at the time.

We made this mod for Tinkerer's Quilt - our modpack about ease of play and vanilla content.


Tinkerer's: Quilt - Smithing - Origins - Statures - HUD
Loveletters: Tabs - Atlas - Portable Crafting - Drogstyle
Others: Switchy - Crunchy - Starcaller

Project members

sisby-folk

Co-Authors

Details

Licensed LGPL-3.0-only
Published 3 years ago
Updated 4 months ago