[Fix] Jade Caves generate with End Stone Walls
This commit is contained in:
parent
adab8ba05f
commit
9f91c996d5
1 changed files with 8 additions and 4 deletions
|
@ -36,10 +36,6 @@ public class JadeCaveBiome extends EndCaveBiome.Config {
|
||||||
|
|
||||||
public Biome(ResourceKey<net.minecraft.world.level.biome.Biome> biomeID, BCLBiomeSettings settings) {
|
public Biome(ResourceKey<net.minecraft.world.level.biome.Biome> biomeID, BCLBiomeSettings settings) {
|
||||||
super(biomeID, settings);
|
super(biomeID, settings);
|
||||||
|
|
||||||
JADE[0] = EndBlocks.VIRID_JADESTONE.stone.defaultBlockState();
|
|
||||||
JADE[1] = EndBlocks.AZURE_JADESTONE.stone.defaultBlockState();
|
|
||||||
JADE[2] = EndBlocks.SANDY_JADESTONE.stone.defaultBlockState();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -91,6 +87,12 @@ public class JadeCaveBiome extends EndCaveBiome.Config {
|
||||||
index = Mth.abs(index) % 3;
|
index = Mth.abs(index) % 3;
|
||||||
return JADE[index];
|
return JADE[index];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static {
|
||||||
|
JADE[0] = EndBlocks.VIRID_JADESTONE.stone.defaultBlockState();
|
||||||
|
JADE[1] = EndBlocks.AZURE_JADESTONE.stone.defaultBlockState();
|
||||||
|
JADE[2] = EndBlocks.SANDY_JADESTONE.stone.defaultBlockState();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public JadeCaveBiome() {
|
public JadeCaveBiome() {
|
||||||
|
@ -110,4 +112,6 @@ public class JadeCaveBiome extends EndCaveBiome.Config {
|
||||||
public BiomeSupplier<EndBiome> getSupplier() {
|
public BiomeSupplier<EndBiome> getSupplier() {
|
||||||
return JadeCaveBiome.Biome::new;
|
return JadeCaveBiome.Biome::new;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue