← Назад к ресурсам

Portable Crafting

Use crafting stations (tables, smithing, anvils, stonecutters, etc) directly from your inventory.

Modrinth utility

Описание

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](https://modrinth.com/mod/inventory-tabs) > ![tabs preview](https://cdn.modrinth.com/data/qmVRzDCY/images/bba889be1d361cb9464db547c216367223c93707.png) ## 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. ```toml [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](https://modrinth.com/modpack/tinkerers-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