mirror of
https://github.com/FabricMC/fabric.git
synced 2025-03-01 01:43:56 -05:00
1.21.4-pre2
This commit is contained in:
parent
5d559cbc72
commit
5f014276c3
3 changed files with 4 additions and 4 deletions
|
@ -42,7 +42,7 @@ public abstract class AbstractFurnaceBlockEntityMixin extends LockableContainerB
|
||||||
@Shadow
|
@Shadow
|
||||||
protected DefaultedList<ItemStack> inventory;
|
protected DefaultedList<ItemStack> inventory;
|
||||||
@Shadow
|
@Shadow
|
||||||
int cookTime;
|
int field_55576;
|
||||||
@Shadow
|
@Shadow
|
||||||
int cookTimeTotal;
|
int cookTimeTotal;
|
||||||
@Unique
|
@Unique
|
||||||
|
@ -77,7 +77,7 @@ public abstract class AbstractFurnaceBlockEntityMixin extends LockableContainerB
|
||||||
|
|
||||||
if (!bl && this.world instanceof ServerWorld world) {
|
if (!bl && this.world instanceof ServerWorld world) {
|
||||||
this.cookTimeTotal = getCookTime(world, (AbstractFurnaceBlockEntity) (Object) this);
|
this.cookTimeTotal = getCookTime(world, (AbstractFurnaceBlockEntity) (Object) this);
|
||||||
this.cookTime = 0;
|
this.field_55576 = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,6 @@ import net.minecraft.block.entity.AbstractFurnaceBlockEntity;
|
||||||
|
|
||||||
@Mixin(AbstractFurnaceBlockEntity.class)
|
@Mixin(AbstractFurnaceBlockEntity.class)
|
||||||
public interface AbstractFurnaceBlockEntityAccessor {
|
public interface AbstractFurnaceBlockEntityAccessor {
|
||||||
@Accessor
|
@Accessor("field_55576")
|
||||||
int getCookTime();
|
int getCookTime();
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx2560M
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
|
|
||||||
version=0.109.1
|
version=0.109.1
|
||||||
minecraft_version=1.21.4-pre1
|
minecraft_version=1.21.4-pre2
|
||||||
yarn_version=+build.1
|
yarn_version=+build.1
|
||||||
loader_version=0.16.9
|
loader_version=0.16.9
|
||||||
installer_version=1.0.1
|
installer_version=1.0.1
|
||||||
|
|
Loading…
Reference in a new issue