mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 12:02:36 +01:00
16 lines
554 B
Diff
16 lines
554 B
Diff
|
--- a/net/minecraft/world/level/chunk/ChunkSection.java
|
||
|
+++ b/net/minecraft/world/level/chunk/ChunkSection.java
|
||
|
@@ -176,6 +176,12 @@
|
||
|
return (BiomeBase) this.biomes.get(i, j, k);
|
||
|
}
|
||
|
|
||
|
+ // CraftBukkit start
|
||
|
+ public void setBiome(int i, int j, int k, BiomeBase biome) {
|
||
|
+ this.biomes.set(i, j, k, biome);
|
||
|
+ }
|
||
|
+ // CraftBukkit end
|
||
|
+
|
||
|
public void fillBiomesFromNoise(BiomeResolver biomeresolver, Climate.Sampler climate_sampler, int i, int j) {
|
||
|
DataPaletteBlock<BiomeBase> datapaletteblock = this.getBiomes();
|
||
|
|