Interface ComponentPredicateParser.Context<T,C,P>
- All Known Implementing Classes:
ItemPredicateArgument.Context
- Enclosing class:
ComponentPredicateParser
public static interface ComponentPredicateParser.Context<T,C,P>
-
Method Summary
Modifier and TypeMethodDescriptioncreateComponentTest
(com.mojang.brigadier.ImmutableStringReader p_333214_, C p_331519_) createComponentTest
(com.mojang.brigadier.ImmutableStringReader p_331435_, C p_331254_, Tag p_333206_) createPredicateTest
(com.mojang.brigadier.ImmutableStringReader p_332946_, P p_329900_, Tag p_336108_) forElementType
(com.mojang.brigadier.ImmutableStringReader p_331849_, ResourceLocation p_335307_) forTagType
(com.mojang.brigadier.ImmutableStringReader p_332583_, ResourceLocation p_334980_) lookupComponentType
(com.mojang.brigadier.ImmutableStringReader p_331245_, ResourceLocation p_328438_) lookupPredicateType
(com.mojang.brigadier.ImmutableStringReader p_329855_, ResourceLocation p_331711_)
-
Method Details
-
forElementType
T forElementType(com.mojang.brigadier.ImmutableStringReader p_331849_, ResourceLocation p_335307_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listElementTypes
Stream<ResourceLocation> listElementTypes() -
forTagType
T forTagType(com.mojang.brigadier.ImmutableStringReader p_332583_, ResourceLocation p_334980_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listTagTypes
Stream<ResourceLocation> listTagTypes() -
lookupComponentType
C lookupComponentType(com.mojang.brigadier.ImmutableStringReader p_331245_, ResourceLocation p_328438_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listComponentTypes
Stream<ResourceLocation> listComponentTypes() -
createComponentTest
T createComponentTest(com.mojang.brigadier.ImmutableStringReader p_331435_, C p_331254_, Tag p_333206_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
createComponentTest
-
lookupPredicateType
P lookupPredicateType(com.mojang.brigadier.ImmutableStringReader p_329855_, ResourceLocation p_331711_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listPredicateTypes
Stream<ResourceLocation> listPredicateTypes() -
createPredicateTest
T createPredicateTest(com.mojang.brigadier.ImmutableStringReader p_332946_, P p_329900_, Tag p_336108_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
negate
-
anyOf
-