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 Classes -
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) static voidregister()voidrender(com.mojang.blaze3d.vertex.PoseStack ms, 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(com.mojang.blaze3d.vertex.PoseStack ms, int x, int y) - Specified by:
renderin interfacenet.createmod.catnip.gui.element.ScreenElement
-
create
-
register
public static void register()
-