Topic category: Help with Minecraft modding (Java Edition)
so i have 1 issue, 3 questions related to said issue. heres the issue im having; im making a mod and wanted to add a block to crush certain blocks into dust with timer like a furnace has. only problem is that the code isnt working to make crush the items anyways.
code: https://drive.google.com/file/d/1I4GBjoq5WWgpQPO1tIhw7VSdAZhZxkwO/view?usp=sharing
GUI: https://drive.google.com/file/d/1FGDhCs_bAvK_SdNOPwfASNPvas0R3aEM/view?usp=sharing
is there a way to fix this? also, for my 3 questions related to the issue, 1- how do you make it play a sound as its working? 2- is it possible to make the arrow and dust do the grey-to-white fill ups as seen with the bubbles and arrow of a brewing stand and(if possible) how would one do this? and 3- is it possible to make it to where i can walk away from the crusher and still have it running?
also is there a way to make a "bag" storage item that can hold items and that you can use from your hand?
1st You don't need to use wait blocks, instead make an NBT called Timer and make a new one for each recipes, then after recipe done set it to 0
2nd, if it's a block use block procedure blocks on the block management and block data tabs, not gui procedure blocks found on gui tab
3th just add a Play at x y z sound:
4th make multiple images with conditions combined with getting the nbt Timer
5th put your procedure on block tick update instead of gui open tick
6th yes, just bind the gui to the item and put it so items stay with the checkbox
ok im sorry if i annoyed you or am going to annoy you with this but... im all new to this and dont understand how nbts work.
also #6 i cant find how to bind the gui to an item
on advanced properties or smt like that
and this might help; https://youtu.be/3_VoyAS8cU8