Skip to content

Commit 4b92653

Browse files
committed
Merge remote-tracking branch 'origin/master-1.20-lts' into master-1.21-lts
2 parents 5750f52 + a22d23c commit 4b92653

6 files changed

Lines changed: 44 additions & 4 deletions

File tree

CHANGELOG-1.20.1.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,30 @@
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.7"></a>
5+
## [1.20.1-1.30.7](/compare/1.20.1-1.30.6...1.20.1-1.30.7) - 2026-05-30 10:22:44
6+
7+
8+
### Fixed
9+
* Fix network reload when a machine state is changed
10+
11+
This could cause issues where multiple instances of internal network
12+
states could be created, that are conflicting.
13+
Concretely, this fixes autocrafting issues where outputs from Mechanical
14+
machines could not be detected, as it coincided with a machine state
15+
change.
16+
17+
Closes CyclopsMC/IntegratedCrafting#199
18+
19+
<a name="1.20.1-1.30.6"></a>
20+
## [1.20.1-1.30.6](/compare/1.20.1-1.30.5...1.20.1-1.30.6) - 2026-05-22 11:26:53 +0200
21+
22+
23+
### Fixed
24+
* Fix parts not being directly placeable opposite to other parts
25+
426
<a name="1.20.1-1.30.5"></a>
5-
## [1.20.1-1.30.5](/compare/1.20.1-1.30.4...1.20.1-1.30.5) - 2026-04-28 19:37:09
27+
## [1.20.1-1.30.5](/compare/1.20.1-1.30.4...1.20.1-1.30.5) - 2026-04-28 19:37:09 +0200
628

729

830
### Fixed
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+
Fixes:
5+
* Fix parts not being directly placeable opposite to other parts
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
As always, don't forget to backup your world before updating!
2+
Requires CyclopsCore version 1.20.0 or higher.
3+
4+
Fixes:
5+
* Fix network reload when a machine state is changed
6+
7+
This could cause issues where multiple instances of internal network
8+
states could be created, that are conflicting.
9+
Concretely, this fixes autocrafting issues where outputs from Mechanical
10+
machines could not be detected, as it coincided with a machine state
11+
change.
12+
13+
Closes CyclopsMC/IntegratedCrafting#199

src/main/java/org/cyclops/integrateddynamics/block/BlockCable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ protected ItemInteractionResult useItemOn(ItemStack pStack, BlockState pState, L
250250
@Override
251251
public void onPlace(BlockState state, Level world, BlockPos pos, BlockState oldState, boolean isMoving) {
252252
super.onPlace(state, world, pos, oldState, isMoving);
253-
if (!world.isClientSide() && !SKIP_NETWORK_INIT) {
253+
if (!world.isClientSide() && !SKIP_NETWORK_INIT && oldState.getBlock() != this) {
254254
ICableFakeable cableFakeable = CableHelpers.getCableFakeable(world, pos, null).orElse(null);
255255
if (cableFakeable != null && cableFakeable.isRealCable()) {
256256
CableHelpers.onCableAdded(world, pos);

src/main/java/org/cyclops/integrateddynamics/core/block/BlockContainerCabled.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public ItemInteractionResult useItemOn(ItemStack heldItem, BlockState state, Lev
4646
@Override
4747
public void onPlace(BlockState state, Level world, BlockPos pos, BlockState oldState, boolean isMoving) {
4848
super.onPlace(state, world, pos, oldState, isMoving);
49-
if (!world.isClientSide()) {
49+
if (!world.isClientSide() && oldState.getBlock() != this) {
5050
CableHelpers.onCableAdded(world, pos);
5151
}
5252
}

src/main/java/org/cyclops/integrateddynamics/core/block/BlockWithEntityGuiCabled.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public ItemInteractionResult useItemOn(ItemStack pStack, BlockState blockState,
5454
@Override
5555
public void onPlace(BlockState blockState, Level world, BlockPos blockPos, BlockState oldState, boolean isMoving) {
5656
super.onPlace(blockState, world, blockPos, oldState, isMoving);
57-
if (!world.isClientSide()) {
57+
if (!world.isClientSide() && oldState.getBlock() != this) {
5858
CableHelpers.onCableAdded(world, blockPos);
5959
}
6060
}

0 commit comments

Comments
 (0)