Uses of Interface
net.minecraftforge.registries.IForgeRegistry
Package
Description
-
Uses of IForgeRegistry in net.minecraftforge.common
Modifier and TypeMethodDescriptionstatic <T extends IForgeRegistryEntry<T>>
Tags.IOptionalNamedTag<T>ForgeTagHandler.createOptionalTag(IForgeRegistry<T> registry, ResourceLocation name)
Helper method that creates an optional tag for a forge registry, erroring if the registry doesn't support custom tag types.static <T extends IForgeRegistryEntry<T>>
Tags.IOptionalNamedTag<T>ForgeTagHandler.createOptionalTag(IForgeRegistry<T> registry, ResourceLocation name, Set<Supplier<T>> defaults)
Helper method that creates an optional tag for a forge registry, erroring if the registry doesn't support custom tag types.private static <T extends IForgeRegistryEntry<T>>
StaticTagHelper<T>ForgeTagHandler.getTagHelper(IForgeRegistry<T> registry)
static <T extends IForgeRegistryEntry<T>>
Tag.Named<T>ForgeTagHandler.makeWrapperTag(IForgeRegistry<T> registry, ResourceLocation name)
Helper method that creates a named tag for a forge registry, erroring if the registry doesn't support custom tag types.private static void
ForgeTagHandler.validateRegistrySupportsTags(IForgeRegistry<?> registry)
-
Uses of IForgeRegistry in net.minecraftforge.common.data
Modifier and TypeFieldDescriptionprivate static Map<IForgeRegistry<?>,String>
ForgeRegistryTagsProvider.vanillaTypes
Modifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
StringForgeRegistryTagsProvider.getTagFolder(IForgeRegistry<T> registryIn)
private static <T extends IForgeRegistryEntry<T>>
Registry<T>ForgeRegistryTagsProvider.wrapRegistry(IForgeRegistry<T> registryIn)
ModifierConstructorDescriptionForgeRegistryTagsProvider(DataGenerator generatorIn, IForgeRegistry<T> registryIn, String modId, ExistingFileHelper existingFileHelper)
-
Uses of IForgeRegistry in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptiondefault <T extends IForgeRegistryEntry<T>>
TIForgeFriendlyByteBuf.readRegistryIdUnsafe(IForgeRegistry<T> registry)
Reads an integer value from the buffer, which will be interpreted as an registry-id in the given registry.default void
IForgeFriendlyByteBuf.writeRegistryIdUnsafe(IForgeRegistry<?> registry, ResourceLocation entryKey)
Writes the given entries integer id to the buffer.default <T extends IForgeRegistryEntry<T>>
voidIForgeFriendlyByteBuf.writeRegistryIdUnsafe(IForgeRegistry<T> registry, T entry)
Writes the given entries integer id to the buffer. -
Uses of IForgeRegistry in net.minecraftforge.debug
Modifier and TypeFieldDescriptionprivate static Supplier<IForgeRegistry<DeferredRegistryTest.Custom>>
DeferredRegistryTest.CUSTOM_REG
-
Uses of IForgeRegistry in net.minecraftforge.debug.misc
Modifier and TypeFieldDescriptionprivate static Supplier<IForgeRegistry<CustomTagTypesTest.Custom>>
CustomTagTypesTest.CUSTOM_REG
-
Uses of IForgeRegistry in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate IForgeRegistry<T>
RegistryEvent.MissingMappings.Mapping.pool
RegistryEvent.MissingMappings.Mapping.registry
private IForgeRegistry<T>
RegistryEvent.MissingMappings.registry
private IForgeRegistry<T>
RegistryEvent.Register.registry
Modifier and TypeMethodDescriptionRegistryEvent.MissingMappings.getRegistry()
RegistryEvent.Register.getRegistry()
ModifierConstructorDescriptionMapping(IForgeRegistry<T> registry, IForgeRegistry<T> pool, ResourceLocation key, int id)
MissingMappings(ResourceLocation name, IForgeRegistry<T> registry, Collection<RegistryEvent.MissingMappings.Mapping<T>> missed)
Register(ResourceLocation name, IForgeRegistry<T> registry)
-
Uses of IForgeRegistry in net.minecraftforge.fmllegacy
Modifier and TypeMethodDescriptionstatic <T extends IForgeRegistryEntry<T>, U extends T>
RegistryObject<U>RegistryObject.of(ResourceLocation name, IForgeRegistry<T> registry)
void
RegistryObject.updateReference(IForgeRegistry<? extends T> registry)
ModifierConstructorDescriptionprivate
RegistryObject(ResourceLocation name, IForgeRegistry<V> registry)
-
Uses of IForgeRegistry in net.minecraftforge.fmllegacy.common.registry
Modifier and TypeMethodDescriptionstatic <K extends IForgeRegistryEntry<K>>
IForgeRegistry<K>GameRegistry.findRegistry(Class<K> registryType)
Retrieves the registry associated with this super class type. -
Uses of IForgeRegistry in net.minecraftforge.registries
Modifier and TypeInterfaceDescriptioninterface
IForgeRegistryInternal<V extends IForgeRegistryEntry<V>>
interface
IForgeRegistryModifiable<V extends IForgeRegistryEntry<V>>
Modifier and TypeFieldDescriptionstatic IForgeRegistry<Activity>
ForgeRegistries.ACTIVITIES
static IForgeRegistry<Attribute>
ForgeRegistries.ATTRIBUTES
static IForgeRegistry<Biome>
ForgeRegistries.BIOMES
static IForgeRegistry<BlockEntityType<?>>
ForgeRegistries.BLOCK_ENTITIES
static IForgeRegistry<BlockPlacerType<?>>
ForgeRegistries.BLOCK_PLACER_TYPES
static IForgeRegistry<BlockStateProviderType<?>>
ForgeRegistries.BLOCK_STATE_PROVIDER_TYPES
static IForgeRegistry<Block>
ForgeRegistries.BLOCKS
static IForgeRegistry<ChunkStatus>
ForgeRegistries.CHUNK_STATUS
static IForgeRegistry<MenuType<?>>
ForgeRegistries.CONTAINERS
static IForgeRegistry<DataSerializerEntry>
ForgeRegistries.DATA_SERIALIZERS
static IForgeRegistry<FeatureDecorator<?>>
ForgeRegistries.DECORATORS
static IForgeRegistry<Enchantment>
ForgeRegistries.ENCHANTMENTS
static IForgeRegistry<EntityType<?>>
ForgeRegistries.ENTITIES
static IForgeRegistry<Feature<?>>
ForgeRegistries.FEATURES
static IForgeRegistry<Fluid>
ForgeRegistries.FLUIDS
static IForgeRegistry<FoliagePlacerType<?>>
ForgeRegistries.FOLIAGE_PLACER_TYPES
static IForgeRegistry<Item>
ForgeRegistries.ITEMS
static IForgeRegistry<GlobalLootModifierSerializer<?>>
ForgeRegistries.LOOT_MODIFIER_SERIALIZERS
static IForgeRegistry<MemoryModuleType<?>>
ForgeRegistries.MEMORY_MODULE_TYPES
static IForgeRegistry<MobEffect>
ForgeRegistries.MOB_EFFECTS
static IForgeRegistry<Motive>
ForgeRegistries.PAINTING_TYPES
static IForgeRegistry<ParticleType<?>>
ForgeRegistries.PARTICLE_TYPES
static IForgeRegistry<PoiType>
ForgeRegistries.POI_TYPES
static IForgeRegistry<Potion>
ForgeRegistries.POTIONS
static IForgeRegistry<VillagerProfession>
ForgeRegistries.PROFESSIONS
static IForgeRegistry<RecipeSerializer<?>>
ForgeRegistries.RECIPE_SERIALIZERS
static IForgeRegistry<Schedule>
ForgeRegistries.SCHEDULES
static IForgeRegistry<SensorType<?>>
ForgeRegistries.SENSOR_TYPES
static IForgeRegistry<SoundEvent>
ForgeRegistries.SOUND_EVENTS
static IForgeRegistry<StatType<?>>
ForgeRegistries.STAT_TYPES
static IForgeRegistry<StructureFeature<?>>
ForgeRegistries.STRUCTURE_FEATURES
static IForgeRegistry<SurfaceBuilder<?>>
ForgeRegistries.SURFACE_BUILDERS
static IForgeRegistry<TreeDecoratorType<?>>
ForgeRegistries.TREE_DECORATOR_TYPES
private IForgeRegistry<T>
DeferredRegister.type
static IForgeRegistry<WorldCarver<?>>
ForgeRegistries.WORLD_CARVERS
static IForgeRegistry<ForgeWorldType>
ForgeRegistries.WORLD_TYPES
Modifier and TypeMethodDescriptionRegistryBuilder.create()
<V extends IForgeRegistryEntry<V>>
IForgeRegistry<V>RegistryManager.getRegistry(Class<? super V> cls)
Modifier and TypeMethodDescriptionDeferredRegister.makeRegistry(String name, Supplier<RegistryBuilder<T>> sup)
For custom registries only, fills theDeferredRegister.registryFactory
to be called later seeDeferredRegister.register(IEventBus)
CallsRegistryBuilder.setName(net.minecraft.resources.ResourceLocation)
andRegistryBuilder.setType(java.lang.Class<T>)
automatically.Modifier and TypeMethodDescriptionstatic <B extends IForgeRegistryEntry<B>>
DeferredRegister<B>DeferredRegister.create(IForgeRegistry<B> reg, String modid)
Use for vanilla/forge registries.<V extends IForgeRegistryEntry<V>>
ResourceLocationRegistryManager.getName(IForgeRegistry<V> reg)