Permission level required | 2[JE only] |
---|---|
Restrictions | Cheat only[BE only] |
Fill It Game Without Java
Fills all or parts of a region with a specific block.
To play the Fill It arcade game, move ship with arrow keys to fill 80% of the playing field. To reduce the risk of being attacked by the flying enemies, trap them within your fills. In Java, custom painting is done via the java.awt.Graphics class, which manages a graphics context, and provides a set of device-independent methods for drawing texts, figures and images on the screen on different platforms. The java.awt.Graphics is an abstract class, as the. Java.util.Arrays.fill method is in java.util.Arrays class. This method assigns the specified data type value to each element of the specified range of the specified array. This method assigns the specified data type value to each element of the specified range of the specified array. Fill It Game Without Java. Because of this, the lesser coordinates of each axis are on the region boundary, but the greater coordinates are one block from the boundary, and the block volume of the source region is (x greater - x lesser 1) (y greater - y lesser 1) (z greater - z lesser 1). For example, 0 0 0 0 0 0 has a 1-block volume, and 0 0 0 1 1 1 and 1 1 1 0 0 0 both identify the. Nobby Nuss by Burkhard Ratheiser Related Designs - view all games by author Category: Java: Action Platform Scroller Average Play: 3 / 10198 (per day / total) Average Rating: 4.67 of 5.00 (from 3 ratings).
Syntax[edit]
- Java Edition
fill <from> <to> <block> [destroy|hollow|keep|outline|replace]
- The fill command also has an optional alternate syntax when using the
replace
option: fill <from> <to> <block> replace [<filter>]
- Bedrock Edition
fill <from: x y z> <to: x y z> <tileName: Block> [tileData: int] [oldBlockHandling: FillMode]
fill <from: x y z> <to: x y z> <tileName: Block> [blockStates: block states] [oldBlockHandling: FillMode]
- The fill command also has an optional alternate syntax for
replace
mode: fill <from: x y z> <to: x y z> <tileName: Block> <tileData: int> replace [replaceTileName: Block] [replaceDataValue: int]
fill <from: x y z> <to: x y z> <tileName: Block> <blockStates: block states> replace [replaceTileName: Block] [replaceDataValue: int]
Arguments[edit]
JE: <from>
: block_pos and <to>
: block_pos
BE: from: x y z
: CommandPosition and to: x y z
: CommandPosition
- Specifies any two opposing corner blocks of the region to be filled (the 'fill region').
- In Java Edition, it must be a block position composed of <x>, <y> and <z>, each of which must be an integer or tilde and caret notation. In Bedrock Edition, it must be a three-dimensional coordinates composed of <x>, <y> and <z>, each of which must be a floating-point number or tilde and caret notation.
- Block position is the coordinates of the point at the lower northwest corner of a block. Because of this, the lesser coordinates of each axis are on the region boundary, but the greater coordinates are one block from the boundary, and the block volume of the source region is (xgreater - xlesser + 1) × (ygreater - ylesser + 1) × (zgreater - zlesser + 1). For example,
0 0 0 0 0 0
has a 1-block volume, and0 0 0 1 1 1
and1 1 1 0 0 0
both identify the same region with an 8-block volume.
JE: <block>
: block_state
BE: tileName: Block
: Block
- Specifies the block to fill the region with.
- In Java Edition, it must be a block argument (does not accept block tags). In Bedrock Edition, it must be a block id.
BE: tileData: int
: int
- Specifies the block data to use for the fill block. Values that are invalid for the specified block id revert to 0. If not specified, defaults to 0.
- Must be a 32-bit integer number. It must be between 0 and 65535 (inclusive).
BE: blockStates: block states
- Specifies the block states to use for the block.
- An example of a setblock command with a blockstate is shown below:This command will place birch leaves ('old_leaf_type':'birch') that do not decay ('persistent_bit':true) in a 5x5x5 cube around the player (~2 ~2 ~2 ~-2 ~-2 ~-2).
JE: destroy|hollow|keep|outline|replace
BE: oldBlockHandling: FillMode
destroy
- Replaces all blocks (including air) in the fill region with the specified block, dropping the existing blocks (including those that are unchanged) and block contents as entities as if they had been mined with an unenchanted diamond shovel or pickaxe. (Blocks that can be mined only with shears, such as vines, do not drop; neither do liquids.)hollow
- Replaces only the blocks on the outer edge of the fill region with the specified block. Inner blocks are changed to air, dropping their contents as entities but not themselves. If the fill region has no inner blocks (because it is smaller than three blocks in at least one dimension), acts likereplace
.keep
- Replaces only the air blocks in the fill region with the specified block.outline
- Replaces only the blocks on the outer edge of the fill region with the specified block. Inner blocks are not affected. If the fill region has no inner blocks (because it is smaller than three blocks in at least one dimension), acts likereplace
.replace
- Replaces all blocks (including air) in the fill region with the specified block, without dropping blocks or block contents as entities. Optionally, instead of specifying a data tag for the replacing block, block ID and data values may be specified to limit which blocks are replaced.
Fill It Game Without Javascript
replace
.JE: <filter>
: block_predicate
BE: tileName: Block
: Block
- Specifies the ID of the blocks in the fill region to be replaced. If not specified, replaces all blocks in the fill region.
- In Java Edition, it must be a block argument (accepts block tags). In Bedrock Edition, it must be a block id.
BE: tileData: int
: int
- Specifies the block data to match when finding blocks to clone. Values (bitwise AND 0xFFFF) that are invalid for the specified block id revert to 0. If
-1
or not specified, all blocks that matchtileName: Block
are filled. - Must be a 32-bit integer number. It must be between -2147483648 and 2147483647 (inclusive).
Result[edit]
Command | Trigger | Java Edition | Bedrock Edition |
---|---|---|---|
any | the arguments are not specified correctly | Unparseable | Failed |
one or both sepicified positions are unloaded or out of the world | Failed | ||
the volume of the source region is greater than 32768 (the equivalent of 8 chunk sections) | |||
/fill ... hollow | no block is changed | ||
/fill ... destroy | there is no block changed in the fill region after all blocks in the region are replaced with air | ||
any | On success | Changes blocks in the fill region to the specified block. |
Fill It Game Without Java Download
Output[edit]
Fill It Game Java
Command | Edition | Situation | Success Count | /execute store success ... | /execute store result ... |
---|---|---|---|---|---|
any | Java Edition | On fail | 0 | 0 | 0 |
/fill ... hollow | On success | 1 | 1 | the number of blocks changed in the fill region | |
/fill ... destroy | On success | 1 | 1 | the number of blocks changed in the fill region after all blocks in the region are replaced with air | |
any | Bedrock Edition | On fail | 0 | N/A | N/A |
On success | 1 | N/A | N/A |
Examples[edit]
/fill 52 63 -151633 73 -1536 minecraft:gold_block replace minecraft:orange_glazed_terracotta
[Java Edition only]/fill 52 63 -151633 73 -1536 gold_block 0 replace orange_glazed_terracotta
[Bedrock Edition only]- Replaces all the orange glazed terracotta in the selected area with gold blocks.
/fill ~-3 ~-3 ~-3~3 ~-1 ~3 water
- Replaces the blocks in a 7x3x7 region directly beneath the command execution's location with water.
/fill ~-3 ~ ~-4~3 ~4 ~4 minecraft:stone hollow
[Java Edition only]/fill ~-3 ~ ~-4~3 ~4 ~4 stone 0 hollow
[Bedrock Edition only]- Creates a house-sized box around the command execution's location, replacing any blocks that would have been inside the box with air.
/fill ~-15 ~-15 ~-15~15 ~15 ~15 stone
- Creates a solid cube of stone centered on the command execution's location.
/fill ~-1 ~ ~~1 ~ ~ minecraft:prismarine_brick_stairs[facing=south,waterlogged=true]
- Replaces the specific blocks around the command execution's location with waterlogged prismarine brick stairs facing south.
Fill It Game Without Java Edition
History[edit]
Java Edition | |||||
---|---|---|---|---|---|
1.8 | 14w03a | Added /fill . | |||
1.11 | 16w32a | Added block state support to /fill . | |||
Pocket Edition Alpha | |||||
v0.16.0 | build 1 | Added /fill . | |||
Bedrock Edition | |||||
1.16.210 | beta 1.16.210.53 | Added block state support to /fill . |