Interface IAssemblageBlock

All Superinterfaces:
petrolpark.mc.library.compat.create.core.world.block.composite.ICompositeKineticBlock, IFaceAlignedCogWheelBlock, com.simibubi.create.content.kinetics.base.IRotate, IStateDependentCogWheelBlock, com.simibubi.create.content.equipment.wrench.IWrenchable, com.simibubi.create.api.contraption.transformable.TransformableBlock
All Known Implementing Classes:
AssemblageBlock, EncasedAssemblageBlock, EncasedSeparateShaftHalvesAssemblageBlock, EncasedSingleShaftAssemblageBlock, SeparateShaftHalvesAssemblageBlock, SingleShaftAssemblageBlock

public interface IAssemblageBlock extends IStateDependentCogWheelBlock, IFaceAlignedCogWheelBlock, petrolpark.mc.library.compat.create.core.world.block.composite.ICompositeKineticBlock, com.simibubi.create.api.contraption.transformable.TransformableBlock
  • 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 net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction.Axis>
     
    static final net.minecraft.world.level.block.state.properties.EnumProperty<AssemblageCog>
     
    static final net.minecraft.world.level.block.state.properties.BooleanProperty
     
    static final Collection<net.minecraft.world.level.block.state.properties.EnumProperty<AssemblageCog>>
     
    static final net.minecraft.world.level.block.state.properties.EnumProperty<AssemblageCog>
     
    static final Collection<net.minecraft.world.level.block.state.properties.BooleanProperty>
     
    static final net.minecraft.world.level.block.state.properties.EnumProperty<AssemblageCog>
     
    static final net.minecraft.world.level.block.state.properties.BooleanProperty
     
  • 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)
     
    default CogType
    getCogType(net.minecraft.world.level.block.state.BlockState state)
     
    default net.minecraft.world.level.block.state.BlockState
    getRotatedBlockState(net.minecraft.world.level.block.state.BlockState originalState, net.minecraft.core.Direction targetedFace)
     
     
    getTargetedKineticPart(AssemblageBlockEntity be, net.minecraft.world.entity.player.Player player)
     
    boolean
    hasBottomShaft(net.minecraft.world.level.block.state.BlockState state)
     
    boolean
    hasTopShaft(net.minecraft.world.level.block.state.BlockState state)
     
    static net.minecraft.world.level.block.state.BlockState
    invert(net.minecraft.world.level.block.state.BlockState state)
     
    static net.minecraft.world.level.block.state.BlockState
    mirror(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.Mirror mirror)
     
    static net.minecraft.world.level.block.state.BlockState
    rotate(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction.Axis axis, net.minecraft.world.level.block.Rotation rotation)
     
    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 petrolpark.mc.library.compat.create.core.world.block.composite.ICompositeKineticBlock

    hasShaftTowards, onPlace, setPlacedBy, updateIndirectNeighbourShapes

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

    getMinimumRequiredSpeedLevel, getRotationAxis, hideStressImpact, showCapacityWithAnnotation

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

    onSneakWrenched, onWrenched, updateAfterWrenched
  • Field Details

    • AXIS

      static final net.minecraft.world.level.block.state.properties.EnumProperty<net.minecraft.core.Direction.Axis> AXIS
    • TOP_SHAFT_HALF

      static final net.minecraft.world.level.block.state.properties.BooleanProperty TOP_SHAFT_HALF
    • BOTTOM_SHAFT_HALF

      static final net.minecraft.world.level.block.state.properties.BooleanProperty BOTTOM_SHAFT_HALF
    • TOP_COG

      static final net.minecraft.world.level.block.state.properties.EnumProperty<AssemblageCog> TOP_COG
    • MIDDLE_COG

      static final net.minecraft.world.level.block.state.properties.EnumProperty<AssemblageCog> MIDDLE_COG
    • BOTTOM_COG

      static final net.minecraft.world.level.block.state.properties.EnumProperty<AssemblageCog> BOTTOM_COG
    • SHAFT_HALF_PROPERTIES

      static final Collection<net.minecraft.world.level.block.state.properties.BooleanProperty> SHAFT_HALF_PROPERTIES
    • COG_PROPERTIES

      static final Collection<net.minecraft.world.level.block.state.properties.EnumProperty<AssemblageCog>> COG_PROPERTIES
  • Method Details

    • getSet

      AssemblageSet getSet()
    • hasTopShaft

      boolean hasTopShaft(net.minecraft.world.level.block.state.BlockState state)
    • hasBottomShaft

      boolean hasBottomShaft(net.minecraft.world.level.block.state.BlockState state)
    • getTargetedKineticPart

      @Nullable AssemblageBlockEntity.AssemblageBlockEntityPart getTargetedKineticPart(AssemblageBlockEntity be, net.minecraft.world.entity.player.Player player)
    • getCogType

      default CogType getCogType(net.minecraft.world.level.block.state.BlockState state)
      Specified by:
      getCogType in interface IStateDependentCogWheelBlock
    • canDiagonalBevelCogWheelSurvive

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

      default net.minecraft.world.level.block.state.BlockState getRotatedBlockState(net.minecraft.world.level.block.state.BlockState originalState, net.minecraft.core.Direction targetedFace)
      Specified by:
      getRotatedBlockState in interface com.simibubi.create.content.equipment.wrench.IWrenchable
    • rotate

      static net.minecraft.world.level.block.state.BlockState rotate(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction.Axis axis, net.minecraft.world.level.block.Rotation rotation)
    • mirror

      static net.minecraft.world.level.block.state.BlockState mirror(net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.level.block.Mirror mirror)
    • invert

      static net.minecraft.world.level.block.state.BlockState invert(net.minecraft.world.level.block.state.BlockState state)
    • 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