aboutsummaryrefslogtreecommitdiff
path: root/src/Java/gtPlusPlus/core/slots/SlotToolBox.java
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2019-02-28 20:06:01 +0000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2019-02-28 20:06:01 +0000
commit4f435ae75b176a9d90c7afa6b1ff40e9ba9c286a (patch)
treef9707c4551b6134030374580cacfd1aec4b0c9d7 /src/Java/gtPlusPlus/core/slots/SlotToolBox.java
parent1c20e21e7678f9a546fff9bf873c80c35a841cf8 (diff)
downloadGT5-Unofficial-4f435ae75b176a9d90c7afa6b1ff40e9ba9c286a.tar.gz
GT5-Unofficial-4f435ae75b176a9d90c7afa6b1ff40e9ba9c286a.tar.bz2
GT5-Unofficial-4f435ae75b176a9d90c7afa6b1ff40e9ba9c286a.zip
+ Added a new debug tool.
+ Added support for Crops++. + Added Custom Crops & framework to support more in future. + Added basic support for all GT++ Materials within Tinkers Construct. [WIP] + Moderately bad attempt at generating custom Plasma Cooling recipes in the Adv. Vacuum Freezer. [WIP #424] % Reworked logic for Material.java handling Durability, Tool Quality & Harvest Level. % Adjusted frequency of structural checks on the Cyclotron, Now 100x less frequent. % Cleaned up ReflectionUtils.java and made all getters cache their results, for much faster access. % Attempted to adjust logic of FFPP, but I probably broke it. [WIP] % Moved static array of Element Names from IonParticles.java -> ELEMENT.java. $ Greatly improved reflective performance across the mod.
Diffstat (limited to 'src/Java/gtPlusPlus/core/slots/SlotToolBox.java')
-rw-r--r--src/Java/gtPlusPlus/core/slots/SlotToolBox.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Java/gtPlusPlus/core/slots/SlotToolBox.java b/src/Java/gtPlusPlus/core/slots/SlotToolBox.java
index c6d025fd21..87967b75b5 100644
--- a/src/Java/gtPlusPlus/core/slots/SlotToolBox.java
+++ b/src/Java/gtPlusPlus/core/slots/SlotToolBox.java
@@ -18,34 +18,34 @@ public class SlotToolBox extends SlotGtTool {
Class temp;
//IHL Pumps
- temp = ReflectionUtils.getClassByName("ihl.handpump.IHLHandPump");
+ temp = ReflectionUtils.getClass("ihl.handpump.IHLHandPump");
if (temp != null) {
mSupportedCustomTools.put(temp);
temp = null;
}
//IC2 Electrics
- temp = ReflectionUtils.getClassByName("ic2.api.item.IElectricItem");
+ temp = ReflectionUtils.getClass("ic2.api.item.IElectricItem");
if (temp != null) {
mSupportedCustomTools.put(temp);
temp = null;
}
//IC2 Boxables
- temp = ReflectionUtils.getClassByName(" ic2.api.item.IBoxable");
+ temp = ReflectionUtils.getClass(" ic2.api.item.IBoxable");
if (temp != null) {
mSupportedCustomTools.put(temp);
temp = null;
}
//Tinkers Tools
- temp = ReflectionUtils.getClassByName("tconstruct.library.tools.Weapon");
+ temp = ReflectionUtils.getClass("tconstruct.library.tools.Weapon");
if (temp != null) {
mSupportedCustomTools.put(temp);
temp = null;
}
//BattleGear Weapons
- temp = ReflectionUtils.getClassByName("mods.battlegear2.api.weapons.IBattlegearWeapon");
+ temp = ReflectionUtils.getClass("mods.battlegear2.api.weapons.IBattlegearWeapon");
if (temp != null) {
mSupportedCustomTools.put(temp);
temp = null;
@@ -55,7 +55,7 @@ public class SlotToolBox extends SlotGtTool {
//OpenMods
String[] OpenModsContent = new String[] {"openblocks.common.item.ItemDevNull", "openblocks.common.item.ItemHangGlider", "openblocks.common.item.ItemWrench", "openblocks.common.item.ItemSleepingBag"};
for (String t : OpenModsContent) {
- temp = ReflectionUtils.getClassByName(t);
+ temp = ReflectionUtils.getClass(t);
if (temp != null) {
mSupportedCustomTools.put(temp);
temp = null;
@@ -63,7 +63,7 @@ public class SlotToolBox extends SlotGtTool {
}
//GC Wrench
- temp = ReflectionUtils.getClassByName("micdoodle8.mods.galacticraft.core.items.ItemUniversalWrench");
+ temp = ReflectionUtils.getClass("micdoodle8.mods.galacticraft.core.items.ItemUniversalWrench");
if (temp != null) {
mSupportedCustomTools.put(temp);
temp = null;
@@ -72,7 +72,7 @@ public class SlotToolBox extends SlotGtTool {
//EIO
String[] EioContent = new String[] {"crazypants.enderio.api.tool.ITool", "crazypants.enderio.item.ItemMagnet", "crazypants.enderio.item.ItemConduitProbe"};
for (String t : EioContent) {
- temp = ReflectionUtils.getClassByName(t);
+ temp = ReflectionUtils.getClass(t);
if (temp != null) {
mSupportedCustomTools.put(temp);
temp = null;
@@ -80,7 +80,7 @@ public class SlotToolBox extends SlotGtTool {
}
//Forestry
- temp = ReflectionUtils.getClassByName("forestry.core.items.ItemForestryTool");
+ temp = ReflectionUtils.getClass("forestry.core.items.ItemForestryTool");
if (temp != null) {
mSupportedCustomTools.put(temp);
temp = null;