Interface BlockPredicateArgumentType.BlockPredicate

Enclosing class:
BlockPredicateArgumentType

public static interface BlockPredicateArgumentType.BlockPredicate
Mappings:
Namespace Name
official et$b
intermediary net/minecraft/class_2252$class_2254
named net/minecraft/command/argument/BlockPredicateArgumentType$BlockPredicate
  • Method Details

    • create

      Predicate<CachedBlockPosition> create(Registry<Block> blockRegistry) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Let$b;a(Lhb;)Ljava/util/function/Predicate;
      intermediary method_38560 Lnet/minecraft/class_2252$class_2254;method_38560(Lnet/minecraft/class_2378;)Ljava/util/function/Predicate;
      named create Lnet/minecraft/command/argument/BlockPredicateArgumentType$BlockPredicate;create(Lnet/minecraft/util/registry/Registry;)Ljava/util/function/Predicate;
    • hasNbt

      boolean hasNbt()
      Mappings:
      Namespace Name Mixin selector
      official a Let$b;a()Z
      intermediary method_38559 Lnet/minecraft/class_2252$class_2254;method_38559()Z
      named hasNbt Lnet/minecraft/command/argument/BlockPredicateArgumentType$BlockPredicate;hasNbt()Z