stormfrenzy

/fill command

Apr 23rd, 2014
15,334
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. /fill <x1> <y1> <z1> <x2> <y2> <z2> <TileName> [dataValue] [oldBlockHandling] [dataTag]
  2. Fill with replace (simple block data only):
  3. /fill [x] [y] [z] [x] [y] [z] [BlockName] [Data] replace [filterBlockName] [filterData]
  4.  
  5. ► Fill a cubic area with a particular block with optional data values and tags.
  6.  
  7. /fill -260 68 248 -256 72 252 minecraft:ice 0 replace
  8. /fill -260 68 248 -256 72 252 minecraft:ice 0 destroy
  9. /fill -260 68 248 -256 72 252 minecraft:web 0 keep
  10. /fill -260 68 248 -256 72 252 minecraft:quartz_ore 0 hollow
  11. /fill -260 68 248 -256 72 252 minecraft:redstone_block 0 outline
  12. /fill -260 68 248 -256 72 252 minecraft:air 0 destroy
  13.  
  14. /fill -260 68 248 -256 80 252 minecraft:chest 0 destroy {Items:[{id:minecraft:diamond_sword,Slot:13,tag:{ench:[{id:16,lvl:5}]}},{id:minecraft:apple,Slot:0},{id:minecraft:apple,Slot:2},{id:minecraft:apple,Slot:6},{id:minecraft:apple,Slot:8},{id:minecraft:apple,Slot:10},{id:minecraft:apple,Slot:16},{id:minecraft:apple,Slot:18},{id:minecraft:apple,Slot:20},{id:minecraft:apple,Slot:24},{id:minecraft:apple,Slot:26}]}
  15.  
  16. More information:
  17. oldBlockHandling is either 'replace' (block substitution including replacing air blocks), 'destroy' (destroyed blocks drop as entities), 'keep' (only replaces air blocks), 'hollow' (fills outer layer and replaces inner layers with air), or 'outline' (fills outer layer and leaves all inner layers untouched).
Advertisement
Add Comment
Please, Sign In to add comment