1.4.78 for 1.19-pre5
This commit is contained in:
1 parent
c10149ba55
commit
40af4f2200
3 files changed
+6
-4
No files matched your search
+2
-2
@@ -4,12 +4,12 @@ org.gradle.jvmargs=-Xmx1G
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/use
|
||||
# or better: https://modmuss50.me/fabric.html
|
||||
minecraft_version=1.19-pre2
|
||||
minecraft_version=1.19-pre5
|
||||
loader_version=0.14.6
|
||||
fabric_version=0.53.3+1.19
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.4.77
|
||||
mod_version = 1.4.78
|
||||
maven_group = carpet
|
||||
archives_base_name = fabric-carpet
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ import static carpet.settings.RuleCategory.CLIENT;
|
||||
@SuppressWarnings("CanBeFinal")
|
||||
public class CarpetSettings
|
||||
{
|
||||
public static final String carpetVersion = "1.4.77+v220523";
|
||||
public static final String carpetVersion = "1.4.78+v220601";
|
||||
public static final Logger LOG = LoggerFactory.getLogger("carpet");
|
||||
public static ThreadLocal<Boolean> skipGenerationChecks = ThreadLocal.withInitial(() -> false);
|
||||
public static ThreadLocal<Boolean> impendingFillSkipUpdates = ThreadLocal.withInitial(() -> false);
|
||||
|
||||
@@ -47,6 +47,7 @@ import net.minecraft.core.QuartPos;
|
||||
import net.minecraft.core.Registry;
|
||||
import net.minecraft.resources.ResourceKey;
|
||||
import net.minecraft.tags.TagKey;
|
||||
import net.minecraft.world.level.chunk.PalettedContainer;
|
||||
import net.minecraft.world.level.levelgen.structure.Structure;
|
||||
import net.minecraft.world.level.levelgen.structure.StructureType;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
@@ -1267,7 +1268,8 @@ public class WorldAccess {
|
||||
int j = i + QuartPos.fromBlock(chunk.getHeight()) - 1;
|
||||
int k = Mth.clamp(biomeY, i, j);
|
||||
int l = chunk.getSectionIndex(QuartPos.toBlock(k));
|
||||
chunk.getSection(l).getBiomes().set(biomeX & 3, k & 3, biomeZ & 3, biome);
|
||||
// accessing outside of the interface - might be dangerous in the future.
|
||||
((PalettedContainer<Holder<Biome>>) chunk.getSection(l).getBiomes()).set(biomeX & 3, k & 3, biomeZ & 3, biome);
|
||||
} catch (Throwable var8) {
|
||||
return Value.FALSE;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user