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 net.minecraft.core.Registry
<AttachmentType<?>> static final net.minecraft.core.Registry
<com.mojang.serialization.MapCodec<? extends BiomeModifier>> static final net.minecraft.core.Registry
<com.mojang.serialization.MapCodec<? extends ICondition>> static final net.minecraft.core.Registry
<net.minecraft.network.syncher.EntityDataSerializer<?>> static final net.minecraft.core.Registry
<FluidIngredientType<?>> static final net.minecraft.core.Registry
<FluidType> static final net.minecraft.core.Registry
<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>> static final net.minecraft.core.Registry
<HolderSetType> static final net.minecraft.core.Registry
<IngredientType<?>> static final net.minecraft.core.Registry
<com.mojang.serialization.MapCodec<? extends StructureModifier>> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ENTITY_DATA_SERIALIZERS
public static final net.minecraft.core.Registry<net.minecraft.network.syncher.EntityDataSerializer<?>> ENTITY_DATA_SERIALIZERS -
GLOBAL_LOOT_MODIFIER_SERIALIZERS
public static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>> GLOBAL_LOOT_MODIFIER_SERIALIZERS -
BIOME_MODIFIER_SERIALIZERS
public static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends BiomeModifier>> BIOME_MODIFIER_SERIALIZERS -
STRUCTURE_MODIFIER_SERIALIZERS
public static final net.minecraft.core.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 net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends ICondition>> CONDITION_SERIALIZERS -
ATTACHMENT_TYPES
-
-
Constructor Details
-
NeoForgeRegistries
public NeoForgeRegistries()
-