Interface AEKeyRenderer<T,S>
public interface AEKeyRenderer<T,S>
-
Method Summary
Modifier and TypeMethodDescriptionvoiddrawInGui(net.minecraft.client.Minecraft minecraft, net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, int x, int y, T stack) Draw the stack, for example the item or the fluid sprite, but not the amount.voidDraw the representation of a key in-world on the face of a block.List<net.minecraft.network.chat.Component> getTooltip(T stack) Return the full tooltip, with the name of the stack and any additional lines.voidsubmit(com.mojang.blaze3d.vertex.PoseStack poseStack, S state, net.minecraft.client.renderer.SubmitNodeCollector nodes, int lightCoords) Draw the representation of a key in-world on the face of a block.
-
Method Details
-
drawInGui
void drawInGui(net.minecraft.client.Minecraft minecraft, net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, int x, int y, T stack) Draw the stack, for example the item or the fluid sprite, but not the amount. -
stateClass
-
createState
S createState()- Returns:
- Create state used for storing this handlers render state.
-
extract
-
submit
void submit(com.mojang.blaze3d.vertex.PoseStack poseStack, S state, net.minecraft.client.renderer.SubmitNodeCollector nodes, int lightCoords) Draw the representation of a key in-world on the face of a block. Used for displaying it on screens and monitors. -
getTooltip
-