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
Modifier and TypeClassDescriptionstatic enum
Actions you can take with this missing mapping.static class
Nested classes/interfaces inherited from class net.minecraftforge.event.RegistryEvent
RegistryEvent.IdMappingEvent, RegistryEvent.MissingMappings<T extends IForgeRegistryEntry<T>>, RegistryEvent.Register<T extends IForgeRegistryEntry<T>>
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Modifier and TypeFieldDescriptionprivate ModContainer
private final com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>>
private final ResourceLocation
private final IForgeRegistry<T>
-
Constructor Summary
ConstructorDescriptionMissingMappings
(ResourceLocation name, IForgeRegistry<T> registry, Collection<RegistryEvent.MissingMappings.Mapping<T>> missed) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>>
com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>>
Deprecated.com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>>
getMappings
(String modid) getName()
void
Methods inherited from class net.minecraftforge.eventbus.api.GenericEvent
getGenericType
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
registry
-
name
-
mappings
private final com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T extends IForgeRegistryEntry<T>>> mappings -
activeMod
-
-
Constructor Details
-
MissingMappings
public MissingMappings(ResourceLocation name, IForgeRegistry<T> registry, Collection<RegistryEvent.MissingMappings.Mapping<T>> missed)
-
-
Method Details
-
setModContainer
-
getName
-
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(String modid) -
getAllMappings
public com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>> getAllMappings()
-