mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:34:44 +01:00
9ee989ea81
By: md_5 <git@md-5.net>
15 lines
567 B
Diff
15 lines
567 B
Diff
--- a/net/minecraft/world/level/chunk/ChunkSection.java
|
|
+++ b/net/minecraft/world/level/chunk/ChunkSection.java
|
|
@@ -190,6 +190,12 @@
|
|
return (Holder) this.biomes.get(i, j, k);
|
|
}
|
|
|
|
+ // CraftBukkit start
|
|
+ public void setBiome(int i, int j, int k, Holder<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<Holder<BiomeBase>> datapaletteblock = this.getBiomes();
|
|
|