Package com.petrolpark.core.badge
Class Badge
java.lang.Object
com.petrolpark.core.badge.Badge
- All Implemented Interfaces:
net.minecraft.world.level.ItemLike
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasItem()booleanstatic Badgestatic BadgegetBadge(net.minecraft.resources.ResourceLocation id) net.minecraft.network.chat.Componentnet.minecraft.world.item.crafting.Ingredientnet.minecraft.world.item.crafting.CraftingRecipenet.minecraft.resources.ResourceLocationgetId()net.minecraft.network.chat.ComponentgetName()voidsetBadgeItem(com.tterrag.registrate.util.entry.ItemEntry<BadgeItem> entry) voidsetDuplicationItem(Supplier<net.minecraft.world.item.crafting.Ingredient> ingredient) voidsetId(net.minecraft.resources.ResourceLocation id)
-
Field Details
-
id
protected net.minecraft.resources.ResourceLocation id -
itemEntry
-
duplicationIngredient
-
-
Constructor Details
-
Badge
public Badge()
-
-
Method Details
-
setDuplicationItem
-
getDuplicationIngredient
@Nullable public net.minecraft.world.item.crafting.Ingredient getDuplicationIngredient() -
getExampleDuplicationRecipe
@Nullable public net.minecraft.world.item.crafting.CraftingRecipe getExampleDuplicationRecipe() -
setId
public void setId(net.minecraft.resources.ResourceLocation id) -
setBadgeItem
-
getName
public net.minecraft.network.chat.Component getName() -
getDescription
public net.minecraft.network.chat.Component getDescription() -
getId
public net.minecraft.resources.ResourceLocation getId() -
asItem
- Specified by:
asItemin interfacenet.minecraft.world.level.ItemLike
-
equals
-
getBadge
-
getBadge
-