aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorTec <daniel112092@gmail.com>2022-02-06 11:09:45 +0100
committerTec <daniel112092@gmail.com>2022-02-06 11:09:45 +0100
commit89ccc4d31f8ab30340f53f9c2e9ed9413c997a37 (patch)
tree6a597df2a070e5313d10b49b086b01c43509ce17 /src/main/java
parentf74f8791d2dab271ad4fb69e8f06aeff7408aa8f (diff)
parent9c10b4c63b9c4ea551719c8a059d36ea01c5b89e (diff)
downloadGT5-Unofficial-89ccc4d31f8ab30340f53f9c2e9ed9413c997a37.tar.gz
GT5-Unofficial-89ccc4d31f8ab30340f53f9c2e9ed9413c997a37.tar.bz2
GT5-Unofficial-89ccc4d31f8ab30340f53f9c2e9ed9413c997a37.zip
Merge branch 'release/5.0.1'
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/github/technus/tectech/compatibility/dreamcraft/NoDreamCraftMachineLoader.java34
-rw-r--r--src/main/java/com/github/technus/tectech/compatibility/thaumcraft/elementalMatter/definitions/EMComplexAspectDefinition.java16
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/anomaly/AnomalyHandler.java10
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/commands/ConvertFloat.java4
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/commands/ConvertInteger.java4
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/data/ChunkDataMessage.java4
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/data/PlayerPersistence.java6
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/commands/EMList.java4
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/definitions/EMPrimitiveTemplate.java2
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/maps/EMInstanceStackMap.java20
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/maps/EMStackMap.java13
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/maps/IEMMapRead.java2
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/elementalMatter/core/stacks/EMInstanceStack.java20
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMAtomDefinition.java18
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMHadronDefinition.java16
-rw-r--r--src/main/java/com/github/technus/tectech/mechanics/elementalMatter/definitions/complex/EMNuclideIAEA.java2
-rw-r--r--src/main/java/com/github/technus/tectech/nei/TT_NEI_ResearchHandler.java4
-rw-r--r--src/main/java/com/github/technus/tectech/nei/TT_NEI_ScannerHandler.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/cover/GT_Cover_TM_EnderFluidLink.java3
-rw-r--r--src/main/java/com/github/technus/tectech/thing/item/DebugElementalInstanceContainer_EM.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/item/ElementalDefinitionContainer_EM.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/item/ElementalDefinitionScanStorage_EM.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/item/ParametrizerMemoryCard.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_Capacitor.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeData.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_CreativeMaintenance.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_DataConnector.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_DynamoMulti.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_DynamoTunnel.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_ElementalContainer.java9
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_EnergyMulti.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_EnergyTunnel.java8
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_Holder.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_InputData.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_InputDataItems.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_InputElemental.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_OutputData.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_OutputDataItems.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_OutputElemental.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_OverflowElemental.java15
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_Param.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_Rack.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/GT_MetaTileEntity_Hatch_Uncertainty.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/TextParametersMessage.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/gui/GT_Container_Param.java22
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/gui/GT_Container_ParamAdv.java26
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/gui/GT_Container_ParamText.java22
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/gui/GT_GUIContainer_Param.java17
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/gui/GT_GUIContainer_ParamAdv.java17
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/hatch/gui/GT_GUIContainer_ParamText.java20
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_computer.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_quantizer.java2
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_EM_scanner.java2
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/base/GT_Container_MultiMachineEM.java10
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/base/GT_MetaTileEntity_MultiblockBase_EM.java8
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/em_machine/GT_MetaTileEntity_EM_machine.java10
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/single/GT_MetaTileEntity_BuckConverter.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/single/GT_MetaTileEntity_DataReader.java22
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/single/GT_MetaTileEntity_DebugPollutor.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/single/GT_MetaTileEntity_DebugPowerGenerator.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/single/GT_MetaTileEntity_DebugStructureWriter.java10
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/single/GT_MetaTileEntity_MicroController.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/single/GT_MetaTileEntity_OwnerDetector.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/single/GT_MetaTileEntity_TT_Transformer.java6
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/single/GT_MetaTileEntity_TeslaCoil.java5
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/single/gui/GT_Container_DebugPollutor.java10
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/single/gui/GT_GUIContainer_BuckConverter.java4
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/single/gui/GT_GUIContainer_DataReader.java9
-rw-r--r--src/main/java/com/github/technus/tectech/thing/metaTileEntity/single/gui/GT_GUIContainer_DebugPowerGenerator.java4
-rw-r--r--src/main/java/com/github/technus/tectech/util/TT_Utility.java (renamed from src/main/java/com/github/technus/tectech/util/Util.java)35
70 files changed, 309 insertions, 308 deletions
diff --git a/src/main/java/com/github/technus/tectech/compatibility/dreamcraft/NoDreamCraftMachineLoader.java b/src/main/java/com/github/technus/tectech/compatibility/dreamcraft/NoDreamCraftMachineLoader.java
index 798ffec36c..c8eda64bea 100644
--- a/src/main/java/com/github/technus/tectech/compatibility/dreamcraft/NoDreamCraftMachineLoader.java
+++ b/src/main/java/com/github/technus/tectech/compatibility/dreamcraft/NoDreamCraftMachineLoader.java
@@ -2,7 +2,7 @@ package com.github.technus.tectech.compatibility.dreamcraft;
import com.github.technus.tectech.Reference;
import com.github.technus.tectech.TecTech;
-import com.github.technus.tectech.util.Util;
+import com.github.technus.tectech.util.TT_Utility;
import com.github.technus.tectech.thing.CustomItemList;
import com.github.technus.tectech.thing.metaTileEntity.single.GT_MetaTileEntity_TT_Transformer;
import com.github.technus.tectech.thing.metaTileEntity.single.GT_MetaTileEntity_WetTransformer;
@@ -105,7 +105,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
temp = new GT_MetaTileEntity_BasicHull(
11230, "hull.tier.10", "UEV Machine Hull", 10,
imagination);
- Util.setTier(10, temp);
+ TT_Utility.setTier(10, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -114,7 +114,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
temp = new GT_MetaTileEntity_BasicHull(
11231, "hull.tier.11", "UIV Machine Hull", 11,
imagination);
- Util.setTier(11, temp);
+ TT_Utility.setTier(11, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -123,7 +123,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
temp = new GT_MetaTileEntity_BasicHull(
11232, "hull.tier.12", "UMV Machine Hull", 12,
imagination);
- Util.setTier(12, temp);
+ TT_Utility.setTier(12, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -132,7 +132,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
temp = new GT_MetaTileEntity_BasicHull(
11233, "hull.tier.13", "UXV Machine Hull", 13,
imagination);
- Util.setTier(13, temp);
+ TT_Utility.setTier(13, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -141,7 +141,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
temp = new GT_MetaTileEntity_BasicHull(
11234, "hull.tier.14", "OPV Machine Hull", 14,
imagination);
- Util.setTier(14, temp);
+ TT_Utility.setTier(14, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -150,7 +150,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
temp = new GT_MetaTileEntity_BasicHull(
11235, "hull.tier.15", "MAX Machine Hull", 15,
imagination);
- Util.setTier(15, temp);
+ TT_Utility.setTier(15, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -162,7 +162,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
temp = new GT_MetaTileEntity_TT_Transformer(
11221, "tt.transformer.tier.10", "Extremely Ultimate Transformer", 10);//UIV -> UEV (Use Soft Mallet to invert)
- Util.setTier(10, temp);
+ TT_Utility.setTier(10, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -170,7 +170,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
temp = new GT_MetaTileEntity_TT_Transformer(
11222, "tt.transformer.tier.11", "Insanely Ultimate Transformer", 11);//UMV -> UIV (Use Soft Mallet to invert)
- Util.setTier(11, temp);
+ TT_Utility.setTier(11, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -178,7 +178,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
temp = new GT_MetaTileEntity_TT_Transformer(
11223, "tt.transformer.tier.12", "Mega Ultimate Transformer", 12);//UXV -> UMV (Use Soft Mallet to invert)
- Util.setTier(12, temp);
+ TT_Utility.setTier(12, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -186,7 +186,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
temp = new GT_MetaTileEntity_TT_Transformer(
11224, "tt.transformer.tier.13", "Extended Mega Ultimate Transformer", 13);//OPV -> UXV (Use Soft Mallet to invert)
- Util.setTier(13, temp);
+ TT_Utility.setTier(13, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -194,7 +194,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
temp = new GT_MetaTileEntity_TT_Transformer(
11225, "tt.transformer.tier.14", "Overpowered Transformer", 14);//MAX -> OPV (Use Soft Mallet to invert)
- Util.setTier(14, temp);
+ TT_Utility.setTier(14, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -215,7 +215,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
11910, "transformer.ha.tier.10", "Extremely Ultimate Hi-Amp Transformer", 10,
//UIV -> UEV (Use Soft Mallet to invert)
translateToLocal("gt.blockmachines.transformer.ha.tier.10.desc"));
- Util.setTier(10, temp);
+ TT_Utility.setTier(10, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -225,7 +225,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
11911, "transformer.ha.tier.11", "Insanely Ultimate Hi-Amp Transformer", 11,
//UMV -> UIV (Use Soft Mallet to invert)
translateToLocal("gt.blockmachines.transformer.ha.tier.11.desc"));
- Util.setTier(11, temp);
+ TT_Utility.setTier(11, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -235,7 +235,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
11912, "transformer.ha.tier.12", "Mega Ultimate Hi-Amp Transformer", 12,
//UXV -> UMV (Use Soft Mallet to invert)
translateToLocal("gt.blockmachines.transformer.ha.tier.12.desc"));
- Util.setTier(12, temp);
+ TT_Utility.setTier(12, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -245,7 +245,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
11913, "transformer.ha.tier.13", "Extended Mega Ultimate Hi-Amp Transformer", 13,
//OPV -> UXV (Use Soft Mallet to invert)
translateToLocal("gt.blockmachines.transformer.ha.tier.13.desc"));
- Util.setTier(13, temp);
+ TT_Utility.setTier(13, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
@@ -255,7 +255,7 @@ public class NoDreamCraftMachineLoader implements Runnable {
11914, "transformer.ha.tier.14", "Overpowered Hi-Amp Transformer", 14,
//MAX -> OPV (Use Soft Mallet to invert)
translateToLocal("gt.blockmachines.transformer.ha.tier.14.desc"));
- Util.setTier(14, temp);
+ TT_Utility.setTier(14, temp);
if (GT_Values.GT.isClientSide()) {
field.set(temp, method.invoke(temp, iTexture));
}
diff --git a/src/main/java/com/github/technus/tectech/compatibility/thaumcraft/elementalMatter/definitions/EMComplexAspectDefinition.java b/src/main/java/com/github/technus/tectech/compatibility/thaumcraft/elementalMatter/definitions/EMComplexAspectDefinition.java
index 8c90dc939c..be1ed9bd51 100644
--- a/src/main/java/com/github/technus/tectech/compatibility/thaumcraft/elementalMatter/definitions/EMComplexAspectDefinition.java
+++ b/src/main/java/com/github/technus/tectech/compatibility/thaumcraft/elementalMatter/definitions/EMComplexAspectDefinition.java
@@ -10,7 +10,7 @@ import com.github.technus.tectech.mechanics.elementalMatter.core.definitions.reg
import com.github.technus.tectech.mechanics.elementalMatter.core.definitions.registry.EMDefinitionsRegistry;
import com.github.technus.tectech.mechanics.elementalMatter.core.maps.EMConstantStackMap;
import com.github.technus.tectech.mechanics.elementalMatter.core.stacks.EMDefinitionStack;
-import com.github.technus.tectech.util.Util;
+import com.github.technus.tectech.util.TT_Utility;
import java.util.ArrayList;
@@ -233,30 +233,30 @@ public final class EMComplexAspectDefinition extends EMComplexTemplate {
@Override
public void addScanShortSymbols(ArrayList<String> lines, int capabilities, long energyLevel) {
- if (Util.areBitsSet(SCAN_GET_NOMENCLATURE | SCAN_GET_CHARGE | SCAN_GET_MASS, capabilities)) {
+ if (TT_Utility.areBitsSet(SCAN_GET_NOMENCLATURE | SCAN_GET_CHARGE | SCAN_GET_MASS, capabilities)) {
lines.add(getShortSymbol());
}
}
@Override
public void addScanResults(ArrayList<String> lines, int capabilities, long energyLevel) {
- if (Util.areBitsSet(SCAN_GET_CLASS_TYPE, capabilities)) {
+ if (TT_Utility.areBitsSet(SCAN_GET_CLASS_TYPE, capabilities)) {
lines.add(translateToLocal("tt.keyword.CLASS") + " = " + nbtType + ' ' + getMatterMassType());
}
- if (Util.areBitsSet(SCAN_GET_NOMENCLATURE | SCAN_GET_CHARGE | SCAN_GET_MASS, capabilities)) {
+ if (TT_Utility.areBitsSet(SCAN_GET_NOMENCLATURE | SCAN_GET_CHARGE | SCAN_GET_MASS, capabilities)) {
lines.add(translateToLocal("tt.keyword.NAME") + " = " + getLocalizedName());
//lines.add("SYMBOL = "+getSymbol());
}
- if (Util.areBitsSet(SCAN_GET_CHARGE, capabilities)) {
+ if (TT_Utility.areBitsSet(SCAN_GET_CHARGE, capabilities)) {
lines.add(translateToLocal("tt.keyword.CHARGE") + " = " + getCharge() / 3f + " e");
}
- if (Util.areBitsSet(SCAN_GET_COLOR, capabilities)) {
+ if (TT_Utility.areBitsSet(SCAN_GET_COLOR, capabilities)) {
lines.add(hasColor() ? translateToLocal("tt.keyword.COLORLESS") : translateToLocal("tt.keyphrase.CARRIES_COLOR"));
}
- if (Util.areBitsSet(SCAN_GET_MASS, capabilities)) {
+ if (TT_Utility.areBitsSet(SCAN_GET_MASS, capabilities)) {
lines.add(translateToLocal("tt.keyword.MASS") + " = " + getMass() + " eV/c\u00b2");
}
- if (Util.areBitsSet(SCAN_GET_TIMESPAN_INFO, capabilities)) {
+ if (TT_Utility.areBitsSet(SCAN_GET_TIMESPAN_INFO, capabilities)) {
lines.add(translateToLocal("tt.keyphrase.LIFE_TIME") + " = " + getRawTimeSpan(energyLevel) + " s");
lines.add(" " + translateToLocal("tt.keyphrase.At_current_energy_level"));
}
diff --git a/src/main/java/com/github/technus/tectech/mechanics/anomaly/AnomalyHandler.java b/src/main/java/com/github/technus/tectech/mechanics/anomaly/AnomalyHandler.java
index a61490b162..bd25b05a0c 10064