Package foundry.veil.impl.client.editor
Class DeviceInfoViewer
java.lang.Object
foundry.veil.api.client.editor.SingleWindowInspector
foundry.veil.impl.client.editor.DeviceInfoViewer
- All Implemented Interfaces:
Inspector
,AutoCloseable
,org.lwjgl.system.NativeResource
-
Field Summary
Fields inherited from class foundry.veil.api.client.editor.SingleWindowInspector
open
Fields inherited from interface foundry.veil.api.client.editor.Inspector
DEFAULT_GROUP, EXAMPLE_GROUP, INFO_GROUP, RENDERER_GROUP, RESOURCE_GROUP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.Component
net.minecraft.network.chat.Component
getGroup()
static net.minecraft.network.chat.Component
getShaderName
(int shader) void
render()
Renders this editor to the screen.protected void
Adds all components inside the window.Methods inherited from class foundry.veil.api.client.editor.SingleWindowInspector
getWindowTitle, onShow
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface foundry.veil.api.client.editor.Inspector
free, isEnabled, isMenuBarEnabled, isOpen, onHide, renderLast, renderMenuBar
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
Field Details
-
TITLE
public static final net.minecraft.network.chat.Component TITLE
-
-
Constructor Details
-
DeviceInfoViewer
public DeviceInfoViewer()
-
-
Method Details
-
getShaderName
public static net.minecraft.network.chat.Component getShaderName(int shader) -
getDisplayName
public net.minecraft.network.chat.Component getDisplayName()- Returns:
- The visible display name of this editor
-
getGroup
public net.minecraft.network.chat.Component getGroup()- Returns:
- The name of the tab group to put this editor in
-
renderComponents
protected void renderComponents()Description copied from class:SingleWindowInspector
Adds all components inside the window.- Specified by:
renderComponents
in classSingleWindowInspector
-
render
public void render()Description copied from interface:Inspector
Renders this editor to the screen.- Specified by:
render
in interfaceInspector
- Overrides:
render
in classSingleWindowInspector
-