Class NeoForgeRegistries
java.lang.Object
net.neoforged.neoforge.registries.NeoForgeRegistries
A class that exposes static references to NeoForge registries.
It is still advised that you register things with
RegisterEvent or DeferredRegister, but queries and iterations can use this.
Vanilla's registries can be found in BuiltInRegistries, and their keys in Registries.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Registry<AttachmentType<?>> static final Registry<com.mojang.serialization.MapCodec<? extends BiomeModifier>> static final Registry<com.mojang.serialization.MapCodec<? extends ICondition>> static final Registry<EntityDataSerializer<?>> static final Registry<FluidIngredientType<?>> static final Registry<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>> static final Registry<HolderSetType> static final Registry<IngredientType<?>> static final Registry<com.mojang.serialization.MapCodec<? extends StructureModifier>> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ENTITY_DATA_SERIALIZERS
-
GLOBAL_LOOT_MODIFIER_SERIALIZERS
public static final Registry<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>> GLOBAL_LOOT_MODIFIER_SERIALIZERS -
BIOME_MODIFIER_SERIALIZERS
public static final Registry<com.mojang.serialization.MapCodec<? extends BiomeModifier>> BIOME_MODIFIER_SERIALIZERS -
STRUCTURE_MODIFIER_SERIALIZERS
public static final Registry<com.mojang.serialization.MapCodec<? extends StructureModifier>> STRUCTURE_MODIFIER_SERIALIZERS -
FLUID_TYPES
-
HOLDER_SET_TYPES
-
INGREDIENT_TYPES
-
FLUID_INGREDIENT_TYPES
-
CONDITION_SERIALIZERS
public static final Registry<com.mojang.serialization.MapCodec<? extends ICondition>> CONDITION_SERIALIZERS -
ATTACHMENT_TYPES
-
-
Constructor Details
-
NeoForgeRegistries
public NeoForgeRegistries()
-