Package net.minecraftforge.event
Class RegistryEvent.MissingMappings<T extends IForgeRegistryEntry<T>>
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.eventbus.api.GenericEvent<T>
-
- net.minecraftforge.event.RegistryEvent<T>
-
- net.minecraftforge.event.RegistryEvent.MissingMappings<T>
-
- All Implemented Interfaces:
net.minecraftforge.eventbus.api.IGenericEvent<T>
,IModBusEvent
- Enclosing class:
- RegistryEvent<T extends IForgeRegistryEntry<T>>
public static class RegistryEvent.MissingMappings<T extends IForgeRegistryEntry<T>> extends RegistryEvent<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RegistryEvent.MissingMappings.Action
Actions you can take with this missing mapping.static class
RegistryEvent.MissingMappings.Mapping<T extends IForgeRegistryEntry<T>>
-
Nested classes/interfaces inherited from class net.minecraftforge.event.RegistryEvent
RegistryEvent.MissingMappings<T extends IForgeRegistryEntry<T>>, RegistryEvent.NewRegistry, RegistryEvent.Register<T extends IForgeRegistryEntry<T>>
-
-
Field Summary
Fields Modifier and Type Field Description private ModContainer
activeMod
private com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>>
mappings
private ResourceLocation
name
private IForgeRegistry<T>
registry
-
Constructor Summary
Constructors Constructor Description MissingMappings(ResourceLocation name, IForgeRegistry<T> registry, java.util.Collection<RegistryEvent.MissingMappings.Mapping<T>> missed)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>>
getAllMappings()
com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>>
getMappings()
Deprecated.com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>>
getMappings(java.lang.String modid)
ResourceLocation
getName()
IForgeRegistry<T>
getRegistry()
void
setModContainer(ModContainer mod)
-
-
-
Field Detail
-
registry
private final IForgeRegistry<T extends IForgeRegistryEntry<T>> registry
-
name
private final ResourceLocation name
-
mappings
private final com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T extends IForgeRegistryEntry<T>>> mappings
-
activeMod
private ModContainer activeMod
-
-
Constructor Detail
-
MissingMappings
public MissingMappings(ResourceLocation name, IForgeRegistry<T> registry, java.util.Collection<RegistryEvent.MissingMappings.Mapping<T>> missed)
-
-
Method Detail
-
setModContainer
public void setModContainer(ModContainer mod)
-
getName
public ResourceLocation getName()
-
getRegistry
public IForgeRegistry<T> getRegistry()
-
getMappings
@Deprecated public com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>> getMappings()
Deprecated.
-
getMappings
public com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>> getMappings(java.lang.String modid)
-
getAllMappings
public com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>> getAllMappings()
-
-