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
Fields -
Method Summary
Modifier and TypeMethodDescriptionbyId(int p_122651_) default TbyIdOrThrow(int p_200958_) intdefault intgetIdOrThrow(T p_320059_) intsize()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()
-