public interface IMixinBlockLayerable extends IMixinBlock
LayeredData
to be
retrieved from the various blocks that have "layered" information, such as
BlockSnow
, BlockCake
.Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.manipulator.mutable.block.LayeredData |
getLayerData(net.minecraft.block.state.IBlockState blockState)
Gets the
LayeredData from the given block state that
is guaranteed to be of the desired "type". |
org.spongepowered.api.block.BlockState |
setLayerData(net.minecraft.block.state.IBlockState blockState,
org.spongepowered.api.data.manipulator.mutable.block.LayeredData data) |
getApplicableKeys, getDefaultBlockState, getManipulators, getValues, isFlammable, supports
org.spongepowered.api.data.manipulator.mutable.block.LayeredData getLayerData(net.minecraft.block.state.IBlockState blockState)
LayeredData
from the given block state that
is guaranteed to be of the desired "type".blockState
- The block state to retrieve the layered data fromorg.spongepowered.api.block.BlockState setLayerData(net.minecraft.block.state.IBlockState blockState, org.spongepowered.api.data.manipulator.mutable.block.LayeredData data)