Package com.petrolpark.core.badge
Class BadgeRegistrateBuilder<T extends Badge,P>
java.lang.Object
com.tterrag.registrate.builders.AbstractBuilder<Badge,T,P,BadgeRegistrateBuilder<T,P>>
com.petrolpark.core.badge.BadgeRegistrateBuilder<T,P>
- All Implemented Interfaces:
com.tterrag.registrate.builders.Builder<Badge,,T, P, BadgeRegistrateBuilder<T, P>> com.tterrag.registrate.util.nullness.NonNullSupplier<com.tterrag.registrate.util.entry.RegistryEntry<Badge,,T>> Supplier<com.tterrag.registrate.util.entry.RegistryEntry<Badge,T>>
public class BadgeRegistrateBuilder<T extends Badge,P>
extends com.tterrag.registrate.builders.AbstractBuilder<Badge,T,P,BadgeRegistrateBuilder<T,P>>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBadgeRegistrateBuilder(PetrolparkRegistrate owner, P parent, String name, com.tterrag.registrate.builders.BuilderCallback callback, com.tterrag.registrate.util.nullness.NonNullSupplier<T> factory) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Badge,P>
BadgeRegistrateBuilder<T, P> create(PetrolparkRegistrate owner, P parent, String name, com.tterrag.registrate.builders.BuilderCallback callback, com.tterrag.registrate.util.nullness.NonNullSupplier<T> factory) protected TduplicationIngredient(Supplier<net.minecraft.world.item.crafting.Ingredient> ingredient) static Collection<net.minecraft.world.item.crafting.CraftingRecipe> Methods inherited from class com.tterrag.registrate.builders.AbstractBuilder
asOptional, asSupplier, asTag, createEntryWrapper, getCallback, getName, getOwner, getParent, getRegistryKey, lang, lang, register, removeTag, tagMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tterrag.registrate.builders.Builder
addMiscData, build, dataMap, get, getEntry, onRegister, onRegisterAfter, setData, transformMethods inherited from interface com.tterrag.registrate.util.nullness.NonNullSupplier
lazy
-
Field Details
-
item
-
duplicationIngredient
-
-
Constructor Details
-
BadgeRegistrateBuilder
public BadgeRegistrateBuilder(PetrolparkRegistrate owner, P parent, String name, com.tterrag.registrate.builders.BuilderCallback callback, com.tterrag.registrate.util.nullness.NonNullSupplier<T> factory)
-
-
Method Details
-
create
public static <T extends Badge,P> BadgeRegistrateBuilder<T,P> create(PetrolparkRegistrate owner, P parent, String name, com.tterrag.registrate.builders.BuilderCallback callback, com.tterrag.registrate.util.nullness.NonNullSupplier<T> factory) -
duplicationIngredient
public BadgeRegistrateBuilder<T,P> duplicationIngredient(Supplier<net.minecraft.world.item.crafting.Ingredient> ingredient) -
createEntry
-
getExampleDuplicationRecipes
public static Collection<net.minecraft.world.item.crafting.CraftingRecipe> getExampleDuplicationRecipes()
-