Started by
Rono's Creations
on
Topic category: Help with Minecraft modding (Java Edition)
I have a problem, I tried to replace the drop of stone to drop the rock and everything worked, only with the silk touch did not drop anything, do someone knows how to fix that?
Use the loot table and make it ignore silk touch.
yes i know, but i need to drop rock without silk touch and with silk touch normal stone
can i do this somehow?
Hello MysakM in your block settings in the "Triggers" tab, make a procedure in the "When Player Destroys This Block" section and put > This < ...In the Spawn Gem part put your custom Rock item, now this procedure will run everytime you break your custom block and it will determine if you have silk touch or not, if you do not have it it will spawn your Rock, and if you have silk touch it will give you the block. Also make sure in the "Properties" you don't have the block dropping itself, that will conflict with the procedure.
Maybe I'm just stupid, but I don't understand how to add loot table to a block (luckily I don't need it tho).
Try it like this, I had this problem too, but then I managed
I hope I helped you! <3
Try it like this, I had this problem too, but then I managed
Procedure!! ----- Image Link http://prntscr.com/113e80h
Don't forget to leave it with "Air Block", because if you put your "Normal Stone" it will be dropped twice --- Image Link http://prntscr.com/113e9dc
I hope I helped you! <3