mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-18 00:47:42 +01:00
Add hoe tilling options
This commit is contained in:
@@ -4390,7 +4390,7 @@ index af579b2b6f6e18da70e67ce74431a57d9a1236dd..d01a8fe6dd5c84ea5b7370a90c0d5713
|
||||
this.level.getProfiler().pop();
|
||||
PiglinBruteAi.updateActivity(this);
|
||||
diff --git a/src/main/java/net/minecraft/world/entity/npc/Villager.java b/src/main/java/net/minecraft/world/entity/npc/Villager.java
|
||||
index 43bb055f0f9ecb82c25e0f47258f45ce4182a75d..277fac3c160283454da18e003900b5193f82b23a 100644
|
||||
index dce94c04d20af637860559c1f27412d151e1b5af..32ae046d573d5625fdb44b690d1e7e229f8aff08 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/npc/Villager.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/npc/Villager.java
|
||||
@@ -155,6 +155,23 @@ public class Villager extends AbstractVillager implements ReputationEventHandler
|
||||
@@ -4526,12 +4526,12 @@ index 69f439851fe1ff07d827eaed274940a5783d5f6c..07853aff3d42ce50799406ee1c14389b
|
||||
|
||||
Projectile(EntityType<? extends Projectile> type, Level world) {
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
index 5bc7d1d72847fc200a5bcd19f083e45805546aeb..46e792b67e15e31848a43d7fa2640ebb55cbe2b9 100644
|
||||
index 1d76057b1b2dc9f0fc8e3fe5a5f6bfee23128007..f7c46b8173d30192853c875675a1ed0f59170b34 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
|
||||
@@ -127,4 +127,9 @@ public class PurpurConfig {
|
||||
config.addDefault(path, def);
|
||||
return config.getString(path, config.getString(path));
|
||||
@@ -154,4 +154,9 @@ public class PurpurConfig {
|
||||
}
|
||||
return builder.build();
|
||||
}
|
||||
+
|
||||
+ public static String cannotRideMob = "<red>You cannot mount that mob";
|
||||
@@ -4540,12 +4540,12 @@ index 5bc7d1d72847fc200a5bcd19f083e45805546aeb..46e792b67e15e31848a43d7fa2640ebb
|
||||
+ }
|
||||
}
|
||||
diff --git a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
index 3cd897d4049323aeda85c89a73a3f50bd7b94d58..69f63641f5a2ae3e1579d3171bcb1c5e5b39b969 100644
|
||||
index cde76bbcd50993de8b36f8a8fa168bed16708ec0..0c11be83f0da7d05efbd2e277c5f5ae2251a1540 100644
|
||||
--- a/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
+++ b/src/main/java/net/pl3x/purpur/PurpurWorldConfig.java
|
||||
@@ -82,4 +82,532 @@ public class PurpurWorldConfig {
|
||||
PurpurConfig.config.addDefault("world-settings.default." + path, def);
|
||||
return PurpurConfig.config.getString("world-settings." + worldName + "." + path, PurpurConfig.config.getString("world-settings.default." + path));
|
||||
@@ -89,4 +89,532 @@ public class PurpurWorldConfig {
|
||||
final Map<String, Object> value = PurpurConfig.getMap("world-settings." + worldName + "." + path, null);
|
||||
return value.isEmpty() ? fallback : value;
|
||||
}
|
||||
+
|
||||
+ public boolean babiesAreRidable = true;
|
||||
|
||||
Reference in New Issue
Block a user