Class PonderTag

java.lang.Object
net.createmod.ponder.foundation.PonderTag
All Implemented Interfaces:
net.createmod.catnip.gui.element.ScreenElement

public class PonderTag extends Object implements net.createmod.catnip.gui.element.ScreenElement
  • Constructor Details

    • PonderTag

      public PonderTag(net.minecraft.resources.ResourceLocation id)
  • Method Details

    • getId

      public net.minecraft.resources.ResourceLocation getId()
    • getMainItem

      public net.minecraft.world.item.ItemStack getMainItem()
    • getTitle

      public String getTitle()
    • getDescription

      public String getDescription()
    • defaultLang

      public PonderTag defaultLang(String title, String description)
    • addToIndex

      public PonderTag addToIndex()
    • icon

      public PonderTag icon(net.minecraft.resources.ResourceLocation location)
    • icon

      public PonderTag icon(String location)
    • idAsIcon

      public PonderTag idAsIcon()
    • item

      public PonderTag item(net.minecraft.world.level.ItemLike item, boolean useAsIcon, boolean useAsMainItem)
    • item

      public PonderTag item(net.minecraft.world.level.ItemLike item)
    • render

      public void render(com.mojang.blaze3d.vertex.PoseStack ms, int x, int y)
      Specified by:
      render in interface net.createmod.catnip.gui.element.ScreenElement
    • create

      protected static PonderTag create(String namespace, String id)
    • register

      public static void register()