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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 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.
    • 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.