Package | Description |
---|---|
net.minecraftforge.event | |
net.minecraftforge.fml.common.network | |
net.minecraftforge.fml.common.registry | |
net.minecraftforge.registries |
Modifier and Type | Field and Description |
---|---|
private IForgeRegistry<T> |
RegistryEvent.MissingMappings.Mapping.pool |
private IForgeRegistry<T> |
RegistryEvent.Register.registry |
private IForgeRegistry<T> |
RegistryEvent.MissingMappings.registry |
IForgeRegistry<T> |
RegistryEvent.MissingMappings.Mapping.registry |
Modifier and Type | Method and Description |
---|---|
IForgeRegistry<T> |
RegistryEvent.Register.getRegistry() |
IForgeRegistry<T> |
RegistryEvent.MissingMappings.getRegistry() |
Constructor and Description |
---|
Mapping(IForgeRegistry<T> registry,
IForgeRegistry<T> pool,
ResourceLocation key,
int id) |
Mapping(IForgeRegistry<T> registry,
IForgeRegistry<T> pool,
ResourceLocation key,
int id) |
MissingMappings(ResourceLocation name,
IForgeRegistry<T> registry,
java.util.Collection<RegistryEvent.MissingMappings.Mapping<T>> missed) |
Register(ResourceLocation name,
IForgeRegistry<T> registry) |
Modifier and Type | Method and Description |
---|---|
static <T extends IForgeRegistryEntry<T>> |
ByteBufUtils.readRegistryEntries(io.netty.buffer.ByteBuf in,
IForgeRegistry<T> registry)
Read multiple registry entries from the same registries from the stream.
|
static <T extends IForgeRegistryEntry<T>> |
ByteBufUtils.readRegistryEntry(io.netty.buffer.ByteBuf in,
IForgeRegistry<T> registry)
Read a registry entry from the stream.
|
Modifier and Type | Field and Description |
---|---|
static IForgeRegistry<Biome> |
ForgeRegistries.BIOMES |
static IForgeRegistry<Block> |
ForgeRegistries.BLOCKS |
static IForgeRegistry<DataSerializerEntry> |
ForgeRegistries.DATA_SERIALIZERS |
static IForgeRegistry<Enchantment> |
ForgeRegistries.ENCHANTMENTS |
static IForgeRegistry<EntityEntry> |
ForgeRegistries.ENTITIES |
static IForgeRegistry<Item> |
ForgeRegistries.ITEMS |
static IForgeRegistry<PotionType> |
ForgeRegistries.POTION_TYPES |
static IForgeRegistry<Potion> |
ForgeRegistries.POTIONS |
static IForgeRegistry<IRecipe> |
ForgeRegistries.RECIPES |
static IForgeRegistry<SoundEvent> |
ForgeRegistries.SOUND_EVENTS |
static IForgeRegistry<VillagerRegistry.VillagerProfession> |
ForgeRegistries.VILLAGER_PROFESSIONS |
Modifier and Type | Method and Description |
---|---|
static <K extends IForgeRegistryEntry<K>> |
GameRegistry.findRegistry(java.lang.Class<K> registryType)
Retrieves the registry associated with this super class type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IForgeRegistryInternal<V extends IForgeRegistryEntry<V>> |
interface |
IForgeRegistryModifiable<V extends IForgeRegistryEntry<V>> |
Modifier and Type | Class and Description |
---|---|
class |
ForgeRegistry<V extends IForgeRegistryEntry<V>> |
Modifier and Type | Method and Description |
---|---|
IForgeRegistry<T> |
RegistryBuilder.create() |
<V extends IForgeRegistryEntry<V>> |
RegistryManager.getRegistry(java.lang.Class<V> cls) |
Modifier and Type | Method and Description |
---|---|
<V extends IForgeRegistryEntry<V>> |
RegistryManager.getName(IForgeRegistry<V> reg) |