Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.8 Feature Branch #2074

Merged
merged 27 commits into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
2e6f86a
Rename getId() in IGTTool to restore SpongeForge Compability (#2043)
MojangPlsFix Sep 7, 2023
c3dd7a7
separate MarkerMaterial from OreDictUnifier (#1933)
TechLord22 Sep 7, 2023
2882111
Remove scheduled deprecations (#1937)
ALongStringOfNumbers Sep 9, 2023
10d6d6c
Rewrite FluidTooltipUtil (#1962)
serenibyss Sep 12, 2023
24eae92
Wrap Forge ItemStackHandler (#2019)
PrototypeTrousers Sep 17, 2023
ebe06ec
More decorative blocks (#2072)
Zalgo239 Sep 18, 2023
14a906b
Pipe fixes (#1713)
brachy84 Sep 24, 2023
6624ecd
Tile entity sync fixes (#2091)
brachy84 Sep 24, 2023
14c2354
fix ARL being dependency of IParallelableRecipeLogic (#2076)
TechLord22 Oct 6, 2023
5b02217
Allow multiblock controllers to determine weather resistance of multi…
TechLord22 Oct 6, 2023
5bbd034
Recipe input thingamabob (#1549)
Tictim Oct 21, 2023
e219dec
use stack-aware translation keys for GTRecipeItemInput
TechLord22 Oct 22, 2023
c97a816
Fix missed call with update
ALongStringOfNumbers Oct 26, 2023
69f8e9e
Make FluidProperty into a general material fluid storage (#2081)
TechLord22 Nov 1, 2023
789ad0a
Fix MTEs sometimes not syncing (#2143)
ghzdude Nov 4, 2023
cfdd3a5
Move syncing functionality into ISyncedTileEntity (#1887)
TechLord22 Nov 4, 2023
c315ad6
Log packet reading failures (#2145)
TechLord22 Nov 5, 2023
001cd72
make steam venting decrement snow layers (#2092)
TechLord22 Nov 7, 2023
64dc847
New Chanced Output System (#2060)
TechLord22 Nov 7, 2023
c034a54
Improve packet warnings (#2153)
ALongStringOfNumbers Nov 10, 2023
8630295
make tool click messages display in status bar (#2158)
TechLord22 Nov 12, 2023
87e9810
Cover API rewrite (#2071)
TechLord22 Nov 12, 2023
f5f3f6c
Quantum Chest Voiding + Quantum Storage Improvements (#2078)
ghzdude Nov 12, 2023
0bec460
Add Latching Mode to Advanced Fluid/Item Detectors (#2101)
ghzdude Nov 12, 2023
0592faa
Fix Quantum Chest Export Slot Checking (#2172)
ghzdude Nov 17, 2023
537a33b
repairs
serenibyss Nov 23, 2023
87a69b7
Fix fluid localization stuff
serenibyss Nov 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 0 additions & 60 deletions src/main/java/gregtech/GregTechVersion.java

This file was deleted.

11 changes: 0 additions & 11 deletions src/main/java/gregtech/api/GTValues.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package gregtech.api;

import gregtech.GregTechVersion;
import gregtech.api.util.XSTR;
import gregtech.common.ConfigHolder;
import net.minecraftforge.fml.common.FMLCommonHandler;
Expand All @@ -18,16 +17,6 @@
*/
public class GTValues {

/**
* Version String for use in addon mods' @Mod(dependencies = "...") block.
*
* @deprecated use {@link gregtech.GTInternalTags#VERSION}
*
* </p> This field was deprecated in 2.6 and will be removed in 2.8
*/
@Deprecated
public static final String MOD_VERSION_DEP = "required-after:gregtech@[" + GregTechVersion.DEP_VERSION + ",);";

/**
* <p/>
* This is worth exactly one normal Item.
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/gregtech/api/GregTechAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import gregtech.api.unification.material.Material;
import gregtech.api.unification.material.Materials;
import gregtech.api.unification.material.registry.IMaterialRegistryManager;
import gregtech.api.unification.material.registry.MarkerMaterialRegistry;
import gregtech.api.unification.ore.OrePrefix;
import gregtech.api.unification.ore.StoneType;
import gregtech.api.util.BaseCreativeTab;
Expand Down Expand Up @@ -55,6 +56,8 @@ public class GregTechAPI {
public static ISoundManager soundManager;
/** Will be available at the Construction stage */
public static IMaterialRegistryManager materialManager;
/** Will be available at the Pre-Initialization stage */
public static MarkerMaterialRegistry markerMaterialRegistry;

/** Will be available at the Pre-Initialization stage */
private static boolean highTier;
Expand Down
39 changes: 0 additions & 39 deletions src/main/java/gregtech/api/block/DelayedStateBlock.java

This file was deleted.

8 changes: 4 additions & 4 deletions src/main/java/gregtech/api/block/machines/BlockMachine.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import gregtech.api.block.BlockCustomParticle;
import gregtech.api.block.UnlistedIntegerProperty;
import gregtech.api.block.UnlistedStringProperty;
import gregtech.api.cover.CoverBehavior;
import gregtech.api.cover.Cover;
import gregtech.api.cover.IFacadeCover;
import gregtech.api.items.toolitem.ToolClasses;
import gregtech.api.items.toolitem.ToolHelper;
Expand Down Expand Up @@ -445,9 +445,9 @@ public IBlockState getFacade(@Nonnull IBlockAccess world, @Nonnull BlockPos pos,
public IBlockState getFacade(@Nonnull IBlockAccess world, @Nonnull BlockPos pos, EnumFacing side) {
MetaTileEntity metaTileEntity = getMetaTileEntity(world, pos);
if (metaTileEntity != null && side != null) {
CoverBehavior coverBehavior = metaTileEntity.getCoverAtSide(side);
if (coverBehavior instanceof IFacadeCover) {
return ((IFacadeCover) coverBehavior).getVisualState();
Cover cover = metaTileEntity.getCoverAtSide(side);
if (cover instanceof IFacadeCover facadeCover) {
return facadeCover.getVisualState();
}
}
return world.getBlockState(pos);
Expand Down
Loading