mirror of https://github.com/FabricMC/yarn.git
23 lines
902 B
Plaintext
23 lines
902 B
Plaintext
CLASS net/minecraft/class_3494 net/minecraft/tag/Tag
|
|
COMMENT A tag is a set of objects.
|
|
COMMENT
|
|
COMMENT <p>Tags simplifies reference to multiple objects, especially for
|
|
COMMENT predicate (testing against) purposes.
|
|
COMMENT
|
|
COMMENT <p>A tag is immutable by design. It has a builder, which is a mutable
|
|
COMMENT equivalent.
|
|
COMMENT
|
|
COMMENT <p>Its entries' iteration may be ordered
|
|
COMMENT or unordered, depending on the configuration from the tag builder.
|
|
METHOD method_15138 values ()Ljava/util/List;
|
|
METHOD method_15141 contains (Ljava/lang/Object;)Z
|
|
ARG 1 entry
|
|
METHOD method_15142 getRandom (Ljava/util/Random;)Ljava/lang/Object;
|
|
ARG 1 random
|
|
CLASS class_3495 Builder
|
|
COMMENT A builder class to ease the creation of tags. It can also be used as a
|
|
COMMENT mutable form of a tag.
|
|
CLASS class_3496 Entry
|
|
CLASS class_3497 TagEntry
|
|
FIELD field_15584 id Lnet/minecraft/class_2960;
|