1
How to /fill with blocks added by mods?
When a mod adds new blocks, how do you /fill with these blocks? How do I know which name to use?
I am using the ColorfulWater mod, but filling with the name the block has in the source code doesn't work.
I am using the ColorfulWater mod, but filling with the name the block has in the source code doesn't work.
Create an account or sign in to comment.
8
1
I found the solution. In my case, the mod has the id 'colored_water' and one of the blocks is named 'glowing_water_green', and to fill with that block you use:
/fill x1 y1 z1 x2 y2 z2 colored_water:glowing_water_green
1
Neat, I never built with mods, but nice to know.
2
That 'id' is actually called the namespace, you use the same technique when you're building datapacks in 1.13. An easy way to identify stuff like this is the JustEnoughItems mod; it checks the whole inventory and lists all available blocks, even those not officially available in the game.
Of course that's not available for 1.13 yet.
Of course that's not available for 1.13 yet.
1
Good to know. I'll watch that mod for when it updates to 1.13. Thanks.
1
Where are the source codes you look into?
1
The mod is a Java archive (.jar). When you look inside the Java archive, you find .json-files for each block in the mod. In the .json-file, there is a name for the block.
1
What mod do you use to fill? Is it a vanilla feature? I would like to help you with your issue, but I would need these details first.
1
I fill with the /fill command. It is a vanilla feature. See minecraft.gamepedia.com/Commands/fill