I have been working off-and-on making an adventure/puzzle map recently, and as part of that I occasionally want to make some edits for aesthetics' sake as new blocks are introduced.
A video that I saw explaining some of the new features included a small mechanism that changed all of a tree's leaves into cake whilst leaving the trunk unharmed, and I recall the presenter saying something about it being part of the /fill command, but the mechanism wasn't explained beyond that point. What I gathered is that the mechanism applied /fill to the whole area of the tree but designated that either leaves be changed or that wood not be.
Given the fact that there are now dozens and dozens of 1.8 videos, I'm having trouble finding the specific one, so I thought I'd ask the community if this is indeed something that can be done in vanilla. I've tried some stuff myself with /fill, but I have no idea how this would be done, considering there's no field for it in the ingame usage instructions.
If you're someone who is knowledgeable on commands and you know for a fact that this can be done, please include instructions as to how exactly this would be implemented in the /fill command proper.
i tried using this with /fill ~ ~-1 ~ ~ ~-1 ~ dirt 0 replace grass but it didn't work can anyone tell me why it isn't working?
i thought it might be something to do with data tags so i used
/fill ~ ~-1 ~ ~ ~-1 ~ grass 1 replace grass 0
but it still didn't work
There is no such thing as grass 1 only grass 0. Also the top Command will replace all grass with dirt so make sure you are standing on a grass block when rnning the Command.
I am trying to use this /fill command: /fill 79.666 52 1233.084 32.653 52 1134.562 wool 1 replace grass 0 but it won't work. It is saying "No blocks replaced" can anyone help fix this? (I am trying to make a 100 block x 50 block soccer stadium, and i really don't want to place the blocks by hand)
I am trying to use this /fill command: /fill 79.666 52 1233.084 32.653 52 1134.562 wool 1 replace grass 0 but it won't work. It is saying "No blocks replaced" can anyone help fix this? (I am trying to make a 100 block x 50 block soccer stadium, and i really don't want to place the blocks by hand)
/fill -117 68 -122 -115 68 -124 air 0 replace redstone_block
when I look at the command in the command block gui, I notice that the last K is missing until I move to the back of the command. Then it does appear..
It does not work, it keeps telling me:
-There is no such block with name minecraft:
However when I copy that command and paste it on the console, it does work.
Does anyone know if it's possible to use data tags when specifying what block should be replaced?
e.g. " /fill ~ ~-1 ~ ~ ~-1 ~ minecraft:air 0 replace minecraft:command_block 0 {Command:"/say Hi"} " to replace a command block with the text " /say hi " with air.
Does anyone know if it's possible to use data tags when specifying what block should be replaced?
e.g. " /fill ~ ~-1 ~ ~ ~-1 ~ minecraft:air 0 replace minecraft:command_block 0 {Command:"/say Hi"} " to replace a command block with the text " /say hi " with air.
Sadly, no. If you use that command, minecraft will try and give the air a data tag of 'Command:"/say Hi"'.
A video that I saw explaining some of the new features included a small mechanism that changed all of a tree's leaves into cake whilst leaving the trunk unharmed, and I recall the presenter saying something about it being part of the /fill command, but the mechanism wasn't explained beyond that point. What I gathered is that the mechanism applied /fill to the whole area of the tree but designated that either leaves be changed or that wood not be.
Given the fact that there are now dozens and dozens of 1.8 videos, I'm having trouble finding the specific one, so I thought I'd ask the community if this is indeed something that can be done in vanilla. I've tried some stuff myself with /fill, but I have no idea how this would be done, considering there's no field for it in the ingame usage instructions.
If you're someone who is knowledgeable on commands and you know for a fact that this can be done, please include instructions as to how exactly this would be implemented in the /fill command proper.
Thanks in advance.
This will replace the block that is defined in dataTag into tilename.
For example:
This will change the block below you from sandstone into an unpowered comparator
EDIT:
Sorry, using {id:block} doesn't work at all, it just ignores it
The correct method of doing this is
This will change grass into stone
There's a bug with this command where it doesn't work with some blocks, for example comparator, daylight sensor, brewing stand, and many more.
Is there a way to execute this relative to the player?
Yes, you must use the execute command to do so. Replace @p with whatever player, entity you wish.
THANKS!
There is no such thing as grass 1 only grass 0. Also the top Command will replace all grass with dirt so make sure you are standing on a grass block when rnning the Command.
Projects:
Cool Welcome Message using Unicode for Map Makers and Server Owners.
Q-Lock for adventure mappers that dont want their players to lose valuble items.
minecraft:command_block One-Command: Terrain Tools for adventure mappers that want to shape their world without using external tools.
I am trying to use this /fill command: /fill 79.666 52 1233.084 32.653 52 1134.562 wool 1 replace grass 0 but it won't work. It is saying "No blocks replaced" can anyone help fix this? (I am trying to make a 100 block x 50 block soccer stadium, and i really don't want to place the blocks by hand)
Don't use decimal points use whole numbers.
Projects:
Cool Welcome Message using Unicode for Map Makers and Server Owners.
Q-Lock for adventure mappers that dont want their players to lose valuble items.
minecraft:command_block One-Command: Terrain Tools for adventure mappers that want to shape their world without using external tools.
If you are using a Mac pressing a certain button enters an invicible button, try breaking the block and retyping (Not Copy-Paste) it.
Projects:
Cool Welcome Message using Unicode for Map Makers and Server Owners.
Q-Lock for adventure mappers that dont want their players to lose valuble items.
minecraft:command_block One-Command: Terrain Tools for adventure mappers that want to shape their world without using external tools.
Does anyone know if it's possible to use data tags when specifying what block should be replaced?
e.g. " /fill ~ ~-1 ~ ~ ~-1 ~ minecraft:air 0 replace minecraft:command_block 0 {Command:"/say Hi"} " to replace a command block with the text " /say hi " with air.
Sadly, no. If you do the command you said, minecraft would try to give the air a data tag of 'Command:"/say Hi"'
Sadly, no. If you use that command, minecraft will try and give the air a data tag of 'Command:"/say Hi"'.
I always thought the syntax was
/fill x1 y1 z1 x2 y2 z2 (block you wanted to place) [data] replace (block you wanted to be replaced) [data]
IE: /fill ~ ~ ~ ~20 ~5 ~69 stone 1 replace gravel 0 would replace all gravel with a stone block with an datavalue of 1?
EDIT: I'm a derp
My Name Is Bhexion and I make datapacks.
Find me on PlanetMinecraft and Youtube.