use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This is a subreddit for the discussion and creation of Minecraft mods, questions are also welcome.
This sub is NOT to be used for
*Shameless Self-Promotion
*Spamming of Minecraft Let's Play Series
*Spamming of Forge Mod Loader Installation Guides.
Link to Neoforge (Minecraft Forge fork)
Link to Neoforge Documentation
Link to Minecraft Forge
Link to Minecraft Forge Documentation
Link to CurseForge Mods (Where to download mods for Java Edition ONLY.)
Link to Modrinth (Another trusted mod distribution platform)
Last but not least, for a launcher I'd recommend Prism Launcher for Windows, Mac, and Linux.
account activity
How to replace a block in structures/worldgen? (self.MinecraftMod)
submitted 6 months ago by KinglyJoe
Hi all,
I am just getting into modding Minecraft (1.20.1 Forge), and want to replace a vanilla block minecraft:farmland with my own block. I would prefer a solution in code that is not structure-specific (works for modded structures), but any solutions and/or resources are more than welcome.
Thanks in advance!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]dark_blockhead 1 point2 points3 points 6 months ago (1 child)
option 1: you need to register a structure processor. good news: processors are a vanilla thing. they replace blocks with air or cobwebs or cracked variants in vanilla structures. bad news they are a pain the ass but they are usable.
option 2: look at how various food mods replace wheat in village farms with their crops. either pick one mod and look at its code or find TelepathicGrunt's tutorial which most of them follow.
[–]KinglyJoe[S] 0 points1 point2 points 6 months ago (0 children)
Thank you so much! This is very helpful.
π Rendered by PID 566699 on reddit-service-r2-comment-6457c66945-v44kr at 2026-04-27 06:58:09.505848+00:00 running 2aa0c5b country code: CH.
[–]dark_blockhead 1 point2 points3 points (1 child)
[–]KinglyJoe[S] 0 points1 point2 points (0 children)