Class ResourceFilter

java.lang.Object
net.minecraft.resource.metadata.ResourceFilter

public class ResourceFilter extends Object
Mappings:
Namespace Name
named net/minecraft/resource/metadata/ResourceFilter
intermediary net/minecraft/class_7084
official avu
  • Field Details

    • CODEC

      private static final com.mojang.serialization.Codec<ResourceFilter> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/resource/metadata/ResourceFilter;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_37291 Lnet/minecraft/class_7084;field_37291:Lcom/mojang/serialization/Codec;
      official b Lavu;b:Lcom/mojang/serialization/Codec;
    • SERIALIZER

      public static final ResourceMetadataSerializer<ResourceFilter> SERIALIZER
      Mappings:
      Namespace Name Mixin selector
      named SERIALIZER Lnet/minecraft/resource/metadata/ResourceFilter;SERIALIZER:Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;
      intermediary field_40055 Lnet/minecraft/class_7084;field_40055:Lnet/minecraft/class_7677;
      official a Lavu;a:Lauu;
    • blocks

      private final List<BlockEntry> blocks
      The list of block rules, named block in the JSON format.
      Mappings:
      Namespace Name Mixin selector
      named blocks Lnet/minecraft/resource/metadata/ResourceFilter;blocks:Ljava/util/List;
      intermediary field_37292 Lnet/minecraft/class_7084;field_37292:Ljava/util/List;
      official c Lavu;c:Ljava/util/List;
  • Constructor Details

    • ResourceFilter

      public ResourceFilter(List<BlockEntry> blocks)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/resource/metadata/ResourceFilter;<init>(Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_7084;<init>(Ljava/util/List;)V
      official <init> Lavu;<init>(Ljava/util/List;)V
  • Method Details

    • isNamespaceBlocked

      public boolean isNamespaceBlocked(String namespace)
      Mappings:
      Namespace Name Mixin selector
      named isNamespaceBlocked Lnet/minecraft/resource/metadata/ResourceFilter;isNamespaceBlocked(Ljava/lang/String;)Z
      intermediary method_41279 Lnet/minecraft/class_7084;method_41279(Ljava/lang/String;)Z
      official a Lavu;a(Ljava/lang/String;)Z
    • isPathBlocked

      public boolean isPathBlocked(String namespace)
      Mappings:
      Namespace Name Mixin selector
      named isPathBlocked Lnet/minecraft/resource/metadata/ResourceFilter;isPathBlocked(Ljava/lang/String;)Z
      intermediary method_41281 Lnet/minecraft/class_7084;method_41281(Ljava/lang/String;)Z
      official b Lavu;b(Ljava/lang/String;)Z