🔖 LambdaControls v1.3.2: Fix things, add vertical reacharound and internal API.

This commit is contained in:
LambdAurora
2020-06-29 16:06:15 +02:00
parent 24f7054eff
commit 2c53575d17
22 changed files with 547 additions and 219 deletions

View File

@@ -21,14 +21,15 @@ import java.util.Optional;
* Represents a feature.
*
* @author LambdAurora
* @version 1.2.0
* @version 1.3.2
* @since 1.1.0
*/
public class LambdaControlsFeature implements Nameable
{
private static final List<LambdaControlsFeature> FEATURES = new ArrayList<>();
public static final LambdaControlsFeature FRONT_BLOCK_PLACING = new LambdaControlsFeature("front_block_placing", true, false);
public static final LambdaControlsFeature FAST_BLOCK_PLACING = new LambdaControlsFeature("fast_block_placing", true, true);
private static final List<LambdaControlsFeature> FEATURES = new ArrayList<>();
public static final LambdaControlsFeature FAST_BLOCK_PLACING = new LambdaControlsFeature("fast_block_placing", true, true);
public static final LambdaControlsFeature FRONT_BLOCK_PLACING = new LambdaControlsFeature("front_block_placing", true, false);
public static final LambdaControlsFeature VERTICAL_REACHAROUND = new LambdaControlsFeature("vertical_reacharound", true, false);
private final String key;
private final boolean defaultAllowed;
@@ -155,7 +156,8 @@ public class LambdaControlsFeature implements Nameable
}
static {
FEATURES.add(FRONT_BLOCK_PLACING);
FEATURES.add(FAST_BLOCK_PLACING);
FEATURES.add(FRONT_BLOCK_PLACING);
FEATURES.add(VERTICAL_REACHAROUND);
}
}