Skip to content

Commit

Permalink
build: 24w44a
Browse files Browse the repository at this point in the history
  • Loading branch information
ishland committed Oct 30, 2024
1 parent 354b818 commit dc4861f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: upload to modrinth and curseforge
run: ./gradlew modrinth curseforge
if: github.ref == 'refs/heads/ver/1.21.3'
if: github.ref == 'refs/heads/dev/1.21.4'
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_UPLOAD_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_API_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ public class MixinOceanMonumentGeneratorPieceSetting {
@Shadow private boolean used;

@MakeVolatile
@Shadow private boolean field_14484;
@Shadow private boolean entrance;

@MakeVolatile
@Shadow private int field_14483;
@Shadow private int entranceDistance;

}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@ public void flushUpdates(WorldChunk chunk) {
super.flushUpdates(chunk); // use vanilla impl
}

@Override
public boolean hasPendingUpdates() {
return super.hasPendingUpdates(); // use vanilla impl
}

@Override
public void combinePostProcessingFuture(CompletableFuture<?> postProcessingFuture) {
super.combinePostProcessingFuture(postProcessingFuture); // use vanilla impl
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import com.ishland.c2me.rewrites.chunkio.common.C2MEStorageVanillaInterface;
import net.minecraft.util.math.ChunkPos;
import net.minecraft.util.thread.PrioritizedConsecutiveExecutor;
import net.minecraft.util.thread.TaskQueue;
import net.minecraft.world.storage.RegionBasedStorage;
import net.minecraft.world.storage.StorageIoWorker;
import org.spongepowered.asm.mixin.Final;
Expand All @@ -14,7 +13,6 @@
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

import java.util.Map;
import java.util.SequencedMap;
import java.util.concurrent.atomic.AtomicBoolean;

Expand All @@ -31,7 +29,7 @@ public class MixinStorageIoWorker {
@Shadow @Final private AtomicBoolean closed;

@Mutable
@Shadow @Final private PrioritizedConsecutiveExecutor field_54149;
@Shadow @Final private PrioritizedConsecutiveExecutor executor;

@SuppressWarnings("ConstantConditions")
@Inject(method = "<init>", at = @At("RETURN"))
Expand All @@ -41,7 +39,7 @@ private void onInit(CallbackInfo ci) {
this.results = null;
this.storage = null;
this.closed = null;
this.field_54149 = null;
this.executor = null;
}
}

Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ org.gradle.warning.mode=all
#org.gradle.configuration-cache=true
# Fabric Properties
# check these on https://fabricmc.net/versions.html
minecraft_version=1.21.3
yarn_mappings=1.21.3+build.2
loader_version=0.16.7
minecraft_version=24w44a
yarn_mappings=24w44a+build.1
loader_version=0.16.9
fabric_version=0.107.0+1.21.3
# Mod Properties
mod_version=0.3.0+alpha.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
]
},
"depends": {
"fabricloader": ">=0.16.0",
"fabricloader": ">=0.16.9",
"java": ">=21",
"minecraft": ">=1.21.2-rc.1"
},
Expand Down

0 comments on commit dc4861f

Please sign in to comment.