Class WidgetUpgradeTab
java.lang.Object
org.cyclops.evilcraft.core.client.gui.container.WidgetTab
org.cyclops.evilcraft.client.gui.container.WidgetUpgradeTab
Tab for upgrades in guis.
-
Nested Class Summary
Nested Classes -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionWidgetUpgradeTab(net.minecraft.client.gui.screens.inventory.AbstractContainerScreen gui, WidgetUpgradeTab.SlotEnabledCallback slotEnabledCallback) -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawBackground(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y) Draw the tab.protected net.minecraft.resources.ResourceLocation
-
Constructor Details
-
WidgetUpgradeTab
public WidgetUpgradeTab(net.minecraft.client.gui.screens.inventory.AbstractContainerScreen gui, WidgetUpgradeTab.SlotEnabledCallback slotEnabledCallback)
-
-
Method Details
-
getResourceLocation
protected net.minecraft.resources.ResourceLocation getResourceLocation()- Specified by:
getResourceLocationin classWidgetTab
-
drawBackground
public void drawBackground(com.mojang.blaze3d.vertex.PoseStack matrixStack, int x, int y) Draw the tab.- Overrides:
drawBackgroundin classWidgetTab- Parameters:
matrixStack- The matrix stack.x- Origin X.y- Origin Y.
-