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.kinetics.base.IRotate,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
-
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 inherited from interface petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.IBevelCogWheelBlock
COG_SHAPEFields inherited from interface com.simibubi.create.foundation.block.ProperWaterloggedBlock
WATERLOGGED -
Method Summary
Modifier and TypeMethodDescriptiongetParts(net.minecraft.world.level.block.state.BlockState state) default net.minecraft.world.level.block.state.BlockStategetReplacedState(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.AxisgetShaftAxis(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.BlockStatewithPart(net.minecraft.world.level.block.state.BlockState state, BevelCogWheelPart part) Methods inherited from interface petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.IBevelCogWheelBlock
getRotatedBlockState, getSetMethods inherited from interface net.neoforged.neoforge.common.extensions.IBucketPickupExtension
getPickupSoundMethods inherited from interface petrolpark.mc.library.compat.create.core.world.block.IReplaceableBlock
canBeReplacedMethods inherited from interface com.simibubi.create.content.kinetics.base.IRotate
getMinimumRequiredSpeedLevel, getRotationAxis, hasShaftTowards, hideStressImpact, showCapacityWithAnnotationMethods inherited from interface com.simibubi.create.content.equipment.wrench.IWrenchable
onSneakWrenched, onWrenched, updateAfterWrenchedMethods inherited from interface com.simibubi.create.foundation.block.ProperWaterloggedBlock
fluidState, updateWater, withWaterMethods inherited from interface net.minecraft.world.level.block.SimpleWaterloggedBlock
canPlaceLiquid, getPickupSound, pickupBlock, placeLiquidMethods inherited from interface com.simibubi.create.api.contraption.transformable.TransformableBlock
transform
-
Method Details
-
getParts
-
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, returnnull- 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:
getReplacedStatein interfacepetrolpark.mc.library.compat.create.core.world.block.IReplaceableBlock
-