mirror of https://github.com/FabricMC/yarn.git
19 lines
1.0 KiB
Plaintext
19 lines
1.0 KiB
Plaintext
CLASS net/minecraft/class_7225 net/minecraft/command/CommandRegistryWrapper
|
|
COMMENT A wrapper of a registry, used in command arguments.
|
|
COMMENT
|
|
COMMENT <p>The methods in this class in most cases perform the same as ones defined
|
|
COMMENT in {@link Registry}. However, subclasses may have slightly different behaviors
|
|
COMMENT to make it easier to handle user-passed arguments. For example, {@link #getEntryList(TagKey)}
|
|
COMMENT may return an empty {@link RegistryEntryList} instead of {@link Optional#empty()}.
|
|
COMMENT
|
|
COMMENT <p>A wrapper without any special behaviors can be created by calling {@link of(Registry)}.
|
|
METHOD method_42017 streamKeys ()Ljava/util/stream/Stream;
|
|
COMMENT {@return a stream of registry keys defined in the wrapped registry}
|
|
COMMENT
|
|
COMMENT @see Registry#getKeys
|
|
METHOD method_42020 streamTags ()Ljava/util/stream/Stream;
|
|
COMMENT @see Registry#streamTags
|
|
CLASS class_7226 Impl
|
|
METHOD method_45919 withFeatureFilter (Lnet/minecraft/class_7699;)Lnet/minecraft/class_7225;
|
|
ARG 1 enabledFeatures
|