mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-19 09:27:43 +01:00
missed a couple
This commit is contained in:
@@ -1504,10 +1504,10 @@ index d434b96b878652190fac4e2882b7b7373febbbd5..62deb4a443bf65655d2a4310c0dd9f40
|
||||
protected void registerGoals() {
|
||||
this.goalSelector.addGoal(0, new FloatGoal(this));
|
||||
diff --git a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
index ec168b917d60cc6d8c48620eb4dcd89b0b121aea..b51c96e3f09d303f28675fc440ad402fca3db654 100644
|
||||
index ec168b917d60cc6d8c48620eb4dcd89b0b121aea..2bd21bcd94e63048f29bf7e833fabb0751308447 100644
|
||||
--- a/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/org/purpurmc/purpur/PurpurWorldConfig.java
|
||||
@@ -114,94 +114,173 @@ public class PurpurWorldConfig {
|
||||
@@ -114,94 +114,188 @@ public class PurpurWorldConfig {
|
||||
|
||||
public boolean axolotlRidable = false;
|
||||
public boolean axolotlControllable = true;
|
||||
@@ -1584,6 +1584,21 @@ index ec168b917d60cc6d8c48620eb4dcd89b0b121aea..b51c96e3f09d303f28675fc440ad402f
|
||||
+ set("mobs.blaze.attributes.max_health", oldValue);
|
||||
+ }
|
||||
+ blazeMaxHealth = getDouble("mobs.blaze.attributes.max_health", blazeMaxHealth);
|
||||
+ }
|
||||
+
|
||||
+ public double camelMaxHealthMin = 32.0D;
|
||||
+ public double camelMaxHealthMax = 32.0D;
|
||||
+ public double camelJumpStrengthMin = 0.42D;
|
||||
+ public double camelJumpStrengthMax = 0.42D;
|
||||
+ public double camelMovementSpeedMin = 0.09D;
|
||||
+ public double camelMovementSpeedMax = 0.09D;
|
||||
+ private void camelSettings() {
|
||||
+ camelMaxHealthMin = getDouble("mobs.camel.attributes.max_health.min", camelMaxHealthMin);
|
||||
+ camelMaxHealthMax = getDouble("mobs.camel.attributes.max_health.max", camelMaxHealthMax);
|
||||
+ camelJumpStrengthMin = getDouble("mobs.camel.attributes.jump_strength.min", camelJumpStrengthMin);
|
||||
+ camelJumpStrengthMax = getDouble("mobs.camel.attributes.jump_strength.max", camelJumpStrengthMax);
|
||||
+ camelMovementSpeedMin = getDouble("mobs.camel.attributes.movement_speed.min", camelMovementSpeedMin);
|
||||
+ camelMovementSpeedMax = getDouble("mobs.camel.attributes.movement_speed.max", camelMovementSpeedMax);
|
||||
}
|
||||
|
||||
public boolean catRidable = false;
|
||||
@@ -1681,7 +1696,7 @@ index ec168b917d60cc6d8c48620eb4dcd89b0b121aea..b51c96e3f09d303f28675fc440ad402f
|
||||
}
|
||||
|
||||
public boolean dolphinRidable = false;
|
||||
@@ -209,80 +288,176 @@ public class PurpurWorldConfig {
|
||||
@@ -209,80 +303,161 @@ public class PurpurWorldConfig {
|
||||
public int dolphinSpitCooldown = 20;
|
||||
public float dolphinSpitSpeed = 1.0F;
|
||||
public float dolphinSpitDamage = 2.0F;
|
||||
@@ -1740,21 +1755,6 @@ index ec168b917d60cc6d8c48620eb4dcd89b0b121aea..b51c96e3f09d303f28675fc440ad402f
|
||||
+ }
|
||||
+ drownedMaxHealth = getDouble("mobs.drowned.attributes.max_health", drownedMaxHealth);
|
||||
+ drownedSpawnReinforcements = getDouble("mobs.drowned.attributes.spawn_reinforcements", drownedSpawnReinforcements);
|
||||
+ }
|
||||
+
|
||||
+ public double camelMaxHealthMin = 32.0D;
|
||||
+ public double camelMaxHealthMax = 32.0D;
|
||||
+ public double camelJumpStrengthMin = 0.42D;
|
||||
+ public double camelJumpStrengthMax = 0.42D;
|
||||
+ public double camelMovementSpeedMin = 0.09D;
|
||||
+ public double camelMovementSpeedMax = 0.09D;
|
||||
+ private void camelSettings() {
|
||||
+ camelMaxHealthMin = getDouble("mobs.camel.attributes.max_health.min", camelMaxHealthMin);
|
||||
+ camelMaxHealthMax = getDouble("mobs.camel.attributes.max_health.max", camelMaxHealthMax);
|
||||
+ camelJumpStrengthMin = getDouble("mobs.camel.attributes.jump_strength.min", camelJumpStrengthMin);
|
||||
+ camelJumpStrengthMax = getDouble("mobs.camel.attributes.jump_strength.max", camelJumpStrengthMax);
|
||||
+ camelMovementSpeedMin = getDouble("mobs.camel.attributes.movement_speed.min", camelMovementSpeedMin);
|
||||
+ camelMovementSpeedMax = getDouble("mobs.camel.attributes.movement_speed.max", camelMovementSpeedMax);
|
||||
}
|
||||
|
||||
public boolean elderGuardianRidable = false;
|
||||
@@ -2677,7 +2677,7 @@ index ec168b917d60cc6d8c48620eb4dcd89b0b121aea..b51c96e3f09d303f28675fc440ad402f
|
||||
}
|
||||
|
||||
public boolean wardenRidable = false;
|
||||
@@ -727,64 +1311,134 @@ public class PurpurWorldConfig {
|
||||
@@ -727,81 +1311,160 @@ public class PurpurWorldConfig {
|
||||
public boolean witchRidable = false;
|
||||
public boolean witchRidableInWater = true;
|
||||
public boolean witchControllable = true;
|
||||
@@ -2784,8 +2784,6 @@ index ec168b917d60cc6d8c48620eb4dcd89b0b121aea..b51c96e3f09d303f28675fc440ad402f
|
||||
|
||||
public boolean zombieHorseRidableInWater = false;
|
||||
public boolean zombieHorseCanSwim = false;
|
||||
+ public double zombieVillagerMaxHealth = 20.0D;
|
||||
+ public double zombieVillagerSpawnReinforcements = 0.1D;
|
||||
+ public double zombieHorseMaxHealthMin = 15.0D;
|
||||
+ public double zombieHorseMaxHealthMax = 15.0D;
|
||||
+ public double zombieHorseJumpStrengthMin = 0.4D;
|
||||
@@ -2801,8 +2799,6 @@ index ec168b917d60cc6d8c48620eb4dcd89b0b121aea..b51c96e3f09d303f28675fc440ad402f
|
||||
+ set("mobs.zombie_horse.attributes.max_health.min", oldValue);
|
||||
+ set("mobs.zombie_horse.attributes.max_health.max", oldValue);
|
||||
+ }
|
||||
+ zombieVillagerMaxHealth = getDouble("mobs.zombie_villager.attributes.max_health", zombieVillagerMaxHealth);
|
||||
+ zombieVillagerSpawnReinforcements = getDouble("mobs.zombie_villager.attributes.spawn_reinforcements", zombieVillagerSpawnReinforcements);
|
||||
+ zombieHorseMaxHealthMin = getDouble("mobs.zombie_horse.attributes.max_health.min", zombieHorseMaxHealthMin);
|
||||
+ zombieHorseMaxHealthMax = getDouble("mobs.zombie_horse.attributes.max_health.max", zombieHorseMaxHealthMax);
|
||||
+ zombieHorseJumpStrengthMin = getDouble("mobs.zombie_horse.attributes.jump_strength.min", zombieHorseJumpStrengthMin);
|
||||
@@ -2812,7 +2808,18 @@ index ec168b917d60cc6d8c48620eb4dcd89b0b121aea..b51c96e3f09d303f28675fc440ad402f
|
||||
}
|
||||
|
||||
public boolean zombieVillagerRidable = false;
|
||||
@@ -799,9 +1453,18 @@ public class PurpurWorldConfig {
|
||||
public boolean zombieVillagerRidableInWater = true;
|
||||
public boolean zombieVillagerControllable = true;
|
||||
+ public double zombieVillagerMaxHealth = 20.0D;
|
||||
+ public double zombieVillagerSpawnReinforcements = 0.1D;
|
||||
private void zombieVillagerSettings() {
|
||||
zombieVillagerRidable = getBoolean("mobs.zombie_villager.ridable", zombieVillagerRidable);
|
||||
zombieVillagerRidableInWater = getBoolean("mobs.zombie_villager.ridable-in-water", zombieVillagerRidableInWater);
|
||||
zombieVillagerControllable = getBoolean("mobs.zombie_villager.controllable", zombieVillagerControllable);
|
||||
+ zombieVillagerMaxHealth = getDouble("mobs.zombie_villager.attributes.max_health", zombieVillagerMaxHealth);
|
||||
+ zombieVillagerSpawnReinforcements = getDouble("mobs.zombie_villager.attributes.spawn_reinforcements", zombieVillagerSpawnReinforcements);
|
||||
}
|
||||
|
||||
public boolean zombifiedPiglinRidable = false;
|
||||
public boolean zombifiedPiglinRidableInWater = true;
|
||||
public boolean zombifiedPiglinControllable = true;
|
||||
|
||||
Reference in New Issue
Block a user