Skip to content

When i try to use my custom (client only) commands in 1.19, it keeps saying that it is an incompleete/invalid command. #2335

Discussion options

You must be logged in to vote

Let me format it like this

dispatcher.register(
    literal("something") .then(
        literal("somethingelse") 
        .executes(MyFile.SomeFunctionHere())
    )
)

So you can see you have a command that needs 2 literals. You would enter it as
/something somethingelse

You know you can use tab to autocomplete commands or give suggested completions?

Replies: 2 comments 17 replies

Comment options

You must be logged in to vote
8 replies
@TheBosoYolo
Comment options

@warjort
Comment options

warjort Jun 18, 2022
Collaborator

@Sjouwer
Comment options

@TheBosoYolo
Comment options

@warjort
Comment options

warjort Jun 18, 2022
Collaborator

Answer selected by TheBosoYolo
Comment options

You must be logged in to vote
9 replies
@TheBosoYolo
Comment options

@warjort
Comment options

warjort Jun 18, 2022
Collaborator

@warjort
Comment options

warjort Jun 18, 2022
Collaborator

@TheBosoYolo
Comment options

@Juuxel
Comment options

Juuxel Jun 18, 2022
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants