Class net.minecraft.command.CommandSource

This description should be content pulled from the first comments of a lua file.

Static Methods

CommandSource.forEachMatching(candidates, remaining, prefix, identifier, action) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.forEachMatching(candidates, remaining, identifier, action) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.shouldSuggest(remaining, candidate) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.suggestColumnPositions(remaining, candidates, builder, predicate) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.suggestFromIdentifier(candidates, builder, identifier, tooltip) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.suggestFromIdentifier(candidates, builder, identifier, tooltip) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.suggestIdentifiers(candidates, builder, prefix) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.suggestIdentifiers(candidates, builder) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.suggestIdentifiers(candidates, builder) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.suggestIdentifiers(candidates, builder, prefix) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.suggestMatching(candidates, builder, suggestionText, tooltip) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.suggestMatching(candidates, builder) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.suggestMatching(candidates, builder) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.suggestMatching(candidates, builder) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
CommandSource.suggestPositions(remaining, candidates, builder, predicate) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Instance Methods

instance:getBlockPositionSuggestions() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getCompletions(context) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getEntitySuggestions() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getPlayerNames() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getPositionSuggestions() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getRecipeIds() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getRegistryManager() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getSoundIds() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getTeamNames() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:getWorldKeys() This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:hasPermissionLevel(level) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:listIdSuggestions(registryRef, suggestedIdType, builder, context) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"
instance:suggestIdentifiers(registry, suggestedIdType, builder) This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"


Static Methods

CommandSource.forEachMatching(candidates, remaining, prefix, identifier, action)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • candidates userdata, Iterable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • remaining string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • prefix string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • identifier userdata, Function This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • action userdata, Consumer This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
CommandSource.forEachMatching(candidates, remaining, identifier, action)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • candidates userdata, Iterable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • remaining string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • identifier userdata, Function This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • action userdata, Consumer This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
CommandSource.shouldSuggest(remaining, candidate)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • remaining string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • candidate string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
CommandSource.suggestColumnPositions(remaining, candidates, builder, predicate)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • remaining string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • candidates userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • predicate userdata, Predicate This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
CommandSource.suggestFromIdentifier(candidates, builder, identifier, tooltip)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • candidates userdata, Stream This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • identifier userdata, Function This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • tooltip userdata, Function This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
CommandSource.suggestFromIdentifier(candidates, builder, identifier, tooltip)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • candidates userdata, Iterable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • identifier userdata, Function This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • tooltip userdata, Function This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
CommandSource.suggestIdentifiers(candidates, builder, prefix)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • candidates userdata, Iterable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • prefix string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
CommandSource.suggestIdentifiers(candidates, builder)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • candidates userdata, Stream This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
CommandSource.suggestIdentifiers(candidates, builder)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • candidates userdata, Iterable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
CommandSource.suggestIdentifiers(candidates, builder, prefix)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • candidates userdata, Stream This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • prefix string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
CommandSource.suggestMatching(candidates, builder, suggestionText, tooltip)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • candidates userdata, Iterable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • suggestionText userdata, Function This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • tooltip userdata, Function This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
CommandSource.suggestMatching(candidates, builder)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • candidates userdata, Iterable This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
CommandSource.suggestMatching(candidates, builder)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • candidates userdata, String[] This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
CommandSource.suggestMatching(candidates, builder)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • candidates userdata, Stream This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
CommandSource.suggestPositions(remaining, candidates, builder, predicate)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • remaining string This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • candidates userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • predicate userdata, Predicate This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"

Instance Methods

instance:getBlockPositionSuggestions()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getCompletions(context)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • context userdata, CommandContext This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getEntitySuggestions()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getPlayerNames()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getPositionSuggestions()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getRecipeIds()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Stream This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getRegistryManager()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, DynamicRegistryManager This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getSoundIds()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getTeamNames()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Collection This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:getWorldKeys()
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Returns:

userdata, Set This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:hasPermissionLevel(level)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • level int This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

boolean This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:listIdSuggestions(registryRef, suggestedIdType, builder, context)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • registryRef userdata, RegistryKey This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • suggestedIdType userdata, CommandSource$SuggestedIdType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • context userdata, CommandContext This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"

Returns:

userdata, CompletableFuture This description should be content pulled from the comments above a method in a lua file. Format: "-- @return DESCRIPTION"
instance:suggestIdentifiers(registry, suggestedIdType, builder)
This description should be content pulled from the comments above a method in a lua file. Format: "--- @method m_id DESCRIPTION"

Parameters:

  • registry userdata, Registry This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • suggestedIdType userdata, CommandSource$SuggestedIdType This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"
  • builder userdata, SuggestionsBuilder This description should be content pulled from the comments above a method in a lua file. Format: "-- @param varName DESCRIPTION"