net.minecraft.commands.arguments.item

public class ItemPredicateArgument

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

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

Constructor summary

ModifierConstructor
public (CommandBuildContext commandRegistryAccess)

Method summary

Modifier and TypeMethod
public static ItemPredicateArgument
a(di 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 arg0)
parse(com.mojang.brigadier.StringReader arg0)
public static Predicate<ItemStack>
a(com.mojang.brigadier.context.CommandContext<dn> 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()
private static ItemPredicateArgument$Result
a(Predicate<gz<cdp>> arg0, qp arg1)
createResult(Predicate<Holder<Item>> arg0, CompoundTag arg1)
method_41981(Predicate<class_6880<class_1792>> arg0, class_2487 arg1)
m_normkqqe(Predicate<C_cjzoxshv<C_vorddnax>> arg0, C_hhlwcnih arg1)
getItemStackPredicate(Predicate<RegistryEntry<Item>> predicate, NbtCompound nbt)
createResult(Predicate<Holder<Item>> item, NbtCompound nbt)
m_235365_(Predicate<C_203228_<C_1381_>> p_235366_, C_4917_ p_235367_)