@ApiStatus.NonExtendable public interface FilterMeta extends MetadataPart
Makes the client ignore the specified files
from resource-packs below this one by using
filtering patterns
| Modifier and Type | Method and Description |
|---|---|
static @NotNull FilterMeta |
filter()
Deprecated.
Use
filter(KeyPattern...) instead |
static @NotNull FilterMeta |
filter(KeyPattern... patterns)
Creates a new
FilterMeta from the given
pattern array |
static @NotNull FilterMeta |
filter(@NotNull java.util.List<KeyPattern> patterns)
Creates a new
FilterMeta from the given
pattern list |
static @NotNull FilterMeta |
of()
Deprecated.
Use
filter(KeyPattern...) instead |
static @NotNull FilterMeta |
of(KeyPattern... patterns)
Deprecated.
Use
filter(KeyPattern...) instead |
static @NotNull FilterMeta |
of(@NotNull java.util.List<KeyPattern> patterns)
Deprecated.
Use
filter(List) instead |
@NotNull @Unmodifiable java.util.List<KeyPattern> |
patterns()
Returns the list of key patterns to block from
resource packs that are below this one.
|
type@Contract(value="_ -> new") @NotNull static @NotNull FilterMeta filter(@NotNull @NotNull java.util.List<KeyPattern> patterns)
FilterMeta from the given
pattern listpatterns - The key patterns to useFilterMeta instance@Contract(value="_ -> new") @NotNull static @NotNull FilterMeta filter(@NotNull KeyPattern... patterns)
FilterMeta from the given
pattern arraypatterns - The key patterns to useFilterMeta instance@Deprecated @Contract(value="-> fail") @NotNull static @NotNull FilterMeta filter()
filter(KeyPattern...) insteadjava.lang.UnsupportedOperationException - Always.@Deprecated @ApiStatus.ScheduledForRemoval(inVersion="2.0.0") @Contract(value="_ -> new") @NotNull static @NotNull FilterMeta of(@NotNull @NotNull java.util.List<KeyPattern> patterns)
filter(List) insteadFilterMeta from the given
pattern listpatterns - The key patterns to useFilterMeta instance@Deprecated @ApiStatus.ScheduledForRemoval(inVersion="2.0.0") @Contract(value="_ -> new") @NotNull static @NotNull FilterMeta of(@NotNull KeyPattern... patterns)
filter(KeyPattern...) insteadFilterMeta from the given
pattern arraypatterns - The key patterns to useFilterMeta instance@Deprecated @ApiStatus.ScheduledForRemoval(inVersion="2.0.0") @Contract(value="-> fail") @NotNull static @NotNull FilterMeta of()
filter(KeyPattern...) insteadjava.lang.UnsupportedOperationException - Always.@NotNull @NotNull @Unmodifiable java.util.List<KeyPattern> patterns()
The client will ignore files that match any of these patterns on resource packs with less priority than this one