Skip to content
Discussion options

You must be logged in to vote
dispatcher.register(
  literal("buy")
  .then(
    Commands.argument("item", ItemArgument.item(registryAccess))
    .executes(Money_mod::buyOne)
    .then(
        Commands.argument("amount", IntegerArgumentType.integer(1, 25))
        .executes(Money_mod::buyMulti)
    )              
)
         
);

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@cputnam-a11y
Comment options

@Tagglagged
Comment options

@Tagglagged
Comment options

@cputnam-a11y
Comment options

Answer selected by Tagglagged
@cputnam-a11y
Comment options

@Tagglagged
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
2 participants