Class ItemPredicateArgument

java.lang.Object
net.minecraft.commands.arguments.item.ItemPredicateArgument
All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<ItemPredicateArgument.Result>

public class ItemPredicateArgument extends Object implements com.mojang.brigadier.arguments.ArgumentType<ItemPredicateArgument.Result>
  • Field Details

    • EXAMPLES

      private static final Collection<String> EXAMPLES
    • ERROR_UNKNOWN_ITEM

      static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_UNKNOWN_ITEM
    • ERROR_UNKNOWN_TAG

      static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_UNKNOWN_TAG
    • ERROR_UNKNOWN_COMPONENT

      static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_UNKNOWN_COMPONENT
    • ERROR_MALFORMED_COMPONENT

      static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_MALFORMED_COMPONENT
    • ERROR_UNKNOWN_PREDICATE

      static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType ERROR_UNKNOWN_PREDICATE
    • ERROR_MALFORMED_PREDICATE

      static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType ERROR_MALFORMED_PREDICATE
    • COUNT_ID

      private static final ResourceLocation COUNT_ID
    • PSEUDO_COMPONENTS

    • PSEUDO_PREDICATES

    • grammarWithContext

      private final Grammar<List<Predicate<ItemStack>>> grammarWithContext
  • Constructor Details

  • Method Details