Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'Pilad/master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Dream-Master committed May 9, 2024
2 parents e84cafc + d3a93bf commit 9f027cc
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 79 deletions.
3 changes: 0 additions & 3 deletions src/main/java/gtPlusPlus/core/common/CommonProxy.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
import gtPlusPlus.core.util.Utils;
import gtPlusPlus.core.util.minecraft.EntityUtils;
import gtPlusPlus.core.util.minecraft.ItemUtils;
import gtPlusPlus.core.util.player.PlayerCache;
import gtPlusPlus.core.util.reflect.ReflectionUtils;
import gtPlusPlus.preloader.CORE_Preloader;
import gtPlusPlus.xmod.gregtech.api.util.SpecialBehaviourTooltipHandler;
Expand Down Expand Up @@ -101,8 +100,6 @@ public void init(final FMLInitializationEvent e) {
}

public void postInit(final FMLPostInitializationEvent e) {
Logger.INFO("Cleaning up, doing postInit.");
PlayerCache.initCache();

// Make Burnables burnable
if (!CORE.burnables.isEmpty()) {
Expand Down
66 changes: 0 additions & 66 deletions src/main/java/gtPlusPlus/core/util/player/PlayerCache.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import gregtech.api.recipe.maps.FuelBackend;
import gregtech.api.util.GT_Recipe;
import gregtech.api.util.GT_Utility;
import gtPlusPlus.xmod.gregtech.common.blocks.textures.TexturesGtBlock;

@SuppressWarnings("deprecation")
public class GT_MTE_LargeTurbine_Gas extends GregtechMetaTileEntity_LargerTurbineBase {
Expand Down Expand Up @@ -194,11 +195,11 @@ protected String getCasingName() {

@Override
protected ITexture getTextureFrontFace() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_SS5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced);
}

@Override
protected ITexture getTextureFrontFaceActive() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_SS_ACTIVE5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced_Active);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import gregtech.api.util.shutdown.ShutDownReasonRegistry;
import gtPlusPlus.core.util.math.MathUtils;
import gtPlusPlus.xmod.gregtech.api.metatileentity.implementations.GT_MetaTileEntity_Hatch_Turbine;
import gtPlusPlus.xmod.gregtech.common.blocks.textures.TexturesGtBlock;

@SuppressWarnings("deprecation")
public class GT_MTE_LargeTurbine_Plasma extends GregtechMetaTileEntity_LargerTurbineBase {
Expand Down Expand Up @@ -301,11 +302,11 @@ protected String getCasingName() {

@Override
protected ITexture getTextureFrontFace() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_TU5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced);
}

@Override
protected ITexture getTextureFrontFaceActive() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_TU_ACTIVE5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced_Active);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import gregtech.api.util.GT_ModHandler;
import gregtech.api.util.GT_Utility;
import gtPlusPlus.core.util.math.MathUtils;
import gtPlusPlus.xmod.gregtech.common.blocks.textures.TexturesGtBlock;

public class GT_MTE_LargeTurbine_SCSteam extends GregtechMetaTileEntity_LargerTurbineBase {

Expand Down Expand Up @@ -115,11 +116,11 @@ protected String getCasingName() {

@Override
protected ITexture getTextureFrontFace() {
return TextureFactory.of(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_TI5);
return TextureFactory.of(TexturesGtBlock.Overlay_Machine_Controller_Advanced);
}

@Override
protected ITexture getTextureFrontFaceActive() {
return TextureFactory.of(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_TI_ACTIVE5);
return TextureFactory.of(TexturesGtBlock.Overlay_Machine_Controller_Advanced_Active);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import gtPlusPlus.core.lib.CORE;
import gtPlusPlus.core.util.math.MathUtils;
import gtPlusPlus.core.util.minecraft.PlayerUtils;
import gtPlusPlus.xmod.gregtech.common.blocks.textures.TexturesGtBlock;

@SuppressWarnings("deprecation")
public class GT_MTE_LargeTurbine_SHSteam extends GregtechMetaTileEntity_LargerTurbineBase {
Expand Down Expand Up @@ -188,11 +189,11 @@ protected String getCasingName() {

@Override
protected ITexture getTextureFrontFace() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_TI5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced);
}

@Override
protected ITexture getTextureFrontFaceActive() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_TI_ACTIVE5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced_Active);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import gregtech.api.util.GT_Utility;
import gtPlusPlus.core.util.math.MathUtils;
import gtPlusPlus.core.util.minecraft.PlayerUtils;
import gtPlusPlus.xmod.gregtech.common.blocks.textures.TexturesGtBlock;

@SuppressWarnings("deprecation")
public class GT_MTE_LargeTurbine_Steam extends GregtechMetaTileEntity_LargerTurbineBase {
Expand Down Expand Up @@ -199,11 +200,11 @@ protected String getCasingName() {

@Override
protected ITexture getTextureFrontFace() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_ST5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced);
}

@Override
protected ITexture getTextureFrontFaceActive() {
return new GT_RenderedTexture(gregtech.api.enums.Textures.BlockIcons.LARGETURBINE_ST_ACTIVE5);
return new GT_RenderedTexture(TexturesGtBlock.Overlay_Machine_Controller_Advanced_Active);
}
}

0 comments on commit 9f027cc

Please sign in to comment.