Started by SilphCoding on Fri, 03/03/2023 - 06:12
Topic category: Help with modding (Java Edition)
Also with this how could i make a magazine so it doesnt pull it out of inventory
I'm making my first mod and with it adding a pistol. Right now it removes the ammo from my inventory when I shoot but it still shoots even if I have 0 ammo. I also have tried to make a custom magazine but I'm not sure how. I keep seeing something in a tutorial called provided itemstack but i dont know how it works. thanks!