specified conditions for creative fly controls

This commit is contained in:
gnembon committed 2020-05-10 00:50:02 -03:00
1 parent 0ad542236c
commit d35769a365
4 files changed
+71 -28

No files matched your search

+19
View File
@@ -584,6 +584,15 @@ public class CarpetSettings
@Rule(
desc = "Creative No Clip",
extra = {
"On servers it needs to be set on both ",
"client and server to function properly.",
"Has no effect when set on the server only",
"Can allow to phase through walls",
"if only set on the carpet client side",
"but requires some trapdoor magic to",
"allow the player to enter blocks"
},
category = {CREATIVE, CLIENT}
)
public static boolean creativeNoClip = false;
@@ -591,12 +600,22 @@ public class CarpetSettings
@Rule(
desc = "Creative flying speed multiplier",
extra = {
"Purely client side setting, meaning that",
"having it set on the decicated server has no effect",
"but this also means it will work on vanilla servers as well"
},
category = {CREATIVE, CLIENT}
)
public static double creativeFlySpeed = 1.0f;
@Rule(
desc = "Creative air drag",
extra = {
"Purely client side setting, meaning that",
"having it set on the decicated server has no effect",
"but this also means it will work on vanilla servers as well"
},
category = {CREATIVE, CLIENT}
)
public static double creativeFlyDrag = 0.91f;