Class ProfessionDisplay
java.lang.Object
com.mrbysco.roughlyenoughprofessions.profession.ProfessionDisplay
- Direct Known Subclasses:
ProfessionDisplayFabric
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawEntry(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, double mouseX, double mouseY) List<net.minecraft.world.item.ItemStack> Get the ItemStacks that represent the blocks in the recipe.net.minecraft.network.chat.ComponentGet the profession name for display.net.minecraft.resources.IdentifierGet the profession name for the recipe.
-
Field Details
-
entry
-
-
Constructor Details
-
ProfessionDisplay
-
-
Method Details
-
getProfessionName
public net.minecraft.resources.Identifier getProfessionName()Get the profession name for the recipe.- Returns:
- the profession name for the recipe.
-
getDisplayName
public net.minecraft.network.chat.Component getDisplayName()Get the profession name for display.- Returns:
- the profession name for display.
-
getBlockStacks
Get the ItemStacks that represent the blocks in the recipe.- Returns:
- a list of ItemStacks for the blocks in the recipe.
-
drawEntry
public void drawEntry(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, double mouseX, double mouseY)
-