Class WrenchHelpers.SimpleWrenchAction
java.lang.Object
org.cyclops.integrateddynamics.core.helper.WrenchHelpers.SimpleWrenchAction
- All Implemented Interfaces:
- WrenchHelpers.IWrenchAction<Void>
- Enclosing class:
- WrenchHelpers
public abstract static class WrenchHelpers.SimpleWrenchAction
extends Object
implements WrenchHelpers.IWrenchAction<Void>
An action that can serve as wrenching.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract voidonWrench(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos) Called for the actual wrenching action.voidonWrench(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, Void parameter) Called for the actual wrenching action.
- 
Constructor Details- 
SimpleWrenchActionpublic SimpleWrenchAction()
 
- 
- 
Method Details- 
onWrenchpublic void onWrench(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, Void parameter) Called for the actual wrenching action.- Specified by:
- onWrenchin interface- WrenchHelpers.IWrenchAction<Void>
- Parameters:
- player- The player.
- pos- The position that is being wrenched.
- parameter- An extra parameter that is used to call this action.
 
- 
onWrenchpublic abstract void onWrench(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos) Called for the actual wrenching action.- Parameters:
- player- The player.
- pos- The position that is being wrenched.
 
 
-