Package foundry.veil.impl.client.editor
Class TextureInspector
java.lang.Object
foundry.veil.api.client.editor.SingleWindowInspector
foundry.veil.impl.client.editor.TextureInspector
- All Implemented Interfaces:
Inspector,AutoCloseable,org.lwjgl.system.NativeResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.network.chat.Componentstatic final net.minecraft.network.chat.Componentstatic final net.minecraft.network.chat.Componentstatic final net.minecraft.network.chat.Componentstatic final net.minecraft.network.chat.Componentstatic final net.minecraft.network.chat.ComponentFields 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
Modifier and TypeMethodDescriptionnet.minecraft.network.chat.Componentnet.minecraft.network.chat.ComponentgetGroup()booleanvoidonHide()Called when this editor is no longer open.voidrender()Renders this editor to the screen.protected voidAdds all components inside the window.voidCalled just before the imgui state is drawn to the screenvoidRenders elements into the menu bar.Methods inherited from class foundry.veil.api.client.editor.SingleWindowInspector
getWindowTitle, onShowMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.lwjgl.system.NativeResource
close
-
Field Details
-
TITLE
public static final net.minecraft.network.chat.Component TITLE -
DOWNLOAD
public static final net.minecraft.network.chat.Component DOWNLOAD -
POP_OUT
public static final net.minecraft.network.chat.Component POP_OUT -
FLIP_X
public static final net.minecraft.network.chat.Component FLIP_X -
FLIP_Y
public static final net.minecraft.network.chat.Component FLIP_Y -
NO_TEXTURE
public static final net.minecraft.network.chat.Component NO_TEXTURE
-
-
Constructor Details
-
TextureInspector
public TextureInspector()
-
-
Method Details
-
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:SingleWindowInspectorAdds all components inside the window.- Specified by:
renderComponentsin classSingleWindowInspector
-
render
public void render()Description copied from interface:InspectorRenders this editor to the screen.- Specified by:
renderin interfaceInspector- Overrides:
renderin classSingleWindowInspector
-
renderLast
public void renderLast()Description copied from interface:InspectorCalled just before the imgui state is drawn to the screen -
renderMenuBar
public void renderMenuBar()Description copied from interface:InspectorRenders elements into the menu bar. Only called ifInspector.isMenuBarEnabled()istrue. -
isMenuBarEnabled
public boolean isMenuBarEnabled()- Returns:
- Whether this editor should draw into the menu bar
-
onHide
public void onHide()Description copied from interface:InspectorCalled when this editor is no longer open.
-