public abstract class MixinBlockCake extends MixinBlock implements IMixinBlockLayerable
Constructor and Description |
---|
MixinBlockCake() |
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) |
org.spongepowered.api.data.DataTransactionResult |
setLayerData(org.spongepowered.api.data.manipulator.mutable.block.LayeredData layeredData,
net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
areStatisticsEnabled, callRandomTickEvent, getDefaultBlockState, getDefaultState, getEmittedLight, getEnableStats, getHeldItem, getId, getLightValue, getManipulators, getMaterial, getName, getStateFromMeta, getTickRandomly, getTranslation, getUnlocalizedName, isAffectedByGravity, isBlockNormalCube, isGaseous, isLiquid, isReplaceable, isSolidCube, setTickRandomly, shadow$getDefaultState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getApplicableKeys, getDefaultBlockState, getManipulators, getValues, isFlammable, supports
public org.spongepowered.api.data.manipulator.mutable.block.LayeredData getLayerData(net.minecraft.block.state.IBlockState blockState)
IMixinBlockLayerable
LayeredData
from the given block state that
is guaranteed to be of the desired "type".getLayerData
in interface IMixinBlockLayerable
blockState
- The block state to retrieve the layered data frompublic org.spongepowered.api.block.BlockState setLayerData(net.minecraft.block.state.IBlockState blockState, org.spongepowered.api.data.manipulator.mutable.block.LayeredData data)
setLayerData
in interface IMixinBlockLayerable
public org.spongepowered.api.data.DataTransactionResult setLayerData(org.spongepowered.api.data.manipulator.mutable.block.LayeredData layeredData, net.minecraft.world.World world, net.minecraft.util.BlockPos blockPos)