Package net.minecraft.resource.metadata
Class ResourceFilter
java.lang.Object
net.minecraft.resource.metadata.ResourceFilter
- Mappings:
Namespace Name official aht
intermediary net/minecraft/class_7084
named net/minecraft/resource/metadata/ResourceFilter
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<ResourceFilter.BlockEntry>
The list of block rules, namedblock
in the JSON format.(package private) static final com.mojang.serialization.Codec<ResourceFilter>
(package private) static final org.slf4j.Logger
static final ResourceMetadataReader<ResourceFilter>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isNamespaceBlocked
(String namespace) boolean
isPathBlocked
(String namespace)
-
Field Details
-
LOGGER
static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official b
Laht;b:Lorg/slf4j/Logger;
intermediary field_37290
Lnet/minecraft/class_7084;field_37290:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/resource/metadata/ResourceFilter;LOGGER:Lorg/slf4j/Logger;
-
CODEC
- Mappings:
Namespace Name Mixin selector official c
Laht;c:Lcom/mojang/serialization/Codec;
intermediary field_37291
Lnet/minecraft/class_7084;field_37291:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/resource/metadata/ResourceFilter;CODEC:Lcom/mojang/serialization/Codec;
-
READER
- Mappings:
Namespace Name Mixin selector official a
Laht;a:Lagx;
intermediary field_37289
Lnet/minecraft/class_7084;field_37289:Lnet/minecraft/class_3270;
named READER
Lnet/minecraft/resource/metadata/ResourceFilter;READER:Lnet/minecraft/resource/metadata/ResourceMetadataReader;
-
blocks
The list of block rules, namedblock
in the JSON format.- Mappings:
Namespace Name Mixin selector official d
Laht;d:Ljava/util/List;
intermediary field_37292
Lnet/minecraft/class_7084;field_37292:Ljava/util/List;
named blocks
Lnet/minecraft/resource/metadata/ResourceFilter;blocks:Ljava/util/List;
-
-
Constructor Details
-
ResourceFilter
- Mappings:
Namespace Name Mixin selector official <init>
Laht;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_7084;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/resource/metadata/ResourceFilter;<init>(Ljava/util/List;)V
-
-
Method Details
-
isNamespaceBlocked
- Mappings:
Namespace Name Mixin selector official a
Laht;a(Ljava/lang/String;)Z
intermediary method_41279
Lnet/minecraft/class_7084;method_41279(Ljava/lang/String;)Z
named isNamespaceBlocked
Lnet/minecraft/resource/metadata/ResourceFilter;isNamespaceBlocked(Ljava/lang/String;)Z
-
isPathBlocked
- Mappings:
Namespace Name Mixin selector official b
Laht;b(Ljava/lang/String;)Z
intermediary method_41281
Lnet/minecraft/class_7084;method_41281(Ljava/lang/String;)Z
named isPathBlocked
Lnet/minecraft/resource/metadata/ResourceFilter;isPathBlocked(Ljava/lang/String;)Z
-