Skip to content

Commit 52b948d

Browse files
authored
Updated Changelog and version bump to 1.16.0 (#1676)
1 parent fdab28c commit 52b948d

File tree

3 files changed

+27
-7
lines changed

3 files changed

+27
-7
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
## Changelog
22

3+
### 1.16.0
4+
* Added Fluid Regulator (#1570) - hjae78
5+
* Added Info tab for multiblock description (#1583) - ALongStringOfNumbers
6+
* Update input/output overlays on buses/hatches to look different (#1607) - galyfray
7+
* Updated name of Phosphate to Tricalcium Phosphate (#1659) - MounderFod
8+
* Updated systems to new Recipe Properties (#1672) - ALongStringOfNumbers
9+
* Fixed wire and cable lang (#1645) - TechLord22
10+
* Fixed typo in Monazite vein preventing surface rock spawning (#1649) - ALongStringOfNumbers
11+
* Fixed Electric Pump Assembler recipe using wrong cable (#1650) - ALongStringOfNumbers
12+
* Fixed damage is not applied when a saw is used as shears (#1655) - Adrian Brock
13+
* Fixed name overlaps in GUIs (#1665) - TechLord22
14+
* Fixed Surface Block generation issue, add logging (#1666) - ALongStringOfNumbers
15+
* Fixed Ore generation Page glitches (#1668) - ALongStringOfNumbers
16+
* Internal migrated Json Recipes to Java Code (#1634) - Dane Strandboge
17+
* Internal added isHidden to RecipeMaps to hide the default RecipeMapCategory (#1652) - bruberu
18+
319
### 1.15.1
420
* Added recipe using liquid ice (#1620) - ALongStringOfNumbers
521
* Added Active Overlay to single block Steam and Gas Turbines (#1624) - dan

src/main/java/gregtech/GregTechVersion.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ public final class GregTechVersion {
66

77
public static final int MAJOR = 1;
88
//This number is incremented every major feature update
9-
public static final int MINOR = 15;
9+
public static final int MINOR = 16;
1010
//This number is incremented every time the feature is added, or bug is fixed. resets every major version change
11-
public static final int REVISION = 1;
11+
public static final int REVISION = 0;
1212
//This number is incremented every build, and never reset. Should always be 0 in the repo code.
1313
public static final int BUILD = 0;
1414

src/main/java/gregtech/common/covers/CoverBehaviors.java

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121

2222
public class CoverBehaviors {
2323

24+
private static final int COVERS_PER_ITEM = 8;
25+
2426
public static void init() {
2527
GTLog.logger.info("Registering cover behaviors...");
2628
registerBehavior(0, new ResourceLocation(GTValues.MODID, "conveyor.lv"), MetaItems.CONVEYOR_MODULE_LV, (tile, side) -> new CoverConveyor(tile, side, GTValues.LV, 8));
@@ -54,12 +56,14 @@ public static void init() {
5456
registerBehavior(38, new ResourceLocation(GTValues.MODID, "smart_filter"), MetaItems.SMART_FILTER, (tile, side) -> new CoverItemFilter(tile, side, "cover.smart_item_filter.title", Textures.SMART_FILTER_FILTER_OVERLAY, new SmartItemFilter()));
5557
registerBehavior(39, new ResourceLocation(GTValues.MODID, "facade"), MetaItems.COVER_FACADE, CoverFacade::new);
5658

57-
for (int i = 1; i < GTValues.V.length - 1; i++) {
58-
int finalI = i;
59-
registerBehavior(40 + i - 1, new ResourceLocation(GTValues.MODID, "fluid.regulator" + GTValues.VN[i].toLowerCase(Locale.ROOT)), MetaItems.PUMPS[i - 1], (tile, side) -> new CoverPump(tile, side, finalI, (int) (Math.pow(4, finalI - 1) * 1280)));
60-
registerBehavior(20 + i - 1, new ResourceLocation(GTValues.MODID, "pump" + GTValues.VN[i].toLowerCase(Locale.ROOT)), MetaItems.FLUID_REGULATORS[i - 1], (tile, side) -> new CoverFluidRegulator(tile, side, finalI, (int) (Math.pow(4, finalI - 1) * 1280)));
61-
}
59+
for (int i = 0; i < COVERS_PER_ITEM; i++) {
60+
int throughput = (int) (Math.pow(4, i) * 1280);
61+
final int coverTier = i + 1;
62+
String tierShortName = GTValues.VN[coverTier].toLowerCase(Locale.ROOT);
6263

64+
registerBehavior(20 + i, new ResourceLocation(GTValues.MODID, "pump." + tierShortName), MetaItems.PUMPS[i], (tile, side) -> new CoverPump(tile, side, coverTier, throughput));
65+
registerBehavior(40 + i, new ResourceLocation(GTValues.MODID, "fluid.regulator." + tierShortName), MetaItems.FLUID_REGULATORS[i], (tile, side) -> new CoverFluidRegulator(tile, side, coverTier, throughput));
66+
}
6367
}
6468

6569
public static void registerBehavior(int coverNetworkId, ResourceLocation coverId, MetaValueItem placerItem, BiFunction<ICoverable, EnumFacing, CoverBehavior> behaviorCreator) {

0 commit comments

Comments
 (0)