Class ProfessionDisplay

java.lang.Object
com.mrbysco.roughlyenoughprofessions.profession.ProfessionDisplay

public class ProfessionDisplay extends Object
  • Field Details

  • Constructor Details

  • 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

      public List<net.minecraft.world.item.ItemStack> 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)