Interface ComponentPredicateParser.Context<T,C,P>

All Known Implementing Classes:
ItemPredicateArgument.Context
Enclosing class:
ComponentPredicateParser

public static interface ComponentPredicateParser.Context<T,C,P>
  • 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

      T createComponentTest(com.mojang.brigadier.ImmutableStringReader p_333214_, C p_331519_)
    • 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

      T negate(T p_328958_)
    • anyOf

      T anyOf(List<T> p_330220_)