Skip to main content
Version: Next

Set Block

Sets a block on a location for a specified amount of time.

Parameters

ParameterDescriptionExample
LocationThe location of the block to set. Format:
world, x, y, z
world, 196, 64, -381
BlockThe block material to set, must be a valid Bukkit block material. Items will not work.STONE
BlockDataOptional block state data, such as open gates or rotated stairs. Use [] if none. See Minecraft block states.[]
DurationDuration in ticks for how long the block stays set before reverting.100
RealWhether to spawn a real block or not. If true, the block cannot be displayed privately in private shows.false
DelayNumber of ticks to wait after the show starts before activating the effect.40
YML Preset
'1':
Type: SET_BLOCK
Location: world, 0, 0, 0
Block: STONE
BlockData: []
Duration: 100
Delay: 0
Real: false

Preview

Set Block Preview


Youtube Tutorial

Just uhh, use this wiki... :)