Package net.minecraft.util.registry
Class RegistryEntryList.Direct<T>
java.lang.Object
net.minecraft.util.registry.RegistryEntryList.ListBacked<T>
net.minecraft.util.registry.RegistryEntryList.Direct<T>
- All Implemented Interfaces:
Iterable<RegistryEntry<T>>
,RegistryEntryList<T>
- Enclosing interface:
RegistryEntryList<T>
- Mappings:
Namespace Name official he$a
intermediary net/minecraft/class_6885$class_6886
named net/minecraft/util/registry/RegistryEntryList$Direct
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.registry.RegistryEntryList
RegistryEntryList.Direct<T>, RegistryEntryList.ListBacked<T>, RegistryEntryList.Named<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<RegistryEntry<T>>
private Set<RegistryEntry<T>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(RegistryEntry<T> entry) protected List<RegistryEntry<T>>
com.mojang.datafixers.util.Either<TagKey<T>,
List<RegistryEntry<T>>> toString()
Methods inherited from class net.minecraft.util.registry.RegistryEntryList.ListBacked
get, getRandom, isOf, iterator, size, spliterator, stream
-
Field Details
-
entries
- Mappings:
Namespace Name Mixin selector official a
Lhe$a;a:Ljava/util/List;
intermediary field_36457
Lnet/minecraft/class_6885$class_6886;field_36457:Ljava/util/List;
named entries
Lnet/minecraft/util/registry/RegistryEntryList$Direct;entries:Ljava/util/List;
-
entrySet
- Mappings:
Namespace Name Mixin selector official b
Lhe$a;b:Ljava/util/Set;
intermediary field_36458
Lnet/minecraft/class_6885$class_6886;field_36458:Ljava/util/Set;
named entrySet
Lnet/minecraft/util/registry/RegistryEntryList$Direct;entrySet:Ljava/util/Set;
-
-
Constructor Details
-
Direct
Direct(List<RegistryEntry<T>> entries) - Mappings:
Namespace Name Mixin selector official <init>
Lhe$a;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_6885$class_6886;<init>(Ljava/util/List;)V
named <init>
Lnet/minecraft/util/registry/RegistryEntryList$Direct;<init>(Ljava/util/List;)V
-
-
Method Details
-
getEntries
- Specified by:
getEntries
in classRegistryEntryList.ListBacked<T>
- Mappings:
Namespace Name Mixin selector official d
Lhe$b;d()Ljava/util/List;
intermediary method_40249
Lnet/minecraft/class_6885$class_6887;method_40249()Ljava/util/List;
named getEntries
Lnet/minecraft/util/registry/RegistryEntryList$ListBacked;getEntries()Ljava/util/List;
-
getStorage
- Mappings:
Namespace Name Mixin selector official c
Lhe;c()Lcom/mojang/datafixers/util/Either;
intermediary method_40248
Lnet/minecraft/class_6885;method_40248()Lcom/mojang/datafixers/util/Either;
named getStorage
Lnet/minecraft/util/registry/RegistryEntryList;getStorage()Lcom/mojang/datafixers/util/Either;
-
contains
- Mappings:
Namespace Name Mixin selector official a
Lhe;a(Lhc;)Z
intermediary method_40241
Lnet/minecraft/class_6885;method_40241(Lnet/minecraft/class_6880;)Z
named contains
Lnet/minecraft/util/registry/RegistryEntryList;contains(Lnet/minecraft/util/registry/RegistryEntry;)Z
-
toString
-