net.minecraft.commands.arguments.item

public class ItemPredicateArgument

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

fw
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_
private final HolderLookup<Item>
b
items
field_37974
registryWrapper
f_235350_

Constructor summary

ModifierConstructor
public (CommandBuildContext commandRegistryAccess)

Method summary

Modifier and TypeMethod
public static ItemPredicateArgument
a(dl 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 Predicate<ItemStack>
a(com.mojang.brigadier.context.CommandContext<dr> 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()
private static ItemPredicateArgument$Result
a(Predicate<hd<cfq>> arg0, re arg1)
createResult(Predicate<Holder<Item>> arg0, CompoundTag arg1)
method_41981(Predicate<class_6880<class_1792>> arg0, class_2487 arg1)
getItemStackPredicate(Predicate<RegistryEntry<Item>> predicate, NbtCompound nbt)
m_235365_(Predicate<C_203228_<C_1381_>> p_235366_, C_4917_ p_235367_)