Package net.minecraft.util.registry
Class RegistryEntryList.ListBacked<T>
java.lang.Object
net.minecraft.util.registry.RegistryEntryList.ListBacked<T>
- All Implemented Interfaces:
Iterable<RegistryEntry<T>>,RegistryEntryList<T>
- Direct Known Subclasses:
RegistryEntryList.Direct,RegistryEntryList.Named
- Enclosing interface:
RegistryEntryList<T>
public abstract static class RegistryEntryList.ListBacked<T>
extends Object
implements RegistryEntryList<T>
- Mappings:
Namespace Name official he$bintermediary net/minecraft/class_6885$class_6887named net/minecraft/util/registry/RegistryEntryList$ListBacked
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.registry.RegistryEntryList
RegistryEntryList.Direct<T>, RegistryEntryList.ListBacked<T>, RegistryEntryList.Named<T> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.registry.RegistryEntryList
contains, getStorage
-
Constructor Details
-
ListBacked
public ListBacked()
-
-
Method Details
-
getEntries
- Mappings:
Namespace Name Mixin selector official dLhe$b;d()Ljava/util/List;intermediary method_40249Lnet/minecraft/class_6885$class_6887;method_40249()Ljava/util/List;named getEntriesLnet/minecraft/util/registry/RegistryEntryList$ListBacked;getEntries()Ljava/util/List;
-
size
public int size()- Specified by:
sizein interfaceRegistryEntryList<T>- Mappings:
Namespace Name Mixin selector official bLhe;b()Iintermediary method_40247Lnet/minecraft/class_6885;method_40247()Inamed sizeLnet/minecraft/util/registry/RegistryEntryList;size()I
-
spliterator
- Specified by:
spliteratorin interfaceIterable<T>
-
iterator
-
stream
- Specified by:
streamin interfaceRegistryEntryList<T>- Mappings:
Namespace Name Mixin selector official aLhe;a()Ljava/util/stream/Stream;intermediary method_40239Lnet/minecraft/class_6885;method_40239()Ljava/util/stream/Stream;named streamLnet/minecraft/util/registry/RegistryEntryList;stream()Ljava/util/stream/Stream;
-
getRandom
- Specified by:
getRandomin interfaceRegistryEntryList<T>- Mappings:
Namespace Name Mixin selector official aLhe;a(Lalu;)Ljava/util/Optional;intermediary method_40243Lnet/minecraft/class_6885;method_40243(Lnet/minecraft/class_5819;)Ljava/util/Optional;named getRandomLnet/minecraft/util/registry/RegistryEntryList;getRandom(Lnet/minecraft/util/math/random/Random;)Ljava/util/Optional;
-
get
- Specified by:
getin interfaceRegistryEntryList<T>- Mappings:
Namespace Name Mixin selector official aLhe;a(I)Lhc;intermediary method_40240Lnet/minecraft/class_6885;method_40240(I)Lnet/minecraft/class_6880;named getLnet/minecraft/util/registry/RegistryEntryList;get(I)Lnet/minecraft/util/registry/RegistryEntry;
-
isOf
- Specified by:
isOfin interfaceRegistryEntryList<T>- Mappings:
Namespace Name Mixin selector official aLhe;a(Lhm;)Zintermediary method_40560Lnet/minecraft/class_6885;method_40560(Lnet/minecraft/class_2378;)Znamed isOfLnet/minecraft/util/registry/RegistryEntryList;isOf(Lnet/minecraft/util/registry/Registry;)Z
-