Started by
yes2snake2
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making Suspicious Stone for a Forbidden Mineshaft structure and have no idea how to make suspicious blocks. I also don't mind if it requires adding some code, I'm just really slow and most likely won't know where to put it in the block's code, so if you could also tell me where that could be awesome. Thank you in advance!
Edited by yes2snake2 on Thu, 06/26/2025 - 08:01
ask chatgpt guy
You need to create a custom element `ModBrushableBlocksProvider` that
extend BrushableBlocks
, create a new loottable with path archeology/suspicous_stone and type "block" and a block, the suspicious stone. Then click "edit code" for the block, and select "ModBlocks" class. Search for `public static DeferredBlock SUSPICIOUS_STONE = ...` and replace "new Block(...)" by `ModBrushableBlocksProvider::new`.Here is a tutorial for that: https://docs.neoforged.net/docs/1.21.1/blocks/ and a video for creating block (useful for editing ModBlocks class) and another for advanced block (useful for the brushable block provider class)