More more more more more more more patches

This commit is contained in:
Nassim Jahnke
2023-03-14 21:55:49 +01:00
parent 4ccad29fa5
commit 5c5a21fb9f
131 changed files with 75 additions and 66 deletions

View File

@@ -70,9 +70,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
if (!world.getGameRules().getBoolean(GameRules.RULE_DOMOBSPAWNING)) {
return 0;
} else {
@@ -0,0 +0,0 @@ public class WanderingTraderSpawner implements CustomSpawner {
int i = this.spawnChance;
this.spawnChance = Mth.clamp(this.spawnChance + 25, 25, 75);
- this.spawnChance = Mth.clamp(this.spawnChance + 25, 25, 75);
this.serverLevelData.setWanderingTraderSpawnChance(this.spawnChance);
+ this.spawnChance = Mth.clamp(i + world.paperConfig().entities.spawning.wanderingTrader.spawnChanceFailureIncrement, world.paperConfig().entities.spawning.wanderingTrader.spawnChanceMin, world.paperConfig().entities.spawning.wanderingTrader.spawnChanceMax);
+ //this.serverLevelData.setWanderingTraderSpawnChance(this.spawnChance); // Paper - We don't need to save this value to disk if it gets set back to a hardcoded value anyways