Skip to content

Commit adad253

Browse files
committed
Merge remote-tracking branch 'origin/master-1.19-lts' into master-1.20-lts
2 parents b6bcc87 + 9cbe511 commit adad253

5 files changed

Lines changed: 36 additions & 3 deletions

File tree

CHANGELOG-1.19.2.md

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

4+
<a name="1.19.2-1.30.1"></a>
5+
## [1.19.2-1.30.1](/compare/1.19.2-1.30.0...1.19.2-1.30.1) - 2026-03-28 09:54:36
6+
7+
8+
### Added
9+
* Add configurable energy production rate for coal generator (#1635), Closes #1634
10+
11+
<a name="1.19.2-1.30.0"></a>
12+
## [1.19.2-1.30.0](/compare/1.19.2-1.29.3...1.19.2-1.30.0) - 2026-02-17 10:58:05 +0100
13+
14+
15+
### Added
16+
* Document logical NBT expressions, CyclopsMC/CyclopsCore#210
17+
* Add config options for minimum update intervals for parts, Closes CyclopsMC/IntegratedTunnels#349
18+
* Add config option to log card IDs during evaluation, Closes #1345
19+
420
<a name="1.19.2-1.29.3"></a>
5-
## [1.19.2-1.29.3](/compare/1.19.2-1.29.2...1.19.2-1.29.3) - 2026-01-17 14:00:53
21+
## [1.19.2-1.29.3](/compare/1.19.2-1.29.2...1.19.2-1.29.3) - 2026-01-17 14:00:53 +0100
622

723

824
### Added
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
As always, don't forget to backup your world before updating!
2+
Requires CyclopsCore version 1.20.0 or higher.
3+
4+
Additions:
5+
* Document logical NBT expressions, CyclopsMC/CyclopsCore#210
6+
* Add config options for minimum update intervals for parts, Closes CyclopsMC/IntegratedTunnels#349
7+
* Add config option to log card IDs during evaluation, Closes #1345
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+
Additions:
5+
* Add configurable energy production rate for coal generator (#1635), Closes #1634

src/main/java/org/cyclops/integrateddynamics/blockentity/BlockEntityCoalGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ public static class Ticker extends BlockEntityCableConnectableInventory.Ticker<B
160160
protected void update(Level level, BlockPos pos, BlockState blockState, BlockEntityCoalGenerator blockEntity) {
161161
super.update(level, pos, blockState, blockEntity);
162162

163-
if((!blockEntity.getInventory().getItem(SLOT_FUEL).isEmpty() || blockEntity.isBurning()) && blockEntity.canAddEnergy(ENERGY_PER_TICK)) {
163+
if((!blockEntity.getInventory().getItem(SLOT_FUEL).isEmpty() || blockEntity.isBurning()) && blockEntity.canAddEnergy(BlockEntityCoalGeneratorConfig.energyPerTick)) {
164164
if (blockEntity.isBurning()) {
165165
if (blockEntity.currentlyBurning++ >= blockEntity.currentlyBurningMax) {
166166
blockEntity.currentlyBurning = 0;
167167
blockEntity.currentlyBurningMax = 0;
168168
}
169-
int toFill = ENERGY_PER_TICK;
169+
int toFill = BlockEntityCoalGeneratorConfig.energyPerTick;
170170
blockEntity.addEnergy(toFill);
171171
blockEntity.setChanged();
172172
}

src/main/java/org/cyclops/integrateddynamics/blockentity/BlockEntityCoalGeneratorConfig.java

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

33
import com.google.common.collect.Sets;
44
import net.minecraft.world.level.block.entity.BlockEntityType;
5+
import net.minecraftforge.fml.config.ModConfig;
6+
import org.cyclops.cyclopscore.config.ConfigurableProperty;
57
import org.cyclops.cyclopscore.config.extendedconfig.BlockEntityConfig;
68
import org.cyclops.integrateddynamics.IntegratedDynamics;
79
import org.cyclops.integrateddynamics.RegistryEntries;
@@ -13,6 +15,9 @@
1315
*/
1416
public class BlockEntityCoalGeneratorConfig extends BlockEntityConfig<BlockEntityCoalGenerator> {
1517

18+
@ConfigurableProperty(category = "machine", comment = "The energy production rate (in RF/t) of the coal generator.", minimalValue = 1, configLocation = ModConfig.Type.SERVER)
19+
public static int energyPerTick = 20;
20+
1621
public BlockEntityCoalGeneratorConfig() {
1722
super(
1823
IntegratedDynamics._instance,

0 commit comments

Comments
 (0)