public class RegistryBuilder<T extends IForgeRegistryEntry<T>>
extends java.lang.Object
Constructor and Description |
---|
RegistryBuilder() |
Modifier and Type | Method and Description |
---|---|
RegistryBuilder<T> |
add(IForgeRegistry.AddCallback<T> add) |
RegistryBuilder<T> |
add(IForgeRegistry.ClearCallback<T> clear) |
RegistryBuilder<T> |
add(IForgeRegistry.CreateCallback<T> create) |
RegistryBuilder<T> |
add(IForgeRegistry.SubstitutionCallback<T> sub) |
RegistryBuilder<T> |
addCallback(java.lang.Object inst) |
IForgeRegistry<T> |
create() |
RegistryBuilder<T> |
setIDRange(int min,
int max) |
RegistryBuilder<T> |
setName(ResourceLocation name) |
RegistryBuilder<T> |
setType(java.lang.Class<T> type) |
public RegistryBuilder<T> setName(ResourceLocation name)
public RegistryBuilder<T> setType(java.lang.Class<T> type)
public RegistryBuilder<T> setIDRange(int min, int max)
public RegistryBuilder<T> addCallback(java.lang.Object inst)
public RegistryBuilder<T> add(IForgeRegistry.AddCallback<T> add)
public RegistryBuilder<T> add(IForgeRegistry.ClearCallback<T> clear)
public RegistryBuilder<T> add(IForgeRegistry.CreateCallback<T> create)
public RegistryBuilder<T> add(IForgeRegistry.SubstitutionCallback<T> sub)
public IForgeRegistry<T> create()