public class FMLModIdMappingEvent extends FMLEvent
for how to subscribe to this event
Modifier and Type | Class and Description |
---|---|
class |
FMLModIdMappingEvent.ModRemapping |
Modifier and Type | Field and Description |
---|---|
boolean |
isFrozen |
private com.google.common.collect.ImmutableSet<ResourceLocation> |
keys |
private java.util.Map<ResourceLocation,com.google.common.collect.ImmutableList<FMLModIdMappingEvent.ModRemapping>> |
remaps |
Constructor and Description |
---|
FMLModIdMappingEvent(java.util.Map<ResourceLocation,java.util.Map<ResourceLocation,java.lang.Integer[]>> remaps,
boolean isFrozen) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableSet<ResourceLocation> |
getRegistries() |
com.google.common.collect.ImmutableList<FMLModIdMappingEvent.ModRemapping> |
getRemaps(ResourceLocation registry) |
applyModContainer, description, getEventType
private final java.util.Map<ResourceLocation,com.google.common.collect.ImmutableList<FMLModIdMappingEvent.ModRemapping>> remaps
private final com.google.common.collect.ImmutableSet<ResourceLocation> keys
public final boolean isFrozen
public FMLModIdMappingEvent(java.util.Map<ResourceLocation,java.util.Map<ResourceLocation,java.lang.Integer[]>> remaps, boolean isFrozen)
public com.google.common.collect.ImmutableSet<ResourceLocation> getRegistries()
public com.google.common.collect.ImmutableList<FMLModIdMappingEvent.ModRemapping> getRemaps(ResourceLocation registry)