net.minecraft.commands.arguments.item

public class ItemPredicateArgument

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

hf
net.minecraft.commands.arguments.item.ItemPredicateArgument
net.minecraft.class_2293
net.minecraft.command.argument.ItemPredicateArgumentType
net.minecraft.src.C_4645_
net.minecraft.commands.arguments.item.ArgumentItemPredicate

Field summary

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

Constructor summary

ModifierConstructor
public (CommandBuildContext commandRegistryAccess)

Method summary

Modifier and TypeMethod
public static ItemPredicateArgument
a(ep arg0)
itemPredicate(CommandBuildContext arg0)
method_9801(class_7157 arg0)
itemPredicate(CommandRegistryAccess commandRegistryAccess)
m_235353_(C_213173_ p_235354_)
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)
parse(com.mojang.brigadier.StringReader arg0)
public static ItemPredicateArgument$Result
a(com.mojang.brigadier.context.CommandContext<et> 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)
m_121040_(com.mojang.brigadier.context.CommandContext<C_2969_> p_121041_, String p_121042_)
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)
listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_121055_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
public Collection<String>
getExamples()
getExamples()
getExamples()