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

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction.Axis>
     
    static final net.minecraft.world.level.block.state.properties.BooleanProperty
     

    Fields inherited from interface petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.IBevelCogWheelBlock

    COG_SHAPE

    Fields inherited from interface petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.diagonal.IDiagonalBevelCogWheelBlock

    COG_ON_BEVEL_PLACEMENT_HELPER_ID
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default 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.Axis
    getCogRotationAxisConnectedToFace(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face)
     
    default net.minecraft.world.level.block.state.BlockState
    mirrorDiagonalBevelCogWheel(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Mirror mirror)
     
    default net.minecraft.world.level.block.state.BlockState
    rotateDiagonalBevelCogWheel(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Rotation direction)
     
    default net.minecraft.world.level.block.state.BlockState
    transform(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

    getListener

    Methods inherited from interface com.simibubi.create.foundation.block.IBE

    getBlockEntity, getBlockEntityOptional, getTicker, newBlockEntity, onBlockEntityUse, onBlockEntityUseItemOn, withBlockEntityDo

    Methods inherited from interface petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.IBevelCogWheelBlock

    getRotatedBlockState

    Methods inherited from interface petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.diagonal.IDiagonalBevelCogWheelBlock

    canDiagonalBevelCogWheelSurvive, placeCogOrEncase

    Methods 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

    • 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:
      getCogRotationAxisConnectedToFace in interface IDiagonalBevelCogWheelBlock
    • 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:
      transform in interface com.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

      default Class<DualDiagonalBevelCogWheelBlockEntity> getBlockEntityClass()
      Specified by:
      getBlockEntityClass in interface com.simibubi.create.foundation.block.IBE<DualDiagonalBevelCogWheelBlockEntity>
    • getBlockEntityType

      default net.minecraft.world.level.block.entity.BlockEntityType<? extends DualDiagonalBevelCogWheelBlockEntity> getBlockEntityType()
      Specified by:
      getBlockEntityType in interface com.simibubi.create.foundation.block.IBE<DualDiagonalBevelCogWheelBlockEntity>