Skip to main content

Blocks

Mutate Block​

block.mutate

Changes the properties of a Block that are given, the others stay as they are, and gives every property's value after the change

InTypeWhat it is
BlockBlockRepresents a block.
Biome (optional)BiomeSets the biome that this block resides in
Block Data (optional)Block DataSets the complete data for this block
Type (optional)MaterialSets the type of this block
OutTypeWhat it is
BiomeBiomeReturns the biome that this block resides in
Block DataBlock DataGets the complete block data for this block
Block Indirectly PoweredBooleanReturns true if the block is being indirectly powered by Redstone.
Block PowerIntegerReturns the redstone power being provided to this block.
Block PoweredBooleanReturns true if the block is being powered by Redstone.
BuildableBooleanCheck if this block is solid Determined by Minecraft, typically a block a player can use to place a new block to build things.
BurnableBooleanCheck if this block is burnable Determined by Minecraft, typically a block that fire can destroy (Wool, Wood)
CollidableBooleanChecks if this block is collidable.
Computed BiomeBiomeGets the computed biome at the location of this Block.
DropsCollection<Item>Returns a list of items which could drop by destroying this block.
EmptyBooleanChecks if this block is empty.
HumidityNumberGets the humidity of the biome of this block
Light From BlocksbyteGet the amount of light at this block from nearby blocks.
Light From SkybyteGet the amount of light at this block from the sky.
Light LevelbyteGets the light level between 0-15
LiquidBooleanChecks if this block is liquid.
LocationLocationGets the Location of the block
PassableBooleanChecks if this block is passable.
Piston Move ReactionPistonMoveReactionReturns the reaction of the block when moved by a piston
ReplaceableBooleanChecks if this block can be immediately replaced by another block, such as placing a new block in air or tall grass.
SolidBooleanCheck if this block is solid Determined by Minecraft, typically a block a player can stand on and can't be passed through.
SuffocatingBooleanChecks if the block can suffocate.
TemperatureNumberGets the temperature of this block.
TypeMaterialGets the type of this block
WorldWorldGets the world which contains this Block
XIntegerGets the x-coordinate of this block
YIntegerGets the y-coordinate of this block
ZIntegerGets the z-coordinate of this block

Goes on with: Next

Read Block​

block.read

Reads the properties of a Block

InTypeWhat it is
BlockBlockRepresents a block.
OutTypeWhat it is
BiomeBiomeReturns the biome that this block resides in
Block DataBlock DataGets the complete block data for this block
Block Indirectly PoweredBooleanReturns true if the block is being indirectly powered by Redstone.
Block PowerIntegerReturns the redstone power being provided to this block.
Block PoweredBooleanReturns true if the block is being powered by Redstone.
BuildableBooleanCheck if this block is solid Determined by Minecraft, typically a block a player can use to place a new block to build things.
BurnableBooleanCheck if this block is burnable Determined by Minecraft, typically a block that fire can destroy (Wool, Wood)
CollidableBooleanChecks if this block is collidable.
Computed BiomeBiomeGets the computed biome at the location of this Block.
DropsCollection<Item>Returns a list of items which could drop by destroying this block.
EmptyBooleanChecks if this block is empty.
HumidityNumberGets the humidity of the biome of this block
Light From BlocksbyteGet the amount of light at this block from nearby blocks.
Light From SkybyteGet the amount of light at this block from the sky.
Light LevelbyteGets the light level between 0-15
LiquidBooleanChecks if this block is liquid.
LocationLocationGets the Location of the block
PassableBooleanChecks if this block is passable.
Piston Move ReactionPistonMoveReactionReturns the reaction of the block when moved by a piston
ReplaceableBooleanChecks if this block can be immediately replaced by another block, such as placing a new block in air or tall grass.
SolidBooleanCheck if this block is solid Determined by Minecraft, typically a block a player can stand on and can't be passed through.
SuffocatingBooleanChecks if the block can suffocate.
TemperatureNumberGets the temperature of this block.
TypeMaterialGets the type of this block
WorldWorldGets the world which contains this Block
XIntegerGets the x-coordinate of this block
YIntegerGets the y-coordinate of this block
ZIntegerGets the z-coordinate of this block