Interface IWrenchable
- All Known Subinterfaces:
IBogeyBlock,ICogWheel,IRotate,IWrenchableWithBracket
- All Known Implementing Classes:
AbstractChassisBlock,AbstractChuteBlock,AbstractDiodeBlock,AbstractDirectionalFunnelBlock,AbstractEncasedShaftBlock,AbstractFunnelBlock,AbstractHorizontalFunnelBlock,AbstractShaftBlock,AbstractSimpleShaftBlock,AdjustablePulleyBlock,AndesiteFunnelBlock,ArmBlock,AttachedActorBlock,AxisPipeBlock,BasinBlock,BearingBlock,BeltBlock,BeltFunnelBlock,BeltTunnelBlock,BlazeBurnerBlock,BracketBlock,BrassDiodeBlock,BrassFunnelBlock,BrassTunnelBlock,CartAssemblerBlock,CasingBlock,ChuteBlock,ClockworkBearingBlock,ClutchBlock,CogWheelBlock,ContentObserverBlock,ControllerRailBlock,ControlsBlock,CopperBacktankBlock,CrateBlock,CreativeCrateBlock,CreativeMotorBlock,CrushingWheelBlock,CuckooClockBlock,DeployerBlock,DepotBlock,DirectionalAxisKineticBlock,DirectionalKineticBlock,DisplayLinkBlock,DrillBlock,EjectorBlock,EncasedBeltBlock,EncasedCogwheelBlock,EncasedFanBlock,EncasedPipeBlock,EncasedShaftBlock,FlapDisplayBlock,FluidPipeBlock,FluidTankBlock,FluidValveBlock,FlywheelBlock,FunnelBlock,GantryCarriageBlock,GantryShaftBlock,GaugeBlock,GearboxBlock,GearshiftBlock,GirderBlock,GirderEncasedShaftBlock,GlassFluidPipeBlock,HandCrankBlock,HarvesterBlock,HorizontalAxisKineticBlock,HorizontalKineticBlock,HosePulleyBlock,ItemDrainBlock,ItemVaultBlock,KineticBlock,LinearChassisBlock,LitBlazeBurnerBlock,MechanicalBearingBlock,MechanicalCrafterBlock,MechanicalMixerBlock,MechanicalPistonBlock,MechanicalPistonHeadBlock,MechanicalPressBlock,MetalLadderBlock,MillstoneBlock,NixieTubeBlock,NozzleBlock,PistonExtensionPoleBlock,PlacardBlock,PloughBlock,PortableStorageInterfaceBlock,PoweredLatchBlock,PoweredShaftBlock,PulleyBlock,PumpBlock,RadialChassisBlock,RedstoneContactBlock,RedstoneLinkBlock,RoseQuartzLampBlock,RotatedPillarKineticBlock,SailBlock,SawBlock,SequencedGearshiftBlock,ShaftBlock,SignalBlock,SlidingDoorBlock,SmartChuteBlock,SmartFluidPipeBlock,SpeedControllerBlock,SpoutBlock,StandardBogeyBlock,StationBlock,SteamEngineBlock,StickerBlock,StockpileSwitchBlock,ToggleLatchBlock,TrackBlock,TrackObserverBlock,TrainTrapdoorBlock,TurntableBlock,ValveHandleBlock,WaterWheelBlock,WhistleBlock,WhistleExtenderBlock,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)
-