Package foundry.veil.impl.client.editor
Class OpenCLEditor
java.lang.Object
foundry.veil.api.client.editor.SingleWindowEditor
foundry.veil.impl.client.editor.OpenCLEditor
- All Implemented Interfaces:
Editor,AutoCloseable,org.lwjgl.system.NativeResource
-
Field Summary
FieldsFields inherited from class foundry.veil.api.client.editor.SingleWindowEditor
openFields inherited from interface foundry.veil.api.client.editor.Editor
DEFAULT_GROUP, DEFERRED_GROUP, EXAMPLE_GROUP, INFO_GROUP, RENDERER_GROUP, RESOURCE_GROUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfree()Frees any resources allocated by this editor before being destroyed.net.minecraft.network.chat.Componentnet.minecraft.network.chat.ComponentgetGroup()voidonHide()Called when this editor is no longer open.voidrender()Renders this editor to the screen.protected voidAdds all components inside the window.Methods inherited from class foundry.veil.api.client.editor.SingleWindowEditor
getWindowTitle, onShowMethods 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.Editor
isEnabled, isMenuBarEnabled, isOpen, renderLast, renderMenuBarMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Field Details
-
TITLE
public static final net.minecraft.network.chat.Component TITLE
-
-
Constructor Details
-
OpenCLEditor
public OpenCLEditor()
-
-
Method Details
-
renderComponents
protected void renderComponents()Description copied from class:SingleWindowEditorAdds all components inside the window.- Specified by:
renderComponentsin classSingleWindowEditor
-
onHide
public void onHide()Description copied from interface:EditorCalled when this editor is no longer open. -
free
public void free()Description copied from interface:EditorFrees any resources allocated by this editor before being destroyed. -
render
public void render()Description copied from interface:EditorRenders this editor to the screen.- Specified by:
renderin interfaceEditor- Overrides:
renderin classSingleWindowEditor
-
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
-