Interface IOrthogonalBevelCogWheelBlock

All Superinterfaces:
net.minecraft.world.level.block.BucketPickup, IBevelCogWheelBlock, net.neoforged.neoforge.common.extensions.IBucketPickupExtension, petrolpark.mc.library.compat.create.core.world.block.IReplaceableBlock, com.simibubi.create.content.equipment.wrench.IWrenchable, net.minecraft.world.level.block.LiquidBlockContainer, com.simibubi.create.foundation.block.ProperWaterloggedBlock, net.minecraft.world.level.block.SimpleWaterloggedBlock, com.simibubi.create.api.contraption.transformable.TransformableBlock
All Known Implementing Classes:
BevelCogWheelAndShaftBlock, CompositeBevelCogWheelBlock, CornerBevelCogWheelsAndShaftBlock, CornerBevelCogWheelsBlock, FourBevelCogWheelsAndShaftBlock, FourBevelCogWheelsBlock, OppositeBevelCogWheelsAndShaftBlock, OppositeBevelCogWheelsBlock, SimpleBevelCogWheelBlock, SingleAxisBevelCogWheelBlock, ThreeBevelCogWheelsAndShaftBlock, ThreeBevelCogWheelsBlock

@ParametersAreNonnullByDefault public interface IOrthogonalBevelCogWheelBlock extends IBevelCogWheelBlock, petrolpark.mc.library.compat.create.core.world.block.IReplaceableBlock, com.simibubi.create.foundation.block.ProperWaterloggedBlock
  • Field Summary

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

    COG_SHAPE

    Fields inherited from interface com.simibubi.create.foundation.block.ProperWaterloggedBlock

    WATERLOGGED
  • Method Summary

    Modifier and Type
    Method
    Description
    getParts(net.minecraft.world.level.block.state.BlockState state)
     
    default net.minecraft.world.level.block.state.BlockState
    getReplacedState(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState existingState, net.minecraft.world.level.block.state.BlockState newState, net.minecraft.world.entity.player.Player player)
     
     
    net.minecraft.core.Direction.Axis
    getShaftAxis(net.minecraft.world.level.block.state.BlockState state)
    If this Bevel Cogwheel block has a Shaft, return the axis about which it rotates.
    getTargetedPart(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.Entity entity)
     
    net.minecraft.world.level.block.state.BlockState
    withPart(net.minecraft.world.level.block.state.BlockState state, BevelCogWheelPart part)
     

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

    getRotatedBlockState

    Methods inherited from interface net.neoforged.neoforge.common.extensions.IBucketPickupExtension

    getPickupSound

    Methods inherited from interface petrolpark.mc.library.compat.create.core.world.block.IReplaceableBlock

    canBeReplaced

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

    onSneakWrenched, onWrenched, updateAfterWrenched

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

    fluidState, updateWater, withWater

    Methods inherited from interface net.minecraft.world.level.block.SimpleWaterloggedBlock

    canPlaceLiquid, getPickupSound, pickupBlock, placeLiquid

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

    transform
  • Method Details

    • getSet

    • getParts

      Collection<BevelCogWheelPart> getParts(net.minecraft.world.level.block.state.BlockState state)
    • getTargetedPart

      BevelCogWheelPart getTargetedPart(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.Entity entity)
    • withPart

      @Nullable net.minecraft.world.level.block.state.BlockState withPart(net.minecraft.world.level.block.state.BlockState state, BevelCogWheelPart part)
    • getShaftAxis

      @Nullable net.minecraft.core.Direction.Axis getShaftAxis(net.minecraft.world.level.block.state.BlockState state)
      If this Bevel Cogwheel block has a Shaft, return the axis about which it rotates. Otherwise, return null
      Parameters:
      state -
    • getReplacedState

      default net.minecraft.world.level.block.state.BlockState getReplacedState(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState existingState, net.minecraft.world.level.block.state.BlockState newState, net.minecraft.world.entity.player.Player player)
      Specified by:
      getReplacedState in interface petrolpark.mc.library.compat.create.core.world.block.IReplaceableBlock