aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api/objects/GT_UO_Fluid.java
diff options
context:
space:
mode:
authorboubou19 <miisterunknown@gmail.com>2023-04-01 18:11:43 +0200
committerGitHub <noreply@github.com>2023-04-01 18:11:43 +0200
commit5f50e4a36ec000657b0a1664784acf00275293c6 (patch)
tree5ef81441032735438c9fd9c620224ca58e46e537 /src/main/java/gregtech/api/objects/GT_UO_Fluid.java
parent6b77557e0e87cf5afd9ebd3985323ff1249e615c (diff)
downloadGT5-Unofficial-5f50e4a36ec000657b0a1664784acf00275293c6.tar.gz
GT5-Unofficial-5f50e4a36ec000657b0a1664784acf00275293c6.tar.bz2
GT5-Unofficial-5f50e4a36ec000657b0a1664784acf00275293c6.zip
update spotless formatting (#1827)
Diffstat (limited to 'src/main/java/gregtech/api/objects/GT_UO_Fluid.java')
-rw-r--r--src/main/java/gregtech/api/objects/GT_UO_Fluid.java19
1 files changed, 12 insertions, 7 deletions
diff --git a/src/main/java/gregtech/api/objects/GT_UO_Fluid.java b/src/main/java/gregtech/api/objects/GT_UO_Fluid.java
index 7916131b63..555d8856b2 100644
--- a/src/main/java/gregtech/api/objects/GT_UO_Fluid.java
+++ b/src/main/java/gregtech/api/objects/GT_UO_Fluid.java
@@ -19,26 +19,31 @@ public class GT_UO_Fluid {
public GT_UO_Fluid(ConfigCategory aConfigCategory) { // TODO CONFIGURE
if (aConfigCategory.containsKey("Registry")) {
aConfigCategory.get("Registry").comment = "Fluid registry name";
- Registry = aConfigCategory.get("Registry").getString();
+ Registry = aConfigCategory.get("Registry")
+ .getString();
}
if (aConfigCategory.containsKey("MaxAmount")) {
- aConfigCategory
- .get("MaxAmount").comment = "Max amount generation (per operation, sets the VeinData) 80000 MAX";
- MaxAmount = aConfigCategory.get("MaxAmount").getInt(0);
+ aConfigCategory.get(
+ "MaxAmount").comment = "Max amount generation (per operation, sets the VeinData) 80000 MAX";
+ MaxAmount = aConfigCategory.get("MaxAmount")
+ .getInt(0);
}
if (aConfigCategory.containsKey("MinAmount")) {
aConfigCategory.get("MinAmount").comment = "Min amount generation (per operation, sets the VeinData) 0 MIN";
- MinAmount = aConfigCategory.get("MinAmount").getInt(0);
+ MinAmount = aConfigCategory.get("MinAmount")
+ .getInt(0);
}
if (aConfigCategory.containsKey("Chance")) {
aConfigCategory.get(
"Chance").comment = "Chance generating (weighted chance!, there will be a fluid in chunk always!)";
- Chance = aConfigCategory.get("Chance").getInt(0);
+ Chance = aConfigCategory.get("Chance")
+ .getInt(0);
}
if (aConfigCategory.containsKey("DecreasePerOperationAmount")) {
aConfigCategory.get(
"DecreasePerOperationAmount").comment = "Decrease per operation (actual fluid gained works like (Litre)VeinData/5000)";
- DecreasePerOperationAmount = aConfigCategory.get("DecreasePerOperationAmount").getInt(5);
+ DecreasePerOperationAmount = aConfigCategory.get("DecreasePerOperationAmount")
+ .getInt(5);
}
// GT_FML_LOGGER.info("GT UO "+aConfigCategory.getName()+" Fluid:"+Registry+" Max:"+MaxAmount+"
// Min:"+MinAmount+" Chance:"+Chance);