Interface IDiagonalBevelCogWheelBlock

All Superinterfaces:
IBevelCogWheelBlock, com.simibubi.create.content.kinetics.base.IRotate, com.simibubi.create.content.equipment.wrench.IWrenchable, com.simibubi.create.api.contraption.transformable.TransformableBlock
All Known Subinterfaces:
IDualDiagonalBevelCogWheelBlock, ISingleDiagonalBevelCogWheelBlock
All Known Implementing Classes:
DualDiagonalBevelCogWheelBlock, EncasedDualDiagonalBevelCogWheelBlock, EncasedSingleDiagonalBevelCogWheelBlock, SingleDiagonalBevelCogWheelBlock

public interface IDiagonalBevelCogWheelBlock extends IBevelCogWheelBlock
  • 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     

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

    COG_SHAPE
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    canDiagonalBevelCogWheelSurvive(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos)
     
    net.minecraft.core.Direction.Axis
    getCogRotationAxisConnectedToFace(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face)
    default net.minecraft.world.ItemInteractionResult
    placeCogOrEncase(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult hitResult)
     

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

    getRotatedBlockState, getSet

    Methods inherited from interface com.simibubi.create.content.kinetics.base.IRotate

    getMinimumRequiredSpeedLevel, getRotationAxis, hasShaftTowards, hideStressImpact, showCapacityWithAnnotation

    Methods inherited from interface com.simibubi.create.content.equipment.wrench.IWrenchable

    onSneakWrenched, onWrenched, updateAfterWrenched

    Methods inherited from interface com.simibubi.create.api.contraption.transformable.TransformableBlock

    transform
  • Field Details

    • COG_ON_BEVEL_PLACEMENT_HELPER_ID

      static final int COG_ON_BEVEL_PLACEMENT_HELPER_ID
  • Method Details

    • getCogRotationAxisConnectedToFace

      @Nullable net.minecraft.core.Direction.Axis getCogRotationAxisConnectedToFace(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face)
    • placeCogOrEncase

      default net.minecraft.world.ItemInteractionResult placeCogOrEncase(net.minecraft.world.item.ItemStack stack, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.InteractionHand hand, net.minecraft.world.phys.BlockHitResult hitResult)
    • canDiagonalBevelCogWheelSurvive

      default boolean canDiagonalBevelCogWheelSurvive(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos)