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
Modifier and Type | Field and Description |
---|---|
private ModContainer |
activeMod |
private com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>> |
mappings |
private ResourceLocation |
name |
private IForgeRegistry<T> |
registry |
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
private final IForgeRegistry<T extends IForgeRegistryEntry<T>> registry
private final ResourceLocation name
private final com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T extends IForgeRegistryEntry<T>>> mappings
private ModContainer activeMod
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()