Class GoggleOverlayRenderer
java.lang.Object
com.simibubi.create.content.contraptions.goggles.GoggleOverlayRenderer
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic net.minecraft.core.BlockPosstatic final net.minecraftforge.client.gui.IIngameOverlay -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregisterCustomGoggleCondition(Supplier<Boolean> condition) Use this method to add custom entry points to the goggle overay, e.g.static voidrenderOverlay(net.minecraftforge.client.gui.ForgeIngameGui gui, com.mojang.blaze3d.vertex.PoseStack poseStack, float partialTicks, int width, int height)
-
Field Details
-
OVERLAY
public static final net.minecraftforge.client.gui.IIngameOverlay OVERLAY -
hoverTicks
public static int hoverTicks -
lastHovered
public static net.minecraft.core.BlockPos lastHovered
-
-
Constructor Details
-
GoggleOverlayRenderer
public GoggleOverlayRenderer()
-
-
Method Details
-
renderOverlay
public static void renderOverlay(net.minecraftforge.client.gui.ForgeIngameGui gui, com.mojang.blaze3d.vertex.PoseStack poseStack, float partialTicks, int width, int height) -
registerCustomGoggleCondition
Use this method to add custom entry points to the goggle overay, e.g. custom armor, handheld alternatives, etc.
-