net.minecraft.commands.arguments.item

public class ItemPredicateArgument

extends ParserBasedArgument<ItemPredicateArgument$Result>

gz
net.minecraft.commands.arguments.item.ItemPredicateArgument
net.minecraft.class_2293

Field summary

Modifier and TypeField
private static final Collection<String>
a
EXAMPLES
field_10812
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_UNKNOWN_ITEM
field_50056
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
c
ERROR_UNKNOWN_TAG
field_50057
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
d
ERROR_UNKNOWN_COMPONENT
field_50058
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
e
ERROR_MALFORMED_COMPONENT
field_50059
static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
f
ERROR_UNKNOWN_PREDICATE
field_50060
static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
g
ERROR_MALFORMED_PREDICATE
field_50061
private static final ResourceLocation
h
COUNT_ID
field_50062
static final Map<ResourceLocation, ItemPredicateArgument$ComponentWrapper>
i
PSEUDO_COMPONENTS
field_50063
static final Map<ResourceLocation, ItemPredicateArgument$PredicateWrapper>
j
PSEUDO_PREDICATES
field_50064

Constructor summary

ModifierConstructor
public (CommandBuildContext arg0)

Method summary

Modifier and TypeMethod
public static ItemPredicateArgument
a(eg arg0)
itemPredicate(CommandBuildContext arg0)
method_9801(class_7157 arg0)
public static ItemPredicateArgument$Result
a(com.mojang.brigadier.context.CommandContext<ek> 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)
public Collection<String>
getExamples()
getExamples()