aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/items
diff options
context:
space:
mode:
authorRealSilverMoon <31100241+RealSilverMoon@users.noreply.github.com>2024-02-01 01:15:29 +0800
committerGitHub <noreply@github.com>2024-01-31 18:15:29 +0100
commit787eba0a15c583b240e96630978b9c3539e55fa4 (patch)
treed4a4ba4e4fb4ea9d09174215581da5c79a6413a2 /src/main/java/gregtech/common/items
parent19950f533392fdadc5858ba12adce64374414083 (diff)
downloadGT5-Unofficial-787eba0a15c583b240e96630978b9c3539e55fa4.tar.gz
GT5-Unofficial-787eba0a15c583b240e96630978b9c3539e55fa4.tar.bz2
GT5-Unofficial-787eba0a15c583b240e96630978b9c3539e55fa4.zip
Add Drone Centre (#2412)
* Add Drone Centre * Apply texture and model * Update en_US.lang * Remove import.* * Switch to block render * Balance range and break chance * Add recipe * Spotless * Update lang * Fix recipe * Rewrite connection system and UI * Remove debuff party * Spotless * Fix server class not found * A stupid enough recipe * Another bad recipe * Update tooltip & i18n * Close it! * Spotless * Disable draggable * prohibited remote control when centre is offline * Rename * Rename; Change specifiers * Update texture * spotless --------- Co-authored-by: Martin Robertz <dream-master@gmx.net>
Diffstat (limited to 'src/main/java/gregtech/common/items')
-rw-r--r--src/main/java/gregtech/common/items/GT_TierDrone.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/java/gregtech/common/items/GT_TierDrone.java b/src/main/java/gregtech/common/items/GT_TierDrone.java
new file mode 100644
index 0000000000..58da852d0e
--- /dev/null
+++ b/src/main/java/gregtech/common/items/GT_TierDrone.java
@@ -0,0 +1,18 @@
+package gregtech.common.items;
+
+import gregtech.api.items.GT_Generic_Item;
+
+public class GT_TierDrone extends GT_Generic_Item {
+
+ private final int level;
+
+ public GT_TierDrone(String aUnlocalized, String aEnglish, String aEnglishTooltip, int level) {
+ super(aUnlocalized, aEnglish, aEnglishTooltip);
+ this.level = level;
+ this.setMaxStackSize(64);
+ }
+
+ public int getLevel() {
+ return level;
+ }
+}