Index
All Classes and Interfaces|All Packages
A
- AboutWindow - Class in net.lenni0451.imnbt.ui.windows
-
The window to show information about the program.
- AboutWindow(ImNbtDrawer) - Constructor for class net.lenni0451.imnbt.ui.windows.AboutWindow
- accept(A, B, C) - Method in interface net.lenni0451.imnbt.utils.TriConsumer
- addBoth(INbtTag, INbtTag, String, DiffType) - Method in class net.lenni0451.imnbt.utils.nbt.diff.DiffMap
-
Add a node to both sides and fill the parents and children.
- ADDED - Enum constant in enum class net.lenni0451.imnbt.utils.nbt.diff.DiffType
- addLeft(INbtTag, String, DiffType) - Method in class net.lenni0451.imnbt.utils.nbt.diff.DiffMap
-
Add a node to the left side and fill the parents and children.
- addRight(INbtTag, String, DiffType) - Method in class net.lenni0451.imnbt.utils.nbt.diff.DiffMap
-
Add a node to the right side and fill the parents and children.
- allTypes(BiConsumer<String, INbtTag>) - Method in class net.lenni0451.imnbt.ui.ContextMenu
-
Allow all types to be created.
- apply(A) - Method in interface net.lenni0451.imnbt.utils.ThrowingFunction
- ArrayUtils - Class in net.lenni0451.imnbt.utils
- ArrayUtils() - Constructor for class net.lenni0451.imnbt.utils.ArrayUtils
- asByte(String) - Static method in class net.lenni0451.imnbt.utils.NumberUtils
-
Try to parse a string to a byte.
- asDouble(String) - Static method in class net.lenni0451.imnbt.utils.NumberUtils
-
Try to parse a string to a double.
- asFloat(String) - Static method in class net.lenni0451.imnbt.utils.NumberUtils
-
Try to parse a string to a float.
- asInt(String) - Static method in class net.lenni0451.imnbt.utils.NumberUtils
-
Try to parse a string to an integer.
- asLong(String) - Static method in class net.lenni0451.imnbt.utils.NumberUtils
-
Try to parse a string to a long.
- asShort(String) - Static method in class net.lenni0451.imnbt.utils.NumberUtils
-
Try to parse a string to a short.
B
- BEDROCK - Enum constant in enum class net.lenni0451.imnbt.types.FormatType
- BIG_ENDIAN - Enum constant in enum class net.lenni0451.imnbt.types.EndianType
- build(NbtPath.IPathNode[]) - Static method in class net.lenni0451.imnbt.utils.nbt.NbtPath
-
Build a string path from an
NbtPath.IPathNodearray. - buildSearchPaths(INbtTag) - Method in class net.lenni0451.imnbt.ui.SearchProvider
-
Refresh the search with the given tag.
- BYTE_ARRAY_TRANSFORMS - Static variable in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- BYTE_TRANSFORMS - Static variable in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- ByteArrayTagRenderer - Class in net.lenni0451.imnbt.ui.nbt
-
The renderer for byte array tags.
- ByteArrayTagRenderer() - Constructor for class net.lenni0451.imnbt.ui.nbt.ByteArrayTagRenderer
- ByteTagRenderer - Class in net.lenni0451.imnbt.ui.nbt
-
The renderer for byte tags.
- ByteTagRenderer() - Constructor for class net.lenni0451.imnbt.ui.nbt.ByteTagRenderer
C
- calculateUV(int, int) - Static method in class net.lenni0451.imnbt.utils.ImageUtils
-
Calculate the UV for a texture.
- CHILD_CHANGED - Enum constant in enum class net.lenni0451.imnbt.utils.nbt.diff.DiffType
- chooseFile() - Method in class net.lenni0451.imnbt.ui.windows.MainWindow
- close() - Method in class net.lenni0451.imnbt.ui.types.Popup
-
Close this popup.
- close(ImNbtDrawer) - Static method in interface net.lenni0451.imnbt.ui.types.Popup.PopupCallback
-
Get a callback that closes the popup ignoring the result.
- closePopup() - Method in interface net.lenni0451.imnbt.ImNbtDrawer
-
Close the current popup window.
- Color - Class in net.lenni0451.imnbt.utils
-
A simple color class used for styling.
- Color(int, int, int) - Constructor for class net.lenni0451.imnbt.utils.Color
- Color(int, int, int, int) - Constructor for class net.lenni0451.imnbt.utils.Color
- COMPOUND_TRANSFORMS - Static variable in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- CompoundTagRenderer - Class in net.lenni0451.imnbt.ui.nbt
-
The renderer for compound tags.
- CompoundTagRenderer() - Constructor for class net.lenni0451.imnbt.ui.nbt.CompoundTagRenderer
- compressionType - Variable in class net.lenni0451.imnbt.TagSettings
-
The current compression type of the tag.
- CompressionType - Enum Class in net.lenni0451.imnbt.types
-
The compression type of the Nbt tag.
- ContextMenu - Class in net.lenni0451.imnbt.ui
-
A builder for the context menu when right clicking on a tag.
- copy(String, INbtTag) - Method in class net.lenni0451.imnbt.ui.ContextMenu
-
Allow the tag to be copied.
The tag is cloned before it is copied.
D
- delete(Runnable) - Method in class net.lenni0451.imnbt.ui.ContextMenu
-
Allow a tag to be deleted.
- diff(INbtTag, INbtTag) - Method in class net.lenni0451.imnbt.ui.windows.DiffWindow
- diff(INbtTag, INbtTag) - Static method in class net.lenni0451.imnbt.utils.nbt.diff.Differ
-
Diff the two given tags.
- Differ - Class in net.lenni0451.imnbt.utils.nbt.diff
-
A diff tool to generate a map of differences between two tags.
- Differ() - Constructor for class net.lenni0451.imnbt.utils.nbt.diff.Differ
- DiffMap - Class in net.lenni0451.imnbt.utils.nbt.diff
-
A map to store the diff result.
- DiffMap() - Constructor for class net.lenni0451.imnbt.utils.nbt.diff.DiffMap
- DiffType - Enum Class in net.lenni0451.imnbt.utils.nbt.diff
-
The types a tag node can have when being diffed.
- DiffWindow - Class in net.lenni0451.imnbt.ui.windows
-
The window to display the diff of two tags.
- DiffWindow(ImNbtDrawer) - Constructor for class net.lenni0451.imnbt.ui.windows.DiffWindow
- DOUBLE_TRANSFORMS - Static variable in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- DoubleTagRenderer - Class in net.lenni0451.imnbt.ui.nbt
-
The renderer for double tags.
- DoubleTagRenderer() - Constructor for class net.lenni0451.imnbt.ui.nbt.DoubleTagRenderer
- dragAndDrop(File, byte[]) - Method in class net.lenni0451.imnbt.ui.types.Window
-
Handle a file being dropped on the window.
- dragAndDrop(File, byte[]) - Method in class net.lenni0451.imnbt.ui.windows.MainWindow
- drawer - Variable in class net.lenni0451.imnbt.ui.types.Window
E
- edit(String, T, Consumer<String>, Consumer<T>) - Method in class net.lenni0451.imnbt.ui.ContextMenu
-
Allow editing the tag.
- EditTagPopup - Class in net.lenni0451.imnbt.ui.popups
-
A popup that allows the user to edit a tag.
- EditTagPopup(String, String, String, INbtTag, Popup.PopupCallback<EditTagPopup>) - Constructor for class net.lenni0451.imnbt.ui.popups.EditTagPopup
- endianType - Variable in class net.lenni0451.imnbt.TagSettings
-
The current endian type of the tag.
- EndianType - Enum Class in net.lenni0451.imnbt.types
-
The endian type of the Nbt tag.
- equals(Object) - Method in record class net.lenni0451.imnbt.utils.nbt.NbtPath.PathIndex
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.lenni0451.imnbt.utils.nbt.NbtPath.PathNode
-
Indicates whether some other object is "equal to" this one.
F
- findUniqueName(CompoundTag, String) - Static method in class net.lenni0451.imnbt.utils.nbt.TagUtils
-
Find a new unique name for a tag in a compound.
- FLOAT_TRANSFORMS - Static variable in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- FloatTagRenderer - Class in net.lenni0451.imnbt.ui.nbt
-
The renderer for float tags.
- FloatTagRenderer() - Constructor for class net.lenni0451.imnbt.ui.nbt.FloatTagRenderer
- FontHandler - Interface in net.lenni0451.imnbt
-
Only required to use ImNbt in a standalone application.
You probably don't need this. - format(Enum<?>) - Static method in class net.lenni0451.imnbt.utils.StringUtils
-
Format an enum value to a nice looking string.
Example: "TEST_ENUM" -> "Test Enum" - FormatDetector - Class in net.lenni0451.imnbt.utils.nbt
-
A crude format detector for Nbt files.
Only works sometimes but it's better than nothing. - FormatDetector(byte[]) - Constructor for class net.lenni0451.imnbt.utils.nbt.FormatDetector
- formatType - Variable in class net.lenni0451.imnbt.TagSettings
-
The current format of the tag.
- FormatType - Enum Class in net.lenni0451.imnbt.types
-
The format type of the Nbt tag.
G
- get(String, int) - Static method in class net.lenni0451.imnbt.utils.nbt.NbtPath
-
Get the new path of an array/list entry.
e.g. - get(String, String) - Static method in class net.lenni0451.imnbt.utils.nbt.NbtPath
-
Get the new path of a simple tag.
e.g. - get(String, String, int) - Static method in class net.lenni0451.imnbt.utils.nbt.NbtPath
-
Get the new path of an array/list entry with from a node.
e.g. - getA() - Method in class net.lenni0451.imnbt.utils.Color
-
Get the alpha value of the color.
- getABGR() - Method in class net.lenni0451.imnbt.utils.Color
-
Get the color as an ABGR int used by ImGui for styles.
- getAboutWindow() - Method in interface net.lenni0451.imnbt.ImNbtDrawer
-
Get the instance of the about window.
- getB() - Method in class net.lenni0451.imnbt.utils.Color
-
Get the blue value of the color.
- getCallback() - Method in class net.lenni0451.imnbt.ui.types.Popup
-
Get the callback of the popup.
- getClipboard() - Method in interface net.lenni0451.imnbt.ImNbtDrawer
- getColor() - Method in enum class net.lenni0451.imnbt.utils.nbt.diff.DiffType
- getCompressionType() - Method in class net.lenni0451.imnbt.utils.nbt.FormatDetector
- getCurrentScrollIndex() - Method in class net.lenni0451.imnbt.ui.SearchProvider
- getDiffWindow() - Method in interface net.lenni0451.imnbt.ImNbtDrawer
-
Get the instance of the diff window.
- getEndianType() - Method in class net.lenni0451.imnbt.utils.nbt.FormatDetector
- getFonts() - Method in interface net.lenni0451.imnbt.FontHandler
-
Get all fonts that are available.
- getFormatType() - Method in class net.lenni0451.imnbt.utils.nbt.FormatDetector
- getG() - Method in class net.lenni0451.imnbt.utils.Color
-
Get the green value of the color.
- getIconsTexture() - Method in interface net.lenni0451.imnbt.ImNbtDrawer
-
Get the texture id for the tag icons.
- getLeft(String) - Method in class net.lenni0451.imnbt.utils.nbt.diff.DiffMap
-
Get the diff type of a node on the left side.
- getLinesPerPage() - Method in interface net.lenni0451.imnbt.ImNbtDrawer
-
Get the amount of tags to display per page.
This is required for large array/list/compound tags to prevent the UI from freezing.
The default value is 500 - getMainWindow() - Method in interface net.lenni0451.imnbt.ImNbtDrawer
-
Get the instance of the main window.
- getName() - Method in class net.lenni0451.imnbt.ui.popups.EditTagPopup
- getNbtIO() - Method in enum class net.lenni0451.imnbt.types.FormatType
- getOpenedPage(String) - Method in class net.lenni0451.imnbt.ui.SearchProvider
-
Get the page which is required to show the scroll path.
- getOpenTab() - Method in class net.lenni0451.imnbt.ui.windows.MainWindow
- getParsedTag() - Method in class net.lenni0451.imnbt.ui.popups.snbt.SNbtParserPopup
- getPathCount() - Method in class net.lenni0451.imnbt.ui.SearchProvider
- getR() - Method in class net.lenni0451.imnbt.utils.Color
-
Get the red value of the color.
- getRight(String) - Method in class net.lenni0451.imnbt.utils.nbt.diff.DiffMap
-
Get the diff type of a node on the right side.
- getSelectedFont() - Method in interface net.lenni0451.imnbt.FontHandler
-
Get the currently selected font.
- getTabs() - Method in class net.lenni0451.imnbt.ui.windows.MainWindow
- getTag() - Method in class net.lenni0451.imnbt.ui.popups.EditTagPopup
- getTagRenderer(NbtType) - Static method in class net.lenni0451.imnbt.ui.NbtTreeRenderer
-
Get the renderer for a tag type.
- getTags(Map<String, INbtTag>, INbtTag, String) - Static method in class net.lenni0451.imnbt.utils.nbt.NbtPath
-
Get all tags with their path from an input tag.
Only useful when passing a list or compound tag. - getTagSettings() - Method in class net.lenni0451.imnbt.ui.popups.file.OpenFilePopup
- getTagSettings() - Method in class net.lenni0451.imnbt.ui.popups.file.SaveFilePopup
- getTitle() - Method in class net.lenni0451.imnbt.ui.types.Popup
-
Get the title of the popup.
- GUAVA - Static variable in class net.lenni0451.imnbt.utils.Licenses
- GZIP - Enum constant in enum class net.lenni0451.imnbt.types.CompressionType
H
- handleSearch(SearchProvider, String) - Method in interface net.lenni0451.imnbt.ui.types.TagRenderer
-
Render the search overlay for the tag and handle the scrolling.
- hasClipboard() - Method in interface net.lenni0451.imnbt.ImNbtDrawer
- hashCode() - Method in record class net.lenni0451.imnbt.utils.nbt.NbtPath.PathIndex
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.lenni0451.imnbt.utils.nbt.NbtPath.PathNode
-
Returns a hash code value for this object.
- hide() - Method in class net.lenni0451.imnbt.ui.types.Window
-
Hide this window and show the main window.
I
- ImageUtils - Class in net.lenni0451.imnbt.utils
- ImageUtils() - Constructor for class net.lenni0451.imnbt.utils.ImageUtils
- IMGUI - Static variable in class net.lenni0451.imnbt.utils.Licenses
- IMGUI_JAVA - Static variable in class net.lenni0451.imnbt.utils.Licenses
- IMNBT - Static variable in class net.lenni0451.imnbt.utils.Licenses
- ImNbtDrawer - Interface in net.lenni0451.imnbt
- index() - Method in record class net.lenni0451.imnbt.utils.nbt.NbtPath.PathIndex
-
Returns the value of the
indexrecord component. - insert(byte[], int, byte) - Static method in class net.lenni0451.imnbt.utils.ArrayUtils
-
Insert a byte into an array at the given index.
- insert(int[], int, int) - Static method in class net.lenni0451.imnbt.utils.ArrayUtils
-
Insert an int into an array at the given index.
- insert(long[], int, long) - Static method in class net.lenni0451.imnbt.utils.ArrayUtils
-
Insert a long into an array at the given index.
- INSTANCE - Static variable in class net.lenni0451.imnbt.utils.nbt.UnlimitedReadTracker
- INT_ARRAY_TRANSFORMS - Static variable in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- INT_TRANSFORMS - Static variable in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- IntArrayTagRenderer - Class in net.lenni0451.imnbt.ui.nbt
-
The renderer for int array tags.
- IntArrayTagRenderer() - Constructor for class net.lenni0451.imnbt.ui.nbt.IntArrayTagRenderer
- IntTagRenderer - Class in net.lenni0451.imnbt.ui.nbt
-
The renderer for int tags.
- IntTagRenderer() - Constructor for class net.lenni0451.imnbt.ui.nbt.IntTagRenderer
- isExpanded(String) - Method in class net.lenni0451.imnbt.ui.SearchProvider
-
Check if the given path is expanded.
- isSearched(String) - Method in class net.lenni0451.imnbt.ui.SearchProvider
-
Check if the given path is searched.
- isTargeted(String) - Method in class net.lenni0451.imnbt.ui.SearchProvider
-
Check if the given path is targeted.
The targeted path is the path which should be scrolled to.
J
- JAVA - Enum constant in enum class net.lenni0451.imnbt.types.FormatType
L
- Licenses - Class in net.lenni0451.imnbt.utils
-
A class holding all licenses for the libraries used in ImNbt.
- Licenses() - Constructor for class net.lenni0451.imnbt.utils.Licenses
- LIST_TRANSFORMS - Static variable in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- ListTagRenderer - Class in net.lenni0451.imnbt.ui.nbt
-
The renderer for list tags.
- ListTagRenderer() - Constructor for class net.lenni0451.imnbt.ui.nbt.ListTagRenderer
- LITTLE_ENDIAN - Enum constant in enum class net.lenni0451.imnbt.types.EndianType
- LONG_ARRAY_TRANSFORMS - Static variable in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- LONG_TRANSFORMS - Static variable in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- LongArrayTagRenderer - Class in net.lenni0451.imnbt.ui.nbt
-
The renderer for long array tags.
- LongArrayTagRenderer() - Constructor for class net.lenni0451.imnbt.ui.nbt.LongArrayTagRenderer
- LongTagRenderer - Class in net.lenni0451.imnbt.ui.nbt
-
The renderer for long tags.
- LongTagRenderer() - Constructor for class net.lenni0451.imnbt.ui.nbt.LongTagRenderer
- LWJGL - Static variable in class net.lenni0451.imnbt.utils.Licenses
M
- MainWindow - Class in net.lenni0451.imnbt.ui.windows
-
The main window of ImNbt.
- MainWindow(ImNbtDrawer, FontHandler) - Constructor for class net.lenni0451.imnbt.ui.windows.MainWindow
-
Create a new main window.
The font handler is required when using the font size menu. - MCSTRUCTS - Static variable in class net.lenni0451.imnbt.utils.Licenses
- MCSTRUCTS_BEDROCK - Static variable in class net.lenni0451.imnbt.utils.Licenses
- MessagePopup - Class in net.lenni0451.imnbt.ui.popups
-
A popup that shows a message and a button to close it.
- MessagePopup(String, String, Popup.PopupCallback<MessagePopup>) - Constructor for class net.lenni0451.imnbt.ui.popups.MessagePopup
N
- name() - Method in interface net.lenni0451.imnbt.utils.nbt.NbtPath.IPathNode
- name() - Method in record class net.lenni0451.imnbt.utils.nbt.NbtPath.PathIndex
- name() - Method in record class net.lenni0451.imnbt.utils.nbt.NbtPath.PathNode
-
Returns the value of the
namerecord component. - NAMES - Static variable in enum class net.lenni0451.imnbt.types.CompressionType
- NAMES - Static variable in enum class net.lenni0451.imnbt.types.EndianType
- NAMES - Static variable in enum class net.lenni0451.imnbt.types.FormatType
- NbtPath - Class in net.lenni0451.imnbt.utils.nbt
-
Utils to generate a unique path for a tag.
- NbtPath() - Constructor for class net.lenni0451.imnbt.utils.nbt.NbtPath
- NbtPath.IPathNode - Interface in net.lenni0451.imnbt.utils.nbt
-
A path node.
- NbtPath.PathIndex - Record Class in net.lenni0451.imnbt.utils.nbt
-
A path node with an index.
- NbtPath.PathNode - Record Class in net.lenni0451.imnbt.utils.nbt
-
A path node with a name.
- NbtTreeRenderer - Class in net.lenni0451.imnbt.ui
-
The renderer for the Nbt tree.
- NbtTreeRenderer() - Constructor for class net.lenni0451.imnbt.ui.NbtTreeRenderer
- net.lenni0451.imnbt - package net.lenni0451.imnbt
- net.lenni0451.imnbt.types - package net.lenni0451.imnbt.types
- net.lenni0451.imnbt.ui - package net.lenni0451.imnbt.ui
- net.lenni0451.imnbt.ui.nbt - package net.lenni0451.imnbt.ui.nbt
- net.lenni0451.imnbt.ui.popups - package net.lenni0451.imnbt.ui.popups
- net.lenni0451.imnbt.ui.popups.file - package net.lenni0451.imnbt.ui.popups.file
- net.lenni0451.imnbt.ui.popups.snbt - package net.lenni0451.imnbt.ui.popups.snbt
- net.lenni0451.imnbt.ui.types - package net.lenni0451.imnbt.ui.types
- net.lenni0451.imnbt.ui.windows - package net.lenni0451.imnbt.ui.windows
- net.lenni0451.imnbt.utils - package net.lenni0451.imnbt.utils
- net.lenni0451.imnbt.utils.nbt - package net.lenni0451.imnbt.utils.nbt
- net.lenni0451.imnbt.utils.nbt.diff - package net.lenni0451.imnbt.utils.nbt.diff
- NEXT - Enum constant in enum class net.lenni0451.imnbt.ui.SearchProvider.SearchDirection
- NO_COMPRESSION - Enum constant in enum class net.lenni0451.imnbt.types.CompressionType
- NumberUtils - Class in net.lenni0451.imnbt.utils
- NumberUtils() - Constructor for class net.lenni0451.imnbt.utils.NumberUtils
O
- onClose(P, boolean) - Method in interface net.lenni0451.imnbt.ui.types.Popup.PopupCallback
-
Handle the popup being closed.
- open() - Method in class net.lenni0451.imnbt.ui.types.Popup
-
Open this popup and close the current one.
- open(byte[], String) - Method in class net.lenni0451.imnbt.ui.windows.MainWindow
- OpenFilePopup - Class in net.lenni0451.imnbt.ui.popups.file
-
A popup to choose the settings when opening a tag.
- OpenFilePopup(byte[], Popup.PopupCallback<OpenFilePopup>) - Constructor for class net.lenni0451.imnbt.ui.popups.file.OpenFilePopup
- openPopup(Popup<?>) - Method in interface net.lenni0451.imnbt.ImNbtDrawer
-
Open a popup window on the screen.
This will close the current popup if there is one. - OPENSANS - Static variable in class net.lenni0451.imnbt.utils.Licenses
P
- parse(String) - Static method in class net.lenni0451.imnbt.utils.nbt.NbtPath
-
Parse the string path into an
NbtPath.IPathNodearray. - paste(BiConsumer<String, INbtTag>) - Method in class net.lenni0451.imnbt.ui.ContextMenu
-
Allow the clipboard to be pasted.
- PathIndex(int) - Constructor for record class net.lenni0451.imnbt.utils.nbt.NbtPath.PathIndex
-
Creates an instance of a
PathIndexrecord class. - PathNode(String) - Constructor for record class net.lenni0451.imnbt.utils.nbt.NbtPath.PathNode
-
Creates an instance of a
PathNoderecord class. - PNGDECODER - Static variable in class net.lenni0451.imnbt.utils.Licenses
- popDepth() - Method in class net.lenni0451.imnbt.utils.nbt.UnlimitedReadTracker
- Popup<P extends Popup<P>> - Class in net.lenni0451.imnbt.ui.types
-
A popup that can be shown.
There can only be one popup shown at a time. - Popup(String, Popup.PopupCallback<P>) - Constructor for class net.lenni0451.imnbt.ui.types.Popup
- Popup.PopupCallback<P> - Interface in net.lenni0451.imnbt.ui.types
-
Listener for when a popup is closed.
- PREVIOUS - Enum constant in enum class net.lenni0451.imnbt.ui.SearchProvider.SearchDirection
- pushDepth() - Method in class net.lenni0451.imnbt.utils.nbt.UnlimitedReadTracker
R
- read(int) - Method in class net.lenni0451.imnbt.utils.nbt.UnlimitedReadTracker
- readExtraData - Variable in class net.lenni0451.imnbt.TagSettings
-
If extra data after the root tag should be read.
This is only used when reading a tag. - refreshSearch() - Method in class net.lenni0451.imnbt.ui.SearchProvider
-
Refresh the search with the last used tag.
- remove(byte[], int) - Static method in class net.lenni0451.imnbt.utils.ArrayUtils
-
Remove a byte from an array at the given index.
- remove(int[], int) - Static method in class net.lenni0451.imnbt.utils.ArrayUtils
-
Remove an int from an array at the given index.
- remove(long[], int) - Static method in class net.lenni0451.imnbt.utils.ArrayUtils
-
Remove a long from an array at the given index.
- REMOVED - Enum constant in enum class net.lenni0451.imnbt.utils.nbt.diff.DiffType
- render() - Method in class net.lenni0451.imnbt.ui.ContextMenu
-
Render the context menu and handle the actions.
- render() - Method in class net.lenni0451.imnbt.ui.types.Window
-
Render the window content.
- render() - Method in class net.lenni0451.imnbt.ui.windows.AboutWindow
- render() - Method in class net.lenni0451.imnbt.ui.windows.DiffWindow
- render() - Method in class net.lenni0451.imnbt.ui.windows.MainWindow
- render(ImNbtDrawer) - Method in class net.lenni0451.imnbt.ui.types.Popup
-
Render the popup content.
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.ByteArrayTagRenderer
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.ByteTagRenderer
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.CompoundTagRenderer
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.DoubleTagRenderer
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.FloatTagRenderer
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.IntArrayTagRenderer
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.IntTagRenderer
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.ListTagRenderer
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.LongArrayTagRenderer
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.LongTagRenderer
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.ShortTagRenderer
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.StringTagRenderer
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Static method in class net.lenni0451.imnbt.ui.NbtTreeRenderer
-
Render the tag tree.
- render(ImNbtDrawer, Consumer<String>, BiConsumer<String, INbtTag>, Runnable, Function<String, Color>, SearchProvider, boolean, String, String, INbtTag) - Method in interface net.lenni0451.imnbt.ui.types.TagRenderer
-
Render the tree node for the tag.
- renderBranch(String, String, String, Runnable, Runnable, Function<String, Color>, SearchProvider) - Method in interface net.lenni0451.imnbt.ui.types.TagRenderer
-
Render a branch in the tree.
Used for array/list/compound tags. - renderContent(ImNbtDrawer) - Method in class net.lenni0451.imnbt.ui.popups.EditTagPopup
- renderContent(ImNbtDrawer) - Method in class net.lenni0451.imnbt.ui.popups.file.OpenFilePopup
- renderContent(ImNbtDrawer) - Method in class net.lenni0451.imnbt.ui.popups.file.SaveFilePopup
- renderContent(ImNbtDrawer) - Method in class net.lenni0451.imnbt.ui.popups.MessagePopup
- renderContent(ImNbtDrawer) - Method in class net.lenni0451.imnbt.ui.popups.snbt.SNbtParserPopup
- renderContent(ImNbtDrawer) - Method in class net.lenni0451.imnbt.ui.popups.snbt.SNbtSerializerPopup
- renderContent(ImNbtDrawer) - Method in class net.lenni0451.imnbt.ui.types.Popup
-
Render the popup content.
- renderIcon(ImNbtDrawer, ImVec2, NbtType) - Static method in class net.lenni0451.imnbt.ui.NbtTreeRenderer
-
Render the icon for a tag type.
The size is based on the font size. - renderIcon(ImNbtDrawer, NbtType) - Method in interface net.lenni0451.imnbt.ui.types.TagRenderer
-
Render the icon for the tag.
- renderLeaf(String, String, String, Runnable, Function<String, Color>, SearchProvider) - Method in interface net.lenni0451.imnbt.ui.types.TagRenderer
-
Render a leaf in the tree.
Used for primitive tags. - renderValueEditor(INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.ByteArrayTagRenderer
- renderValueEditor(INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.ByteTagRenderer
- renderValueEditor(INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.CompoundTagRenderer
- renderValueEditor(INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.DoubleTagRenderer
- renderValueEditor(INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.FloatTagRenderer
- renderValueEditor(INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.IntArrayTagRenderer
- renderValueEditor(INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.IntTagRenderer
- renderValueEditor(INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.ListTagRenderer
- renderValueEditor(INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.LongArrayTagRenderer
- renderValueEditor(INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.LongTagRenderer
- renderValueEditor(INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.ShortTagRenderer
- renderValueEditor(INbtTag) - Method in class net.lenni0451.imnbt.ui.nbt.StringTagRenderer
- renderValueEditor(INbtTag) - Method in interface net.lenni0451.imnbt.ui.types.TagRenderer
-
Render the value editor for the tag.
- rootName - Variable in class net.lenni0451.imnbt.TagSettings
-
The name of the root tag.
S
- saveFile() - Method in class net.lenni0451.imnbt.ui.windows.MainWindow
- SaveFilePopup - Class in net.lenni0451.imnbt.ui.popups.file
-
A popup to choose the settings when saving a tag.
- SaveFilePopup(TagSettings, Popup.PopupCallback<SaveFilePopup>) - Constructor for class net.lenni0451.imnbt.ui.popups.file.SaveFilePopup
- SearchProvider - Class in net.lenni0451.imnbt.ui
-
A provider to search for tag names and content.
- SearchProvider(ImNbtDrawer) - Constructor for class net.lenni0451.imnbt.ui.SearchProvider
- SearchProvider.SearchDirection - Enum Class in net.lenni0451.imnbt.ui
- SERIALIZER_NAMES - Static variable in class net.lenni0451.imnbt.utils.nbt.SNbtUtils
- SERIALIZERS - Static variable in class net.lenni0451.imnbt.utils.nbt.SNbtUtils
- setClipboard(NamedTag) - Method in interface net.lenni0451.imnbt.ImNbtDrawer
-
Set the clipboard to the given tag.
- setDoScroll(SearchProvider.SearchDirection) - Method in class net.lenni0451.imnbt.ui.SearchProvider
-
Set the scroll position to the next or previous searched path.
- setSearch(String) - Method in class net.lenni0451.imnbt.ui.SearchProvider
-
Set the current search string.
This does not refresh the search, useSearchProvider.refreshSearch()for that. - setSelectedFont(int) - Method in interface net.lenni0451.imnbt.FontHandler
-
Get the font size.
- SHORT_TRANSFORMS - Static variable in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- ShortTagRenderer - Class in net.lenni0451.imnbt.ui.nbt
-
The renderer for short tags.
- ShortTagRenderer() - Constructor for class net.lenni0451.imnbt.ui.nbt.ShortTagRenderer
- shouldDoScroll(String) - Method in class net.lenni0451.imnbt.ui.SearchProvider
-
Check if the given path should be scrolled to.
- show() - Method in class net.lenni0451.imnbt.ui.types.Window
-
Show this window and hide the current one.
- showOpenFileDialog(String) - Method in interface net.lenni0451.imnbt.ImNbtDrawer
-
Show an open file dialog.
Only one file should be selectable.
Returnnullif the dialog was canceled. - showSaveFileDialog(String) - Method in interface net.lenni0451.imnbt.ImNbtDrawer
-
Show a save file dialog.
Returnnullif the dialog was canceled. - showWindow(Window) - Method in interface net.lenni0451.imnbt.ImNbtDrawer
-
Open a window to draw it on the screen.
This will close the current window if there is one. - singleType(NbtType, BiConsumer<String, INbtTag>) - Method in class net.lenni0451.imnbt.ui.ContextMenu
-
Allow only a single type to be created.
- sNbtParser(Supplier<INbtTag>) - Method in class net.lenni0451.imnbt.ui.ContextMenu
-
Allow a tag to be serialized to SNbt.
- SNbtParserPopup - Class in net.lenni0451.imnbt.ui.popups.snbt
-
A popup to parse SNbt to a tag.
- SNbtParserPopup(Popup.PopupCallback<SNbtParserPopup>) - Constructor for class net.lenni0451.imnbt.ui.popups.snbt.SNbtParserPopup
- SNbtSerializerPopup - Class in net.lenni0451.imnbt.ui.popups.snbt
-
A popup to serialize a tag to SNbt.
- SNbtSerializerPopup(INbtTag, Popup.PopupCallback<SNbtSerializerPopup>) - Constructor for class net.lenni0451.imnbt.ui.popups.snbt.SNbtSerializerPopup
- SNbtUtils - Class in net.lenni0451.imnbt.utils.nbt
- SNbtUtils() - Constructor for class net.lenni0451.imnbt.utils.nbt.SNbtUtils
- split(String) - Static method in class net.lenni0451.imnbt.utils.nbt.NbtPath
-
Split a string path into a string array.
- start(ImNbtDrawer) - Static method in class net.lenni0451.imnbt.ui.ContextMenu
- STRING_TRANSFORMS - Static variable in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- StringTagRenderer - Class in net.lenni0451.imnbt.ui.nbt
-
The renderer for string tags.
- StringTagRenderer() - Constructor for class net.lenni0451.imnbt.ui.nbt.StringTagRenderer
- StringUtils - Class in net.lenni0451.imnbt.utils
- StringUtils() - Constructor for class net.lenni0451.imnbt.utils.StringUtils
T
- TagRenderer - Interface in net.lenni0451.imnbt.ui.types
-
The renderer for a tag type.
- TagSettings - Class in net.lenni0451.imnbt
-
The
TagSettings.formatType,TagSettings.endianTypeandTagSettings.compressionTypeare only used to select default values when saving a tag.
If a tag is newly created, the default values are used when showing the save dialog. - TagSettings() - Constructor for class net.lenni0451.imnbt.TagSettings
- TagTransformer - Class in net.lenni0451.imnbt.utils.nbt
- TagTransformer() - Constructor for class net.lenni0451.imnbt.utils.nbt.TagTransformer
- TagUtils - Class in net.lenni0451.imnbt.utils.nbt
- TagUtils() - Constructor for class net.lenni0451.imnbt.utils.nbt.TagUtils
- ThrowingFunction<A,
R> - Interface in net.lenni0451.imnbt.utils -
A function that can throw an exception.
- toString() - Method in class net.lenni0451.imnbt.utils.nbt.diff.DiffMap
- toString() - Method in record class net.lenni0451.imnbt.utils.nbt.NbtPath.PathIndex
-
Returns a string representation of this record class.
- toString() - Method in record class net.lenni0451.imnbt.utils.nbt.NbtPath.PathNode
-
Returns a string representation of this record class.
- transform(Consumer<NbtType>, NbtType...) - Method in class net.lenni0451.imnbt.ui.ContextMenu
-
Allow transforming the tag into another type.
- transform(ImNbtDrawer, String, ByteArrayTag, BiConsumer<String, INbtTag>) - Static method in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- transform(ImNbtDrawer, String, ByteTag, BiConsumer<String, INbtTag>) - Static method in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- transform(ImNbtDrawer, String, CompoundTag, BiConsumer<String, INbtTag>) - Static method in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- transform(ImNbtDrawer, String, DoubleTag, BiConsumer<String, INbtTag>) - Static method in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- transform(ImNbtDrawer, String, FloatTag, BiConsumer<String, INbtTag>) - Static method in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- transform(ImNbtDrawer, String, IntArrayTag, BiConsumer<String, INbtTag>) - Static method in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- transform(ImNbtDrawer, String, IntTag, BiConsumer<String, INbtTag>) - Static method in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- transform(ImNbtDrawer, String, ListTag<?>, BiConsumer<String, INbtTag>) - Static method in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- transform(ImNbtDrawer, String, LongArrayTag, BiConsumer<String, INbtTag>) - Static method in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- transform(ImNbtDrawer, String, LongTag, BiConsumer<String, INbtTag>) - Static method in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- transform(ImNbtDrawer, String, ShortTag, BiConsumer<String, INbtTag>) - Static method in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- transform(ImNbtDrawer, String, StringTag, BiConsumer<String, INbtTag>) - Static method in class net.lenni0451.imnbt.utils.nbt.TagTransformer
- TriConsumer<A,
B, C> - Interface in net.lenni0451.imnbt.utils -
A consumer consuming three arguments.
- TYPE_CHANGED - Enum constant in enum class net.lenni0451.imnbt.utils.nbt.diff.DiffType
U
- UNCHANGED - Enum constant in enum class net.lenni0451.imnbt.utils.nbt.diff.DiffType
- UnlimitedReadTracker - Class in net.lenni0451.imnbt.utils.nbt
-
A
NbtReadTrackerthat does not limit the amount of tags that can be read.
MCStructs containsNbtReadTracker.unlimited()which is similar but still limits the depth of a tag.
V
- VALUE_CHANGED - Enum constant in enum class net.lenni0451.imnbt.utils.nbt.diff.DiffType
- valueOf(String) - Static method in enum class net.lenni0451.imnbt.types.CompressionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.lenni0451.imnbt.types.EndianType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.lenni0451.imnbt.types.FormatType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.lenni0451.imnbt.ui.SearchProvider.SearchDirection
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.lenni0451.imnbt.utils.nbt.diff.DiffType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.lenni0451.imnbt.types.CompressionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.lenni0451.imnbt.types.EndianType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.lenni0451.imnbt.types.FormatType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.lenni0451.imnbt.ui.SearchProvider.SearchDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.lenni0451.imnbt.utils.nbt.diff.DiffType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- Window - Class in net.lenni0451.imnbt.ui.types
-
A window that can be shown.
There can only be one window shown at a time. - Window(ImNbtDrawer) - Constructor for class net.lenni0451.imnbt.ui.types.Window
- wrap(InputStream) - Method in enum class net.lenni0451.imnbt.types.CompressionType
- wrap(InputStream) - Method in enum class net.lenni0451.imnbt.types.EndianType
- wrap(OutputStream) - Method in enum class net.lenni0451.imnbt.types.CompressionType
- wrap(OutputStream) - Method in enum class net.lenni0451.imnbt.types.EndianType
All Classes and Interfaces|All Packages