Class NeoForgeRegistries

java.lang.Object
net.neoforged.neoforge.registries.NeoForgeRegistries

public class NeoForgeRegistries extends Object
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.

  • 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

      public static final net.minecraft.core.Registry<FluidType> FLUID_TYPES
    • HOLDER_SET_TYPES

      public static final net.minecraft.core.Registry<HolderSetType> HOLDER_SET_TYPES
    • INGREDIENT_TYPES

      public static final net.minecraft.core.Registry<IngredientType<?>> INGREDIENT_TYPES
    • FLUID_INGREDIENT_TYPES

      public static final net.minecraft.core.Registry<FluidIngredientType<?>> FLUID_INGREDIENT_TYPES
    • CONDITION_SERIALIZERS

      public static final net.minecraft.core.Registry<com.mojang.serialization.MapCodec<? extends ICondition>> CONDITION_SERIALIZERS
    • ATTACHMENT_TYPES

      public static final net.minecraft.core.Registry<AttachmentType<?>> ATTACHMENT_TYPES
  • Constructor Details

    • NeoForgeRegistries

      public NeoForgeRegistries()