Skip to content

Commit 8534ab0

Browse files
committed
Merge remote-tracking branch 'origin/master-1.20-lts' into master-1.21-lts
2 parents 5026c2c + 59191a2 commit 8534ab0

4 files changed

Lines changed: 21 additions & 1 deletion

File tree

CHANGELOG-1.20.1.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
# Changelog for Minecraft 1.20.1
22
All notable changes to this project will be documented in this file.
33

4+
<a name="1.20.1-1.30.3"></a>
5+
## [1.20.1-1.30.3](/compare/1.20.1-1.30.2...1.20.1-1.30.3) - 2026-04-11 19:53:57
6+
7+
8+
### Changed
9+
* Give Delayer its own energy consumption config separate from Proxy (#1641), Closes #1640
10+
411
<a name="1.20.1-1.30.2"></a>
5-
## [1.20.1-1.30.2](/compare/1.20.1-1.30.1...1.20.1-1.30.2) - 2026-03-28 09:55:51
12+
## [1.20.1-1.30.2](/compare/1.20.1-1.30.1...1.20.1-1.30.2) - 2026-03-28 09:55:51 +0100
613

714

815
### Added
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
As always, don't forget to backup your world before updating!
2+
Requires CyclopsCore version 1.20.0 or higher.
3+
4+
Changes:
5+
* Give Delayer its own energy consumption config separate from Proxy (#1641), Closes #1640

src/main/java/org/cyclops/integrateddynamics/GeneralConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ public class GeneralConfig extends DummyConfig {
7777
public static int panelLightDynamicBaseConsumption = 0;
7878
@ConfigurableProperty(category = "general", comment = "The base energy usage for the static light panel.", minimalValue = 0, configLocation = ModConfig.Type.SERVER)
7979
public static int panelLightStaticBaseConsumption = 0;
80+
@ConfigurableProperty(category = "general", comment = "The base energy usage for the delayer.", minimalValue = 0, configLocation = ModConfig.Type.SERVER)
81+
public static int delayerBaseConsumption = 2;
8082
@ConfigurableProperty(category = "general", comment = "The base energy usage for the proxy.", minimalValue = 0, configLocation = ModConfig.Type.SERVER)
8183
public static int proxyBaseConsumption = 2;
8284
@ConfigurableProperty(category = "general", comment = "The base energy usage for the redstone reader.", minimalValue = 0, configLocation = ModConfig.Type.SERVER)

src/main/java/org/cyclops/integrateddynamics/network/DelayNetworkElement.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import net.minecraft.resources.ResourceLocation;
44
import org.cyclops.cyclopscore.datastructure.DimPos;
5+
import org.cyclops.integrateddynamics.GeneralConfig;
56
import org.cyclops.integrateddynamics.Reference;
67

78
/**
@@ -21,4 +22,9 @@ public ResourceLocation getGroup() {
2122
return DelayNetworkElement.GROUP;
2223
}
2324

25+
@Override
26+
public int getConsumptionRate() {
27+
return GeneralConfig.delayerBaseConsumption;
28+
}
29+
2430
}

0 commit comments

Comments
 (0)