Interface ICompositeKineticBlock

All Superinterfaces:
com.simibubi.create.content.kinetics.base.IRotate, com.simibubi.create.content.equipment.wrench.IWrenchable
All Known Implementing Classes:
CompositeKineticBlock, DirectionalCompositeKineticBlock, HorizontalAxisCompositeKineticBlock, HorizontalCompositeKineticBlock, MultiPartCompositeKineticBlock, RotatedPillarCompositeKineticBlock, WaterloggedDirectionalCompositeKineticBlock, WaterloggedHorizontalCompositeKineticBlock, WaterloggedRotatedPillarCompositeKineticBlock

public interface ICompositeKineticBlock extends com.simibubi.create.content.kinetics.base.IRotate
  • 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
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    onPlace(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState oldState, boolean isMoving)
     
    default net.minecraft.world.InteractionResult
    onWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context)
     
    default void
    setPlacedBy(net.minecraft.world.level.Level worldIn, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.entity.LivingEntity placer, net.minecraft.world.item.ItemStack stack)
     
    static void
    switchToBlockState(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
    default void
    updateIndirectNeighbourShapes(net.minecraft.world.level.block.state.BlockState stateIn, net.minecraft.world.level.LevelAccessor level, net.minecraft.core.BlockPos pos, int flags, int count)
     

    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

    getRotatedBlockState, onSneakWrenched, updateAfterWrenched
  • Method Details

    • onWrenched

      default net.minecraft.world.InteractionResult onWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context)
      Specified by:
      onWrenched in interface com.simibubi.create.content.equipment.wrench.IWrenchable
    • onPlace

      default void onPlace(@Nonnull net.minecraft.world.level.block.state.BlockState state, @Nonnull net.minecraft.world.level.Level level, @Nonnull net.minecraft.core.BlockPos pos, @Nonnull net.minecraft.world.level.block.state.BlockState oldState, boolean isMoving)
    • updateIndirectNeighbourShapes

      default void updateIndirectNeighbourShapes(@Nonnull net.minecraft.world.level.block.state.BlockState stateIn, @Nonnull net.minecraft.world.level.LevelAccessor level, @Nonnull net.minecraft.core.BlockPos pos, int flags, int count)
    • setPlacedBy

      default void setPlacedBy(@Nonnull net.minecraft.world.level.Level worldIn, @Nonnull net.minecraft.core.BlockPos pos, @Nonnull net.minecraft.world.level.block.state.BlockState state, @Nullable net.minecraft.world.entity.LivingEntity placer, @Nonnull net.minecraft.world.item.ItemStack stack)
    • switchToBlockState

      static void switchToBlockState(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)