Skip to content

Commit

Permalink
24w05a
Browse files Browse the repository at this point in the history
  • Loading branch information
embeddedt committed Jan 31, 2024
1 parent 25f13a9 commit 5c72a52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
@@ -1,6 +1,7 @@
package org.embeddedt.modernfix.world;

import net.minecraft.core.Holder;
import net.minecraft.core.HolderLookup;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.Tag;
import net.minecraft.server.level.ServerLevel;
Expand Down Expand Up @@ -33,7 +34,7 @@ public void setChunkPosList(List<ChunkPos> positions) {
this.setDirty();
}

public static StrongholdLocationCache load(CompoundTag arg) {
public static StrongholdLocationCache load(CompoundTag arg, HolderLookup.Provider provider) {
StrongholdLocationCache cache = new StrongholdLocationCache();
if(arg.contains("Positions", Tag.TAG_LONG_ARRAY)) {
long[] positions = arg.getLongArray("Positions");
Expand All @@ -45,7 +46,7 @@ public static StrongholdLocationCache load(CompoundTag arg) {
}

@Override
public CompoundTag save(CompoundTag compoundTag) {
public CompoundTag save(CompoundTag compoundTag, HolderLookup.Provider provider) {
long[] serialized = new long[chunkPosList.size()];
for(int i = 0; i < chunkPosList.size(); i++) {
ChunkPos thePos = chunkPosList.get(i);
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Expand Up @@ -5,7 +5,7 @@ junit_version=5.10.0-M1
mixinextras_version=0.3.2

mod_id=modernfix
minecraft_version=24w04a
minecraft_version=24w05a
enabled_platforms=fabric
forge_version=20.4.132-beta
# parchment_version=2023.07.09
Expand All @@ -15,7 +15,7 @@ rei_version=13.0.678
ctm_version=1.20.1-1.1.8+4
kubejs_version=1902.6.0-build.142
rhino_version=1902.2.2-build.268
supported_minecraft_versions=24w03a
supported_minecraft_versions=24w05a

fabric_loader_version=0.15.6
fabric_api_version=0.91.1+1.20.4
Expand Down

0 comments on commit 5c72a52

Please sign in to comment.