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_335521_, C p_335579_) createComponentTest
(com.mojang.brigadier.ImmutableStringReader p_336142_, C p_336094_, Tag p_336057_) createPredicateTest
(com.mojang.brigadier.ImmutableStringReader p_335898_, P p_335609_, Tag p_335661_) forElementType
(com.mojang.brigadier.ImmutableStringReader p_335757_, ResourceLocation p_336070_) forTagType
(com.mojang.brigadier.ImmutableStringReader p_335809_, ResourceLocation p_335925_) lookupComponentType
(com.mojang.brigadier.ImmutableStringReader p_335515_, ResourceLocation p_335733_) lookupPredicateType
(com.mojang.brigadier.ImmutableStringReader p_336079_, ResourceLocation p_335954_)
-
Method Details
-
forElementType
T forElementType(com.mojang.brigadier.ImmutableStringReader p_335757_, ResourceLocation p_336070_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listElementTypes
Stream<ResourceLocation> listElementTypes() -
forTagType
T forTagType(com.mojang.brigadier.ImmutableStringReader p_335809_, ResourceLocation p_335925_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listTagTypes
Stream<ResourceLocation> listTagTypes() -
lookupComponentType
C lookupComponentType(com.mojang.brigadier.ImmutableStringReader p_335515_, ResourceLocation p_335733_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listComponentTypes
Stream<ResourceLocation> listComponentTypes() -
createComponentTest
T createComponentTest(com.mojang.brigadier.ImmutableStringReader p_336142_, C p_336094_, Tag p_336057_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
createComponentTest
-
lookupPredicateType
P lookupPredicateType(com.mojang.brigadier.ImmutableStringReader p_336079_, ResourceLocation p_335954_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
listPredicateTypes
Stream<ResourceLocation> listPredicateTypes() -
createPredicateTest
T createPredicateTest(com.mojang.brigadier.ImmutableStringReader p_335898_, P p_335609_, Tag p_335661_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
negate
-
anyOf
-