1

How to /fill with blocks added by mods?

Himbeersirup's Avatar Himbeersirup9/7/18 10:50 am history
9/8/2018 3:16 am
Himbeersirup's Avatar Himbeersirup
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.
Posted by Himbeersirup's Avatar
Himbeersirup
Level 1 : New Explorer
0

Create an account or sign in to comment.

8

1
09/07/2018 1:11 pm
Level 1 : New Explorer
Himbeersirup
Himbeersirup's Avatar
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
09/07/2018 8:53 pm
Level 6 : Apprentice Engineer
TobyTapper
TobyTapper's Avatar
Neat, I never built with mods, but nice to know.
2
09/07/2018 3:38 pm
Level 57 : Grandmaster Engineer
ShelLuser
ShelLuser's Avatar
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.
1
09/08/2018 3:16 am
Level 1 : New Explorer
Himbeersirup
Himbeersirup's Avatar
Good to know. I'll watch that mod for when it updates to 1.13. Thanks.
1
09/07/2018 12:39 pm
Level 1 : New Miner
Kimisaw
Kimisaw's Avatar
Where are the source codes you look into?
1
09/07/2018 12:55 pm
Level 1 : New Explorer
Himbeersirup
Himbeersirup's Avatar
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
09/07/2018 12:38 pm
Level 1 : New Miner
Kimisaw
Kimisaw's Avatar
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
09/07/2018 12:56 pm
Level 1 : New Explorer
Himbeersirup
Himbeersirup's Avatar
I fill with the /fill command. It is a vanilla feature. See minecraft.gamepedia.com/Commands/fill
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome