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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
onWrench
(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos) Called for the actual wrenching action.void
onWrench
(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, Void parameter) Called for the actual wrenching action.
-
Constructor Details
-
SimpleWrenchAction
public SimpleWrenchAction()
-
-
Method Details
-
onWrench
public void onWrench(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, Void parameter) Called for the actual wrenching action.- Specified by:
onWrench
in interfaceWrenchHelpers.IWrenchAction<Void>
- Parameters:
player
- The player.pos
- The position that is being wrenched.parameter
- An extra parameter that is used to call this action.
-
onWrench
public 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.
-