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.unmapped.C_zelyotsz
net.minecraft.command.argument.ItemPredicateArgumentType
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
f_jobwnunr
EXAMPLES
EXAMPLES
f_121033_
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_UNKNOWN_ITEM
field_50056
f_yzvyioin
INVALID_ITEM_ID_EXCEPTION
ITEM_ID_INVALID_EXCEPTION
f_315167_
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_UNKNOWN_TAG
field_50057
f_mcjybgrl
UNKNOWN_ITEM_TAG_EXCEPTION
ITEM_TAG_UNKNOWN_EXCEPTION
f_315281_
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_UNKNOWN_COMPONENT
field_50058
f_vjmneygw
UNKNOWN_ITEM_COMPONENT_EXCEPTION
ITEM_COMPONENT_UNKNOWN_EXCEPTION
f_315273_
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
e
ERROR_MALFORMED_COMPONENT
field_50059
f_yrhmyaou
MALFORMED_ITEM_COMPONENT_EXCEPTION
ITEM_COMPONENT_MALFORMED_EXCEPTION
f_314770_
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
f
ERROR_UNKNOWN_PREDICATE
field_50060
f_ytoqnfuh
UNKNOWN_ITEM_PREDICATE_EXCEPTION
ITEM_PREDICATE_UNKNOWN_EXCEPTION
f_315940_
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
g
ERROR_MALFORMED_PREDICATE
field_50061
f_bezmrynk
MALFORMED_ITEM_PREDICATE_EXCEPTION
ITEM_PREDICATE_MALFORMED_EXCEPTION
f_315982_
private static final ResourceLocation
h
COUNT_ID
field_50062
f_idwkgjot
COUNT_ID
COUNT
f_314529_
static final Map<ResourceLocation, ItemPredicateArgument$ComponentWrapper>
i
PSEUDO_COMPONENTS
field_50063
f_toutwicj
SPECIAL_COMPONENT_CHECKS
f_315330_
static final Map<ResourceLocation, ItemPredicateArgument$PredicateWrapper>
j
PSEUDO_PREDICATES
field_50064
f_bljoiblj
SPECIAL_SUB_PREDICATE_CHECKS
f_315932_
private final Grammar<List<Predicate<ItemStack>>>
k
grammarWithContext
field_50065
f_gticmpkj
parser
f_316699_

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)
m_bjrzhhyr(C_bprdujxm arg0)
itemPredicate(CommandRegistryAccess commandRegistryAccess)
itemPredicate(CommandBuildContext context)
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)
m_hphozrpv(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
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)
m_ahcxzxwk(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, String arg1)
getItemStackPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
getItemPredicate(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()