1.19.3-pre2
This commit is contained in:
1 parent
f7d9f662fd
commit
1edd06605b
3 files changed
+4
-4
No files matched your search
+2
-2
@@ -4,9 +4,9 @@ org.gradle.jvmargs=-Xmx1G
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/use
|
||||
# or better: https://modmuss50.me/fabric.html
|
||||
minecraft_version=1.19.3-pre1
|
||||
minecraft_version=1.19.3-pre2
|
||||
loader_version=0.14.10
|
||||
fabric_version=0.66.4+1.19.3
|
||||
fabric_version=0.67.1+1.19.3
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 1.4.88
|
||||
|
||||
@@ -219,7 +219,7 @@ public class FeatureGenerator
|
||||
|
||||
if (!computeBox) {
|
||||
Holder<Biome> genBiome = generator.getBiomeSource().getNoiseBiome(QuartPos.fromBlock(pos.getX()), QuartPos.fromBlock(pos.getY()), QuartPos.fromBlock(pos.getZ()), seed.sampler());
|
||||
if (structureBiomes.contains(genBiome) && structure.findGenerationPoint(new Structure.GenerationContext(
|
||||
if (structureBiomes.contains(genBiome) && structure.findValidGenerationPoint(new Structure.GenerationContext(
|
||||
world.registryAccess(), generator, generator.getBiomeSource(),
|
||||
seed, world.getStructureManager(), world.getSeed(), chunkPos, world, structureBiomes::contains
|
||||
)).isPresent())
|
||||
|
||||
@@ -1549,7 +1549,7 @@ public class EntityValue extends Value
|
||||
put("gamemode", (e,v)->{
|
||||
if(!(e instanceof ServerPlayer)) return;
|
||||
GameType toSet = v instanceof NumericValue ?
|
||||
GameType.byId(((NumericValue) v).getInt(), null) :
|
||||
GameType.byId(((NumericValue) v).getInt()) :
|
||||
GameType.byName(v.getString().toLowerCase(Locale.ROOT), null);
|
||||
if (toSet != null) ((ServerPlayer) e).setGameMode(toSet);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user