Interface WrenchHelpers.IWrenchAction<P>
- Type Parameters:
P
- The type of parameter that is passed.
- All Known Implementing Classes:
WrenchHelpers.SimpleWrenchAction
- Enclosing class:
- WrenchHelpers
public static interface WrenchHelpers.IWrenchAction<P>
An action that can serve as wrenching.
-
Method Summary
-
Method Details
-
onWrench
void onWrench(net.minecraft.world.entity.player.Player player, net.minecraft.core.BlockPos pos, P parameter) Called for the actual wrenching action.- Parameters:
player
- The player.pos
- The position that is being wrenched.parameter
- An extra parameter that is used to call this action.
-