Package net.minecraftforge.registries
Class ForgeRegistries
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistries
-
public class ForgeRegistries extends java.lang.Object
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 throughGameRegistry
register methods, but queries and iterations can use this.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ForgeRegistries.Keys
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ForgeRegistries()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Field Detail
-
BLOCKS
public static final IForgeRegistry<Block> BLOCKS
-
FLUIDS
public static final IForgeRegistry<Fluid> FLUIDS
-
ITEMS
public static final IForgeRegistry<Item> ITEMS
-
POTIONS
public static final IForgeRegistry<Effect> POTIONS
-
SOUND_EVENTS
public static final IForgeRegistry<SoundEvent> SOUND_EVENTS
-
POTION_TYPES
public static final IForgeRegistry<Potion> POTION_TYPES
-
ENCHANTMENTS
public static final IForgeRegistry<Enchantment> ENCHANTMENTS
-
ENTITIES
public static final IForgeRegistry<EntityType<?>> ENTITIES
-
TILE_ENTITIES
public static final IForgeRegistry<TileEntityType<?>> TILE_ENTITIES
-
PARTICLE_TYPES
public static final IForgeRegistry<ParticleType<?>> PARTICLE_TYPES
-
CONTAINERS
public static final IForgeRegistry<ContainerType<?>> CONTAINERS
-
PAINTING_TYPES
public static final IForgeRegistry<PaintingType> PAINTING_TYPES
-
RECIPE_SERIALIZERS
public static final IForgeRegistry<IRecipeSerializer<?>> RECIPE_SERIALIZERS
-
ATTRIBUTES
public static final IForgeRegistry<Attribute> ATTRIBUTES
-
STAT_TYPES
public static final IForgeRegistry<StatType<?>> STAT_TYPES
-
PROFESSIONS
public static final IForgeRegistry<VillagerProfession> PROFESSIONS
-
POI_TYPES
public static final IForgeRegistry<PointOfInterestType> POI_TYPES
-
MEMORY_MODULE_TYPES
public static final IForgeRegistry<MemoryModuleType<?>> MEMORY_MODULE_TYPES
-
SENSOR_TYPES
public static final IForgeRegistry<SensorType<?>> SENSOR_TYPES
-
SCHEDULES
public static final IForgeRegistry<Schedule> SCHEDULES
-
ACTIVITIES
public static final IForgeRegistry<Activity> ACTIVITIES
-
WORLD_CARVERS
public static final IForgeRegistry<WorldCarver<?>> WORLD_CARVERS
-
SURFACE_BUILDERS
public static final IForgeRegistry<SurfaceBuilder<?>> SURFACE_BUILDERS
-
FEATURES
public static final IForgeRegistry<Feature<?>> FEATURES
-
DECORATORS
public static final IForgeRegistry<Placement<?>> DECORATORS
-
CHUNK_STATUS
public static final IForgeRegistry<ChunkStatus> CHUNK_STATUS
-
STRUCTURE_FEATURES
public static final IForgeRegistry<Structure<?>> STRUCTURE_FEATURES
-
BLOCK_STATE_PROVIDER_TYPES
public static final IForgeRegistry<BlockStateProviderType<?>> BLOCK_STATE_PROVIDER_TYPES
-
BLOCK_PLACER_TYPES
public static final IForgeRegistry<BlockPlacerType<?>> BLOCK_PLACER_TYPES
-
FOLIAGE_PLACER_TYPES
public static final IForgeRegistry<FoliagePlacerType<?>> FOLIAGE_PLACER_TYPES
-
TREE_DECORATOR_TYPES
public static final IForgeRegistry<TreeDecoratorType<?>> TREE_DECORATOR_TYPES
-
BIOMES
public static final IForgeRegistry<Biome> BIOMES
-
DATA_SERIALIZERS
public static final IForgeRegistry<DataSerializerEntry> DATA_SERIALIZERS
-
LOOT_MODIFIER_SERIALIZERS
public static final IForgeRegistry<GlobalLootModifierSerializer<?>> LOOT_MODIFIER_SERIALIZERS
-
WORLD_TYPES
public static final IForgeRegistry<ForgeWorldType> WORLD_TYPES
-
-