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>>
TagRegistry<T>ForgeTagHandler.getTagRegistry
(IForgeRegistry<T> registry) static <T extends IForgeRegistryEntry<T>>
ITag.INamedTag<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 final 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>>
ITagCollection<T>IForgeTagCollectionSupplier.getCustomTypeCollection
(IForgeRegistry<T> reg) Gets theITagCollection
for a forge registry, or throws an exception if the registry doesn't support custom tag types.default <T extends IForgeRegistryEntry<T>>
TIForgePacketBuffer.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
IForgePacketBuffer.writeRegistryIdUnsafe
(IForgeRegistry<?> registry, ResourceLocation entryKey) Writes the given entries integer id to the buffer.default <T extends IForgeRegistryEntry<T>>
voidIForgePacketBuffer.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 final Supplier<IForgeRegistry<DeferredRegistryTest.Custom>>
DeferredRegistryTest.CUSTOM_REG
-
Uses of IForgeRegistry in net.minecraftforge.debug.misc
Modifier and TypeFieldDescriptionprivate static final Supplier<IForgeRegistry<CustomTagTypesTest.Custom>>
CustomTagTypesTest.CUSTOM_REG
-
Uses of IForgeRegistry in net.minecraftforge.event
Modifier and TypeFieldDescriptionprivate final IForgeRegistry<T>
RegistryEvent.MissingMappings.Mapping.pool
final IForgeRegistry<T>
RegistryEvent.MissingMappings.Mapping.registry
private final IForgeRegistry<T>
RegistryEvent.MissingMappings.registry
private final 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.fml
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.fml.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.fml.network
Modifier and TypeMethodDescriptionprivate static <T extends IForgeRegistryEntry<T>>
ITagCollection<T>FMLPlayMessages.SyncCustomTagTypes.readTagCollection
(PacketBuffer buf, IForgeRegistry<T> registry) -
Uses of IForgeRegistry in net.minecraftforge.registries
Modifier and TypeInterfaceDescriptioninterface
IForgeRegistryInternal<V extends IForgeRegistryEntry<V>>
interface
IForgeRegistryModifiable<V extends IForgeRegistryEntry<V>>
Modifier and TypeFieldDescriptionstatic final IForgeRegistry<Activity>
ForgeRegistries.ACTIVITIES
static final IForgeRegistry<Attribute>
ForgeRegistries.ATTRIBUTES
static final IForgeRegistry<Biome>
ForgeRegistries.BIOMES
static final IForgeRegistry<BlockPlacerType<?>>
ForgeRegistries.BLOCK_PLACER_TYPES
static final IForgeRegistry<BlockStateProviderType<?>>
ForgeRegistries.BLOCK_STATE_PROVIDER_TYPES
static final IForgeRegistry<Block>
ForgeRegistries.BLOCKS
static final IForgeRegistry<ChunkStatus>
ForgeRegistries.CHUNK_STATUS
static final IForgeRegistry<ContainerType<?>>
ForgeRegistries.CONTAINERS
static final IForgeRegistry<DataSerializerEntry>
ForgeRegistries.DATA_SERIALIZERS
static final IForgeRegistry<Placement<?>>
ForgeRegistries.DECORATORS
static final IForgeRegistry<Enchantment>
ForgeRegistries.ENCHANTMENTS
static final IForgeRegistry<EntityType<?>>
ForgeRegistries.ENTITIES
static final IForgeRegistry<Feature<?>>
ForgeRegistries.FEATURES
static final IForgeRegistry<Fluid>
ForgeRegistries.FLUIDS
static final IForgeRegistry<FoliagePlacerType<?>>
ForgeRegistries.FOLIAGE_PLACER_TYPES
static final IForgeRegistry<Item>
ForgeRegistries.ITEMS
static final IForgeRegistry<GlobalLootModifierSerializer<?>>
ForgeRegistries.LOOT_MODIFIER_SERIALIZERS
static final IForgeRegistry<MemoryModuleType<?>>
ForgeRegistries.MEMORY_MODULE_TYPES
static final IForgeRegistry<PaintingType>
ForgeRegistries.PAINTING_TYPES
static final IForgeRegistry<ParticleType<?>>
ForgeRegistries.PARTICLE_TYPES
static final IForgeRegistry<PointOfInterestType>
ForgeRegistries.POI_TYPES
static final IForgeRegistry<Potion>
ForgeRegistries.POTION_TYPES
static final IForgeRegistry<Effect>
ForgeRegistries.POTIONS
static final IForgeRegistry<VillagerProfession>
ForgeRegistries.PROFESSIONS
static final IForgeRegistry<IRecipeSerializer<?>>
ForgeRegistries.RECIPE_SERIALIZERS
static final IForgeRegistry<Schedule>
ForgeRegistries.SCHEDULES
static final IForgeRegistry<SensorType<?>>
ForgeRegistries.SENSOR_TYPES
static final IForgeRegistry<SoundEvent>
ForgeRegistries.SOUND_EVENTS
static final IForgeRegistry<StatType<?>>
ForgeRegistries.STAT_TYPES
static final IForgeRegistry<Structure<?>>
ForgeRegistries.STRUCTURE_FEATURES
static final IForgeRegistry<SurfaceBuilder<?>>
ForgeRegistries.SURFACE_BUILDERS
static final IForgeRegistry<TileEntityType<?>>
ForgeRegistries.TILE_ENTITIES
static final IForgeRegistry<TreeDecoratorType<?>>
ForgeRegistries.TREE_DECORATOR_TYPES
private IForgeRegistry<T>
DeferredRegister.type
static final IForgeRegistry<WorldCarver<?>>
ForgeRegistries.WORLD_CARVERS
static final 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.util.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)