Add always more features.

This commit is contained in:
LambdAurora
2020-02-16 23:20:21 +01:00
parent 8efddb24b0
commit 8e082404f9
15 changed files with 214 additions and 84 deletions

View File

@@ -21,14 +21,14 @@ import java.util.Optional;
* Represents a feature.
*
* @author LambdAurora
* @version 1.1.1
* @version 1.2.0
* @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_INTERACTION = new LambdaControlsFeature("fast_block_interaction", true, true);
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 final String key;
private final boolean defaultAllowed;
@@ -156,6 +156,6 @@ public class LambdaControlsFeature implements Nameable
static {
FEATURES.add(FRONT_BLOCK_PLACING);
FEATURES.add(FAST_BLOCK_INTERACTION);
FEATURES.add(FAST_BLOCK_PLACING);
}
}