Uses of Class
net.neoforged.neoforge.registries.DeferredHolder
Package
Description
-
Uses of DeferredHolder in net.neoforged.neoforge.common
Modifier and TypeFieldDescriptionstatic final DeferredHolder
<com.mojang.serialization.MapCodec<? extends BiomeModifier>, com.mojang.serialization.MapCodec<BiomeModifiers.AddCarversBiomeModifier>> NeoForgeMod.ADD_CARVERS_BIOME_MODIFIER_TYPE
Stock biome modifier for adding carvers to biomes.static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends BiomeModifier>, com.mojang.serialization.MapCodec<BiomeModifiers.AddFeaturesBiomeModifier>> NeoForgeMod.ADD_FEATURES_BIOME_MODIFIER_TYPE
Stock biome modifier for adding features to biomes.static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends BiomeModifier>, com.mojang.serialization.MapCodec<BiomeModifiers.AddSpawnCostsBiomeModifier>> NeoForgeMod.ADD_SPAWN_COSTS_BIOME_MODIFIER_TYPE
Stock biome modifier for adding mob spawn costs to biomes.static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends BiomeModifier>, com.mojang.serialization.MapCodec<BiomeModifiers.AddSpawnsBiomeModifier>> NeoForgeMod.ADD_SPAWNS_BIOME_MODIFIER_TYPE
Stock biome modifier for adding mob spawns to biomes.static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends StructureModifier>, com.mojang.serialization.MapCodec<StructureModifiers.AddSpawnsStructureModifier>> NeoForgeMod.ADD_SPAWNS_STRUCTURE_MODIFIER_TYPE
Stock structure modifier for adding mob spawns to structures.static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>, com.mojang.serialization.MapCodec<AddTableLootModifier>> NeoForgeMod.ADD_TABLE_LOOT_MODIFIER_TYPE
Stock loot modifier type that adds loot from a subtable to the final loot.static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends ICondition>, com.mojang.serialization.MapCodec<AndCondition>> NeoForgeMod.AND_CONDITION
static final DeferredHolder
<IngredientType<?>, IngredientType<BlockTagIngredient>> NeoForgeMod.BLOCK_TAG_INGREDIENT
static final DeferredHolder
<SoundEvent, SoundEvent> NeoForgeMod.BUCKET_EMPTY_MILK
static final DeferredHolder
<SoundEvent, SoundEvent> NeoForgeMod.BUCKET_FILL_MILK
static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends StructureModifier>, com.mojang.serialization.MapCodec<StructureModifiers.ClearSpawnsStructureModifier>> NeoForgeMod.CLEAR_SPAWNS_STRUCTURE_MODIFIER_TYPE
Stock structure modifier for removing spawn override lists from structures.static final DeferredHolder
<FluidIngredientType<?>, FluidIngredientType<CompoundFluidIngredient>> NeoForgeMod.COMPOUND_FLUID_INGREDIENT_TYPE
static final DeferredHolder
<IngredientType<?>, IngredientType<CompoundIngredient>> NeoForgeMod.COMPOUND_INGREDIENT_TYPE
static final DeferredHolder
<FluidIngredientType<?>, FluidIngredientType<DataComponentFluidIngredient>> NeoForgeMod.DATA_COMPONENT_FLUID_INGREDIENT_TYPE
static final DeferredHolder
<IngredientType<?>, IngredientType<DataComponentIngredient>> NeoForgeMod.DATA_COMPONENT_INGREDIENT_TYPE
static final DeferredHolder
<FluidIngredientType<?>, FluidIngredientType<DifferenceFluidIngredient>> NeoForgeMod.DIFFERENCE_FLUID_INGREDIENT_TYPE
static final DeferredHolder
<IngredientType<?>, IngredientType<DifferenceIngredient>> NeoForgeMod.DIFFERENCE_INGREDIENT_TYPE
static final DeferredHolder
<FluidIngredientType<?>, FluidIngredientType<EmptyFluidIngredient>> NeoForgeMod.EMPTY_FLUID_INGREDIENT_TYPE
static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends ICondition>, com.mojang.serialization.MapCodec<FalseCondition>> NeoForgeMod.FALSE_CONDITION
static final DeferredHolder
<Fluid, Fluid> NeoForgeMod.FLOWING_MILK
static final DeferredHolder
<FluidIngredientType<?>, FluidIngredientType<IntersectionFluidIngredient>> NeoForgeMod.INTERSECTION_FLUID_INGREDIENT_TYPE
static final DeferredHolder
<IngredientType<?>, IngredientType<IntersectionIngredient>> NeoForgeMod.INTERSECTION_INGREDIENT_TYPE
static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends ICondition>, com.mojang.serialization.MapCodec<ItemExistsCondition>> NeoForgeMod.ITEM_EXISTS_CONDITION
static final DeferredHolder
<Fluid, Fluid> NeoForgeMod.MILK
static final DeferredHolder
<FluidType, FluidType> NeoForgeMod.MILK_TYPE
static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends ICondition>, com.mojang.serialization.MapCodec<ModLoadedCondition>> NeoForgeMod.MOD_LOADED_CONDITION
private static final DeferredHolder
<ArgumentTypeInfo<?, ?>, SingletonArgumentInfo<ModIdArgument>> NeoForgeMod.MODID_COMMAND_ARGUMENT_TYPE
static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends BiomeModifier>, com.mojang.serialization.MapCodec<NoneBiomeModifier>> NeoForgeMod.NONE_BIOME_MODIFIER_TYPE
Noop biome modifier.static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends StructureModifier>, com.mojang.serialization.MapCodec<NoneStructureModifier>> NeoForgeMod.NONE_STRUCTURE_MODIFIER_TYPE
Noop structure modifier.static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends ICondition>, com.mojang.serialization.MapCodec<NotCondition>> NeoForgeMod.NOT_CONDITION
static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends ICondition>, com.mojang.serialization.MapCodec<OrCondition>> NeoForgeMod.OR_CONDITION
static final DeferredHolder
<ItemSubPredicate.Type<?>, ItemSubPredicate.Type<PiglinCurrencyItemPredicate>> NeoForgeMod.PIGLIN_CURRENCY_PREDICATE
static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends EntitySubPredicate>, com.mojang.serialization.MapCodec<PiglinNeutralArmorEntityPredicate>> NeoForgeMod.PIGLIN_NEUTRAL_ARMOR_PREDICATE
static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends BiomeModifier>, com.mojang.serialization.MapCodec<BiomeModifiers.RemoveCarversBiomeModifier>> NeoForgeMod.REMOVE_CARVERS_BIOME_MODIFIER_TYPE
Stock biome modifier for removing carvers from biomes.static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends BiomeModifier>, com.mojang.serialization.MapCodec<BiomeModifiers.RemoveFeaturesBiomeModifier>> NeoForgeMod.REMOVE_FEATURES_BIOME_MODIFIER_TYPE
Stock biome modifier for removing features from biomes.static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends BiomeModifier>, com.mojang.serialization.MapCodec<BiomeModifiers.RemoveSpawnCostsBiomeModifier>> NeoForgeMod.REMOVE_SPAWN_COSTS_BIOME_MODIFIER_TYPE
Stock biome modifier for removing mob spawn costs from biomes.static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends BiomeModifier>, com.mojang.serialization.MapCodec<BiomeModifiers.RemoveSpawnsBiomeModifier>> NeoForgeMod.REMOVE_SPAWNS_BIOME_MODIFIER_TYPE
Stock biome modifier for removing mob spawns from biomes.static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends StructureModifier>, com.mojang.serialization.MapCodec<StructureModifiers.RemoveSpawnsStructureModifier>> NeoForgeMod.REMOVE_SPAWNS_STRUCTURE_MODIFIER_TYPE
Stock structure modifier for removing mob spawns from structures.static final DeferredHolder
<FluidIngredientType<?>, FluidIngredientType<SingleFluidIngredient>> NeoForgeMod.SINGLE_FLUID_INGREDIENT_TYPE
static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends ICondition>, com.mojang.serialization.MapCodec<TagEmptyCondition>> NeoForgeMod.TAG_EMPTY_CONDITION
static final DeferredHolder
<FluidIngredientType<?>, FluidIngredientType<TagFluidIngredient>> NeoForgeMod.TAG_FLUID_INGREDIENT_TYPE
static final DeferredHolder
<ItemSubPredicate.Type<?>, ItemSubPredicate.Type<ToolActionItemPredicate>> NeoForgeMod.TOOL_ACTION_PREDICATE
static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends ICondition>, com.mojang.serialization.MapCodec<TrueCondition>> NeoForgeMod.TRUE_CONDITION
-
Uses of DeferredHolder in net.neoforged.neoforge.debug.capabilities
Modifier and TypeFieldDescriptionstatic final DeferredHolder
<DataComponentType<?>, DataComponentType<SimpleFluidContent>> FluidTemplatesTests.SIMPLE_FLUID_CONTENT
-
Uses of DeferredHolder in net.neoforged.neoforge.debug.crafting
Modifier and TypeFieldDescriptionprivate static final DeferredHolder
<RecipeSerializer<?>, IngredientTests.CompressedShapelessRecipeSerializer> IngredientTests.COMPRESSED_SHAPELESS_SERIALIZER
-
Uses of DeferredHolder in net.neoforged.neoforge.debug.entity
Modifier and TypeFieldDescriptionprivate static final DeferredHolder
<EntityDataSerializer<?>, EntityDataSerializer<Byte>> EntityDataSerializerTest.TEST_SERIALIZER
-
Uses of DeferredHolder in net.neoforged.neoforge.debug.loot
Modifier and TypeFieldDescriptionprivate static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>, com.mojang.serialization.MapCodec<GlobalLootModifiersTest.DungeonLootEnhancerModifier>> GlobalLootModifiersTest.DUNGEON_LOOT
private static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>, com.mojang.serialization.MapCodec<GlobalLootModifiersTest.SilkTouchTestModifier>> GlobalLootModifiersTest.SILKTOUCH
private static final DeferredHolder
<Enchantment, Enchantment> GlobalLootModifiersTest.SMELT
private static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>, com.mojang.serialization.MapCodec<GlobalLootModifiersTest.SmeltingEnchantmentModifier>> GlobalLootModifiersTest.SMELTING
private static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends IGlobalLootModifier>, com.mojang.serialization.MapCodec<GlobalLootModifiersTest.WheatSeedsConverterModifier>> GlobalLootModifiersTest.WHEATSEEDS
-
Uses of DeferredHolder in net.neoforged.neoforge.oldtest
Modifier and TypeFieldDescriptionprivate static final DeferredHolder
<DataComponentType<?>, DataComponentType<Integer>> DeferredRegistryTest.COMPONENT_TYPE
private static final DeferredHolder
<DeferredRegistryTest.Custom, DeferredRegistryTest.Custom> DeferredRegistryTest.CUSTOM
private static final DeferredHolder
<Object, Object> DeferredRegistryTest.DOESNT_EXIST
private static final DeferredHolder
<MobEffect, MobEffect> ManyMobEffectsTest.LAST_EFFECT
private static final DeferredHolder
<PosRuleTestType<?>, PosRuleTestType<?>> DeferredRegistryTest.POS_RULE_TEST_TYPE
private static final DeferredHolder
<RecipeType<?>, RecipeType<?>> DeferredRegistryTest.RECIPE_TYPE
private static final DeferredHolder
<SoundEvent, SoundEvent> CustomSoundTypeTest.TEST_STEP_EVENT
-
Uses of DeferredHolder in net.neoforged.neoforge.oldtest.block
Modifier and TypeFieldDescriptionstatic final DeferredHolder
<BlockEntityType<?>, BlockEntityType<CustomSignsTest.CustomHangingSignBlockEntity>> CustomSignsTest.CUSTOM_HANGING_SIGN
static final DeferredHolder
<BlockEntityType<?>, BlockEntityType<CustomSignsTest.CustomSignBlockEntity>> CustomSignsTest.CUSTOM_SIGN
private static final DeferredHolder
<BlockEntityType<?>, BlockEntityType<CustomHeadTest.CustomSkullBlockEntity>> CustomHeadTest.CUSTOM_SKULL
private static final DeferredHolder
<BlockEntityType<?>, BlockEntityType<FullPotsAccessorDemo.DioriteFlowerPotBlockEntity>> FullPotsAccessorDemo.DIORITE_POT_BLOCK_ENTITY
-
Uses of DeferredHolder in net.neoforged.neoforge.oldtest.client.model
Modifier and TypeFieldDescriptionstatic final DeferredHolder
<BlockEntityType<?>, BlockEntityType<CustomItemDisplayContextTest.ItemHangerBlockEntity>> CustomItemDisplayContextTest.ITEM_HANGER_BE
static final DeferredHolder
<BlockEntityType<?>, BlockEntityType<?>> MegaModelTest.TEST_BLOCK_ENTITY
-
Uses of DeferredHolder in net.neoforged.neoforge.oldtest.client.rendering
Modifier and TypeFieldDescriptionstatic final DeferredHolder
<EntityType<?>, EntityType<EntityRendererEventsTest.MyEntity>> EntityRendererEventsTest.MY_ENTITY_TYPE
-
Uses of DeferredHolder in net.neoforged.neoforge.oldtest.entity
Modifier and TypeFieldDescriptionprivate static final DeferredHolder
<EntityType<?>, EntityType<PartEntityTest.TestEntity>> PartEntityTest.TEST_ENTITY
-
Uses of DeferredHolder in net.neoforged.neoforge.oldtest.fluid
Modifier and TypeFieldDescriptionstatic DeferredHolder
<Fluid, FlowingFluid> NewFluidTest.test_fluid
private static final DeferredHolder
<Fluid, FlowingFluid> FluidTypeTest.TEST_FLUID
static DeferredHolder
<Fluid, FlowingFluid> NewFluidTest.test_fluid_flowing
private static final DeferredHolder
<Fluid, Fluid> FluidTypeTest.TEST_FLUID_FLOWING
static DeferredHolder
<FluidType, FluidType> NewFluidTest.test_fluid_type
-
Uses of DeferredHolder in net.neoforged.neoforge.oldtest.item
Modifier and TypeFieldDescriptionstatic final DeferredHolder
<DataComponentType<?>, DataComponentType<SimpleFluidContent>> CustomFluidContainerTest.SIMPLE_FLUID_CONTENT
private static final DeferredHolder
<SoundEvent, SoundEvent> MusicDiscTest.TEST_SOUND_EVENT
-
Uses of DeferredHolder in net.neoforged.neoforge.oldtest.misc
Modifier and TypeFieldDescriptionDataPackRegistriesTest.datagenTestObject
private static final DeferredHolder
<BlockEntityType<?>, BlockEntityType<GameTestTest.EnergyBlockEntity>> GameTestTest.ENERGY_BLOCK_ENTITY
static final DeferredHolder
<MenuType<?>, MenuType<ContainerTypeTest.TestContainer>> ContainerTypeTest.TYPE
-
Uses of DeferredHolder in net.neoforged.neoforge.oldtest.recipebook
Modifier and TypeFieldDescriptionstatic final DeferredHolder
<MenuType<?>, MenuType<RecipeBookTestMenu>> RecipeBookExtensionTest.RECIPE_BOOK_TEST_MENU_TYPE
static final DeferredHolder
<RecipeSerializer<?>, RecipeSerializer<RecipeBookTestRecipe>> RecipeBookExtensionTest.RECIPE_BOOK_TEST_RECIPE_SERIALIZER
static final DeferredHolder
<RecipeType<?>, RecipeType<RecipeBookTestRecipe>> RecipeBookExtensionTest.RECIPE_BOOK_TEST_RECIPE_TYPE
-
Uses of DeferredHolder in net.neoforged.neoforge.oldtest.world
Modifier and TypeFieldDescriptionprivate static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends BiomeModifier>, com.mojang.serialization.MapCodec<BiomeModifierTest.TestModifier>> BiomeModifierTest.MODIFY_BIOMES
private static final DeferredHolder
<com.mojang.serialization.MapCodec<? extends StructureModifier>, com.mojang.serialization.MapCodec<? extends StructureModifier>> StructureModifierTest.TestModifier.SERIALIZER
-
Uses of DeferredHolder in net.neoforged.neoforge.registries
Modifier and TypeClassDescriptionclass
DeferredBlock<T extends Block>
class
DeferredItem<T extends Item>
Modifier and TypeFieldDescriptionDeferredRegister.entries
private final Set
<DeferredHolder<T, ? extends T>> DeferredRegister.entriesView
Modifier and TypeMethodDescriptionstatic <R,
T extends R>
DeferredHolder<R, T> DeferredHolder.create
(ResourceKey<? extends Registry<R>> registryKey, ResourceLocation valueName) Creates a new DeferredHolder targeting the value with the specified name in the specified registry.static <R,
T extends R>
DeferredHolder<R, T> DeferredHolder.create
(ResourceKey<R> key) Creates a new DeferredHolder targeting the specified value.static <R,
T extends R>
DeferredHolder<R, T> DeferredHolder.create
(ResourceLocation registryName, ResourceLocation valueName) Creates a new DeferredHolder targeting the value with the specified name in the specified registry.protected <I extends T>
DeferredHolder<T, I> DeferredRegister.createHolder
(ResourceKey<? extends Registry<T>> registryKey, ResourceLocation key) Create aDeferredHolder
or an inheriting type to be stored.<I extends T>
DeferredHolder<T, I> DeferredRegister.register
(String name, Function<ResourceLocation, ? extends I> func) Adds a new entry to the list of entries to be registered and returns aDeferredHolder
that will be populated with the created entry automatically.<I extends T>
DeferredHolder<T, I> Adds a new entry to the list of entries to be registered and returns aDeferredHolder
that will be populated with the created entry automatically.<D> DeferredHolder
<DataComponentType<?>, DataComponentType<D>> DeferredRegister.DataComponents.registerComponentType
(String name, UnaryOperator<DataComponentType.Builder<D>> builder) Convenience method that constructs a builder for use in the operator.Modifier and TypeMethodDescriptionCollection
<DeferredHolder<T, ? extends T>> DeferredRegister.getEntries()
-
Uses of DeferredHolder in net.neoforged.testframework.impl
Modifier and TypeFieldDescriptionstatic final DeferredHolder
<LootItemConditionType, LootItemConditionType> TestFrameworkMod.TEST_ENABLED
static final DeferredHolder
<IngredientType<?>, IngredientType<TestEnabledIngredient>> TestFrameworkMod.TEST_ENABLED_INGREDIENT
-
Uses of DeferredHolder in net.neoforged.testframework.registration
Modifier and TypeClassDescriptionclass
DeferredBlockBuilder<T extends Block>
class
DeferredEntityTypeBuilder<E extends Entity,
T extends EntityType<E>> class
DeferredItemBuilder<I extends Item>