File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
src/main/java/me/general_breddok/blockdisplaycreator/command/capi Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ public class BlockDisplayCreatorCAPICommand {
5353 @ Getter
5454 List <AbstractCustomBlockTooltip > abstractCustomBlockTooltips = new ArrayList <>();
5555 Map <String , List <String >> interactionSuggestions = new HashMap <>();
56- @ Getter
5756 Map <String , List <String >> collisionSuggestions = new HashMap <>();
5857
5958 public BlockDisplayCreatorCAPICommand (BlockDisplayCreator plugin ) {
@@ -63,6 +62,13 @@ public BlockDisplayCreatorCAPICommand(BlockDisplayCreator plugin) {
6362 public void register () {
6463 new CommandTree ("blockdisplaycreator" )
6564 .withAliases ("bdc" )
65+ .withShortDescription ("Basic BlockDisplayCreator commands" )
66+ .withFullDescription ("BlockDisplayCreator commands for managing custom blocks and their configurations." )
67+ .withUsage (
68+ "/bdc custom-block {give|editfile} <block> ..." ,
69+ "/bdc reload [block]" ,
70+ "/bdc killcbentities <position1> <position2>"
71+ )
6672 .then (
6773 new LiteralArgument ("reload" )
6874 .withPermission (DefaultPermissions .BDC .Command .RELOAD )
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ public void register() {
2929 new CommandAPICommand ("custom-block" )
3030 .withPermission ("bdc.command.custom-block" )
3131 .withAliases ("cb" )
32+ .withShortDescription ("Gives a custom block to a player" )
33+ .withFullDescription ("Gives a custom block to a player. You can specify the receiver and the amount of blocks to give. " )
34+ .withUsage (
35+ "/cb <block> [receiver] [amount]"
36+ )
3237 .withArguments (
3338 new StringArgument ("block" )
3439 .replaceSuggestions (this .plugin .getBdcCommand ().getCustomBlockSuggestions ())
You can’t perform that action at this time.
0 commit comments