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()) {
|
||||
List<SpawnerData> list = biome.getMobSettings()
|
||||
List<SpawnerData> list = biome.value()
|
||||
.getMobSettings()
|
||||
.getMobs(group)
|
||||
.unwrap();
|
||||
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();
|
||||
HolderSet<PlacedFeature> vegetal = features.get(Decoration.VEGETAL_DECORATION.ordinal());
|
||||
if (vegetal.size() > 2) {
|
||||
|
|
|
@ -45,6 +45,7 @@ public class MinecraftClientMixin {
|
|||
else {
|
||||
Music sound = this.level.getBiomeManager()
|
||||
.getNoiseBiomeAtPosition(this.player.blockPosition())
|
||||
.value()
|
||||
.getBackgroundMusic()
|
||||
.orElse(Musics.END);
|
||||
info.setReturnValue(sound);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue