Interface ISingleDiagonalBevelCogWheelBlock
- All Superinterfaces:
net.minecraft.world.level.block.EntityBlock,com.simibubi.create.foundation.block.IBE<SingleDiagonalBevelCogWheelBlockEntity>,IBevelCogWheelBlock,IDiagonalBevelCogWheelBlock,com.simibubi.create.content.kinetics.base.IRotate,com.simibubi.create.content.equipment.wrench.IWrenchable,com.simibubi.create.api.contraption.transformable.TransformableBlock
- All Known Implementing Classes:
EncasedSingleDiagonalBevelCogWheelBlock,SingleDiagonalBevelCogWheelBlock
public interface ISingleDiagonalBevelCogWheelBlock
extends IDiagonalBevelCogWheelBlock, com.simibubi.create.foundation.block.IBE<SingleDiagonalBevelCogWheelBlockEntity>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.simibubi.create.content.kinetics.base.IRotate
com.simibubi.create.content.kinetics.base.IRotate.SpeedLevel, com.simibubi.create.content.kinetics.base.IRotate.StressImpact -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.level.block.state.properties.EnumProperty<petrolpark.mc.library.util.Orientation> static final net.minecraft.world.level.block.state.properties.EnumProperty<CornerBevelCogWheelsBlock.ShaftType> Fields inherited from interface petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.IBevelCogWheelBlock
COG_SHAPEFields inherited from interface petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.diagonal.IDiagonalBevelCogWheelBlock
COG_ON_BEVEL_PLACEMENT_HELPER_ID -
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.world.level.block.entity.BlockEntityType<? extends SingleDiagonalBevelCogWheelBlockEntity> default net.minecraft.core.Direction.AxisgetCogRotationAxisConnectedToFace(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) default net.minecraft.core.Direction.AxisgetRotationAxis(net.minecraft.world.level.block.state.BlockState state) getSet()default booleanhasShaftTowards(net.minecraft.world.level.LevelReader world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) default net.minecraft.world.level.block.state.BlockStatemirrorDiagonalBevelCogWheel(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Mirror mirror) default net.minecraft.world.level.block.state.BlockStaterotateDiagonalBevelCogWheel(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Rotation direction) default net.minecraft.world.level.block.state.BlockStatetransform(net.minecraft.world.level.block.state.BlockState state, com.simibubi.create.content.contraptions.StructureTransform transform) Methods inherited from interface net.minecraft.world.level.block.EntityBlock
getListenerMethods inherited from interface com.simibubi.create.foundation.block.IBE
getBlockEntity, getBlockEntityOptional, getTicker, newBlockEntity, onBlockEntityUse, onBlockEntityUseItemOn, withBlockEntityDoMethods inherited from interface petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.IBevelCogWheelBlock
getRotatedBlockStateMethods inherited from interface petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.diagonal.IDiagonalBevelCogWheelBlock
canDiagonalBevelCogWheelSurvive, placeCogOrEncaseMethods inherited from interface com.simibubi.create.content.kinetics.base.IRotate
getMinimumRequiredSpeedLevel, hideStressImpact, showCapacityWithAnnotationMethods inherited from interface com.simibubi.create.content.equipment.wrench.IWrenchable
onSneakWrenched, onWrenched, updateAfterWrenched
-
Field Details
-
ORIENTATION
static final net.minecraft.world.level.block.state.properties.EnumProperty<petrolpark.mc.library.util.Orientation> ORIENTATION -
SHAFT
static final net.minecraft.world.level.block.state.properties.EnumProperty<CornerBevelCogWheelsBlock.ShaftType> SHAFT
-
-
Method Details
-
getSet
BevelCogWheelSet getSet()- Specified by:
getSetin interfaceIBevelCogWheelBlock
-
hasShaftTowards
default boolean hasShaftTowards(net.minecraft.world.level.LevelReader world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) - Specified by:
hasShaftTowardsin interfacecom.simibubi.create.content.kinetics.base.IRotate
-
getCogRotationAxisConnectedToFace
default net.minecraft.core.Direction.Axis getCogRotationAxisConnectedToFace(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) Description copied from interface:IDiagonalBevelCogWheelBlock- Specified by:
getCogRotationAxisConnectedToFacein interfaceIDiagonalBevelCogWheelBlock
-
getRotationAxis
default net.minecraft.core.Direction.Axis getRotationAxis(net.minecraft.world.level.block.state.BlockState state) - Specified by:
getRotationAxisin interfacecom.simibubi.create.content.kinetics.base.IRotate
-
transform
default net.minecraft.world.level.block.state.BlockState transform(net.minecraft.world.level.block.state.BlockState state, com.simibubi.create.content.contraptions.StructureTransform transform) - Specified by:
transformin interfacecom.simibubi.create.api.contraption.transformable.TransformableBlock
-
rotateDiagonalBevelCogWheel
default net.minecraft.world.level.block.state.BlockState rotateDiagonalBevelCogWheel(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Rotation direction) -
mirrorDiagonalBevelCogWheel
default net.minecraft.world.level.block.state.BlockState mirrorDiagonalBevelCogWheel(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Mirror mirror) -
getBlockEntityClass
- Specified by:
getBlockEntityClassin interfacecom.simibubi.create.foundation.block.IBE<SingleDiagonalBevelCogWheelBlockEntity>
-
getBlockEntityType
default net.minecraft.world.level.block.entity.BlockEntityType<? extends SingleDiagonalBevelCogWheelBlockEntity> getBlockEntityType()- Specified by:
getBlockEntityTypein interfacecom.simibubi.create.foundation.block.IBE<SingleDiagonalBevelCogWheelBlockEntity>
-