Package com.petrolpark
Class PetrolparkRegistrate
java.lang.Object
com.tterrag.registrate.AbstractRegistrate<PetrolparkRegistrate>
com.petrolpark.PetrolparkRegistrate
public class PetrolparkRegistrate
extends com.tterrag.registrate.AbstractRegistrate<PetrolparkRegistrate>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.entity.ai.attributes.Attribute, net.minecraft.world.entity.ai.attributes.Attribute> attribute(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<net.minecraft.world.entity.ai.attributes.Attribute> factory) <T extends Badge>
BadgeRegistrateBuilder<T, PetrolparkRegistrate> <T extends net.minecraft.world.level.block.Block,P>
com.tterrag.registrate.builders.BlockBuilder<T, P> block(P parent, String name, com.tterrag.registrate.util.nullness.NonNullFunction<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory) com.tterrag.registrate.util.entry.RegistryEntry<BogglePatternGeneratorType, BogglePatternGeneratorType> bogglePatternGeneratorType(String name, com.mojang.serialization.MapCodec<? extends IBogglePatternGenerator> codec, com.mojang.serialization.MapCodec<? extends IBogglePatternGenerator> directCodec) com.tterrag.registrate.util.entry.RegistryEntry<BogglePatternGeneratorType, BogglePatternGeneratorType> bogglePatternGeneratorType(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<? extends IBogglePatternGenerator> unitFactory) <C extends net.minecraft.advancements.CriterionTrigger<?>>
com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.advancements.CriterionTrigger<?>, C> criterionTrigger(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<C> triggerFactory) <C extends net.neoforged.neoforge.common.conditions.ICondition>
com.tterrag.registrate.util.entry.RegistryEntry<com.mojang.serialization.MapCodec<? extends net.neoforged.neoforge.common.conditions.ICondition>, com.mojang.serialization.MapCodec<C>> dataLoadingCondition(String name, com.mojang.serialization.MapCodec<C> codec) com.tterrag.registrate.util.entry.RegistryEntry<DecayProductType, DecayProductType> decayProductType(String name, com.mojang.serialization.MapCodec<? extends IDecayProduct> codec, net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, ? extends IDecayProduct> streamCodec) com.tterrag.registrate.util.entry.RegistryEntry<EntityRewardType, EntityRewardType> entityRewardType(String name, com.mojang.serialization.MapCodec<? extends IEntityReward> codec) <PREDICATE extends net.minecraft.advancements.critereon.EntitySubPredicate>
com.tterrag.registrate.util.entry.RegistryEntry<com.mojang.serialization.MapCodec<? extends net.minecraft.advancements.critereon.EntitySubPredicate>, com.mojang.serialization.MapCodec<PREDICATE>> entitySubPredicateType(String name, com.mojang.serialization.MapCodec<PREDICATE> codec) <VARIANT> com.tterrag.registrate.util.entry.RegistryEntry<com.mojang.serialization.MapCodec<? extends net.minecraft.advancements.critereon.EntitySubPredicate>, com.mojang.serialization.MapCodec<net.minecraft.advancements.critereon.EntitySubPredicates.EntityVariantPredicateType<VARIANT>.net.minecraft.advancements.critereon.EntitySubPredicates.EntityVariantPredicateType.Instance>> entityVariantPredicateType(String name, com.mojang.serialization.Codec<VARIANT> variantCodec, Function<net.minecraft.world.entity.Entity, Optional<VARIANT>> variantGetter) <VARIANT> com.tterrag.registrate.util.entry.RegistryEntry<com.mojang.serialization.MapCodec<? extends net.minecraft.advancements.critereon.EntitySubPredicate>, com.mojang.serialization.MapCodec<net.minecraft.advancements.critereon.EntitySubPredicates.EntityVariantPredicateType<VARIANT>.net.minecraft.advancements.critereon.EntitySubPredicates.EntityVariantPredicateType.Instance>> entityVariantPredicateType(String name, net.minecraft.core.Registry<VARIANT> variantRegistry, Function<net.minecraft.world.entity.Entity, Optional<VARIANT>> variantGetter) com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.neoforged.neoforge.fluids.FluidStack>, NamedAdvancedIngredientType<net.neoforged.neoforge.fluids.FluidStack>> fluidAdvancedIngredientType(String name, com.mojang.serialization.MapCodec<? extends FluidAdvancedIngredient> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, ? extends FluidAdvancedIngredient> streamCodec) com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.neoforged.neoforge.fluids.FluidStack>, IAdvancedIngredientType<? super net.neoforged.neoforge.fluids.FluidStack>> fluidAdvancedIngredientType(String name, IAdvancedIngredientType<? super net.neoforged.neoforge.fluids.FluidStack> type) <TYPELESS_INGREDIENT extends ITypelessAdvancedIngredient<net.neoforged.neoforge.fluids.FluidStack>>
com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.neoforged.neoforge.fluids.FluidStack>, GenericAdvancedIngredientType<net.neoforged.neoforge.fluids.FluidStack, TYPELESS_INGREDIENT>> fluidAdvancedIngredientType(String name, Function<com.mojang.serialization.Codec<IAdvancedIngredient<? super net.neoforged.neoforge.fluids.FluidStack>>, com.mojang.serialization.MapCodec<TYPELESS_INGREDIENT>> codecFactory, Function<net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, IAdvancedIngredient<? super net.neoforged.neoforge.fluids.FluidStack>>, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, TYPELESS_INGREDIENT>> streamCodecFactory) <I extends net.neoforged.neoforge.fluids.crafting.FluidIngredient>
com.tterrag.registrate.util.entry.RegistryEntry<net.neoforged.neoforge.fluids.crafting.FluidIngredientType<?>, net.neoforged.neoforge.fluids.crafting.FluidIngredientType<I>> fluidIngredientType(String name, com.mojang.serialization.MapCodec<I> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, I> streamCodec) protected <STACK,TYPELESS_INGREDIENT extends ITypelessAdvancedIngredient<STACK>>
com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super STACK>, GenericAdvancedIngredientType<STACK, TYPELESS_INGREDIENT>> genericAdvancedIngredientType(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<IAdvancedIngredientType<? super STACK>>> registryKey, com.mojang.serialization.Codec<IAdvancedIngredient<? super STACK>> typeCodec, net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, IAdvancedIngredient<? super STACK>> typeStreamCodec, String name, Function<com.mojang.serialization.Codec<IAdvancedIngredient<? super STACK>>, com.mojang.serialization.MapCodec<TYPELESS_INGREDIENT>> codecFactory, Function<net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, IAdvancedIngredient<? super STACK>>, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, TYPELESS_INGREDIENT>> streamCodecFactory) <GLM extends net.neoforged.neoforge.common.loot.IGlobalLootModifier,CODEC extends com.mojang.serialization.MapCodec<GLM>>
com.tterrag.registrate.util.entry.RegistryEntry<com.mojang.serialization.MapCodec<? extends net.neoforged.neoforge.common.loot.IGlobalLootModifier>, CODEC> globalLootModifierSerializer(String name, CODEC codec) com.tterrag.registrate.util.entry.RegistryEntry<IngredientRandomizerType, IngredientRandomizerType> ingredientRandomizerType(String name, com.mojang.serialization.MapCodec<? extends IngredientRandomizer> serializer) <I extends net.neoforged.neoforge.common.crafting.ICustomIngredient>
com.tterrag.registrate.util.entry.RegistryEntry<net.neoforged.neoforge.common.crafting.IngredientType<?>, net.neoforged.neoforge.common.crafting.IngredientType<I>> ingredientType(String name, com.mojang.serialization.MapCodec<I> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, I> streamCodec) <T extends net.minecraft.world.item.Item,P>
com.tterrag.registrate.builders.ItemBuilder<T, P> item(P parent, String name, com.tterrag.registrate.util.nullness.NonNullFunction<net.minecraft.world.item.Item.Properties, T> factory) com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.minecraft.world.item.ItemStack>, NamedAdvancedIngredientType<net.minecraft.world.item.ItemStack>> itemAdvancedIngredientType(String name, com.mojang.serialization.MapCodec<? extends ItemAdvancedIngredient> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, ? extends ItemAdvancedIngredient> streamCodec) com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.minecraft.world.item.ItemStack>, IAdvancedIngredientType<? super net.minecraft.world.item.ItemStack>> itemAdvancedIngredientType(String name, IAdvancedIngredientType<? super net.minecraft.world.item.ItemStack> type) com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.minecraft.world.item.ItemStack>, INamedAdvancedIngredientType<net.minecraft.world.item.ItemStack>> itemAdvancedIngredientType(String name, com.tterrag.registrate.util.nullness.NonNullFunction<String, INamedAdvancedIngredientType<net.minecraft.world.item.ItemStack>> typeFactory) <TYPELESS_INGREDIENT extends ITypelessAdvancedIngredient<net.minecraft.world.item.ItemStack>>
com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.minecraft.world.item.ItemStack>, GenericAdvancedIngredientType<net.minecraft.world.item.ItemStack, TYPELESS_INGREDIENT>> itemAdvancedIngredientType(String name, Function<com.mojang.serialization.Codec<IAdvancedIngredient<? super net.minecraft.world.item.ItemStack>>, com.mojang.serialization.MapCodec<TYPELESS_INGREDIENT>> codecFactory, Function<net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, IAdvancedIngredient<? super net.minecraft.world.item.ItemStack>>, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, TYPELESS_INGREDIENT>> streamCodecFactory) <PREDICATE extends net.minecraft.advancements.critereon.ItemSubPredicate>
com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.advancements.critereon.ItemSubPredicate.Type<?>, net.minecraft.advancements.critereon.ItemSubPredicate.Type<PREDICATE>> itemSubPredicateType(String name, com.mojang.serialization.Codec<PREDICATE> codec) com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.level.storage.loot.predicates.LootItemConditionType, net.minecraft.world.level.storage.loot.predicates.LootItemConditionType> lootConditionType(String name, com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.storage.loot.predicates.LootItemCondition> codec) net.minecraft.world.level.storage.loot.parameters.LootContextParamSetlootContextParamSet(String name, Consumer<net.minecraft.world.level.storage.loot.parameters.LootContextParamSet.Builder> builderConsumer) com.tterrag.registrate.util.entry.RegistryEntry<LootEntityNumberProviderType, LootEntityNumberProviderType> lootEntityNumberProviderType(String name, com.mojang.serialization.MapCodec<? extends EntityNumberProvider> codec) <T extends net.minecraft.world.level.storage.loot.functions.LootItemFunction>
com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.level.storage.loot.functions.LootItemFunctionType<?>, net.minecraft.world.level.storage.loot.functions.LootItemFunctionType<T>> lootItemFunctionType(String name, com.mojang.serialization.MapCodec<T> codec) com.tterrag.registrate.util.entry.RegistryEntry<LootItemStackNumberProviderType, LootItemStackNumberProviderType> lootItemStackNumberProviderType(String name, com.mojang.serialization.MapCodec<? extends ItemStackNumberProvider> codec) com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.level.storage.loot.providers.number.LootNumberProviderType, net.minecraft.world.level.storage.loot.providers.number.LootNumberProviderType> lootNumberProviderType(String name, com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.storage.loot.providers.number.NumberProvider> codec) com.tterrag.registrate.util.entry.RegistryEntry<LootTeamNumberProviderType, LootTeamNumberProviderType> lootTeamNumberProviderType(String name, com.mojang.serialization.MapCodec<? extends TeamNumberProvider> codec) <O extends net.minecraft.core.particles.ParticleOptions,T extends net.minecraft.core.particles.ParticleType<O>>
com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.core.particles.ParticleType<?>, T> particleType(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<T> factory) <I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<? extends I>>
com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.item.crafting.RecipeSerializer<?>, net.minecraft.world.item.crafting.RecipeSerializer<R>> recipeSerializer(String name, com.mojang.serialization.MapCodec<R> codec, net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, R> streamCodec) <I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<? extends I>, S extends net.minecraft.world.item.crafting.RecipeSerializer<? extends R>>
com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.item.crafting.RecipeSerializer<?>, S> recipeSerializer(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<S> factory) <R extends net.minecraft.world.item.crafting.CraftingRecipe>
com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.item.crafting.RecipeSerializer<?>, net.minecraft.world.item.crafting.SimpleCraftingRecipeSerializer<R>> recipeSerializer(String name, net.minecraft.world.item.crafting.SimpleCraftingRecipeSerializer.Factory<R> constructor) <I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<? extends I>>
com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.item.crafting.RecipeType<?>, net.minecraft.world.item.crafting.RecipeType<R>> recipeType(String name) com.tterrag.registrate.util.entry.RegistryEntry<RewardGeneratorType, RewardGeneratorType> rewardGeneratorType(String name, com.mojang.serialization.MapCodec<? extends IRewardGenerator> codec) com.tterrag.registrate.util.entry.RegistryEntry<RewardType, RewardType> rewardType(String name, com.mojang.serialization.MapCodec<? extends IReward> codec) <T,SCRATCH_CLASS extends IScratchClass<T, ?>>
com.tterrag.registrate.util.entry.RegistryEntry<IScratchClass<?, ?>, SCRATCH_CLASS> scratchClass(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<SCRATCH_CLASS> factory) <T extends net.minecraft.world.level.block.Block,P>
com.tterrag.registrate.builders.BlockBuilder<T, PetrolparkRegistrate> sharedBlock(SharedFeatureFlag featureFlag, String name, com.tterrag.registrate.util.nullness.NonNullFunction<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory) <T extends net.minecraft.world.level.block.entity.BlockEntity>
com.tterrag.registrate.builders.BlockEntityBuilder<T, PetrolparkRegistrate> sharedBlockEntity(SharedFeatureFlag featureFlag, String name, com.tterrag.registrate.builders.BlockEntityBuilder.BlockEntityFactory<T> factory) <R,T extends R, P, S2 extends com.tterrag.registrate.builders.Builder<R, T, P, S2>>
S2sharedEntry(SharedFeatureFlag featureFlag, String name, com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BuilderCallback, S2> factory) <T extends net.minecraft.world.item.Item>
com.tterrag.registrate.builders.ItemBuilder<T, PetrolparkRegistrate> sharedItem(SharedFeatureFlag featureFlag, String name, com.tterrag.registrate.util.nullness.NonNullBiFunction<net.minecraft.world.item.Item.Properties, SharedFeatureFlag, T> factory) <T extends net.minecraft.world.item.Item,P>
com.tterrag.registrate.builders.ItemBuilder<T, P> sharedItem(P parent, SharedFeatureFlag featureFlag, String name, com.tterrag.registrate.util.nullness.NonNullFunction<net.minecraft.world.item.Item.Properties, T> factory) com.tterrag.registrate.util.entry.RegistryEntry<ITeam.ProviderType, ITeam.ProviderType> teamProviderType(String name, com.mojang.serialization.MapCodec<? extends ITeam.Provider> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, ? extends ITeam.Provider> streamCodec) com.tterrag.registrate.util.entry.RegistryEntry<TeamRewardType, TeamRewardType> teamRewardType(String name, com.mojang.serialization.MapCodec<? extends ITeamReward> codec) com.tterrag.registrate.util.entry.RegistryEntry<ITradeListingReference.Type, ITradeListingReference.Type> tradeListingReferenceType(String name, com.mojang.serialization.MapCodec<? extends ITradeListingReference> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, ? extends ITradeListingReference> streamCodec) Methods inherited from class com.tterrag.registrate.AbstractRegistrate
accept, addDataGenerator, addLang, addLang, addRawLang, addRegisterCallback, addRegisterCallback, block, block, block, blockEntity, blockEntity, blockEntity, blockEntity, currentName, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, entity, entity, entity, entity, entry, entry, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, fluid, genData, generic, generic, generic, generic, get, get, getAll, getDataGenInitializer, getDataProvider, getModEventBus, getModid, getOptional, isDevEnvironment, isRegistered, item, item, item, makeDatapackRegistry, makeDatapackRegistry, makeRegistry, menu, menu, menu, menu, menu, menu, menu, menu, modifyCreativeModeTab, object, onBuildCreativeModeTabContents, onData, onRegister, onRegisterLate, registerEventListeners, self, setDataGenerator, setDataGenerator, setModEventBus, simple, simple, simple, simple, skipErrors, transform, transform
-
Constructor Details
-
PetrolparkRegistrate
-
-
Method Details
-
block
public <T extends net.minecraft.world.level.block.Block,P> com.tterrag.registrate.builders.BlockBuilder<T,P> block(@Nonnull P parent, @Nonnull String name, @Nonnull com.tterrag.registrate.util.nullness.NonNullFunction<net.minecraft.world.level.block.state.BlockBehaviour.Properties, T> factory) - Overrides:
blockin classcom.tterrag.registrate.AbstractRegistrate<PetrolparkRegistrate>
-
item
public <T extends net.minecraft.world.item.Item,P> com.tterrag.registrate.builders.ItemBuilder<T,P> item(@Nonnull P parent, @Nonnull String name, @Nonnull com.tterrag.registrate.util.nullness.NonNullFunction<net.minecraft.world.item.Item.Properties, T> factory) - Overrides:
itemin classcom.tterrag.registrate.AbstractRegistrate<PetrolparkRegistrate>
-
badge
-
badge
public <T extends Badge> BadgeRegistrateBuilder<T,PetrolparkRegistrate> badge(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<T> factory) -
dataLoadingCondition
public <C extends net.neoforged.neoforge.common.conditions.ICondition> com.tterrag.registrate.util.entry.RegistryEntry<com.mojang.serialization.MapCodec<? extends net.neoforged.neoforge.common.conditions.ICondition>,com.mojang.serialization.MapCodec<C>> dataLoadingCondition(String name, com.mojang.serialization.MapCodec<C> codec) -
decayProductType
public com.tterrag.registrate.util.entry.RegistryEntry<DecayProductType,DecayProductType> decayProductType(String name, com.mojang.serialization.MapCodec<? extends IDecayProduct> codec, net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, ? extends IDecayProduct> streamCodec) -
teamProviderType
public com.tterrag.registrate.util.entry.RegistryEntry<ITeam.ProviderType,ITeam.ProviderType> teamProviderType(String name, com.mojang.serialization.MapCodec<? extends ITeam.Provider> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, ? extends ITeam.Provider> streamCodec) -
tradeListingReferenceType
public com.tterrag.registrate.util.entry.RegistryEntry<ITradeListingReference.Type,ITradeListingReference.Type> tradeListingReferenceType(String name, com.mojang.serialization.MapCodec<? extends ITradeListingReference> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, ? extends ITradeListingReference> streamCodec) -
attribute
public com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.entity.ai.attributes.Attribute,net.minecraft.world.entity.ai.attributes.Attribute> attribute(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<net.minecraft.world.entity.ai.attributes.Attribute> factory) -
criterionTrigger
public <C extends net.minecraft.advancements.CriterionTrigger<?>> com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.advancements.CriterionTrigger<?>,C> criterionTrigger(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<C> triggerFactory) -
itemSubPredicateType
public <PREDICATE extends net.minecraft.advancements.critereon.ItemSubPredicate> com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.advancements.critereon.ItemSubPredicate.Type<?>,net.minecraft.advancements.critereon.ItemSubPredicate.Type<PREDICATE>> itemSubPredicateType(String name, com.mojang.serialization.Codec<PREDICATE> codec) -
entitySubPredicateType
public <PREDICATE extends net.minecraft.advancements.critereon.EntitySubPredicate> com.tterrag.registrate.util.entry.RegistryEntry<com.mojang.serialization.MapCodec<? extends net.minecraft.advancements.critereon.EntitySubPredicate>,com.mojang.serialization.MapCodec<PREDICATE>> entitySubPredicateType(String name, com.mojang.serialization.MapCodec<PREDICATE> codec) -
entityVariantPredicateType
public <VARIANT> com.tterrag.registrate.util.entry.RegistryEntry<com.mojang.serialization.MapCodec<? extends net.minecraft.advancements.critereon.EntitySubPredicate>,com.mojang.serialization.MapCodec<net.minecraft.advancements.critereon.EntitySubPredicates.EntityVariantPredicateType<VARIANT>.net.minecraft.advancements.critereon.EntitySubPredicates.EntityVariantPredicateType.Instance>> entityVariantPredicateType(String name, com.mojang.serialization.Codec<VARIANT> variantCodec, Function<net.minecraft.world.entity.Entity, Optional<VARIANT>> variantGetter) -
entityVariantPredicateType
public <VARIANT> com.tterrag.registrate.util.entry.RegistryEntry<com.mojang.serialization.MapCodec<? extends net.minecraft.advancements.critereon.EntitySubPredicate>,com.mojang.serialization.MapCodec<net.minecraft.advancements.critereon.EntitySubPredicates.EntityVariantPredicateType<VARIANT>.net.minecraft.advancements.critereon.EntitySubPredicates.EntityVariantPredicateType.Instance>> entityVariantPredicateType(String name, net.minecraft.core.Registry<VARIANT> variantRegistry, Function<net.minecraft.world.entity.Entity, Optional<VARIANT>> variantGetter) -
lootContextParamSet
-
lootConditionType
public com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.level.storage.loot.predicates.LootItemConditionType,net.minecraft.world.level.storage.loot.predicates.LootItemConditionType> lootConditionType(String name, com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.storage.loot.predicates.LootItemCondition> codec) -
lootItemFunctionType
public <T extends net.minecraft.world.level.storage.loot.functions.LootItemFunction> com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.level.storage.loot.functions.LootItemFunctionType<?>,net.minecraft.world.level.storage.loot.functions.LootItemFunctionType<T>> lootItemFunctionType(String name, com.mojang.serialization.MapCodec<T> codec) -
lootNumberProviderType
public com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.level.storage.loot.providers.number.LootNumberProviderType,net.minecraft.world.level.storage.loot.providers.number.LootNumberProviderType> lootNumberProviderType(String name, com.mojang.serialization.MapCodec<? extends net.minecraft.world.level.storage.loot.providers.number.NumberProvider> codec) -
globalLootModifierSerializer
public <GLM extends net.neoforged.neoforge.common.loot.IGlobalLootModifier,CODEC extends com.mojang.serialization.MapCodec<GLM>> com.tterrag.registrate.util.entry.RegistryEntry<com.mojang.serialization.MapCodec<? extends net.neoforged.neoforge.common.loot.IGlobalLootModifier>,CODEC> globalLootModifierSerializer(String name, CODEC codec) -
lootItemStackNumberProviderType
public com.tterrag.registrate.util.entry.RegistryEntry<LootItemStackNumberProviderType,LootItemStackNumberProviderType> lootItemStackNumberProviderType(String name, com.mojang.serialization.MapCodec<? extends ItemStackNumberProvider> codec) -
lootEntityNumberProviderType
public com.tterrag.registrate.util.entry.RegistryEntry<LootEntityNumberProviderType,LootEntityNumberProviderType> lootEntityNumberProviderType(String name, com.mojang.serialization.MapCodec<? extends EntityNumberProvider> codec) -
lootTeamNumberProviderType
public com.tterrag.registrate.util.entry.RegistryEntry<LootTeamNumberProviderType,LootTeamNumberProviderType> lootTeamNumberProviderType(String name, com.mojang.serialization.MapCodec<? extends TeamNumberProvider> codec) -
recipeType
public <I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<? extends I>> com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.item.crafting.RecipeType<?>,net.minecraft.world.item.crafting.RecipeType<R>> recipeType(String name) -
recipeSerializer
public <I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<? extends I>, com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.item.crafting.RecipeSerializer<?>,S extends net.minecraft.world.item.crafting.RecipeSerializer<? extends R>> S> recipeSerializer(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<S> factory) -
recipeSerializer
public <R extends net.minecraft.world.item.crafting.CraftingRecipe> com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.item.crafting.RecipeSerializer<?>,net.minecraft.world.item.crafting.SimpleCraftingRecipeSerializer<R>> recipeSerializer(String name, net.minecraft.world.item.crafting.SimpleCraftingRecipeSerializer.Factory<R> constructor) -
recipeSerializer
public <I extends net.minecraft.world.item.crafting.RecipeInput,R extends net.minecraft.world.item.crafting.Recipe<? extends I>> com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.item.crafting.RecipeSerializer<?>,net.minecraft.world.item.crafting.RecipeSerializer<R>> recipeSerializer(String name, com.mojang.serialization.MapCodec<R> codec, net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, R> streamCodec) -
ingredientType
public <I extends net.neoforged.neoforge.common.crafting.ICustomIngredient> com.tterrag.registrate.util.entry.RegistryEntry<net.neoforged.neoforge.common.crafting.IngredientType<?>,net.neoforged.neoforge.common.crafting.IngredientType<I>> ingredientType(String name, com.mojang.serialization.MapCodec<I> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, I> streamCodec) -
fluidIngredientType
public <I extends net.neoforged.neoforge.fluids.crafting.FluidIngredient> com.tterrag.registrate.util.entry.RegistryEntry<net.neoforged.neoforge.fluids.crafting.FluidIngredientType<?>,net.neoforged.neoforge.fluids.crafting.FluidIngredientType<I>> fluidIngredientType(String name, com.mojang.serialization.MapCodec<I> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, I> streamCodec) -
ingredientRandomizerType
public com.tterrag.registrate.util.entry.RegistryEntry<IngredientRandomizerType,IngredientRandomizerType> ingredientRandomizerType(String name, com.mojang.serialization.MapCodec<? extends IngredientRandomizer> serializer) -
genericAdvancedIngredientType
protected <STACK,TYPELESS_INGREDIENT extends ITypelessAdvancedIngredient<STACK>> com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super STACK>,GenericAdvancedIngredientType<STACK, genericAdvancedIngredientTypeTYPELESS_INGREDIENT>> (net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<IAdvancedIngredientType<? super STACK>>> registryKey, com.mojang.serialization.Codec<IAdvancedIngredient<? super STACK>> typeCodec, net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, IAdvancedIngredient<? super STACK>> typeStreamCodec, String name, Function<com.mojang.serialization.Codec<IAdvancedIngredient<? super STACK>>, com.mojang.serialization.MapCodec<TYPELESS_INGREDIENT>> codecFactory, Function<net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, IAdvancedIngredient<? super STACK>>, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, TYPELESS_INGREDIENT>> streamCodecFactory) -
itemAdvancedIngredientType
public com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.minecraft.world.item.ItemStack>,NamedAdvancedIngredientType<net.minecraft.world.item.ItemStack>> itemAdvancedIngredientType(String name, com.mojang.serialization.MapCodec<? extends ItemAdvancedIngredient> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, ? extends ItemAdvancedIngredient> streamCodec) -
itemAdvancedIngredientType
public com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.minecraft.world.item.ItemStack>,IAdvancedIngredientType<? super net.minecraft.world.item.ItemStack>> itemAdvancedIngredientType(String name, IAdvancedIngredientType<? super net.minecraft.world.item.ItemStack> type) -
itemAdvancedIngredientType
public com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.minecraft.world.item.ItemStack>,INamedAdvancedIngredientType<net.minecraft.world.item.ItemStack>> itemAdvancedIngredientType(String name, com.tterrag.registrate.util.nullness.NonNullFunction<String, INamedAdvancedIngredientType<net.minecraft.world.item.ItemStack>> typeFactory) -
itemAdvancedIngredientType
public <TYPELESS_INGREDIENT extends ITypelessAdvancedIngredient<net.minecraft.world.item.ItemStack>> com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.minecraft.world.item.ItemStack>,GenericAdvancedIngredientType<net.minecraft.world.item.ItemStack, itemAdvancedIngredientTypeTYPELESS_INGREDIENT>> (String name, Function<com.mojang.serialization.Codec<IAdvancedIngredient<? super net.minecraft.world.item.ItemStack>>, com.mojang.serialization.MapCodec<TYPELESS_INGREDIENT>> codecFactory, Function<net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, IAdvancedIngredient<? super net.minecraft.world.item.ItemStack>>, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, TYPELESS_INGREDIENT>> streamCodecFactory) -
fluidAdvancedIngredientType
public com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.neoforged.neoforge.fluids.FluidStack>,NamedAdvancedIngredientType<net.neoforged.neoforge.fluids.FluidStack>> fluidAdvancedIngredientType(String name, com.mojang.serialization.MapCodec<? extends FluidAdvancedIngredient> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, ? extends FluidAdvancedIngredient> streamCodec) -
fluidAdvancedIngredientType
public com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.neoforged.neoforge.fluids.FluidStack>,IAdvancedIngredientType<? super net.neoforged.neoforge.fluids.FluidStack>> fluidAdvancedIngredientType(String name, IAdvancedIngredientType<? super net.neoforged.neoforge.fluids.FluidStack> type) -
fluidAdvancedIngredientType
public <TYPELESS_INGREDIENT extends ITypelessAdvancedIngredient<net.neoforged.neoforge.fluids.FluidStack>> com.tterrag.registrate.util.entry.RegistryEntry<IAdvancedIngredientType<? super net.neoforged.neoforge.fluids.FluidStack>,GenericAdvancedIngredientType<net.neoforged.neoforge.fluids.FluidStack, fluidAdvancedIngredientTypeTYPELESS_INGREDIENT>> (String name, Function<com.mojang.serialization.Codec<IAdvancedIngredient<? super net.neoforged.neoforge.fluids.FluidStack>>, com.mojang.serialization.MapCodec<TYPELESS_INGREDIENT>> codecFactory, Function<net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, IAdvancedIngredient<? super net.neoforged.neoforge.fluids.FluidStack>>, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, TYPELESS_INGREDIENT>> streamCodecFactory) -
rewardGeneratorType
public com.tterrag.registrate.util.entry.RegistryEntry<RewardGeneratorType,RewardGeneratorType> rewardGeneratorType(String name, com.mojang.serialization.MapCodec<? extends IRewardGenerator> codec) -
rewardType
public com.tterrag.registrate.util.entry.RegistryEntry<RewardType,RewardType> rewardType(String name, com.mojang.serialization.MapCodec<? extends IReward> codec) -
entityRewardType
public com.tterrag.registrate.util.entry.RegistryEntry<EntityRewardType,EntityRewardType> entityRewardType(String name, com.mojang.serialization.MapCodec<? extends IEntityReward> codec) -
teamRewardType
public com.tterrag.registrate.util.entry.RegistryEntry<TeamRewardType,TeamRewardType> teamRewardType(String name, com.mojang.serialization.MapCodec<? extends ITeamReward> codec) -
bogglePatternGeneratorType
public com.tterrag.registrate.util.entry.RegistryEntry<BogglePatternGeneratorType,BogglePatternGeneratorType> bogglePatternGeneratorType(String name, com.mojang.serialization.MapCodec<? extends IBogglePatternGenerator> codec, com.mojang.serialization.MapCodec<? extends IBogglePatternGenerator> directCodec) -
bogglePatternGeneratorType
public com.tterrag.registrate.util.entry.RegistryEntry<BogglePatternGeneratorType,BogglePatternGeneratorType> bogglePatternGeneratorType(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<? extends IBogglePatternGenerator> unitFactory) -
particleType
public <O extends net.minecraft.core.particles.ParticleOptions,T extends net.minecraft.core.particles.ParticleType<O>> com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.core.particles.ParticleType<?>,T> particleType(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<T> factory) -
scratchClass
public <T,SCRATCH_CLASS extends IScratchClass<T, com.tterrag.registrate.util.entry.RegistryEntry<IScratchClass<?,?>> ?>, scratchClassSCRATCH_CLASS> (String name, com.tterrag.registrate.util.nullness.NonNullSupplier<SCRATCH_CLASS> factory)
-