This commit is contained in:
shedaniel
2021-11-27 00:26:11 +08:00
parent d49d13b19f
commit 286158ad7b
3 changed files with 4 additions and 13 deletions

View File

@@ -393,10 +393,5 @@ public final class BiomeHooks {
public Map<EntityType<?>, MobSpawnSettings.MobSpawnCost> getMobSpawnCosts() {
return null;
}
@Override
public boolean isPlayerSpawnFriendly() {
return this.settings.playerSpawnFriendly();
}
}
}

View File

@@ -34,8 +34,6 @@ public interface SpawnProperties {
Map<EntityType<?>, MobSpawnSettings.MobSpawnCost> getMobSpawnCosts();
boolean isPlayerSpawnFriendly();
interface Mutable extends SpawnProperties {
Mutable setCreatureProbability(float probability);
@@ -48,7 +46,5 @@ public interface SpawnProperties {
Mutable setSpawnCost(EntityType<?> entityType, double mass, double gravityLimit);
Mutable clearSpawnCost(EntityType<?> entityType);
Mutable setPlayerSpawnFriendly(boolean friendly);
}
}