mirror of
https://github.com/Samsuik/Sakura.git
synced 2025-12-20 23:39:32 +00:00
Merge branch 'feat/legacy-combat' into 1.20.4
This commit is contained in:
@@ -650,7 +650,7 @@ new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..bfac7683f768fbd27ba7f45cdbf964f1dcd0c174
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/me/samsuik/sakura/configuration/WorldConfiguration.java
|
||||
@@ -0,0 +1,204 @@
|
||||
@@ -0,0 +1,212 @@
|
||||
+package me.samsuik.sakura.configuration;
|
||||
+
|
||||
+import com.mojang.logging.LogUtils;
|
||||
@@ -773,6 +773,14 @@ index 0000000000000000000000000000000000000000..bfac7683f768fbd27ba7f45cdbf964f1
|
||||
+
|
||||
+ public Players players;
|
||||
+ public class Players extends ConfigurationPart {
|
||||
+ public Combat combat = new Combat();
|
||||
+ public class Combat extends ConfigurationPart {
|
||||
+ public boolean legacyCombatMechanics = false;
|
||||
+ public boolean allowSweepAttacks = true;
|
||||
+ public boolean imitateBlockingUsingShields = false;
|
||||
+ public boolean oldEnchantedGoldenApple = false;
|
||||
+ }
|
||||
+
|
||||
+ public Knockback knockback = new Knockback();
|
||||
+ public class Knockback extends ConfigurationPart {
|
||||
+ public DoubleOr.Default knockbackVertical = DoubleOr.Default.USE_DEFAULT;
|
||||
|
||||
Reference in New Issue
Block a user