How do I make a custom brushable block (like sus sand)

Started by yes2snake2 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a custom brushable block (like sus sand)
Thu, 06/26/2025 - 08:01 (edited)

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
Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ask chatgpt guy
Thu, 06/26/2025 - 17:23

ask chatgpt guy

Joined Mar 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You need to create a custom…
Fri, 06/27/2025 - 07:47

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)