Class KeyEntryRenderEvent
java.lang.Object
net.neoforged.bus.api.Event
com.blamejared.controlling.api.events.KeyEntryRenderEvent
- All Implemented Interfaces:
IKeyEntryRenderEvent
public class KeyEntryRenderEvent
extends net.neoforged.bus.api.Event
implements IKeyEntryRenderEvent
RenderKeyEntryEvent is called at the top of
IKeyEntry.extractContent(GuiGraphicsExtractor, int, int, boolean, float)}
is called, allowing mods to render additional info.-
Constructor Summary
ConstructorsConstructorDescriptionKeyEntryRenderEvent(IKeyEntry entry, net.minecraft.client.gui.GuiGraphicsExtractor graphics, int x, int y, int rowLeft, int rowWidth, boolean hovered, float partialTicks) -
Method Summary
-
Constructor Details
-
KeyEntryRenderEvent
public KeyEntryRenderEvent(IKeyEntry entry, net.minecraft.client.gui.GuiGraphicsExtractor graphics, int x, int y, int rowLeft, int rowWidth, boolean hovered, float partialTicks)
-
-
Method Details
-
entry
- Specified by:
entryin interfaceIKeyEntryRenderEvent
-
graphics
public net.minecraft.client.gui.GuiGraphicsExtractor graphics()- Specified by:
graphicsin interfaceIKeyEntryRenderEvent
-
y
public int y()- Specified by:
yin interfaceIKeyEntryRenderEvent
-
x
public int x()- Specified by:
xin interfaceIKeyEntryRenderEvent
-
rowLeft
public int rowLeft()- Specified by:
rowLeftin interfaceIKeyEntryRenderEvent
-
rowWidth
public int rowWidth()- Specified by:
rowWidthin interfaceIKeyEntryRenderEvent
-
hovered
public boolean hovered()- Specified by:
hoveredin interfaceIKeyEntryRenderEvent
-
partialTicks
public float partialTicks()- Specified by:
partialTicksin interfaceIKeyEntryRenderEvent
-