Started by
Fincone
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a dirt block and when you shoot, it places a dirt block.
I successfully done the shooting dirt block part but how do I make a dirt block as an ammo? For some reason it only features items and not blocks.
bump
bump i'm pretty sure if you search up dirt in the search box you'll get it
But it only shows items when you search, not blocks.
Try something like this: Item.getItemFromBlock(Blocks.dirt)
Oh well, I am still new to this program I guess.
But thanks for the answer @Nuparu00!