Package com.petrolpark
Class AbstractPetrolparkRegistrate<R extends AbstractPetrolparkRegistrate<R>>
java.lang.Object
com.tterrag.registrate.AbstractRegistrate<R>
com.petrolpark.AbstractPetrolparkRegistrate<R>
- Direct Known Subclasses:
AbstractPetrolparkCreateRegistrate,DummyRegistrate,PetrolparkRegistrate
@ParametersAreNonnullByDefault
public abstract class AbstractPetrolparkRegistrate<R extends AbstractPetrolparkRegistrate<R>>
extends com.tterrag.registrate.AbstractRegistrate<R>
-
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, R> <T extends net.minecraft.world.level.block.Block,P>
PetrolparkBlockBuilder<T, P> block(P parent, 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>
PetrolparkBlockEntityBuilder<T, R> blockEntity(String name, com.tterrag.registrate.builders.BlockEntityBuilder.BlockEntityFactory<T> factory) <T extends net.minecraft.world.level.block.entity.BlockEntity,P>
PetrolparkBlockEntityBuilder<T, P> blockEntity(P parent, String name, com.tterrag.registrate.builders.BlockEntityBuilder.BlockEntityFactory<T> factory) <B extends net.minecraft.world.level.block.entity.BlockEntity,T extends net.minecraft.world.level.block.entity.BlockEntityType<B>>
com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.level.block.entity.BlockEntityType<?>, T> blockEntityType(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<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) <TYPE extends SimpleExpressionType<?,?, ?, ?, TYPE>>
com.tterrag.registrate.util.entry.RegistryEntry<IScratchExpression.Type<?>, TYPE> booleanScratchExpression(String name, Function<BooleanScratchClass, TYPE> expressionFactory) <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) <T extends net.minecraft.world.entity.Entity,P>
PetrolparkEntityBuilder<T, P> entity(P parent, String name, net.minecraft.world.entity.EntityType.EntityFactory<T> factory, net.minecraft.world.entity.MobCategory classification) 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) <EXPRESSION extends IScratchExpression<?,?, ?, ?>>
com.tterrag.registrate.util.entry.RegistryEntry<IScratchExpression.Type<?>, ScratchExpressionType<EXPRESSION>> environmentDepedendentScratchExpressionType(String name, ContextualMapCodec<IScratchEnvironment.Type<?>, EXPRESSION> codec, ContextualStreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, IScratchEnvironment.Type<?>, EXPRESSION> streamCodec) <BASE_ENVIRONMENT extends IScratchEnvironment,BLOCK extends IScratchBlock<?, ?, ?>>
com.tterrag.registrate.util.entry.RegistryEntry<IScratchBlock.Type<?>, FlexibleEnvironmentScratchBlockType<BASE_ENVIRONMENT, BLOCK>> flexibleEnvironmentScratchBlockType(String name, Class<BASE_ENVIRONMENT> environmentClass, Function<IScratchEnvironment.Type<?>, BLOCK> factory) 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) com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.level.storage.loot.providers.number.LootNumberProviderType, net.minecraft.world.level.storage.loot.providers.number.LootNumberProviderType> functionLootNumberProviderType(String name, FunctionNumberProvider.Factory<?> constructor) 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) <BLOCK extends GenericInstantBlock<?,?, ?, ?, ?>>
com.tterrag.registrate.util.entry.RegistryEntry<IScratchBlock.Type<?>, GenericInstantBlock.Type<BLOCK>> genericScratchBlockType(String name, Function<IScratchClass<?, ?>, BLOCK> blockFactory) <EXPRESSION extends GenericExpression<?,?, ?, ?, ?, ?>>
com.tterrag.registrate.util.entry.RegistryEntry<IScratchExpression.Type<?>, GenericExpression.Type<EXPRESSION>> genericScratchExpressionType(String name, Function<IScratchClass<?, ?>, EXPRESSION> expressionFactory) <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>
PetrolparkItemBuilder<T, R> item(String name, com.tterrag.registrate.util.nullness.NonNullFunction<net.minecraft.world.item.Item.Properties, T> factory) <T extends net.minecraft.world.item.Item,P>
PetrolparkItemBuilder<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<LootPoolEntryModifierType, LootPoolEntryModifierType> lootPoolEntryModifierType(String name, com.mojang.serialization.MapCodec<? extends ILootPoolEntryModifier> codec) com.tterrag.registrate.util.entry.RegistryEntry<LootTableModifierType, LootTableModifierType> lootTableModifierType(String name, com.mojang.serialization.MapCodec<? extends ILootTableModifier> codec) com.tterrag.registrate.util.entry.RegistryEntry<LootTeamNumberProviderType, LootTeamNumberProviderType> lootTeamNumberProviderType(String name, com.mojang.serialization.MapCodec<? extends TeamNumberProvider> codec) <T extends net.minecraft.world.effect.MobEffect>
MobEffectBuilder<T, R> mobEffect(String name, MobEffectBuilder.Factory<T> factory) <T extends net.minecraft.world.effect.MobEffect,P>
MobEffectBuilder<T, P> mobEffect(P parent, String name, MobEffectBuilder.Factory<T> factory) <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,T 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<T>> recipeSerializer(String name, com.mojang.serialization.MapCodec<T> codec, net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, T> streamCodec) <I extends net.minecraft.world.item.crafting.RecipeInput,T extends net.minecraft.world.item.crafting.Recipe<? extends I>, S extends net.minecraft.world.item.crafting.RecipeSerializer<? extends T>>
com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.item.crafting.RecipeSerializer<?>, S> recipeSerializer(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<S> factory) <T 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<T>> recipeSerializer(String name, net.minecraft.world.item.crafting.SimpleCraftingRecipeSerializer.Factory<T> constructor) <I extends net.minecraft.world.item.crafting.RecipeInput,T 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<T>> 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) <BLOCK extends IScratchBlock<?,?, ?>, TYPE extends IScratchBlock.Type<BLOCK>>
com.tterrag.registrate.util.entry.RegistryEntry<IScratchBlock.Type<?>, TYPE> scratchBlockType(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<TYPE> factory) <SCRATCH_CLASS extends IScratchClass<?,?>>
com.tterrag.registrate.util.entry.RegistryEntry<IScratchClassType, ScratchClassType<SCRATCH_CLASS>> scratchClassType(String name, com.mojang.serialization.MapCodec<SCRATCH_CLASS> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, SCRATCH_CLASS> streamCodec) <ENVIRONMENT extends IScratchEnvironment,TYPE extends IScratchEnvironment.Type<ENVIRONMENT>>
com.tterrag.registrate.util.entry.RegistryEntry<IScratchEnvironment.Type<?>, TYPE> scratchEnvironmentType(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<TYPE> factory) <EXPRESSION extends IScratchExpression<?,?, ?, ?>>
com.tterrag.registrate.util.entry.RegistryEntry<IScratchExpression.Type<?>, ScratchExpressionType<EXPRESSION>> scratchExpressionType(String name, com.mojang.serialization.MapCodec<EXPRESSION> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, EXPRESSION> streamCodec) <EXPRESSION extends IScratchExpression<?,?, ?, ?>, TYPE extends IScratchExpression.Type<EXPRESSION>>
com.tterrag.registrate.util.entry.RegistryEntry<IScratchExpression.Type<?>, TYPE> scratchExpressionType(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<TYPE> expressionTypeFactory) <T extends net.minecraft.world.level.block.Block>
SharedBlockBuilder<T, R> sharedBlock(SharedFeatureFlag featureFlag, String name, com.tterrag.registrate.util.nullness.NonNullBiFunction<net.minecraft.world.level.block.state.BlockBehaviour.Properties, SharedFeatureFlag, T> factory) <T extends net.minecraft.world.level.block.Block,P>
SharedBlockBuilder<T, R> 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>
SharedBlockEntityBuilder<T, R> sharedBlockEntity(SharedFeatureFlag featureFlag, String name, com.tterrag.registrate.builders.BlockEntityBuilder.BlockEntityFactory<T> factory) <R2,T extends R2, P, BUILDER extends com.tterrag.registrate.builders.AbstractBuilder<R2, T, P, BUILDER>>
BUILDERsharedEntry(SharedFeatureFlag featureFlag, String name, com.tterrag.registrate.util.nullness.NonNullFunction<com.tterrag.registrate.builders.BuilderCallback, BUILDER> factory) <T extends net.minecraft.world.item.Item>
SharedItemBuilder<T, R> 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>
SharedItemBuilder<T, R> sharedItem(SharedFeatureFlag featureFlag, String name, com.tterrag.registrate.util.nullness.NonNullFunction<net.minecraft.world.item.Item.Properties, T> factory) <T extends net.minecraft.world.item.Item,P>
SharedItemBuilder<T, P> sharedItem(P parent, SharedFeatureFlag featureFlag, String name, com.tterrag.registrate.util.nullness.NonNullFunction<net.minecraft.world.item.Item.Properties, T> factory) <T extends net.minecraft.world.effect.MobEffect>
SharedMobEffectBuilder<T, R> sharedMobEffect(SharedFeatureFlag featureFlag, String name, MobEffectBuilder.Factory<T> factory) <I extends net.minecraft.world.item.crafting.RecipeInput,T extends net.minecraft.world.item.crafting.Recipe<? extends I>>
com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.item.crafting.RecipeType<?>, SharedRecipeType<T>> sharedRecipeType(SharedFeatureFlag featureFlag, String name) <TYPE,SCRATCH_CLASS extends SimpleScratchClass<TYPE, ?>>
com.tterrag.registrate.util.entry.RegistryEntry<IScratchClassType, SCRATCH_CLASS> simpleScratchClass(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<SCRATCH_CLASS> factory) com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.sounds.SoundEvent, net.minecraft.sounds.SoundEvent> soundEvent(String name) com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.sounds.SoundEvent, net.minecraft.sounds.SoundEvent> soundEvent(String name, float range) 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) woodSet(net.minecraft.world.level.block.state.properties.WoodType woodType, net.minecraft.world.level.block.grower.TreeGrower treeGrower, net.minecraft.world.entity.vehicle.Boat.Type boatType) Methods inherited from class com.tterrag.registrate.AbstractRegistrate
accept, addDataGenerator, addLang, addLang, addRawLang, addRegisterCallback, addRegisterCallback, block, block, block, blockEntity, blockEntity, currentName, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, defaultCreativeTab, 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, 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
-
AbstractPetrolparkRegistrate
-
-
Method Details
-
block
public <T extends net.minecraft.world.level.block.Block,P> PetrolparkBlockBuilder<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<R extends AbstractPetrolparkRegistrate<R>>
-
item
public <T extends net.minecraft.world.item.Item> PetrolparkItemBuilder<T,R> item(@Nonnull String name, @Nonnull com.tterrag.registrate.util.nullness.NonNullFunction<net.minecraft.world.item.Item.Properties, T> factory) - Overrides:
itemin classcom.tterrag.registrate.AbstractRegistrate<R extends AbstractPetrolparkRegistrate<R>>
-
item
public <T extends net.minecraft.world.item.Item,P> PetrolparkItemBuilder<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<R extends AbstractPetrolparkRegistrate<R>>
-
blockEntity
public <T extends net.minecraft.world.level.block.entity.BlockEntity> PetrolparkBlockEntityBuilder<T,R> blockEntity(@Nonnull String name, @Nonnull com.tterrag.registrate.builders.BlockEntityBuilder.BlockEntityFactory<T> factory) - Overrides:
blockEntityin classcom.tterrag.registrate.AbstractRegistrate<R extends AbstractPetrolparkRegistrate<R>>
-
blockEntity
public <T extends net.minecraft.world.level.block.entity.BlockEntity,P> PetrolparkBlockEntityBuilder<T,P> blockEntity(@Nonnull P parent, @Nonnull String name, @Nonnull com.tterrag.registrate.builders.BlockEntityBuilder.BlockEntityFactory<T> factory) - Overrides:
blockEntityin classcom.tterrag.registrate.AbstractRegistrate<R extends AbstractPetrolparkRegistrate<R>>
-
entity
public <T extends net.minecraft.world.entity.Entity,P> PetrolparkEntityBuilder<T,P> entity(P parent, String name, net.minecraft.world.entity.EntityType.EntityFactory<T> factory, net.minecraft.world.entity.MobCategory classification) - Overrides:
entityin classcom.tterrag.registrate.AbstractRegistrate<R extends AbstractPetrolparkRegistrate<R>>
-
mobEffect
public <T extends net.minecraft.world.effect.MobEffect> MobEffectBuilder<T,R> mobEffect(String name, MobEffectBuilder.Factory<T> factory) -
mobEffect
public <T extends net.minecraft.world.effect.MobEffect,P> MobEffectBuilder<T,P> mobEffect(P parent, String name, MobEffectBuilder.Factory<T> factory) -
badge
-
badge
public <T extends Badge> BadgeRegistrateBuilder<T,R> badge(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<T> factory) -
woodSet
public WoodSetEntry.Builder<R> woodSet(net.minecraft.world.level.block.state.properties.WoodType woodType, net.minecraft.world.level.block.grower.TreeGrower treeGrower, net.minecraft.world.entity.vehicle.Boat.Type boatType) -
blockEntityType
public <B extends net.minecraft.world.level.block.entity.BlockEntity,T extends net.minecraft.world.level.block.entity.BlockEntityType<B>> com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.world.level.block.entity.BlockEntityType<?>,T> blockEntityType(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) -
functionLootNumberProviderType
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> functionLootNumberProviderType(String name, FunctionNumberProvider.Factory<?> constructor) -
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) -
lootTableModifierType
public com.tterrag.registrate.util.entry.RegistryEntry<LootTableModifierType,LootTableModifierType> lootTableModifierType(String name, com.mojang.serialization.MapCodec<? extends ILootTableModifier> codec) -
lootPoolEntryModifierType
public com.tterrag.registrate.util.entry.RegistryEntry<LootPoolEntryModifierType,LootPoolEntryModifierType> lootPoolEntryModifierType(String name, com.mojang.serialization.MapCodec<? extends ILootPoolEntryModifier> codec) -
soundEvent
public com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.sounds.SoundEvent,net.minecraft.sounds.SoundEvent> soundEvent(String name, float range) -
soundEvent
public com.tterrag.registrate.util.entry.RegistryEntry<net.minecraft.sounds.SoundEvent,net.minecraft.sounds.SoundEvent> soundEvent(String name) -
recipeType
public <I extends net.minecraft.world.item.crafting.RecipeInput,T 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<T>> recipeType(String name) -
recipeSerializer
public <I extends net.minecraft.world.item.crafting.RecipeInput,T 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 T>> S> recipeSerializer(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<S> factory) -
recipeSerializer
public <T 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<T>> recipeSerializer(String name, net.minecraft.world.item.crafting.SimpleCraftingRecipeSerializer.Factory<T> constructor) -
recipeSerializer
public <I extends net.minecraft.world.item.crafting.RecipeInput,T 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<T>> recipeSerializer(String name, com.mojang.serialization.MapCodec<T> codec, net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, T> 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) -
scratchClassType
public <SCRATCH_CLASS extends IScratchClass<?,?>> com.tterrag.registrate.util.entry.RegistryEntry<IScratchClassType,ScratchClassType<SCRATCH_CLASS>> scratchClassType(String name, com.mojang.serialization.MapCodec<SCRATCH_CLASS> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, SCRATCH_CLASS> streamCodec) -
simpleScratchClass
public <TYPE,SCRATCH_CLASS extends SimpleScratchClass<TYPE, com.tterrag.registrate.util.entry.RegistryEntry<IScratchClassType,?>> SCRATCH_CLASS> simpleScratchClass(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<SCRATCH_CLASS> factory) -
scratchEnvironmentType
public <ENVIRONMENT extends IScratchEnvironment,TYPE extends IScratchEnvironment.Type<ENVIRONMENT>> com.tterrag.registrate.util.entry.RegistryEntry<IScratchEnvironment.Type<?>,TYPE> scratchEnvironmentType(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<TYPE> factory) -
scratchBlockType
public <BLOCK extends IScratchBlock<?,?, com.tterrag.registrate.util.entry.RegistryEntry<IScratchBlock.Type<?>,?>, TYPE extends IScratchBlock.Type<BLOCK>> TYPE> scratchBlockType(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<TYPE> factory) -
genericScratchBlockType
public <BLOCK extends GenericInstantBlock<?,?, com.tterrag.registrate.util.entry.RegistryEntry<IScratchBlock.Type<?>,?, ?, ?>> GenericInstantBlock.Type<BLOCK>> genericScratchBlockType(String name, Function<IScratchClass<?, ?>, BLOCK> blockFactory) -
flexibleEnvironmentScratchBlockType
public <BASE_ENVIRONMENT extends IScratchEnvironment,BLOCK extends IScratchBlock<?, com.tterrag.registrate.util.entry.RegistryEntry<IScratchBlock.Type<?>,?, ?>> FlexibleEnvironmentScratchBlockType<BASE_ENVIRONMENT, flexibleEnvironmentScratchBlockTypeBLOCK>> (String name, Class<BASE_ENVIRONMENT> environmentClass, Function<IScratchEnvironment.Type<?>, BLOCK> factory) -
scratchExpressionType
public <EXPRESSION extends IScratchExpression<?,?, com.tterrag.registrate.util.entry.RegistryEntry<IScratchExpression.Type<?>,?, ?>, TYPE extends IScratchExpression.Type<EXPRESSION>> TYPE> scratchExpressionType(String name, com.tterrag.registrate.util.nullness.NonNullSupplier<TYPE> expressionTypeFactory) -
environmentDepedendentScratchExpressionType
public <EXPRESSION extends IScratchExpression<?,?, com.tterrag.registrate.util.entry.RegistryEntry<IScratchExpression.Type<?>,?, ?>> ScratchExpressionType<EXPRESSION>> environmentDepedendentScratchExpressionType(String name, ContextualMapCodec<IScratchEnvironment.Type<?>, EXPRESSION> codec, ContextualStreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, IScratchEnvironment.Type<?>, EXPRESSION> streamCodec) -
scratchExpressionType
public <EXPRESSION extends IScratchExpression<?,?, com.tterrag.registrate.util.entry.RegistryEntry<IScratchExpression.Type<?>,?, ?>> ScratchExpressionType<EXPRESSION>> scratchExpressionType(String name, com.mojang.serialization.MapCodec<EXPRESSION> codec, net.minecraft.network.codec.StreamCodec<? super net.minecraft.network.RegistryFriendlyByteBuf, EXPRESSION> streamCodec) -
genericScratchExpressionType
public <EXPRESSION extends GenericExpression<?,?, com.tterrag.registrate.util.entry.RegistryEntry<IScratchExpression.Type<?>,?, ?, ?, ?>> GenericExpression.Type<EXPRESSION>> genericScratchExpressionType(String name, Function<IScratchClass<?, ?>, EXPRESSION> expressionFactory) -
booleanScratchExpression
public <TYPE extends SimpleExpressionType<?,?, com.tterrag.registrate.util.entry.RegistryEntry<IScratchExpression.Type<?>,?, ?, TYPE>> TYPE> booleanScratchExpression(String name, Function<BooleanScratchClass, TYPE> expressionFactory)
-