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 final IForgeRegistry<Activity>
static final IForgeRegistry<Attribute>
static final IForgeRegistry<Biome>
static final IForgeRegistry<BlockPlacerType<?>>
static final IForgeRegistry<BlockStateProviderType<?>>
static final IForgeRegistry<Block>
static final IForgeRegistry<ChunkStatus>
static final IForgeRegistry<ContainerType<?>>
static final IForgeRegistry<DataSerializerEntry>
static final IForgeRegistry<Placement<?>>
static final IForgeRegistry<Enchantment>
static final IForgeRegistry<EntityType<?>>
static final IForgeRegistry<Feature<?>>
static final IForgeRegistry<Fluid>
static final IForgeRegistry<FoliagePlacerType<?>>
static final IForgeRegistry<Item>
static final IForgeRegistry<GlobalLootModifierSerializer<?>>
static final IForgeRegistry<MemoryModuleType<?>>
static final IForgeRegistry<PaintingType>
static final IForgeRegistry<ParticleType<?>>
static final IForgeRegistry<PointOfInterestType>
static final IForgeRegistry<Potion>
static final IForgeRegistry<Effect>
static final IForgeRegistry<VillagerProfession>
static final IForgeRegistry<IRecipeSerializer<?>>
static final IForgeRegistry<Schedule>
static final IForgeRegistry<SensorType<?>>
static final IForgeRegistry<SoundEvent>
static final IForgeRegistry<StatType<?>>
static final IForgeRegistry<Structure<?>>
static final IForgeRegistry<SurfaceBuilder<?>>
static final IForgeRegistry<TileEntityType<?>>
static final IForgeRegistry<TreeDecoratorType<?>>
static final IForgeRegistry<WorldCarver<?>>
static final 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
-
POTIONS
-
SOUND_EVENTS
-
POTION_TYPES
-
ENCHANTMENTS
-
ENTITIES
-
TILE_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.
-