Package net.minecraftforge.registries
Class ForgeRegistries
java.lang.Object
net.minecraftforge.registries.ForgeRegistries
A class that exposes static references to all vanilla and Forge registries.
Created to have a central place to access the registries directly if modders need.
It is still advised that if you are registering things to go through
GameRegistry
register methods, but queries and iterations can use this.-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic IForgeRegistry<Activity>
static IForgeRegistry<Attribute>
static IForgeRegistry<Biome>
static IForgeRegistry<BlockEntityType<?>>
static IForgeRegistry<BlockPlacerType<?>>
static IForgeRegistry<BlockStateProviderType<?>>
static IForgeRegistry<Block>
static IForgeRegistry<ChunkStatus>
static IForgeRegistry<MenuType<?>>
static IForgeRegistry<DataSerializerEntry>
static IForgeRegistry<FeatureDecorator<?>>
static IForgeRegistry<Enchantment>
static IForgeRegistry<EntityType<?>>
static IForgeRegistry<Feature<?>>
static IForgeRegistry<Fluid>
static IForgeRegistry<FoliagePlacerType<?>>
static IForgeRegistry<Item>
static IForgeRegistry<GlobalLootModifierSerializer<?>>
static IForgeRegistry<MemoryModuleType<?>>
static IForgeRegistry<MobEffect>
static IForgeRegistry<Motive>
static IForgeRegistry<ParticleType<?>>
static IForgeRegistry<PoiType>
static IForgeRegistry<Potion>
static IForgeRegistry<VillagerProfession>
static IForgeRegistry<RecipeSerializer<?>>
static IForgeRegistry<Schedule>
static IForgeRegistry<SensorType<?>>
static IForgeRegistry<SoundEvent>
static IForgeRegistry<StatType<?>>
static IForgeRegistry<StructureFeature<?>>
static IForgeRegistry<SurfaceBuilder<?>>
static IForgeRegistry<TreeDecoratorType<?>>
static IForgeRegistry<WorldCarver<?>>
static IForgeRegistry<ForgeWorldType>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
init()
This function is just to make sure static inializers in other classes have run and setup their registries before we query them.
-
Field Details
-
BLOCKS
-
FLUIDS
-
ITEMS
-
MOB_EFFECTS
-
SOUND_EVENTS
-
POTIONS
-
ENCHANTMENTS
-
ENTITIES
-
BLOCK_ENTITIES
-
PARTICLE_TYPES
-
CONTAINERS
-
PAINTING_TYPES
-
RECIPE_SERIALIZERS
-
ATTRIBUTES
-
STAT_TYPES
-
PROFESSIONS
-
POI_TYPES
-
MEMORY_MODULE_TYPES
-
SENSOR_TYPES
-
SCHEDULES
-
ACTIVITIES
-
WORLD_CARVERS
-
SURFACE_BUILDERS
-
FEATURES
-
DECORATORS
-
CHUNK_STATUS
-
STRUCTURE_FEATURES
-
BLOCK_STATE_PROVIDER_TYPES
-
BLOCK_PLACER_TYPES
-
FOLIAGE_PLACER_TYPES
-
TREE_DECORATOR_TYPES
-
BIOMES
-
DATA_SERIALIZERS
-
LOOT_MODIFIER_SERIALIZERS
-
WORLD_TYPES
-
-
Constructor Details
-
ForgeRegistries
public ForgeRegistries()
-
-
Method Details
-
init
private static void init()This function is just to make sure static inializers in other classes have run and setup their registries before we query them.
-