mirror of
https://github.com/Samsuik/Sakura.git
synced 2026-01-04 15:31:43 +00:00
Configurable left shooting and adjusting limits
This commit is contained in:
@@ -581,10 +581,10 @@ index 0000000000000000000000000000000000000000..a22139d6f6775b7b8d635e126d2ea2bf
|
||||
+}
|
||||
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..4a92dfb3e28ab4b97f000b67883d3320192745e3
|
||||
index 0000000000000000000000000000000000000000..227fdb9f667be020d8ba42363090573b583a3e66
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/me/samsuik/sakura/configuration/WorldConfiguration.java
|
||||
@@ -0,0 +1,219 @@
|
||||
@@ -0,0 +1,230 @@
|
||||
+package me.samsuik.sakura.configuration;
|
||||
+
|
||||
+import com.mojang.logging.LogUtils;
|
||||
@@ -641,6 +641,17 @@ index 0000000000000000000000000000000000000000..4a92dfb3e28ab4b97f000b67883d3320
|
||||
+ public double treatAllBlocksAsFullWhenMovingFasterThan = 64.0;
|
||||
+ public boolean loadChunks = false;
|
||||
+
|
||||
+ public Restrictions restrictions = new Restrictions();
|
||||
+ public class Restrictions extends ConfigurationPart {
|
||||
+ @Comment("The amount of blocks that can be travelled before changing direction is restricted")
|
||||
+ public IntOr.Disabled leftShootingThreshold = IntOr.Disabled.DISABLED;
|
||||
+ @Comment(
|
||||
+ "Maximum amount of blocks that a cannon can adjust\n" +
|
||||
+ "It is recommended that this value kept sane and is more than 64 blocks"
|
||||
+ )
|
||||
+ public IntOr.Disabled maxAdjustDistance = IntOr.Disabled.DISABLED;
|
||||
+ }
|
||||
+
|
||||
+ public Tnt tnt = new Tnt();
|
||||
+ public class Tnt extends ConfigurationPart {
|
||||
+ public boolean forcePositionUpdates;
|
||||
|
||||
Reference in New Issue
Block a user