aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/interfaces
diff options
context:
space:
mode:
authorGlease <4586901+Glease@users.noreply.github.com>2022-10-17 17:38:59 +0800
committerGitHub <noreply@github.com>2022-10-17 11:38:59 +0200
commitbc463793934ad1d9c32c34f37c40e66a5107ebed (patch)
tree2d934c36184ceb23dd60745dc11f5e5f18e953e0 /src/main/java/gregtech/api/interfaces
parentc083ab89857dfb21ac8c260647e2a4db30d6068c (diff)
downloadGT5-Unofficial-bc463793934ad1d9c32c34f37c40e66a5107ebed.tar.gz
GT5-Unofficial-bc463793934ad1d9c32c34f37c40e66a5107ebed.tar.bz2
GT5-Unofficial-bc463793934ad1d9c32c34f37c40e66a5107ebed.zip
add PR screwdriver compat to GT screwdriver (#1475)
* add PR screwdriver compat to GT screwdriver * Spotless apply for branch feature/pr-screwdriver for #1475 (#1476) Co-authored-by: Glease <4586901+Glease@users.noreply.github.com> Co-authored-by: GitHub GTNH Actions <> * make it optional Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api/interfaces')
-rw-r--r--src/main/java/gregtech/api/interfaces/IToolStats.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/interfaces/IToolStats.java b/src/main/java/gregtech/api/interfaces/IToolStats.java
index b2e170445c..9dcfc4bce8 100644
--- a/src/main/java/gregtech/api/interfaces/IToolStats.java
+++ b/src/main/java/gregtech/api/interfaces/IToolStats.java
@@ -110,6 +110,13 @@ public interface IToolStats {
boolean isWrench();
/**
+ * @return if this Tool can be used as an PR screwdriver
+ */
+ default boolean isScrewdriver() {
+ return false;
+ }
+
+ /**
* @return If this Tool can be used as Weapon i.e. if that is the main purpose.
*/
boolean isWeapon();