diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/mixin/transfer/AbstractFurnaceBlockEntityMixin.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/mixin/transfer/AbstractFurnaceBlockEntityMixin.java index 03c301c67..ee3a2872d 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/mixin/transfer/AbstractFurnaceBlockEntityMixin.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/mixin/transfer/AbstractFurnaceBlockEntityMixin.java @@ -42,7 +42,7 @@ public abstract class AbstractFurnaceBlockEntityMixin extends LockableContainerB @Shadow protected DefaultedList inventory; @Shadow - int cookTime; + int field_55576; @Shadow int cookTimeTotal; @Unique @@ -77,7 +77,7 @@ public abstract class AbstractFurnaceBlockEntityMixin extends LockableContainerB if (!bl && this.world instanceof ServerWorld world) { this.cookTimeTotal = getCookTime(world, (AbstractFurnaceBlockEntity) (Object) this); - this.cookTime = 0; + this.field_55576 = 0; } } } diff --git a/fabric-transfer-api-v1/src/testmod/java/net/fabricmc/fabric/test/transfer/mixin/AbstractFurnaceBlockEntityAccessor.java b/fabric-transfer-api-v1/src/testmod/java/net/fabricmc/fabric/test/transfer/mixin/AbstractFurnaceBlockEntityAccessor.java index 5d2fce3d7..b24414a7d 100644 --- a/fabric-transfer-api-v1/src/testmod/java/net/fabricmc/fabric/test/transfer/mixin/AbstractFurnaceBlockEntityAccessor.java +++ b/fabric-transfer-api-v1/src/testmod/java/net/fabricmc/fabric/test/transfer/mixin/AbstractFurnaceBlockEntityAccessor.java @@ -23,6 +23,6 @@ import net.minecraft.block.entity.AbstractFurnaceBlockEntity; @Mixin(AbstractFurnaceBlockEntity.class) public interface AbstractFurnaceBlockEntityAccessor { - @Accessor + @Accessor("field_55576") int getCookTime(); } diff --git a/gradle.properties b/gradle.properties index 765f24571..1f35c8da0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx2560M org.gradle.parallel=true version=0.109.1 -minecraft_version=1.21.4-pre1 +minecraft_version=1.21.4-pre2 yarn_version=+build.1 loader_version=0.16.9 installer_version=1.0.1