public static class RegistryEvent.MissingMappings<T extends IForgeRegistryEntry<T>> extends RegistryEvent<T>
Modifier and Type | Class and Description |
---|---|
static class |
RegistryEvent.MissingMappings.Action
Actions you can take with this missing mapping.
|
static class |
RegistryEvent.MissingMappings.Mapping<T extends IForgeRegistryEntry<T>> |
RegistryEvent.MissingMappings<T extends IForgeRegistryEntry<T>>, RegistryEvent.NewRegistry, RegistryEvent.Register<T extends IForgeRegistryEntry<T>>
Event.HasResult, Event.Result
Constructor and Description |
---|
MissingMappings(ResourceLocation name,
IForgeRegistry<T> registry,
java.util.Collection<RegistryEvent.MissingMappings.Mapping<T>> missed) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>> |
getAllMappings() |
com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>> |
getMappings() |
ResourceLocation |
getName() |
IForgeRegistry<T> |
getRegistry() |
void |
setModContainer(ModContainer mod) |
getGenericType
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
public MissingMappings(ResourceLocation name, IForgeRegistry<T> registry, java.util.Collection<RegistryEvent.MissingMappings.Mapping<T>> missed)
public void setModContainer(ModContainer mod)
public ResourceLocation getName()
public IForgeRegistry<T> getRegistry()
public com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>> getMappings()
public com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>> getAllMappings()