Package net.minecraft.core
Interface IdMap<T>
- All Superinterfaces:
Iterable<T>
- All Known Subinterfaces:
DefaultedRegistry<T>
,Registry<T>
,WritableRegistry<T>
- All Known Implementing Classes:
BaseMappedRegistry
,CrudeIncrementalIntIdentityHashBiMap
,DefaultedMappedRegistry
,IdMapper
,MappedRegistry
,NeoForgeRegistryCallbacks.BlockCallbacks.ClearableObjectIntIdentityMap
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyId
(int p_122651_) default T
byIdOrThrow
(int p_200958_) int
default int
getIdOrThrow
(T p_320059_) 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()
-