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
    Modifier and Type
    Class
    Description
    class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.NonNullFunction<String,net.minecraft.world.entity.ai.attributes.Attribute> factory)
     
    badge(String name)
     
    badge(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<T> factory)
     
    <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)
     
    com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super net.neoforged.neoforge.fluids.FluidStack>,IngredientModifierType<net.neoforged.neoforge.fluids.FluidStack>>
    fluidIngredientModifierType(String name, com.mojang.serialization.MapCodec<? extends FluidIngredientModifier> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,? extends FluidIngredientModifier> streamCodec)
     
    com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super net.neoforged.neoforge.fluids.FluidStack>,IIngredientModifierType<? super net.neoforged.neoforge.fluids.FluidStack>>
    fluidIngredientModifierType(String name, IIngredientModifierType<? super net.neoforged.neoforge.fluids.FluidStack> type)
     
    <TYPELESS_MODIFIER extends ITypelessIngredientModifier<net.neoforged.neoforge.fluids.FluidStack>>
    com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super net.neoforged.neoforge.fluids.FluidStack>,GenericIngredientModifierType<net.neoforged.neoforge.fluids.FluidStack,TYPELESS_MODIFIER>>
    fluidIngredientModifierType(String name, Function<com.mojang.serialization.Codec<IIngredientModifier<? super net.neoforged.neoforge.fluids.FluidStack>>,com.mojang.serialization.MapCodec<TYPELESS_MODIFIER>> codecFactory, Function<net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,IIngredientModifier<? super net.neoforged.neoforge.fluids.FluidStack>>,net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,TYPELESS_MODIFIER>> 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_MODIFIER extends ITypelessIngredientModifier<STACK>>
    com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super STACK>,GenericIngredientModifierType<STACK,TYPELESS_MODIFIER>>
    genericIngredientModifierType(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<IIngredientModifierType<? super STACK>>> registryKey, com.mojang.serialization.Codec<IIngredientModifier<? super STACK>> typeCodec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,IIngredientModifier<? super STACK>> typeStreamCodec, String name, Function<com.mojang.serialization.Codec<IIngredientModifier<? super STACK>>,com.mojang.serialization.MapCodec<TYPELESS_MODIFIER>> codecFactory, Function<net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,IIngredientModifier<? super STACK>>,net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,TYPELESS_MODIFIER>> 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>
     
    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)
     
    com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super net.minecraft.world.item.ItemStack>,IngredientModifierType<net.minecraft.world.item.ItemStack>>
    itemIngredientModifierType(String name, com.mojang.serialization.MapCodec<? extends ItemIngredientModifier> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,? extends ItemIngredientModifier> streamCodec)
     
    com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super net.minecraft.world.item.ItemStack>,IIngredientModifierType<? super net.minecraft.world.item.ItemStack>>
    itemIngredientModifierType(String name, IIngredientModifierType<? super net.minecraft.world.item.ItemStack> type)
     
    <TYPELESS_MODIFIER extends ITypelessIngredientModifier<net.minecraft.world.item.ItemStack>>
    com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super net.minecraft.world.item.ItemStack>,GenericIngredientModifierType<net.minecraft.world.item.ItemStack,TYPELESS_MODIFIER>>
    itemIngredientModifierType(String name, Function<com.mojang.serialization.Codec<IIngredientModifier<? super net.minecraft.world.item.ItemStack>>,com.mojang.serialization.MapCodec<TYPELESS_MODIFIER>> codecFactory, Function<net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,IIngredientModifier<? super net.minecraft.world.item.ItemStack>>,net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,TYPELESS_MODIFIER>> 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)
     
    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)
     
    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 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)
     
    protected <R, T extends R, P, S2 extends com.tterrag.registrate.builders.Builder<R, T, P, S2>>
    S2
    sharedEntry(SharedFeatureFlag featureFlag, String name, com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BuilderCallback,S2> 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)
     

    Methods inherited from class com.tterrag.registrate.AbstractRegistrate

    accept, addDataGenerator, addLang, addLang, addRawLang, addRegisterCallback, addRegisterCallback, block, 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, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PetrolparkRegistrate

      public PetrolparkRegistrate(String modid)
  • Method Details

    • 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)
    • 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.NonNullFunction<String,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)
    • 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)
    • 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)
    • genericIngredientModifierType

      protected <STACK, TYPELESS_MODIFIER extends ITypelessIngredientModifier<STACK>> com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super STACK>,GenericIngredientModifierType<STACK,TYPELESS_MODIFIER>> genericIngredientModifierType(net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<IIngredientModifierType<? super STACK>>> registryKey, com.mojang.serialization.Codec<IIngredientModifier<? super STACK>> typeCodec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,IIngredientModifier<? super STACK>> typeStreamCodec, String name, Function<com.mojang.serialization.Codec<IIngredientModifier<? super STACK>>,com.mojang.serialization.MapCodec<TYPELESS_MODIFIER>> codecFactory, Function<net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,IIngredientModifier<? super STACK>>,net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,TYPELESS_MODIFIER>> streamCodecFactory)
    • itemIngredientModifierType

      public com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super net.minecraft.world.item.ItemStack>,IngredientModifierType<net.minecraft.world.item.ItemStack>> itemIngredientModifierType(String name, com.mojang.serialization.MapCodec<? extends ItemIngredientModifier> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,? extends ItemIngredientModifier> streamCodec)
    • itemIngredientModifierType

      public com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super net.minecraft.world.item.ItemStack>,IIngredientModifierType<? super net.minecraft.world.item.ItemStack>> itemIngredientModifierType(String name, IIngredientModifierType<? super net.minecraft.world.item.ItemStack> type)
    • itemIngredientModifierType

      public <TYPELESS_MODIFIER extends ITypelessIngredientModifier<net.minecraft.world.item.ItemStack>> com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super net.minecraft.world.item.ItemStack>,GenericIngredientModifierType<net.minecraft.world.item.ItemStack,TYPELESS_MODIFIER>> itemIngredientModifierType(String name, Function<com.mojang.serialization.Codec<IIngredientModifier<? super net.minecraft.world.item.ItemStack>>,com.mojang.serialization.MapCodec<TYPELESS_MODIFIER>> codecFactory, Function<net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,IIngredientModifier<? super net.minecraft.world.item.ItemStack>>,net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,TYPELESS_MODIFIER>> streamCodecFactory)
    • fluidIngredientModifierType

      public com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super net.neoforged.neoforge.fluids.FluidStack>,IngredientModifierType<net.neoforged.neoforge.fluids.FluidStack>> fluidIngredientModifierType(String name, com.mojang.serialization.MapCodec<? extends FluidIngredientModifier> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,? extends FluidIngredientModifier> streamCodec)
    • fluidIngredientModifierType

      public com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super net.neoforged.neoforge.fluids.FluidStack>,IIngredientModifierType<? super net.neoforged.neoforge.fluids.FluidStack>> fluidIngredientModifierType(String name, IIngredientModifierType<? super net.neoforged.neoforge.fluids.FluidStack> type)
    • fluidIngredientModifierType

      public <TYPELESS_MODIFIER extends ITypelessIngredientModifier<net.neoforged.neoforge.fluids.FluidStack>> com.tterrag.registrate.util.entry.RegistryEntry<IIngredientModifierType<? super net.neoforged.neoforge.fluids.FluidStack>,GenericIngredientModifierType<net.neoforged.neoforge.fluids.FluidStack,TYPELESS_MODIFIER>> fluidIngredientModifierType(String name, Function<com.mojang.serialization.Codec<IIngredientModifier<? super net.neoforged.neoforge.fluids.FluidStack>>,com.mojang.serialization.MapCodec<TYPELESS_MODIFIER>> codecFactory, Function<net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,IIngredientModifier<? super net.neoforged.neoforge.fluids.FluidStack>>,net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf,TYPELESS_MODIFIER>> 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)
    • sharedEntry

      protected <R, T extends R, P, S2 extends com.tterrag.registrate.builders.Builder<R, T, P, S2>> S2 sharedEntry(SharedFeatureFlag featureFlag, @Nonnull String name, @Nonnull com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BuilderCallback,S2> factory)
    • sharedBlockEntity

      public <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)
    • sharedBlock

      public <T extends net.minecraft.world.level.block.Block, P> com.tterrag.registrate.builders.BlockBuilder<T,PetrolparkRegistrate> sharedBlock(SharedFeatureFlag featureFlag, @Nonnull String name, @Nonnull com.tterrag.registrate.util.nullness.NonNullFunction<net.minecraft.world.level.block.state.BlockBehaviour.Properties,T> factory)
    • sharedItem

      public <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)