public class ModuleTypeBuilder<M extends ModuleType,P> extends com.tterrag.registrate.builders.AbstractBuilder<ModuleType,M,P,ModuleTypeBuilder<M,P>>
| Modifier and Type | Field and Description |
|---|---|
com.tterrag.registrate.util.nullness.NonNullSupplier<M> |
moduleSlotSupplier |
| Constructor and Description |
|---|
ModuleTypeBuilder(com.tterrag.registrate.AbstractRegistrate<?> owner,
P parent,
java.lang.String name,
com.tterrag.registrate.builders.BuilderCallback callback,
com.tterrag.registrate.util.nullness.NonNullSupplier<M> moduleSlotSupplier) |
| Modifier and Type | Method and Description |
|---|---|
protected M |
createEntry() |
ModuleTypeBuilder<M,P> |
lang(java.lang.String name) |
asSupplier, createEntryWrapper, getCallback, getName, getOwner, getParent, getRegistryType, lang, lang, register, tagclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic final com.tterrag.registrate.util.nullness.NonNullSupplier<M extends ModuleType> moduleSlotSupplier
public ModuleTypeBuilder<M,P> lang(java.lang.String name)
@Nonnull protected M createEntry()
createEntry in class com.tterrag.registrate.builders.AbstractBuilder<ModuleType,M extends ModuleType,P,ModuleTypeBuilder<M extends ModuleType,P>>