Skip to content

Commit 24d91db

Browse files
authored
Merge branch 'master' into pipe-switch
2 parents 49e336a + 4714e09 commit 24d91db

File tree

113 files changed

+2891
-3978
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+2891
-3978
lines changed

src/main/java/goodgenerator/api/recipe/GoodGeneratorRecipeMaps.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,6 @@ public class GoodGeneratorRecipeMaps {
7474
.dontUseProgressBar()
7575
.addSpecialTexture(70, 11, 72, 40, GGUITextures.PICTURE_COMPONENT_ASSLINE)
7676
.frontend(ComponentAssemblyLineFrontend::new)
77+
.disableOptimize()
7778
.build();
7879
}

src/main/java/goodgenerator/blocks/tileEntity/MTEFuelRefineFactory.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import gregtech.api.interfaces.metatileentity.IMetaTileEntity;
3535
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
3636
import gregtech.api.logic.ProcessingLogic;
37-
import gregtech.api.objects.GTRenderedTexture;
3837
import gregtech.api.recipe.RecipeMap;
3938
import gregtech.api.recipe.check.CheckRecipeResult;
4039
import gregtech.api.recipe.check.CheckRecipeResultRegistry;
@@ -268,17 +267,16 @@ public boolean supportsVoidProtection() {
268267
}
269268

270269
@Override
271-
@SuppressWarnings("ALL")
272270
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, ForgeDirection side, ForgeDirection facing,
273271
int colorIndex, boolean aActive, boolean aRedstone) {
274272
if (side == facing) {
275273
if (aActive) return new ITexture[] { Textures.BlockIcons.getCasingTextureForId(179),
276-
new GTRenderedTexture(Textures.BlockIcons.OVERLAY_FRONT_ASSEMBLY_LINE_ACTIVE), TextureFactory.builder()
274+
TextureFactory.of(Textures.BlockIcons.OVERLAY_FRONT_ASSEMBLY_LINE_ACTIVE), TextureFactory.builder()
277275
.addIcon(Textures.BlockIcons.OVERLAY_FRONT_ASSEMBLY_LINE_ACTIVE_GLOW)
278276
.glow()
279277
.build() };
280278
return new ITexture[] { Textures.BlockIcons.getCasingTextureForId(179),
281-
new GTRenderedTexture(Textures.BlockIcons.OVERLAY_FRONT_ASSEMBLY_LINE), TextureFactory.builder()
279+
TextureFactory.of(Textures.BlockIcons.OVERLAY_FRONT_ASSEMBLY_LINE), TextureFactory.builder()
282280
.addIcon(Textures.BlockIcons.OVERLAY_FRONT_ASSEMBLY_LINE_GLOW)
283281
.glow()
284282
.build() };

src/main/java/goodgenerator/blocks/tileEntity/MTELargeEssentiaGenerator.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
import gregtech.api.metatileentity.implementations.MTEHatch;
3737
import gregtech.api.metatileentity.implementations.MTEHatchDynamo;
3838
import gregtech.api.metatileentity.implementations.MTEHatchInput;
39-
import gregtech.api.objects.GTRenderedTexture;
4039
import gregtech.api.objects.XSTR;
4140
import gregtech.api.recipe.check.CheckRecipeResult;
4241
import gregtech.api.recipe.check.CheckRecipeResultRegistry;
@@ -479,17 +478,16 @@ protected MultiblockTooltipBuilder createTooltip() {
479478
}
480479

481480
@Override
482-
@SuppressWarnings("ALL")
483481
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, ForgeDirection side, ForgeDirection facing,
484482
int colorIndex, boolean aActive, boolean aRedstone) {
485483
if (side == facing) {
486484
if (aActive) return new ITexture[] { Textures.BlockIcons.getCasingTextureForId(1536),
487-
new GTRenderedTexture(Textures.BlockIcons.MACHINE_CASING_DRAGONEGG), TextureFactory.builder()
485+
TextureFactory.of(Textures.BlockIcons.MACHINE_CASING_DRAGONEGG), TextureFactory.builder()
488486
.addIcon(Textures.BlockIcons.MACHINE_CASING_DRAGONEGG_GLOW)
489487
.glow()
490488
.build() };
491489
return new ITexture[] { Textures.BlockIcons.getCasingTextureForId(1536),
492-
new GTRenderedTexture(Textures.BlockIcons.MACHINE_CASING_DRAGONEGG) };
490+
TextureFactory.of(Textures.BlockIcons.MACHINE_CASING_DRAGONEGG) };
493491
}
494492
return new ITexture[] { Textures.BlockIcons.getCasingTextureForId(1536) };
495493
}

src/main/java/goodgenerator/blocks/tileEntity/MTEMultiNqGenerator.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
import gregtech.api.metatileentity.implementations.MTEHatchInput;
4343
import gregtech.api.metatileentity.implementations.MTEHatchMaintenance;
4444
import gregtech.api.metatileentity.implementations.MTEHatchOutput;
45-
import gregtech.api.objects.GTRenderedTexture;
4645
import gregtech.api.recipe.RecipeMap;
4746
import gregtech.api.recipe.check.CheckRecipeResult;
4847
import gregtech.api.recipe.check.CheckRecipeResultRegistry;
@@ -439,17 +438,16 @@ protected MultiblockTooltipBuilder createTooltip() {
439438
}
440439

441440
@Override
442-
@SuppressWarnings("ALL")
443441
public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, ForgeDirection side, ForgeDirection facing,
444442
int colorIndex, boolean aActive, boolean aRedstone) {
445443
if (side == facing) {
446444
if (aActive) return new ITexture[] { Textures.BlockIcons.getCasingTextureForId(44),
447-
new GTRenderedTexture(Textures.BlockIcons.NAQUADAH_REACTOR_SOLID_FRONT_ACTIVE), TextureFactory.builder()
445+
TextureFactory.of(Textures.BlockIcons.NAQUADAH_REACTOR_SOLID_FRONT_ACTIVE), TextureFactory.builder()
448446
.addIcon(Textures.BlockIcons.NAQUADAH_REACTOR_SOLID_FRONT_ACTIVE_GLOW)
449447
.glow()
450448
.build() };
451449
return new ITexture[] { Textures.BlockIcons.getCasingTextureForId(44),
452-
new GTRenderedTexture(Textures.BlockIcons.NAQUADAH_REACTOR_SOLID_FRONT) };
450+
TextureFactory.of(Textures.BlockIcons.NAQUADAH_REACTOR_SOLID_FRONT) };
453451
}
454452
return new ITexture[] { Textures.BlockIcons.getCasingTextureForId(44) };
455453
}

0 commit comments

Comments
 (0)