Interface IWrenchable
- All Known Subinterfaces:
ICogWheel,IRotate,IWrenchableWithBracket
- All Known Implementing Classes:
AbstractChassisBlock,AbstractChuteBlock,AbstractDiodeBlock,AbstractDirectionalFunnelBlock,AbstractEncasedShaftBlock,AbstractFunnelBlock,AbstractHorizontalFunnelBlock,AbstractShaftBlock,AdjustablePulleyBlock,AndesiteFunnelBlock,ArmBlock,AttachedActorBlock,AxisPipeBlock,BasinBlock,BearingBlock,BeltBlock,BeltFunnelBlock,BeltTunnelBlock,BlazeBurnerBlock,BracketBlock,BrassDiodeBlock,BrassFunnelBlock,BrassTunnelBlock,CartAssemblerBlock,CasingBlock,ChuteBlock,ClockworkBearingBlock,ClutchBlock,CogWheelBlock,ContentObserverBlock,ControllerRailBlock,CopperBacktankBlock,CrateBlock,CreativeCrateBlock,CreativeMotorBlock,CrushingWheelBlock,CuckooClockBlock,DeployerBlock,DepotBlock,DirectionalAxisKineticBlock,DirectionalKineticBlock,DrillBlock,EjectorBlock,EncasedBeltBlock,EncasedCogwheelBlock,EncasedFanBlock,EncasedPipeBlock,EncasedShaftBlock,EngineBlock,FluidPipeBlock,FluidTankBlock,FluidValveBlock,FlywheelBlock,FunnelBlock,FurnaceEngineBlock,GantryCarriageBlock,GantryShaftBlock,GaugeBlock,GearboxBlock,GearshiftBlock,GlassFluidPipeBlock,HandCrankBlock,HarvesterBlock,HorizontalAxisKineticBlock,HorizontalKineticBlock,HosePulleyBlock,ItemDrainBlock,ItemVaultBlock,KineticBlock,LinearChassisBlock,LitBlazeBurnerBlock,MechanicalBearingBlock,MechanicalCrafterBlock,MechanicalMixerBlock,MechanicalPistonBlock,MechanicalPistonHeadBlock,MechanicalPressBlock,MillstoneBlock,NixieTubeBlock,NozzleBlock,PistonExtensionPoleBlock,PloughBlock,PortableStorageInterfaceBlock,PoweredLatchBlock,PulleyBlock,PumpBlock,RadialChassisBlock,RedstoneContactBlock,RedstoneLinkBlock,RotatedPillarKineticBlock,SailBlock,SawBlock,SequencedGearshiftBlock,ShaftBlock,SmartChuteBlock,SmartFluidPipeBlock,SpeedControllerBlock,SpoutBlock,StickerBlock,StockpileSwitchBlock,ToggleLatchBlock,TurntableBlock,ValveHandleBlock,WaterWheelBlock,WindmillBearingBlock,WrenchableDirectionalBlock
public interface IWrenchable
-
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.world.level.block.state.BlockStategetRotatedBlockState(net.minecraft.world.level.block.state.BlockState originalState, net.minecraft.core.Direction targetedFace) default net.minecraft.world.InteractionResultonSneakWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context) default net.minecraft.world.InteractionResultonWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context) default voidplayRemoveSound(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) default voidplayRotateSound(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) default net.minecraft.world.level.block.state.BlockStateupdateAfterWrenched(net.minecraft.world.level.block.state.BlockState newState, net.minecraft.world.item.context.UseOnContext context)
-
Method Details
-
onWrenched
default net.minecraft.world.InteractionResult onWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context) -
updateAfterWrenched
default net.minecraft.world.level.block.state.BlockState updateAfterWrenched(net.minecraft.world.level.block.state.BlockState newState, net.minecraft.world.item.context.UseOnContext context) -
onSneakWrenched
default net.minecraft.world.InteractionResult onSneakWrenched(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.item.context.UseOnContext context) -
playRemoveSound
default void playRemoveSound(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos) -
playRotateSound
default void playRotateSound(net.minecraft.world.level.Level world, 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)
-