net.minecraft.commands.arguments.item

public class ItemPredicateArgument

implements com.mojang.brigadier.arguments.ArgumentType<ItemPredicateArgument$Result>

hi
net.minecraft.commands.arguments.item.ItemPredicateArgument
net.minecraft.class_2293
net.minecraft.command.argument.ItemPredicateArgumentType
net.minecraft.commands.arguments.item.ArgumentItemPredicate

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_10812
EXAMPLES
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_UNKNOWN_ITEM
field_50056
INVALID_ITEM_ID_EXCEPTION
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_UNKNOWN_TAG
field_50057
UNKNOWN_ITEM_TAG_EXCEPTION
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_UNKNOWN_COMPONENT
field_50058
UNKNOWN_ITEM_COMPONENT_EXCEPTION
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
e
ERROR_MALFORMED_COMPONENT
field_50059
MALFORMED_ITEM_COMPONENT_EXCEPTION
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
f
ERROR_UNKNOWN_PREDICATE
field_50060
UNKNOWN_ITEM_PREDICATE_EXCEPTION
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
g
ERROR_MALFORMED_PREDICATE
field_50061
MALFORMED_ITEM_PREDICATE_EXCEPTION
private static final ResourceLocation
h
COUNT_ID
field_50062
COUNT_ID
static final Map<ResourceLocation, ItemPredicateArgument$ComponentWrapper>
i
PSEUDO_COMPONENTS
field_50063
SPECIAL_COMPONENT_CHECKS
static final Map<ResourceLocation, ItemPredicateArgument$PredicateWrapper>
j
PSEUDO_PREDICATES
field_50064
SPECIAL_SUB_PREDICATE_CHECKS
private final Grammar<List<Predicate<ItemStack>>>
k
grammarWithContext
field_50065
parser

Constructor summary

ModifierConstructor
public (CommandBuildContext commandRegistryAccess)

Method summary

Modifier and TypeMethod
public static ItemPredicateArgument
a(es arg0)
itemPredicate(CommandBuildContext arg0)
method_9801(class_7157 arg0)
itemPredicate(CommandRegistryAccess commandRegistryAccess)
public ItemPredicateArgument$Result
a(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
method_9800(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
public static ItemPredicateArgument$Result
a(com.mojang.brigadier.context.CommandContext<ew> arg0, String arg1)
getItemPredicate(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, String arg1)
method_9804(com.mojang.brigadier.context.CommandContext<class_2168> arg0, String arg1)
getItemStackPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
public Collection<String>
getExamples()
getExamples()