public abstract class MixinBlockLever extends MixinBlock implements IMixinBlockDirectional, IMixinBlockAxisOriented, IMixinPoweredHolder
Constructor and Description |
---|
MixinBlockLever() |
Modifier and Type | Method and Description |
---|---|
org.spongepowered.api.data.manipulator.immutable.block.ImmutableAxisData |
getAxisData(net.minecraft.block.state.IBlockState blockState) |
org.spongepowered.api.data.manipulator.immutable.block.ImmutableDirectionalData |
getDirectionalData(net.minecraft.block.state.IBlockState blockState) |
ImmutableList<org.spongepowered.api.data.manipulator.ImmutableDataManipulator<?,?>> |
getManipulators(net.minecraft.block.state.IBlockState blockState)
Gets all the
ImmutableDataManipulator s for the provided
IBlockState . |
org.spongepowered.api.data.manipulator.immutable.block.ImmutablePoweredData |
getPoweredData(net.minecraft.block.state.IBlockState blockState) |
void |
resetAxis(net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
org.spongepowered.api.block.BlockState |
resetDirectionData(org.spongepowered.api.block.BlockState blockState) |
org.spongepowered.api.block.BlockState |
resetPoweredData(org.spongepowered.api.block.BlockState blockState) |
org.spongepowered.api.data.DataTransactionResult |
setAxisData(org.spongepowered.api.data.manipulator.mutable.block.AxisData axisData,
net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
org.spongepowered.api.data.DataTransactionResult |
setDirectionalData(org.spongepowered.api.data.manipulator.mutable.block.DirectionalData directionalData,
net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
org.spongepowered.api.data.DataTransactionResult |
setPoweredData(org.spongepowered.api.data.manipulator.mutable.block.PoweredData poweredData,
net.minecraft.world.World world,
net.minecraft.util.BlockPos blockPos) |
areStatisticsEnabled, callRandomTickEvent, getDefaultBlockState, getDefaultState, getEmittedLight, getEnableStats, getHeldItem, getId, getLightValue, 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
getDirectionFor, setDirectionalData, validateDirection
getApplicableKeys, getDefaultBlockState, getValues, isFlammable, supports
public org.spongepowered.api.data.manipulator.immutable.block.ImmutableDirectionalData getDirectionalData(net.minecraft.block.state.IBlockState blockState)
getDirectionalData
in interface IMixinBlockDirectional
public org.spongepowered.api.data.DataTransactionResult setDirectionalData(org.spongepowered.api.data.manipulator.mutable.block.DirectionalData directionalData, net.minecraft.world.World world, net.minecraft.util.BlockPos blockPos)
setDirectionalData
in interface IMixinBlockDirectional
public void resetAxis(net.minecraft.world.World world, net.minecraft.util.BlockPos blockPos)
resetAxis
in interface IMixinBlockAxisOriented
public org.spongepowered.api.data.manipulator.immutable.block.ImmutableAxisData getAxisData(net.minecraft.block.state.IBlockState blockState)
getAxisData
in interface IMixinBlockAxisOriented
public org.spongepowered.api.data.DataTransactionResult setAxisData(org.spongepowered.api.data.manipulator.mutable.block.AxisData axisData, net.minecraft.world.World world, net.minecraft.util.BlockPos blockPos)
setAxisData
in interface IMixinBlockAxisOriented
public ImmutableList<org.spongepowered.api.data.manipulator.ImmutableDataManipulator<?,?>> getManipulators(net.minecraft.block.state.IBlockState blockState)
IMixinBlock
ImmutableDataManipulator
s for the provided
IBlockState
.getManipulators
in interface IMixinBlock
getManipulators
in class MixinBlock
blockState
- The block state being passed inpublic org.spongepowered.api.block.BlockState resetDirectionData(org.spongepowered.api.block.BlockState blockState)
resetDirectionData
in interface IMixinBlockDirectional
public org.spongepowered.api.data.manipulator.immutable.block.ImmutablePoweredData getPoweredData(net.minecraft.block.state.IBlockState blockState)
getPoweredData
in interface IMixinPoweredHolder
public org.spongepowered.api.data.DataTransactionResult setPoweredData(org.spongepowered.api.data.manipulator.mutable.block.PoweredData poweredData, net.minecraft.world.World world, net.minecraft.util.BlockPos blockPos)
setPoweredData
in interface IMixinPoweredHolder
public org.spongepowered.api.block.BlockState resetPoweredData(org.spongepowered.api.block.BlockState blockState)
resetPoweredData
in interface IMixinPoweredHolder