Some more minor fixes
This commit is contained in:
parent
1cdbcacd7b
commit
7cf60dc206
2 changed files with 4 additions and 2 deletions
|
@ -75,7 +75,8 @@ public class OldBulbisGardens extends EndBiome.Config {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (MobCategory group : MobCategory.values()) {
|
for (MobCategory group : MobCategory.values()) {
|
||||||
List<SpawnerData> list = biome.getMobSettings()
|
List<SpawnerData> list = biome.value()
|
||||||
|
.getMobSettings()
|
||||||
.getMobs(group)
|
.getMobs(group)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
list.forEach((entry) -> {
|
list.forEach((entry) -> {
|
||||||
|
@ -83,7 +84,7 @@ public class OldBulbisGardens extends EndBiome.Config {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
List<HolderSet<PlacedFeature>> features = biome.getGenerationSettings()
|
List<HolderSet<PlacedFeature>> features = biome.value().getGenerationSettings()
|
||||||
.features();
|
.features();
|
||||||
HolderSet<PlacedFeature> vegetal = features.get(Decoration.VEGETAL_DECORATION.ordinal());
|
HolderSet<PlacedFeature> vegetal = features.get(Decoration.VEGETAL_DECORATION.ordinal());
|
||||||
if (vegetal.size() > 2) {
|
if (vegetal.size() > 2) {
|
||||||
|
|
|
@ -45,6 +45,7 @@ public class MinecraftClientMixin {
|
||||||
else {
|
else {
|
||||||
Music sound = this.level.getBiomeManager()
|
Music sound = this.level.getBiomeManager()
|
||||||
.getNoiseBiomeAtPosition(this.player.blockPosition())
|
.getNoiseBiomeAtPosition(this.player.blockPosition())
|
||||||
|
.value()
|
||||||
.getBackgroundMusic()
|
.getBackgroundMusic()
|
||||||
.orElse(Musics.END);
|
.orElse(Musics.END);
|
||||||
info.setReturnValue(sound);
|
info.setReturnValue(sound);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue