Class ResourceFilter.BlockEntry

java.lang.Object
net.minecraft.resource.metadata.ResourceFilter.BlockEntry
All Implemented Interfaces:
Predicate<Identifier>
Enclosing class:
ResourceFilter

private static class ResourceFilter.BlockEntry extends Object implements Predicate<Identifier>
Mappings:
Namespace Name
official aht$a
intermediary net/minecraft/class_7084$class_7085
named net/minecraft/resource/metadata/ResourceFilter$BlockEntry
  • Field Details

    • CODEC

      static final com.mojang.serialization.Codec<ResourceFilter.BlockEntry> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Laht$a;a:Lcom/mojang/serialization/Codec;
      intermediary field_37293 Lnet/minecraft/class_7084$class_7085;field_37293:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/resource/metadata/ResourceFilter$BlockEntry;CODEC:Lcom/mojang/serialization/Codec;
    • namespace

      private final Optional<Pattern> namespace
      Mappings:
      Namespace Name Mixin selector
      official b Laht$a;b:Ljava/util/Optional;
      intermediary field_37294 Lnet/minecraft/class_7084$class_7085;field_37294:Ljava/util/Optional;
      named namespace Lnet/minecraft/resource/metadata/ResourceFilter$BlockEntry;namespace:Ljava/util/Optional;
    • namespacePredicate

      final Predicate<String> namespacePredicate
      Mappings:
      Namespace Name Mixin selector
      official c Laht$a;c:Ljava/util/function/Predicate;
      intermediary field_37295 Lnet/minecraft/class_7084$class_7085;field_37295:Ljava/util/function/Predicate;
      named namespacePredicate Lnet/minecraft/resource/metadata/ResourceFilter$BlockEntry;namespacePredicate:Ljava/util/function/Predicate;
    • path

      private final Optional<Pattern> path
      Mappings:
      Namespace Name Mixin selector
      official d Laht$a;d:Ljava/util/Optional;
      intermediary field_37296 Lnet/minecraft/class_7084$class_7085;field_37296:Ljava/util/Optional;
      named path Lnet/minecraft/resource/metadata/ResourceFilter$BlockEntry;path:Ljava/util/Optional;
    • pathPredicate

      final Predicate<String> pathPredicate
      Mappings:
      Namespace Name Mixin selector
      official e Laht$a;e:Ljava/util/function/Predicate;
      intermediary field_37297 Lnet/minecraft/class_7084$class_7085;field_37297:Ljava/util/function/Predicate;
      named pathPredicate Lnet/minecraft/resource/metadata/ResourceFilter$BlockEntry;pathPredicate:Ljava/util/function/Predicate;
  • Constructor Details

    • BlockEntry

      private BlockEntry(Optional<Pattern> namespace, Optional<Pattern> path)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laht$a;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
      intermediary <init> Lnet/minecraft/class_7084$class_7085;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
      named <init> Lnet/minecraft/resource/metadata/ResourceFilter$BlockEntry;<init>(Ljava/util/Optional;Ljava/util/Optional;)V
  • Method Details

    • test

      public boolean test(Identifier identifier)
      Specified by:
      test in interface Predicate<Identifier>
      Mappings:
      Namespace Name Mixin selector
      official a Laht$a;a(Laaj;)Z
      intermediary method_41287 Lnet/minecraft/class_7084$class_7085;method_41287(Lnet/minecraft/class_2960;)Z
      named test Lnet/minecraft/resource/metadata/ResourceFilter$BlockEntry;test(Lnet/minecraft/util/Identifier;)Z