-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added configurable name and aliases to command; bumped artifact-version
- Loading branch information
1 parent
5c6fdbc
commit a75f3a4
Showing
8 changed files
with
55 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/main/java/me/blvckbytes/item_predicate_parser/config/CommandsSection.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package me.blvckbytes.item_predicate_parser.config; | ||
|
||
import me.blvckbytes.bbconfigmapper.sections.AConfigSection; | ||
import me.blvckbytes.bbconfigmapper.sections.CSAlways; | ||
import me.blvckbytes.gpeee.interpreter.EvaluationEnvironmentBuilder; | ||
|
||
@CSAlways | ||
public class CommandsSection extends AConfigSection { | ||
|
||
public ItemPredicateParserCommandSection itemPredicateParser; | ||
|
||
public CommandsSection(EvaluationEnvironmentBuilder baseEnvironment) { | ||
super(baseEnvironment); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...in/java/me/blvckbytes/item_predicate_parser/config/ItemPredicateParserCommandSection.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package me.blvckbytes.item_predicate_parser.config; | ||
|
||
import me.blvckbytes.bukkitevaluable.section.ACommandSection; | ||
import me.blvckbytes.gpeee.interpreter.EvaluationEnvironmentBuilder; | ||
|
||
public class ItemPredicateParserCommandSection extends ACommandSection { | ||
|
||
public static final String INITIAL_NAME = "itempredicateparser"; | ||
|
||
public ItemPredicateParserCommandSection(EvaluationEnvironmentBuilder baseEnvironment) { | ||
super(INITIAL_NAME, baseEnvironment); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters