Updated to RC2
This commit is contained in:
parent
e2b7f6849a
commit
9496de1438
3 changed files with 9 additions and 7 deletions
|
@ -4,9 +4,9 @@ org.gradle.jvmargs=-Xmx2G
|
|||
loom_version=0.12-SNAPSHOT
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/versions.html
|
||||
minecraft_version=1.19-pre3
|
||||
minecraft_version=1.19-rc2
|
||||
loader_version=0.14.6
|
||||
fabric_version=0.53.4+1.19
|
||||
fabric_version=0.55.0+1.19
|
||||
# Mod Properties
|
||||
mod_version=2.0.0
|
||||
maven_group=org.betterx.bclib
|
||||
|
|
|
@ -22,7 +22,7 @@ import net.minecraft.world.level.biome.MobSpawnSettings.SpawnerData;
|
|||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.level.chunk.ChunkAccess;
|
||||
import net.minecraft.world.level.chunk.ChunkGenerator;
|
||||
import net.minecraft.world.level.chunk.PalettedContainer;
|
||||
import net.minecraft.world.level.chunk.PalettedContainerRO;
|
||||
import net.minecraft.world.level.dimension.LevelStem;
|
||||
import net.minecraft.world.level.levelgen.GenerationStep.Decoration;
|
||||
import net.minecraft.world.level.levelgen.NoiseGeneratorSettings;
|
||||
|
@ -915,8 +915,10 @@ public class BiomeAPI {
|
|||
*/
|
||||
public static void setBiome(ChunkAccess chunk, BlockPos pos, Holder<Biome> biome) {
|
||||
int sectionY = (pos.getY() - chunk.getMinBuildHeight()) >> 4;
|
||||
PalettedContainer<Holder<Biome>> biomes = chunk.getSection(sectionY).getBiomes();
|
||||
biomes.set((pos.getX() & 15) >> 2, (pos.getY() & 15) >> 2, (pos.getZ() & 15) >> 2, biome);
|
||||
PalettedContainerRO<Holder<Biome>> biomes = chunk.getSection(sectionY).getBiomes();
|
||||
//TODO: 1.19 This will disable cave generation the end, Structure was made RO, so we have to find another way to handle this
|
||||
//biomes.set((pos.getX() & 15) >> 2, (pos.getY() & 15) >> 2, (pos.getZ() & 15) >> 2, biome);
|
||||
BCLib.LOGGER.warning("Unable to change Biome at " + pos);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
],
|
||||
"depends": {
|
||||
"fabricloader": ">=0.14.6",
|
||||
"fabric": ">=0.53.4",
|
||||
"minecraft": "1.19-beta.3"
|
||||
"fabric": ">=0.55.0",
|
||||
"minecraft": "1.19-rc2"
|
||||
},
|
||||
"custom": {
|
||||
"modmenu": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue