mirror of
https://github.com/Samsuik/Sakura.git
synced 2025-12-30 20:29:14 +00:00
Add config for potion mechanics
This commit is contained in:
@@ -634,10 +634,10 @@ index 0000000000000000000000000000000000000000..74d4e257440842d40bfd72ff0741f1d7
|
||||
+}
|
||||
diff --git a/src/main/java/me/samsuik/sakura/configuration/WorldConfiguration.java b/src/main/java/me/samsuik/sakura/configuration/WorldConfiguration.java
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..1ec5190fe6755e5be10aa30f98bcfd6f1d8ce84b
|
||||
index 0000000000000000000000000000000000000000..f9a99319a4ba86762e2486a75f73df1cf74dcfdc
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/me/samsuik/sakura/configuration/WorldConfiguration.java
|
||||
@@ -0,0 +1,177 @@
|
||||
@@ -0,0 +1,184 @@
|
||||
+package me.samsuik.sakura.configuration;
|
||||
+
|
||||
+import com.mojang.logging.LogUtils;
|
||||
@@ -801,6 +801,13 @@ index 0000000000000000000000000000000000000000..1ec5190fe6755e5be10aa30f98bcfd6f
|
||||
+ public Map<EntityType<?>, Integer> chunkTravelLimit = Util.make(new Reference2ObjectOpenHashMap<>(), map -> {
|
||||
+ map.put(EntityType.ENDER_PEARL, 8);
|
||||
+ });
|
||||
+
|
||||
+ public ThrownPotion thrownPotion = new ThrownPotion();
|
||||
+ public class ThrownPotion extends ConfigurationPart {
|
||||
+ public double horizontalSpeed = 1.0;
|
||||
+ public double verticalSpeed = 1.0;
|
||||
+ public boolean allowBreakingInsideEntities = false;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ public Environment environment;
|
||||
|
||||
Reference in New Issue
Block a user