public class ComponentRenderEvent extends Event
GuiComponent renders using GuiComponent.render(IGameInstance, IAssetManager, IRenderer, int, int).
Cancelling it will result in the component not being rendered.| Modifier and Type | Field | Description |
|---|---|---|
GuiComponent |
component |
|
Gui |
gui |
|
int |
id |
| Constructor | Description |
|---|---|
ComponentRenderEvent(Gui gui,
int id,
GuiComponent component) |
public final Gui gui
public final int id
public final GuiComponent component
public ComponentRenderEvent(Gui gui, int id, GuiComponent component)