Mods / Crafting Table
Author: Buggi
Side: Both
Created: May 30th 2022 at 9:08 PM
Last modified: Feb 16th at 9:20 PM
Downloads: 6272
Follow Unfollow 102
Latest file for v1.19.3:
CraftingTable-1.19-0.6.zip
1-click install
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!
It keeps items in it's grid if you walk away or even exit the game.
Has a little X to clear the grid and give you the items in there.
Comes in a basic version that takes 4 sticks and a log of any wood.
Or an 'advanced' version that takes basalt and a few different metal ingots.
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).
This is an early version so I can further tweak and update the features as time goes on.
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.
I learned a LOT from this process, and while many might say this isn't needed, I wanted something simple to learn the API.
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.
Source code and issue links are active now.
Version | For Game version | Downloads | Release date | Changelog | Download | 1-click mod install* |
---|---|---|---|---|---|---|
v0.6.0 | 2519 | Feb 16th at 9:20 PM | Show | CraftingTable-1.19-0.6.zip | Install now | |
v0.5.0 | 579 | Jan 26th at 12:02 AM | Show | CraftingTable-1.19-0.5.zip | Install now | |
v0.4.0 | 1454 | Apr 10th 2023 at 8:15 PM | Show | CraftingTable-1.18-0.4.zip | Install now | |
v0.3.0 | 823 | Aug 31st 2022 at 8:31 PM | Show | CraftingTable_v0.3.0.zip | Install now | |
v0.2.1 | 504 | Jun 7th 2022 at 9:05 PM | Show | CraftingTable-v0.2.1.zip | Install now | |
v0.2.0 | 393 | May 30th 2022 at 9:08 PM | Show | CraftingTable-v.0.2.0.zip | Install now |
fun mod! Just fyi it does load up fine in 1.20 RC, but crashes the client when the table is right-clicked. Not a huge deal as I am mostly using it for decoration...but there's always the chance I right-click it accidentally. lol
Wow that was a lot of mods you had loaded there... @_@
The game crashes when trying to use Xandus' Inventory Tweaks to ctrl-click items into the crafting tables added by this mod. Here's the crash log.
I haven't figured out how this system works or how the game prioitizes some inventories over others.
Nor have I figured out why you can't click-drag with stacks to populate the slots, according to Tyron it should 'just work' but it doesn't.
Hey there! Excellent mod, I was hoping to use this to alleviate an issue in vanilla - I wanted to be able to shift-click items from the inventory into the crafting table!
I know you haven't posted to this project in a long time, but would it be possible to add this feature? You can shift-click items in creative to the crafting table, but I was unsuccessful in vanilla survival.
Thanks!
Screwy Can you test the new version and see if the issue you ran into still exists?
The new version prevents more than one person from opening the GUI. If person A has it open and person B tries to open the GUI it should block it as the GUI only holds one reference to the player using the block.
It's MUCH harder to debug a server instance than a single player instance.
Is there any log entry as to the disconnect? Server-side and/or client side. It's hard to debug the issue without knowing what caused it.
As for orientation, that's a lot harder then you think as I have to dynamically generate the mesh when the table is in use and I've only just started learning how all this affects things.
Buggi
We found a major issue on our server. When the crafting table has still something on it an you try to break the block, the client will disconnect.
Even more... It's a duplication bug, as you get the crafting table placed in your hot bar, while the block you tried to break is still there.
Hope you can fix this soon, before this gets a thing on servers using your (otherwise wonderful) mod.
Another thing I want to ask is, would it be possible to make the orientation of the crafting grid relative to the orientation you placed the block in, rather than making it a strict north orientation?
I hope the workbench eventually gets a function like this.
Updated to 1.18
Yes it works in MP.
AndyDaze
Hi love love the mod, will be showing it off in my next vintage story episode, trust me as someone who does regular crafting of different items and building blocks this has been needed for a while, does this work ok in multi player servers as i may suggest this for the next season of Rusty Gears
This mod is causing a crashing on the latest version when trying to search within the inventory search field.
Interesting ideas! Will have to think about ways to save recipes...
Buggi
I didn`t try the mod yet, but it can have his purpose I guess, I will try it out.
I have some idea of how you could make the Crafting Table mod more useful, since the player inventory already have a crafting table in it. Since the Basic Crafting table is pretty cheap to make, I would not add any functionality on it. Many thing is possible, some will clearly ask more work than other, but could be really nice.
I hope thsoe suggestion can help you expanding your mod feature with the time.
Hi!! Thank you so much for this, I'm excited to try it out! I just started playing, but I have an absolutely atrocious short term and working memory, and I will often forget what a recipe was between looking it up in the guide book and then opening up my inventory. I want to play by using the wiki as little as I can, so being able to put things down and come back to them like we can with knapping and pottery is a massive accessibility feature for me!
Figures someone would find graphical bugs the instant I publish it :)