aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces/metatileentity/IMetaTileEntity.java
diff options
context:
space:
mode:
authorБатьків Нестор-Євген Васильович <mama040508@gmail.com>2023-12-26 23:08:33 +0200
committerGitHub <noreply@github.com>2023-12-26 22:08:33 +0100
commit064c46683f58fd8a981dd03c13cf92556a28656e (patch)
treefc0847e4c913b9557712acee0fe91f588aba5aa0 /src/main/java/gregtech/api/interfaces/metatileentity/IMetaTileEntity.java
parent44e88e146c87774088c68686bdea130fe7dde78d (diff)
downloadGT5-Unofficial-064c46683f58fd8a981dd03c13cf92556a28656e.tar.gz
GT5-Unofficial-064c46683f58fd8a981dd03c13cf92556a28656e.tar.bz2
GT5-Unofficial-064c46683f58fd8a981dd03c13cf92556a28656e.zip
Add modes to tools (#2423)
* Add tool modes change * Deprecate! Deprecate! Deprecate! * Add mode to item name * Opsie * Byte 8 bit * Add enum * Spotless * Types types types!!!! God I love types * Make it trigger when player clicks midair * update deps + fix wci --------- Co-authored-by: Martin Robertz <dream-master@gmx.net>
Diffstat (limited to 'src/main/java/gregtech/api/interfaces/metatileentity/IMetaTileEntity.java')
-rw-r--r--src/main/java/gregtech/api/interfaces/metatileentity/IMetaTileEntity.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/main/java/gregtech/api/interfaces/metatileentity/IMetaTileEntity.java b/src/main/java/gregtech/api/interfaces/metatileentity/IMetaTileEntity.java
index 04522b1012..2c222e76a8 100644
--- a/src/main/java/gregtech/api/interfaces/metatileentity/IMetaTileEntity.java
+++ b/src/main/java/gregtech/api/interfaces/metatileentity/IMetaTileEntity.java
@@ -132,27 +132,28 @@ public interface IMetaTileEntity extends ISidedInventory, IFluidTank, IFluidHand
boolean allowCoverOnSide(ForgeDirection side, GT_ItemStack aStack);
/**
- * When a Player rightclicks the Facing with a Screwdriver.
+ * When a Player right-clicks the Facing with a Screwdriver.
*/
- void onScrewdriverRightClick(ForgeDirection side, EntityPlayer aPlayer, float aX, float aY, float aZ);
+ void onScrewdriverRightClick(ForgeDirection side, EntityPlayer aPlayer, float aX, float aY, float aZ,
+ ItemStack aTool);
/**
* When a Player right-clicks the Facing with a Wrench.
*/
boolean onWrenchRightClick(ForgeDirection side, ForgeDirection wrenchingSide, EntityPlayer entityPlayer, float aX,
- float aY, float aZ);
+ float aY, float aZ, ItemStack aTool);
/**
* When a Player right-clicks the Facing with a wire cutter.
*/
boolean onWireCutterRightClick(ForgeDirection side, ForgeDirection wrenchingSide, EntityPlayer entityPlayer,
- float aX, float aY, float aZ);
+ float aX, float aY, float aZ, ItemStack aTool);
/**
* When a Player right-clicks the Facing with a soldering iron.
*/
boolean onSolderingToolRightClick(ForgeDirection side, ForgeDirection wrenchingSide, EntityPlayer entityPlayer,
- float aX, float aY, float aZ);
+ float aX, float aY, float aZ, ItemStack aTool);
/**
* Called right before this Machine explodes