mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-19 09:27:43 +01:00
add copper golem options
This commit is contained in:
@@ -1459,6 +1459,29 @@ public class PurpurWorldConfig {
|
||||
codAlwaysDropExp = getBoolean("mobs.cod.always-drop-exp", codAlwaysDropExp);
|
||||
}
|
||||
|
||||
public boolean copperGolemRidable = false;
|
||||
public boolean copperGolemRidableInWater = true;
|
||||
public boolean copperGolemControllable = true;
|
||||
public boolean copperGolemCanSwim = false;
|
||||
public double copperGolemMaxHealth = 12.0D;
|
||||
public double copperGolemStepHeight = 1.0D;
|
||||
public double copperGolemMovementSpeed = 0.2D;
|
||||
public double copperGolemScale = 1.0D;
|
||||
public boolean copperGolemTakeDamageFromWater = false;
|
||||
public boolean copperGolemAlwaysDropExp = false;
|
||||
private void copperGolemSettings() {
|
||||
copperGolemRidable = getBoolean("mobs.copper_golem.ridable", copperGolemRidable);
|
||||
copperGolemRidableInWater = getBoolean("mobs.copper_golem.ridable-in-water", copperGolemRidableInWater);
|
||||
copperGolemControllable = getBoolean("mobs.copper_golem.controllable", copperGolemControllable);
|
||||
copperGolemCanSwim = getBoolean("mobs.copper_golem.can-swim", copperGolemCanSwim);
|
||||
copperGolemMaxHealth = getDouble("mobs.copper_golem.attributes.max_health", copperGolemMaxHealth);
|
||||
copperGolemStepHeight = getDouble("mobs.copper_golem.attributes.step_height", copperGolemStepHeight);
|
||||
copperGolemMovementSpeed = getDouble("mobs.copper_golem.attributes.movement_speed", copperGolemMovementSpeed);
|
||||
copperGolemScale = Mth.clamp(getDouble("mobs.copper_golem.attributes.scale", copperGolemScale), 0.0625D, 16.0D);
|
||||
copperGolemTakeDamageFromWater = getBoolean("mobs.copper_golem.takes-damage-from-water", copperGolemTakeDamageFromWater);
|
||||
copperGolemAlwaysDropExp = getBoolean("mobs.copper_golem.always-drop-exp", copperGolemAlwaysDropExp);
|
||||
}
|
||||
|
||||
public boolean cowRidable = false;
|
||||
public boolean cowRidableInWater = true;
|
||||
public boolean cowControllable = true;
|
||||
|
||||
Reference in New Issue
Block a user