forked from RepoMirrors/seppuku
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
17547cae0e
|
@ -23,13 +23,11 @@ import java.util.List;
|
||||||
*/
|
*/
|
||||||
public class PullDownModule extends Module {
|
public class PullDownModule extends Module {
|
||||||
private static final float VELOCITY_MAX = 10.0f;
|
private static final float VELOCITY_MAX = 10.0f;
|
||||||
private static final float DOWNWARD_VELOCITY_MAX = -VELOCITY_MAX;
|
public final BooleanValue jumpDisables =
|
||||||
|
new BooleanValue("JumpDisables", new String[]{"jump"}, true);
|
||||||
public final BooleanValue jumpDisables = new BooleanValue("JumpDisables", new String[] { "jump" }, true);
|
|
||||||
|
|
||||||
public final NumberValue<Float> speed =
|
public final NumberValue<Float> speed =
|
||||||
new NumberValue<>("Speed", new String[]{"velocity"}, 4.0f, Float.class,
|
new NumberValue<>("Speed", new String[]{"velocity"}, 4.0f, Float.class,
|
||||||
0f, DOWNWARD_VELOCITY_MAX, 1f);
|
0f, VELOCITY_MAX, 1f);
|
||||||
|
|
||||||
public PullDownModule() {
|
public PullDownModule() {
|
||||||
super("PullDown", new String[]{"FastFall"}, "Increase your downwards velocity when falling",
|
super("PullDown", new String[]{"FastFall"}, "Increase your downwards velocity when falling",
|
||||||
|
|
Loading…
Reference in New Issue