Interface ICompositeKineticBlock

All Superinterfaces:
com.simibubi.create.content.kinetics.base.IRotate, com.simibubi.create.content.equipment.wrench.IWrenchable
All Known Implementing Classes:
CompositeKineticBlock, MultiPartCompositeKineticBlock

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 boolean
    hasShaftTowards(net.minecraft.world.level.LevelReader world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face)
     
    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 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)
     
    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, hideStressImpact, showCapacityWithAnnotation

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

    getRotatedBlockState, onSneakWrenched, onWrenched, updateAfterWrenched
  • Method Details

    • hasShaftTowards

      default boolean hasShaftTowards(net.minecraft.world.level.LevelReader world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction face)
      Specified by:
      hasShaftTowards in interface com.simibubi.create.content.kinetics.base.IRotate
    • 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)