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 ClassesModifier and TypeClassDescriptionstatic enumActions you can take with this missing mapping.static classNested 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
FieldsModifier and TypeFieldDescriptionprivate ModContainerprivate final com.google.common.collect.ImmutableList<RegistryEvent.MissingMappings.Mapping<T>>private final ResourceLocationprivate final IForgeRegistry<T> -
Constructor Summary
ConstructorsConstructorDescriptionMissingMappings(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()voidMethods inherited from class net.minecraftforge.eventbus.api.GenericEvent
getGenericTypeMethods 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()
-