Add hoe tilling options

This commit is contained in:
William Blake Galbreath
2021-07-02 21:09:45 -05:00
parent c0244ecd2e
commit 1a325f68dc
181 changed files with 845 additions and 620 deletions

View File

@@ -114,10 +114,10 @@ index bee82d5bf600cbeacfcede600e5606529af1435e..9da76357da891a70e20ad80f50873b3b
public Cow getBreedOffspring(ServerLevel world, AgeableMob entity) {
return (Cow) EntityType.COW.create((Level) world);
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
index 5cea174102d346a66dafcbd9c1b524bde53d5168..876fc6694f4116772bb6bf1c2249b8981f945f51 100644
index def1c09fdefee27d6f1022eef979071109af4061..9b3698f9ced1c88ab8a8495bfe55225be191c3a1 100644
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
@@ -264,6 +264,7 @@ public class PurpurWorldConfig {
@@ -271,6 +271,7 @@ public class PurpurWorldConfig {
public boolean cowRidable = false;
public boolean cowRidableInWater = false;
public double cowMaxHealth = 10.0D;
@@ -125,7 +125,7 @@ index 5cea174102d346a66dafcbd9c1b524bde53d5168..876fc6694f4116772bb6bf1c2249b898
private void cowSettings() {
cowRidable = getBoolean("mobs.cow.ridable", cowRidable);
cowRidableInWater = getBoolean("mobs.cow.ridable-in-water", cowRidableInWater);
@@ -273,6 +274,7 @@ public class PurpurWorldConfig {
@@ -280,6 +281,7 @@ public class PurpurWorldConfig {
set("mobs.cow.attributes.max_health", oldValue);
}
cowMaxHealth = getDouble("mobs.cow.attributes.max_health", cowMaxHealth);