SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Back to NxLabs

NxLabs / Vintage Story

Crafting Table

BBy Buggi

A table to craft, keeps items if you close the UI.

Description

<p>I wanted to work on a project that forced me to learn how to do GUI's, Block Entities, custom inventories, etc so here's a Crafting Table!</p> <p>It keeps items in it's grid if you walk away or even exit the game.</p> <p>Has a little X to clear the grid and give you the items in there.</p> <p>Comes in a basic version that takes 4 sticks and a log of any wood.<br />Or an 'advanced' version that takes basalt and a few different metal ingots.<br /><br />Create your own table by using the Class and BlockEntity from my JSON's into your own custom table. Currently item placement ON the table is coded to be one voxel under the 1.0 block size. (0.9375 of a block height).<br />This is an early version so I can further tweak and update the features as time goes on.<br /><br />One thing it doesn't do, and I spent many many hours trying to figure it out, is allow you to click+drag an item stack across the grid slots to place/spread items. If someone knows HOW to enable that, or what I did wrong in my code I would gladly fix it ASAP.</p> <p>I learned a LOT from this process, and while many might say this isn't needed, I wanted something simple to learn the API.&nbsp;</p> <p>&nbsp;</p> <p>One "bug" with the tiny items on the table is if they are modeled wrong in the model editor (ie they float in there) they will float on the table. I decided to not care about this.</p> <p>Source code and issue links are active now.</p>

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.