Package foundry.veil.impl.client.editor
Class LightInspector
java.lang.Object
foundry.veil.api.client.editor.SingleWindowInspector
foundry.veil.impl.client.editor.LightInspector
- All Implemented Interfaces:
Inspector,AutoCloseable,org.lwjgl.system.NativeResource
-
Field Summary
FieldsFields inherited from class foundry.veil.api.client.editor.SingleWindowInspector
openFields inherited from interface foundry.veil.api.client.editor.Inspector
DEFAULT_GROUP, EXAMPLE_GROUP, INFO_GROUP, RENDERER_GROUP, RESOURCE_GROUP -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class foundry.veil.api.client.editor.SingleWindowInspector
getWindowTitle, renderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface foundry.veil.api.client.editor.Inspector
free, isMenuBarEnabled, isOpen, onHide, renderLast, renderMenuBarMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Field Details
-
TITLE
public static final net.minecraft.network.chat.Component TITLE
-
-
Constructor Details
-
LightInspector
public LightInspector()
-
-
Method Details
-
getDisplayName
public net.minecraft.network.chat.Component getDisplayName()- Returns:
- The visible display name of this editor
-
getGroup
@Nullable public @Nullable net.minecraft.network.chat.Component getGroup()- Returns:
- The name of the tab group to put this editor in
-
isEnabled
public boolean isEnabled()- Returns:
- Whether this editor should be selectable.
-
renderComponents
protected void renderComponents()Description copied from class:SingleWindowInspectorAdds all components inside the window.- Specified by:
renderComponentsin classSingleWindowInspector
-
onShow
public void onShow()Description copied from interface:InspectorCalled when this editor is first opened.- Specified by:
onShowin interfaceInspector- Overrides:
onShowin classSingleWindowInspector
-