Interface IDualDiagonalBevelCogWheelBlock
- All Superinterfaces:
net.minecraft.world.level.block.EntityBlock,com.simibubi.create.foundation.block.IBE<DualDiagonalBevelCogWheelBlockEntity>,IBevelCogWheelBlock,IDiagonalBevelCogWheelBlock,com.simibubi.create.content.equipment.wrench.IWrenchable,com.simibubi.create.api.contraption.transformable.TransformableBlock
- All Known Implementing Classes:
DualDiagonalBevelCogWheelBlock,EncasedDualDiagonalBevelCogWheelBlock
public interface IDualDiagonalBevelCogWheelBlock
extends IDiagonalBevelCogWheelBlock, com.simibubi.create.foundation.block.IBE<DualDiagonalBevelCogWheelBlockEntity>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction.Axis> static final net.minecraft.world.level.block.state.properties.BooleanPropertyFields 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 DualDiagonalBevelCogWheelBlockEntity> static petrolpark.mc.library.util.Orientation[]getCogOrientations(net.minecraft.world.level.block.state.BlockState state) default net.minecraft.core.Direction.AxisgetCogRotationAxisConnectedToFace(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face) getSet()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.equipment.wrench.IWrenchable
onSneakWrenched, onWrenched, updateAfterWrenched
-
Field Details
-
EXCLUDED_AXIS
static final net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction.Axis> EXCLUDED_AXIS -
FACE_PARITY
static final net.minecraft.world.level.block.state.properties.BooleanProperty FACE_PARITY
-
-
Method Details
-
getSet
BevelCogWheelSet getSet() -
getCogOrientations
static petrolpark.mc.library.util.Orientation[] getCogOrientations(net.minecraft.world.level.block.state.BlockState state) -
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
-
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<DualDiagonalBevelCogWheelBlockEntity>
-
getBlockEntityType
default net.minecraft.world.level.block.entity.BlockEntityType<? extends DualDiagonalBevelCogWheelBlockEntity> getBlockEntityType()- Specified by:
getBlockEntityTypein interfacecom.simibubi.create.foundation.block.IBE<DualDiagonalBevelCogWheelBlockEntity>
-