Package net.createmod.ponder.foundation
Class PonderTag
java.lang.Object
net.createmod.ponder.foundation.PonderTag
- All Implemented Interfaces:
net.createmod.catnip.gui.element.ScreenElement
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHighlight.ALL is a special PonderTag, used to indicate that all Tags for a certain Scene should be highlighted instead of selected single ones -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static PonderTagdefaultLang(String title, String description) net.minecraft.resources.ResourceLocationgetId()net.minecraft.world.item.ItemStackgetTitle()icon(net.minecraft.resources.ResourceLocation location) idAsIcon()item(net.minecraft.world.level.ItemLike item) item(net.minecraft.world.level.ItemLike item, boolean useAsIcon, boolean useAsMainItem) voidrender(net.minecraft.client.gui.GuiGraphics graphics, int x, int y)
-
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
-
getDescription
-
defaultLang
-
addToIndex
-
icon
-
icon
-
idAsIcon
-
item
public PonderTag item(net.minecraft.world.level.ItemLike item, boolean useAsIcon, boolean useAsMainItem) -
item
-
render
public void render(net.minecraft.client.gui.GuiGraphics graphics, int x, int y) - Specified by:
renderin interfacenet.createmod.catnip.gui.element.ScreenElement
-
create
-