public interface IRegistry<T> extends IObjectIntIterable<T>
Modifier and Type | Method and Description |
---|---|
boolean |
func_212607_c(ResourceLocation p_212607_1_) |
T |
func_212608_b(ResourceLocation p_212608_1_) |
ResourceLocation |
func_212609_b() |
static <T> IRegistry<T> |
func_212610_a(java.lang.String p_212610_0_,
IRegistry<T> p_212610_1_) |
static void |
func_212613_e() |
T |
get(int id) |
T |
get(ResourceLocation name) |
int |
getId(T value) |
ResourceLocation |
getKey(T value) |
java.util.Set<ResourceLocation> |
getKeys() |
T |
getRandom(java.util.Random random) |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
void |
put(ResourceLocation key,
T value) |
void |
register(int id,
ResourceLocation key,
T value) |
default java.util.stream.Stream<T> |
stream() |
static final org.apache.logging.log4j.Logger field_212616_e
static final IRegistry<PaintingType> field_212620_i
@Deprecated static final IRegistry<PotionType> field_212621_j
@Deprecated static final IRegistry<DimensionType> field_212622_k
static final IRegistry<ResourceLocation> field_212623_l
static final IRegistry<BiomeProviderType<?,?>> field_212625_n
@Deprecated static final IRegistry<TileEntityType<?>> field_212626_o
static final IRegistry<ChunkGeneratorType<?,?>> field_212627_p
@Deprecated static final IRegistry<Enchantment> field_212628_q
@Deprecated static final IRegistry<EntityType<?>> field_212629_r
static final IRegistry<ParticleType<? extends IParticleData>> field_212632_u
@Deprecated static final IRegistry<SoundEvent> field_212633_v
static <T> IRegistry<T> func_212610_a(java.lang.String p_212610_0_, IRegistry<T> p_212610_1_)
static void func_212613_e()
@Nullable ResourceLocation getKey(T value)
T get(@Nullable ResourceLocation name)
ResourceLocation func_212609_b()
int getId(@Nullable T value)
@Nullable T get(int id)
@Nullable T func_212608_b(@Nullable ResourceLocation p_212608_1_)
void register(int id, ResourceLocation key, T value)
void put(ResourceLocation key, T value)
java.util.Set<ResourceLocation> getKeys()
boolean isEmpty()
@Nullable T getRandom(java.util.Random random)
default java.util.stream.Stream<T> stream()
boolean func_212607_c(ResourceLocation p_212607_1_)