Package net.minecraft.command.argument
Class ItemPredicateArgumentType.Context
java.lang.Object
net.minecraft.command.argument.ItemPredicateArgumentType.Context
- All Implemented Interfaces:
PackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck>
- Enclosing class:
ItemPredicateArgumentType
private static class ItemPredicateArgumentType.Context
extends Object
implements PackratParsing.Callbacks<Predicate<ItemStack>,ItemPredicateArgumentType.ComponentCheck,ItemPredicateArgumentType.SubPredicateCheck>
- Mappings:
Namespace Name named net/minecraft/command/argument/ItemPredicateArgumentType$Context
intermediary net/minecraft/class_2293$class_9445
official hf$b
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RegistryWrapper.Impl
<ComponentType<?>> private final RegistryWrapper.Impl
<Item> private final RegistryWrapper.Impl
<ItemSubPredicate.Type<?>> private final RegistryOps
<NbtElement> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncomponentCheck
(com.mojang.brigadier.ImmutableStringReader immutableStringReader, Identifier identifier) componentMatchPredicate
(com.mojang.brigadier.ImmutableStringReader immutableStringReader, ItemPredicateArgumentType.ComponentCheck componentCheck, NbtElement nbtElement) componentPresencePredicate
(com.mojang.brigadier.ImmutableStringReader immutableStringReader, ItemPredicateArgumentType.ComponentCheck componentCheck) itemMatchPredicate
(com.mojang.brigadier.ImmutableStringReader immutableStringReader, Identifier identifier) subPredicateCheck
(com.mojang.brigadier.ImmutableStringReader immutableStringReader, Identifier identifier) subPredicatePredicate
(com.mojang.brigadier.ImmutableStringReader immutableStringReader, ItemPredicateArgumentType.SubPredicateCheck subPredicateCheck, NbtElement nbtElement) tagMatchPredicate
(com.mojang.brigadier.ImmutableStringReader immutableStringReader, Identifier identifier)
-
Field Details
-
itemRegistryWrapper
- Mappings:
Namespace Name Mixin selector named itemRegistryWrapper
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;itemRegistryWrapper:Lnet/minecraft/registry/RegistryWrapper$Impl;
intermediary field_50066
Lnet/minecraft/class_2293$class_9445;field_50066:Lnet/minecraft/class_7225$class_7226;
official a
Lhf$b;a:Ljo$b;
-
dataComponentTypeRegistryWrapper
- Mappings:
Namespace Name Mixin selector named dataComponentTypeRegistryWrapper
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;dataComponentTypeRegistryWrapper:Lnet/minecraft/registry/RegistryWrapper$Impl;
intermediary field_50067
Lnet/minecraft/class_2293$class_9445;field_50067:Lnet/minecraft/class_7225$class_7226;
official b
Lhf$b;b:Ljo$b;
-
itemSubPredicateTypeRegistryWrapper
- Mappings:
Namespace Name Mixin selector named itemSubPredicateTypeRegistryWrapper
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;itemSubPredicateTypeRegistryWrapper:Lnet/minecraft/registry/RegistryWrapper$Impl;
intermediary field_50068
Lnet/minecraft/class_2293$class_9445;field_50068:Lnet/minecraft/class_7225$class_7226;
official c
Lhf$b;c:Ljo$b;
-
nbtOps
- Mappings:
Namespace Name Mixin selector named nbtOps
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;nbtOps:Lnet/minecraft/registry/RegistryOps;
intermediary field_50069
Lnet/minecraft/class_2293$class_9445;field_50069:Lnet/minecraft/class_6903;
official d
Lhf$b;d:Lako;
-
-
Constructor Details
-
Context
Context(RegistryWrapper.WrapperLookup registryLookup) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;<init>(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
intermediary <init>
Lnet/minecraft/class_2293$class_9445;<init>(Lnet/minecraft/class_7225$class_7874;)V
official <init>
Lhf$b;<init>(Ljo$a;)V
-
-
Method Details
-
itemMatchPredicate
public Predicate<ItemStack> itemMatchPredicate(com.mojang.brigadier.ImmutableStringReader immutableStringReader, Identifier identifier) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
itemMatchPredicate
in interfacePackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck> - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named itemMatchPredicate
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;itemMatchPredicate(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/util/Identifier;)Ljava/util/function/Predicate;
intermediary method_58550
Lnet/minecraft/class_2293$class_9445;method_58550(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/class_2960;)Ljava/util/function/Predicate;
official e
Lhf$b;e(Lcom/mojang/brigadier/ImmutableStringReader;Lakq;)Ljava/util/function/Predicate;
-
tagMatchPredicate
public Predicate<ItemStack> tagMatchPredicate(com.mojang.brigadier.ImmutableStringReader immutableStringReader, Identifier identifier) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
tagMatchPredicate
in interfacePackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck> - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named tagMatchPredicate
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;tagMatchPredicate(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/util/Identifier;)Ljava/util/function/Predicate;
intermediary method_58551
Lnet/minecraft/class_2293$class_9445;method_58551(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/class_2960;)Ljava/util/function/Predicate;
official f
Lhf$b;f(Lcom/mojang/brigadier/ImmutableStringReader;Lakq;)Ljava/util/function/Predicate;
-
componentCheck
public ItemPredicateArgumentType.ComponentCheck componentCheck(com.mojang.brigadier.ImmutableStringReader immutableStringReader, Identifier identifier) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
componentCheck
in interfacePackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck> - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named componentCheck
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;componentCheck(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/util/Identifier;)Lnet/minecraft/command/argument/ItemPredicateArgumentType$ComponentCheck;
intermediary method_58552
Lnet/minecraft/class_2293$class_9445;method_58552(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/class_2960;)Lnet/minecraft/class_2293$class_9444;
official g
Lhf$b;g(Lcom/mojang/brigadier/ImmutableStringReader;Lakq;)Lhf$a;
-
componentMatchPredicate
public Predicate<ItemStack> componentMatchPredicate(com.mojang.brigadier.ImmutableStringReader immutableStringReader, ItemPredicateArgumentType.ComponentCheck componentCheck, NbtElement nbtElement) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
componentMatchPredicate
in interfacePackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck> - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named componentMatchPredicate
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;componentMatchPredicate(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/command/argument/ItemPredicateArgumentType$ComponentCheck;Lnet/minecraft/nbt/NbtElement;)Ljava/util/function/Predicate;
intermediary method_58542
Lnet/minecraft/class_2293$class_9445;method_58542(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/class_2293$class_9444;Lnet/minecraft/class_2520;)Ljava/util/function/Predicate;
official a
Lhf$b;a(Lcom/mojang/brigadier/ImmutableStringReader;Lhf$a;Lux;)Ljava/util/function/Predicate;
-
componentPresencePredicate
public Predicate<ItemStack> componentPresencePredicate(com.mojang.brigadier.ImmutableStringReader immutableStringReader, ItemPredicateArgumentType.ComponentCheck componentCheck) - Specified by:
componentPresencePredicate
in interfacePackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck> - Mappings:
Namespace Name Mixin selector named componentPresencePredicate
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;componentPresencePredicate(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/command/argument/ItemPredicateArgumentType$ComponentCheck;)Ljava/util/function/Predicate;
intermediary method_58541
Lnet/minecraft/class_2293$class_9445;method_58541(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/class_2293$class_9444;)Ljava/util/function/Predicate;
official a
Lhf$b;a(Lcom/mojang/brigadier/ImmutableStringReader;Lhf$a;)Ljava/util/function/Predicate;
-
subPredicateCheck
public ItemPredicateArgumentType.SubPredicateCheck subPredicateCheck(com.mojang.brigadier.ImmutableStringReader immutableStringReader, Identifier identifier) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
subPredicateCheck
in interfacePackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck> - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named subPredicateCheck
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;subPredicateCheck(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/util/Identifier;)Lnet/minecraft/command/argument/ItemPredicateArgumentType$SubPredicateCheck;
intermediary method_58553
Lnet/minecraft/class_2293$class_9445;method_58553(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/class_2960;)Lnet/minecraft/class_2293$class_9446;
official h
Lhf$b;h(Lcom/mojang/brigadier/ImmutableStringReader;Lakq;)Lhf$c;
-
subPredicatePredicate
public Predicate<ItemStack> subPredicatePredicate(com.mojang.brigadier.ImmutableStringReader immutableStringReader, ItemPredicateArgumentType.SubPredicateCheck subPredicateCheck, NbtElement nbtElement) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
subPredicatePredicate
in interfacePackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck> - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named subPredicatePredicate
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;subPredicatePredicate(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/command/argument/ItemPredicateArgumentType$SubPredicateCheck;Lnet/minecraft/nbt/NbtElement;)Ljava/util/function/Predicate;
intermediary method_58543
Lnet/minecraft/class_2293$class_9445;method_58543(Lcom/mojang/brigadier/ImmutableStringReader;Lnet/minecraft/class_2293$class_9446;Lnet/minecraft/class_2520;)Ljava/util/function/Predicate;
official a
Lhf$b;a(Lcom/mojang/brigadier/ImmutableStringReader;Lhf$c;Lux;)Ljava/util/function/Predicate;
-
streamItemIds
- Specified by:
streamItemIds
in interfacePackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck> - Mappings:
Namespace Name Mixin selector named streamItemIds
Lnet/minecraft/command/argument/packrat/PackratParsing$Callbacks;streamItemIds()Ljava/util/stream/Stream;
intermediary method_58503
Lnet/minecraft/class_9437$class_9439;method_58503()Ljava/util/stream/Stream;
official a
Lha$b;a()Ljava/util/stream/Stream;
-
streamTags
- Specified by:
streamTags
in interfacePackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck> - Mappings:
Namespace Name Mixin selector named streamTags
Lnet/minecraft/command/argument/packrat/PackratParsing$Callbacks;streamTags()Ljava/util/stream/Stream;
intermediary method_58509
Lnet/minecraft/class_9437$class_9439;method_58509()Ljava/util/stream/Stream;
official b
Lha$b;b()Ljava/util/stream/Stream;
-
streamComponentIds
- Specified by:
streamComponentIds
in interfacePackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck> - Mappings:
Namespace Name Mixin selector named streamComponentIds
Lnet/minecraft/command/argument/packrat/PackratParsing$Callbacks;streamComponentIds()Ljava/util/stream/Stream;
intermediary method_58512
Lnet/minecraft/class_9437$class_9439;method_58512()Ljava/util/stream/Stream;
official c
Lha$b;c()Ljava/util/stream/Stream;
-
streamSubPredicateIds
- Specified by:
streamSubPredicateIds
in interfacePackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck> - Mappings:
Namespace Name Mixin selector named streamSubPredicateIds
Lnet/minecraft/command/argument/packrat/PackratParsing$Callbacks;streamSubPredicateIds()Ljava/util/stream/Stream;
intermediary method_58514
Lnet/minecraft/class_9437$class_9439;method_58514()Ljava/util/stream/Stream;
official d
Lha$b;d()Ljava/util/stream/Stream;
-
negate
- Specified by:
negate
in interfacePackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck> - Mappings:
Namespace Name Mixin selector named negate
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;negate(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
intermediary method_58547
Lnet/minecraft/class_2293$class_9445;method_58547(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
official a
Lhf$b;a(Ljava/util/function/Predicate;)Ljava/util/function/Predicate;
-
anyOf
- Specified by:
anyOf
in interfacePackratParsing.Callbacks<Predicate<ItemStack>,
ItemPredicateArgumentType.ComponentCheck, ItemPredicateArgumentType.SubPredicateCheck> - Mappings:
Namespace Name Mixin selector named anyOf
Lnet/minecraft/command/argument/ItemPredicateArgumentType$Context;anyOf(Ljava/util/List;)Ljava/util/function/Predicate;
intermediary method_58549
Lnet/minecraft/class_2293$class_9445;method_58549(Ljava/util/List;)Ljava/util/function/Predicate;
official b
Lhf$b;b(Ljava/util/List;)Ljava/util/function/Predicate;
-