Changeable Mob Left Handed Chance

This commit is contained in:
Ben Kerllenevich
2025-01-09 20:36:40 -08:00
committed by granny
parent 54b81f2b74
commit d2132cfbfa
3 changed files with 11 additions and 34 deletions

View File

@@ -143,8 +143,10 @@ public class PurpurWorldConfig {
}
public int entityLifeSpan = 0;
public float entityLeftHandedChance = 0.05f;
private void entitySettings() {
entityLifeSpan = getInt("gameplay-mechanics.entity-lifespan", entityLifeSpan);
entityLeftHandedChance = (float) getDouble("gameplay-mechanics.entity-left-handed-chance", entityLeftHandedChance);
}
public boolean infinityWorksWithoutArrows = false;