aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>2019-09-21 13:09:08 +0200
committerbartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com>2019-09-21 13:09:08 +0200
commit3d3427e5720aca81d4559290b077bc6b33dff4ec (patch)
tree99935a994051638d1680e7313f72727f013026c6 /src
parent4af4e216d11883788a16dd513c8a2a1b38204a4d (diff)
downloadGT5-Unofficial-3d3427e5720aca81d4559290b077bc6b33dff4ec.tar.gz
GT5-Unofficial-3d3427e5720aca81d4559290b077bc6b33dff4ec.tar.bz2
GT5-Unofficial-3d3427e5720aca81d4559290b077bc6b33dff4ec.zip
security patches
+moved some commands, +fixed a typo +removed null items +rebalanced TheCore +added forestry compat (possible due to their LGPL license!) +fixed langfiles Signed-off-by: bartimaeusnek <33183715+bartimaeusnek@users.noreply.github.com> Former-commit-id: cf1373fd88ba341662144023f989bc45fef3c48d
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/MainMod.java14
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/client/textures/PrefixTextureLinker.java39
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/loaders/BeforeGTPreload.java4
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/common/tileentities/tiered/GT_MetaTileEntity_BioLab.java2
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/BW_MetaGenerated_Items.java30
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/GT_Enhancement/BWGTMetaItems.java144
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/GT_Enhancement/GTMetaItemEnhancer.java63
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/Werkstoff.java4
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/WerkstoffLoader.java51
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/processingLoaders/AdditionalRecipes.java9
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/processingLoaders/AfterLuVTierEnhacement.java6
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/processingLoaders/LoadItemContainers.java2
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/processingLoaders/LuVTierEnhancer.java9
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/material/processingLoaders/PlatinumSludgeOverHaul.java6
-rw-r--r--src/main/java/com/github/bartimaeusnek/bartworks/system/worldgen/MapGenRuins.java4
-rw-r--r--src/main/java/com/github/bartimaeusnek/crossmod/galacticraft/solarsystems/Ross128SolarSystem.java2
-rw-r--r--src/main/java/com/github/bartimaeusnek/crossmod/thaumcraft/util/ThaumcraftHandler.java7
-rw-r--r--src/main/resources/assets/bartworks/lang/de_DE.lang199
-rw-r--r--src/main/resources/assets/bartworks/lang/fr_FR.lang22
-rw-r--r--src/main/resources/assets/bartworks/lang/zh_CN.lang2
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/DIAMOND/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/DIAMOND/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/DIAMOND/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/DIAMOND/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/DULL/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/DULL/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/DULL/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/DULL/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/EMERALD/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/EMERALD/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/EMERALD/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/EMERALD/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FIERY/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FIERY/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FIERY/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FIERY/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FINE/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FINE/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FINE/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FINE/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FLINT/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FLINT/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FLINT/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FLINT/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FLUID/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FLUID/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FLUID/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/FLUID/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/GEM_HORIZONTAL/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/GEM_HORIZONTAL/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/GEM_HORIZONTAL/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/GEM_HORIZONTAL/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/GEM_VERTICAL/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/GEM_VERTICAL/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/GEM_VERTICAL/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/GEM_VERTICAL/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/GLASS/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/GLASS/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/GLASS/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/GLASS/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/LAPIS/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/LAPIS/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/LAPIS/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/LAPIS/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/LEAF/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/LEAF/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/LEAF/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/LEAF/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/LIGNITE/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/LIGNITE/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/LIGNITE/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/LIGNITE/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/MAGNETIC/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/MAGNETIC/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/MAGNETIC/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/MAGNETIC/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/METALLIC/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/METALLIC/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/METALLIC/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/METALLIC/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/NETHERSTAR/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/NETHERSTAR/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/NETHERSTAR/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/NETHERSTAR/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/NONE/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/NONE/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/NONE/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/NONE/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/OPAL/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/OPAL/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/OPAL/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/OPAL/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/PAPER/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/PAPER/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/PAPER/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/PAPER/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/POWDER/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/POWDER/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/POWDER/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/POWDER/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/QUARTZ/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/QUARTZ/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/QUARTZ/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/QUARTZ/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/ROUGH/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/ROUGH/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/ROUGH/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/ROUGH/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/RUBY/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/RUBY/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/RUBY/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/RUBY/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/SAND/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/SAND/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/SAND/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/SAND/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/SHARDS/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/SHARDS/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/SHARDS/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/SHARDS/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/SHINY/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/SHINY/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/SHINY/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/SHINY/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/WOOD/capsule.pngbin0 -> 211 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/WOOD/capsuleMolten.pngbin0 -> 135 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/WOOD/capsuleMolten_OVERLAY.pngbin0 -> 168 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/WOOD/capsule_OVERLAY.pngbin0 -> 308 bytes
-rw-r--r--src/main/resources/assets/gregtech/textures/items/materialicons/copy.bat1
129 files changed, 485 insertions, 135 deletions
diff --git a/src/main/java/com/github/bartimaeusnek/bartworks/MainMod.java b/src/main/java/com/github/bartimaeusnek/bartworks/MainMod.java
index 1d452f0505..6182738f04 100644
--- a/src/main/java/com/github/bartimaeusnek/bartworks/MainMod.java
+++ b/src/main/java/com/github/bartimaeusnek/bartworks/MainMod.java
@@ -30,6 +30,7 @@ import com.github.bartimaeusnek.bartworks.client.ClientEventHandler.TooltipEvent
import com.github.bartimaeusnek.bartworks.client.creativetabs.BioTab;
import com.github.bartimaeusnek.bartworks.client.creativetabs.GT2Tab;
import com.github.bartimaeusnek.bartworks.client.creativetabs.bartworksTab;
+import com.github.bartimaeusnek.bartworks.client.textures.PrefixTextureLinker;
import com.github.bartimaeusnek.bartworks.common.configs.ConfigHandler;
import com.github.bartimaeusnek.bartworks.common.loaders.BioCultureLoader;
import com.github.bartimaeusnek.bartworks.common.loaders.BioLabLoader;
@@ -48,6 +49,7 @@ import com.github.bartimaeusnek.bartworks.system.material.processingLoaders.Plat
import com.github.bartimaeusnek.bartworks.system.oredict.OreDictHandler;
import com.github.bartimaeusnek.bartworks.util.BWRecipes;
import com.github.bartimaeusnek.bartworks.util.BW_Util;
+import com.github.bartimaeusnek.crossmod.BartWorksCrossmod;
import com.google.common.collect.ArrayListMultimap;
import cpw.mods.fml.common.FMLCommonHandler;
import cpw.mods.fml.common.Loader;
@@ -58,6 +60,7 @@ import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLServerStartedEvent;
import cpw.mods.fml.common.network.IGuiHandler;
import cpw.mods.fml.common.network.NetworkRegistry;
+import cpw.mods.fml.common.registry.GameRegistry;
import gregtech.api.GregTech_API;
import gregtech.api.enums.*;
import gregtech.api.objects.GT_ItemStack;
@@ -89,6 +92,7 @@ import static gregtech.api.enums.GT_Values.VN;
+ "after:berriespp; "
+ "after:GalacticraftMars; "
+ "after:GalacticraftCore; "
+ + "after:Forestry; "
)
public final class MainMod {
public static final String NAME = "BartWorks";
@@ -122,9 +126,6 @@ public final class MainMod {
}
}
- //fixing BorosilicateGlass... -_-'
- Materials.BorosilicateGlass.add(SubTag.CRYSTAL, SubTag.NO_SMASHING, SubTag.NO_RECYCLING, SubTag.SMELTING_TO_FLUID);
-
if (Loader.isModLoaded("dreamcraft")) {
ConfigHandler.GTNH = true;
}
@@ -147,6 +148,8 @@ public final class MainMod {
INSTANCE.init();
Werkstoff.init();
GregTech_API.sAfterGTPostload.add(new CircuitPartLoader());
+ if (FMLCommonHandler.instance().getSide().isClient())
+ new PrefixTextureLinker();
}
}
@@ -219,7 +222,7 @@ public final class MainMod {
}
private static void unificationEnforcer() {
- for (Werkstoff werkstoff : Werkstoff.werkstoffHashMap.values()) {
+ for (Werkstoff werkstoff : Werkstoff.werkstoffHashSet) {
if (werkstoff.getGenerationFeatures().enforceUnification) {
if (werkstoff.contains(NOBLE_GAS)){
String name = werkstoff.getFluidOrGas(1).getFluid().getName();
@@ -310,6 +313,9 @@ public final class MainMod {
HashSet torem = new HashSet<>();
ItemStack toReplace = null;
for (Map.Entry<GT_ItemStack, FluidContainerRegistry.FluidContainerData> entry : sFilledContainerToData.entrySet()) {
+ final String MODID = GameRegistry.findUniqueIdentifierFor(data.filledContainer.getItem()).modId;
+ if (MODID.equals(MainMod.MOD_ID) || MODID.equals(BartWorksCrossmod.MOD_ID))
+ continue;
if (entry.getValue().fluid.equals(data.fluid) && !entry.getValue().filledCon