Package net.minecraft.core
Interface IdMap<T>
- All Superinterfaces:
Iterable<T>
- All Known Subinterfaces:
DefaultedRegistry<T>
,Registry<T>
,WritableRegistry<T>
- All Known Implementing Classes:
CrudeIncrementalIntIdentityHashBiMap
,DefaultedMappedRegistry
,GameData.ClearableObjectIntIdentityMap
,IdMapper
,MappedRegistry
,NamespacedDefaultedWrapper
,NamespacedWrapper
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyId
(int p_122651_) default T
byIdOrThrow
(int p_200958_) int
default int
getIdOrThrow
(T p_329088_) int
size()
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Field Details
-
DEFAULT
static final int DEFAULT- See Also:
-
-
Method Details
-
getId
-
byId
-
byIdOrThrow
-
getIdOrThrow
-
size
int size()
-