public class QuarterSymmetricalStructure.BlockWrapper
extends java.lang.Object
Block and
pairs with it the metadata for that specific blockState instance.| Modifier and Type | Field and Description |
|---|---|
QuarterSymmetricalStructure.IBlockAction |
action
An optional action after a block has been placed.
|
net.minecraft.block.state.IBlockState |
blockState
IBlockState for which this instance is a wrapper. |
float |
chance
Chance of spawning
|
| Constructor and Description |
|---|
QuarterSymmetricalStructure.BlockWrapper(net.minecraft.block.Block block)
Creates a new wrapper around the specified
Block with metadata 0. |
QuarterSymmetricalStructure.BlockWrapper(net.minecraft.block.state.IBlockState blockState)
Creates a new wrapper around the specified
IBlockState with the specified metadata. |
QuarterSymmetricalStructure.BlockWrapper(net.minecraft.block.state.IBlockState blockState,
float chance)
Creates a new wrapper around the specified
Block with the specified metadata and a certain chance. |
public net.minecraft.block.state.IBlockState blockState
IBlockState for which this instance is a wrapper.public float chance
public QuarterSymmetricalStructure.IBlockAction action
public QuarterSymmetricalStructure.BlockWrapper(net.minecraft.block.Block block)
Block with metadata 0.block - The blockState to wrap.public QuarterSymmetricalStructure.BlockWrapper(net.minecraft.block.state.IBlockState blockState)
IBlockState with the specified metadata.blockState - The blockState to wrap.public QuarterSymmetricalStructure.BlockWrapper(net.minecraft.block.state.IBlockState blockState,
float chance)
Block with the specified metadata and a certain chance.blockState - The block to wrap.chance - The chance on spawning.