mirror of
https://github.com/tr7zw/Item-NBT-API.git
synced 2026-11-13 20:32:00 -05:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f2f379860 | ||
|
|
7d422726cb | ||
|
|
32eead2ffa | ||
|
|
affa91700b | ||
|
|
4edca926c8 | ||
|
|
fac4c9645e | ||
|
|
fedbe8abbf | ||
|
|
484c7fc5f7 | ||
|
|
7dd63d09f9 | ||
|
|
0b16ba1322 | ||
|
|
c503b1c795 | ||
|
|
fbe545dc55 | ||
|
|
a71adde37a | ||
|
|
0b4e4a33e2 | ||
|
|
3589d03f43 | ||
|
|
af7484f129 | ||
|
|
3880cddc37 | ||
|
|
25ae561d7a | ||
|
|
6d93b6305c | ||
|
|
2d5502e98d | ||
|
|
8339236531 | ||
|
|
8d76b643fd | ||
|
|
4dcf549b2f | ||
|
|
8c4457a260 | ||
|
|
d774043aaa | ||
|
|
9c31c27780 | ||
|
|
9f2f0ab262 | ||
|
|
db3cbfee88 | ||
|
|
2d3574e903 | ||
|
|
3b7b81d122 | ||
|
|
d29f3350ca | ||
|
|
7c97b89f27 | ||
|
|
d230270260 | ||
|
|
ad88e77a26 | ||
|
|
b3fe163e7f | ||
|
|
728655d3ae | ||
|
|
c840cef609 | ||
|
|
1359ab4d32 | ||
|
|
de6d6e997f | ||
|
|
8d6ba14c37 | ||
|
|
15a48012d8 | ||
|
|
b705b7e227 | ||
|
|
020e21201b | ||
|
|
3690faee24 | ||
|
|
2999404f51 | ||
|
|
93de262738 | ||
|
|
7fb6f42a16 | ||
|
|
b326a2bdcb | ||
|
|
210c728df2 | ||
|
|
a6cf73580a | ||
|
|
a7af469c32 | ||
|
|
f3f02fe557 | ||
|
|
956db5d74a | ||
|
|
e822152b65 | ||
|
|
11e6e6c620 | ||
|
|
67709875e2 | ||
|
|
ed58902924 | ||
|
|
4dde60c0a6 | ||
|
|
5d4c8392cc | ||
|
|
3211d5c4ff | ||
|
|
5c39b36226 | ||
|
|
48b7932568 | ||
|
|
51b0296e50 | ||
|
|
e5cfd36350 | ||
|
|
d9634fc4a9 | ||
|
|
27eda51ba5 | ||
|
|
4f4f02f3a9 | ||
|
|
38b4d5ca2d | ||
|
|
bfebe76c0a | ||
|
|
39a983c3a5 | ||
|
|
b1caeb7365 | ||
|
|
027298235f | ||
|
|
6974cd5a2b | ||
|
|
8143e3d3b2 | ||
|
|
d7386ec4d1 | ||
|
|
956f3ff7c9 | ||
|
|
e958d7c097 | ||
|
|
493cbb321c | ||
|
|
998ce3a958 | ||
|
|
cadc79f304 | ||
|
|
f8af76faf4 | ||
|
|
be2c91057e | ||
|
|
f499253590 | ||
|
|
745df6bfe2 | ||
|
|
2d5d03b1e7 | ||
|
|
e4cfbbd26e | ||
|
|
3fb66aad40 | ||
|
|
50c7257373 | ||
|
|
e3058d4ce5 | ||
|
|
c489158f29 | ||
|
|
37c6bc9e6c | ||
|
|
053e0e51e4 | ||
|
|
7ccafb3ac9 | ||
|
|
0f9c04c659 | ||
|
|
38ec6b5146 | ||
|
|
29edbbd010 | ||
|
|
37050144a8 | ||
|
|
50fd7149ab | ||
|
|
58bbea97e3 | ||
|
|
34ab19662f | ||
|
|
718ebc7f06 | ||
|
|
4e6763a15e | ||
|
|
77628b42ff | ||
|
|
2bddf68b8a | ||
|
|
8e390856d1 | ||
|
|
31b518f64d | ||
|
|
e20ba82bd4 | ||
|
|
fee2c02d5f | ||
|
|
cff69b50a3 | ||
|
|
37f7642a87 | ||
|
|
8d5184f6d2 | ||
|
|
c4010866bc | ||
|
|
7ca99e7109 | ||
|
|
0b71af4de5 | ||
|
|
ff3fd6872b | ||
|
|
08a3027f26 | ||
|
|
4a4d26a9ec | ||
|
|
b8c0ac7e9c | ||
|
|
525c02b243 | ||
|
|
5524852918 | ||
|
|
92f4d8f6a9 | ||
|
|
4ef7fe2896 | ||
|
|
6d3a2f8c70 | ||
|
|
f991efdfed | ||
|
|
c2b61dd2d4 | ||
|
|
68ce82f878 | ||
|
|
e58782c4f8 | ||
|
|
21201dc06f | ||
|
|
3b28393b81 | ||
|
|
fcdc150900 | ||
|
|
2e56777e13 | ||
|
|
2dba049bcb | ||
|
|
e1321862ac | ||
|
|
a62b6329b1 | ||
|
|
2a97e723fb | ||
|
|
8499c91783 | ||
|
|
b916396ea6 | ||
|
|
56ae63007e | ||
|
|
2382aec144 | ||
|
|
248084ebe3 | ||
|
|
e745f49bb8 | ||
|
|
25e505c9a5 | ||
|
|
f55772dec6 | ||
|
|
0c2394084e | ||
|
|
2978b942b8 | ||
|
|
e9dfe70e06 | ||
|
|
83dbce0908 | ||
|
|
8452c6b7e0 | ||
|
|
ffd55d160c | ||
|
|
79f529c694 | ||
|
|
08f1197e0d | ||
|
|
d951c83466 | ||
|
|
73cef7c2c3 | ||
|
|
75bfea1871 | ||
|
|
4c69189e60 | ||
|
|
b94ad1c2d6 | ||
|
|
437bd7ee92 | ||
|
|
2164d63086 | ||
|
|
fa6eeb29ee | ||
|
|
cde6529905 | ||
|
|
bc20db1003 | ||
|
|
814205b332 | ||
|
|
a00ab7440e | ||
|
|
7ba193ce47 | ||
|
|
179b142803 | ||
|
|
bf59db7e11 | ||
|
|
f68c0b0357 | ||
|
|
46515c8724 | ||
|
|
485bfb13e7 | ||
|
|
a17b792b08 | ||
|
|
47670787f0 | ||
|
|
0385106a77 | ||
|
|
9c93319247 | ||
|
|
e3ac4d0da5 | ||
|
|
f5bffca69c | ||
|
|
c7c25b7f37 | ||
|
|
4eae5f3e1c | ||
|
|
1c8411ee54 | ||
|
|
40d23fb0f5 | ||
|
|
538fe3e974 | ||
|
|
f2b516c7de | ||
|
|
db2d032ab8 | ||
|
|
a1a62666c3 | ||
|
|
07c433fd15 | ||
|
|
d21f091230 | ||
|
|
2c7d14e448 | ||
|
|
8fdf10207b | ||
|
|
04dd24ba07 | ||
|
|
42a9e31532 | ||
|
|
74ba9fcc15 | ||
|
|
d6fb2f494c | ||
|
|
3cc10ade03 | ||
|
|
f709d204d6 | ||
|
|
740fc32332 | ||
|
|
f9e71ef82d | ||
|
|
1ddc9955e6 | ||
|
|
73adc850ad | ||
|
|
bd9d71b8bf | ||
|
|
9633a44785 | ||
|
|
fda4eaf341 | ||
|
|
2d4e5db3b9 | ||
|
|
cf8ae46b8a | ||
|
|
4e494b6457 | ||
|
|
4368af872f | ||
|
|
021994ed1f | ||
|
|
18082e610b | ||
|
|
2eed0e5591 | ||
|
|
7645fbb4bb | ||
|
|
aee4f5f513 | ||
|
|
0e90dd17d7 | ||
|
|
d58480a8ed | ||
|
|
850ddd852d | ||
|
|
5026b5b887 | ||
|
|
d4b810bd75 | ||
|
|
4f06f53541 | ||
|
|
1493f32caa | ||
|
|
136ec1d5fc | ||
|
|
35bfd9cbf9 | ||
|
|
58804323ef | ||
|
|
fa93851bec | ||
|
|
e584023026 | ||
|
|
17e0349cdd | ||
|
|
15128bb852 | ||
|
|
27bfeb9c47 | ||
|
|
bbdc9152ac | ||
|
|
eaa041d7b7 | ||
|
|
fca9e78b1b | ||
|
|
e277c67629 | ||
|
|
cf9a983231 | ||
|
|
01066f990b | ||
|
|
6a68f7f219 | ||
|
|
fe1605d944 | ||
|
|
70b593e338 | ||
|
|
1c8135f29a | ||
|
|
6c79f5ac7a | ||
|
|
12eda26763 | ||
|
|
ebd6e44729 | ||
|
|
bd6b3dc22b | ||
|
|
689c66f6a7 | ||
|
|
654c0f4c31 | ||
|
|
c80de011a0 | ||
|
|
2096cab041 | ||
|
|
4c7bf37103 | ||
|
|
4bb5a7ebee | ||
|
|
91198208fd | ||
|
|
1ec52ec80a | ||
|
|
95e47e41bd | ||
|
|
5a855939e9 | ||
|
|
87277ed801 | ||
|
|
16fd0c3934 | ||
|
|
ae4817ff86 | ||
|
|
f65fdf8950 | ||
|
|
a9438a4e31 | ||
|
|
0271807b5f | ||
|
|
574efc59e8 | ||
|
|
fac549cb0a | ||
|
|
b3456026ca | ||
|
|
9861724ee5 | ||
|
|
9d62f6923b | ||
|
|
2a4d34ef62 | ||
|
|
ff7f234184 | ||
|
|
cc40b199c5 | ||
|
|
b0bfe7cfc5 | ||
|
|
4445488ab2 | ||
|
|
883369db62 | ||
|
|
58a7f1b853 | ||
|
|
286062c2d7 | ||
|
|
535243d424 | ||
|
|
4694412eb3 | ||
|
|
931a811064 | ||
|
|
324aba64ee | ||
|
|
0f6ee075eb | ||
|
|
cacfaece2c | ||
|
|
970fa482be | ||
|
|
05b982d769 | ||
|
|
57ef0ac41d | ||
|
|
c2ce0f49eb | ||
|
|
dc3ce01a7f | ||
|
|
c2fef6a5da | ||
|
|
8cacee954b | ||
|
|
669ac3eec0 | ||
|
|
c5e4d21a00 | ||
|
|
2e1574faab | ||
|
|
c056b40b66 |
No files matched your search
@@ -1,4 +0,0 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
|
||||
custom: https://paypal.me/tr7zw
|
||||
@@ -1,17 +0,0 @@
|
||||
name: Java CI
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up JDK 1.8
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Build with Maven
|
||||
run: mvn --file pom.xml
|
||||
-104
@@ -1,104 +0,0 @@
|
||||
### Java files ###
|
||||
*.class
|
||||
|
||||
# Package Files
|
||||
*.jar
|
||||
*.war
|
||||
*.ear
|
||||
|
||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||
hs_err_pid*
|
||||
|
||||
|
||||
### Intellij ###
|
||||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm
|
||||
# Ignore project files
|
||||
*.iml
|
||||
|
||||
# Ignore IDEA directory
|
||||
.idea/*
|
||||
|
||||
# File-based project format:
|
||||
*.ipr
|
||||
*.iws
|
||||
|
||||
### Plugin-specific files: ###
|
||||
# IntelliJ
|
||||
/out/
|
||||
|
||||
# mpeltonen/sbt-idea plugin
|
||||
.idea_modules/
|
||||
|
||||
# JIRA plugin
|
||||
atlassian-ide-plugin.xml
|
||||
|
||||
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||
com_crashlytics_export_strings.xml
|
||||
crashlytics.properties
|
||||
crashlytics-build.properties
|
||||
|
||||
|
||||
### Eclipse ###
|
||||
*.pydevproject
|
||||
.metadata
|
||||
.gradle
|
||||
bin/
|
||||
tmp/
|
||||
*.tmp
|
||||
*.bak
|
||||
*.swp
|
||||
*~.nib
|
||||
local.properties
|
||||
.settings/
|
||||
.loadpath
|
||||
|
||||
# Eclipse Core
|
||||
.project
|
||||
|
||||
# External tool builders
|
||||
.externalToolBuilders/
|
||||
|
||||
# Locally stored "Eclipse launch configurations"
|
||||
*.launch
|
||||
|
||||
# CDT-specific
|
||||
.cproject
|
||||
|
||||
# JDT-specific (Eclipse Java Development Tools)
|
||||
.classpath
|
||||
|
||||
# PDT-specific
|
||||
.buildpath
|
||||
|
||||
# sbteclipse plugin
|
||||
.target
|
||||
|
||||
# TeXlipse plugin
|
||||
.texlipse
|
||||
|
||||
|
||||
### Maven ###
|
||||
target/
|
||||
pom.xml.tag
|
||||
pom.xml.releaseBackup
|
||||
pom.xml.versionsBackup
|
||||
pom.xml.next
|
||||
release.properties
|
||||
dependency-reduced-pom.xml
|
||||
buildNumber.properties
|
||||
|
||||
|
||||
### NetBeans ###
|
||||
nbproject/private/
|
||||
build/
|
||||
nbbuild/
|
||||
dist/
|
||||
nbdist/
|
||||
nbactions.xml
|
||||
nb-configuration.xml
|
||||
.nb-gradle/
|
||||
|
||||
|
||||
### Git ###
|
||||
# Don't exclude the .gitignore itself
|
||||
!.gitignore
|
||||
@@ -1,6 +0,0 @@
|
||||
language: java
|
||||
addons:
|
||||
sonarcloud:
|
||||
organization: "tr7zw-github"
|
||||
script:
|
||||
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar
|
||||
@@ -1,22 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 tr7zw
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
# Item-NBT-API
|
||||
Add custom NBT tags to Items without NMS!<br/>
|
||||
[Server Owner/Developer Wiki](https://github.com/tr7zw/Item-NBT-API/wiki)
|
||||
|
||||
### Build/Maven/Sonar Status
|
||||
[](https://ci.codemc.org/job/Tr7zw/job/Item-NBT-API/)[](https://sonarcloud.io/dashboard?id=de.tr7zw%3Aitem-nbt-parent)[](https://sonarcloud.io/dashboard?id=de.tr7zw%3Aitem-nbt-parent)[](https://sonarcloud.io/dashboard?id=de.tr7zw%3Aitem-nbt-parent)[](https://sonarcloud.io/dashboard?id=de.tr7zw%3Aitem-nbt-parent)
|
||||
|
||||
### SpigotMC Status
|
||||
[](https://www.spigotmc.org/resources/item-entity-tile-nbt-api.7939/)[](https://www.spigotmc.org/resources/item-entity-tile-nbt-api.7939/)[](https://www.spigotmc.org/resources/item-entity-tile-nbt-api.7939/)[](https://bstats.org/plugin/bukkit/ItemNBTAPI)[](https://bstats.org/plugin/bukkit/ItemNBTAPI)
|
||||
@@ -0,0 +1,9 @@
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="https://tr7zw.github.io/project/nbtapi/">
|
||||
<meta property="og:title" content="NBTAPI">
|
||||
<meta property="og:description" content="Add custom NBT tags to Items/Tiles/Entities without NMS!">
|
||||
<meta property="og:image" content="https://tr7zw.github.io/images/nbtapi-logo.png">
|
||||
<meta http-equiv="Refresh" content="0; url='https://tr7zw.github.io/project/nbtapi/'" />
|
||||
<script>
|
||||
window.location.href = "https://tr7zw.github.io/project/nbtapi/";
|
||||
</script>
|
||||
@@ -1,22 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 tr7zw
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>de.tr7zw</groupId>
|
||||
<artifactId>item-nbt-parent</artifactId>
|
||||
<version>2.2.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>item-nbt-api</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<build>
|
||||
<defaultGoal>clean install javadoc:javadoc</defaultGoal>
|
||||
</build>
|
||||
|
||||
</project>
|
||||
@@ -1,474 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Set;
|
||||
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod;
|
||||
|
||||
/**
|
||||
* Base class representing NMS Compounds. For a standalone implementation check
|
||||
* {@link NBTContainer}
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class NBTCompound {
|
||||
|
||||
private String compundName;
|
||||
private NBTCompound parent;
|
||||
|
||||
protected NBTCompound(NBTCompound owner, String name) {
|
||||
this.compundName = name;
|
||||
this.parent = owner;
|
||||
}
|
||||
|
||||
protected void saveCompound(){
|
||||
if(parent != null)
|
||||
parent.saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The Compound name
|
||||
*/
|
||||
public String getName() {
|
||||
return compundName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The NMS Compound behind this Object
|
||||
*/
|
||||
public Object getCompound() {
|
||||
return parent.getCompound();
|
||||
}
|
||||
|
||||
protected void setCompound(Object compound) {
|
||||
parent.setCompound(compound);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The parent Compound
|
||||
*/
|
||||
public NBTCompound getParent() {
|
||||
return parent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Merges all data from comp into this compound. This is done in one action, so
|
||||
* it also works with Tiles/Entities
|
||||
*
|
||||
* @param comp
|
||||
*/
|
||||
public void mergeCompound(NBTCompound comp) {
|
||||
NBTReflectionUtil.mergeOtherNBTCompound(this, comp);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
public void setString(String key, String value) {
|
||||
NBTReflectionUtil.setData(this, ReflectionMethod.COMPOUND_SET_STRING, key, value);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter
|
||||
*
|
||||
* @param key
|
||||
* @return The stored value or NMS fallback
|
||||
*/
|
||||
public String getString(String key) {
|
||||
return (String) NBTReflectionUtil.getData(this, ReflectionMethod.COMPOUND_GET_STRING, key);
|
||||
}
|
||||
|
||||
protected String getContent(String key) {
|
||||
return NBTReflectionUtil.getContent(this, key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
public void setInteger(String key, Integer value) {
|
||||
NBTReflectionUtil.setData(this, ReflectionMethod.COMPOUND_SET_INT, key, value);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter
|
||||
*
|
||||
* @param key
|
||||
* @return The stored value or NMS fallback
|
||||
*/
|
||||
public Integer getInteger(String key) {
|
||||
return (Integer) NBTReflectionUtil.getData(this, ReflectionMethod.COMPOUND_GET_INT, key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
public void setDouble(String key, Double value) {
|
||||
NBTReflectionUtil.setData(this, ReflectionMethod.COMPOUND_SET_DOUBLE, key, value);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter
|
||||
*
|
||||
* @param key
|
||||
* @return The stored value or NMS fallback
|
||||
*/
|
||||
public Double getDouble(String key) {
|
||||
return (Double) NBTReflectionUtil.getData(this, ReflectionMethod.COMPOUND_GET_DOUBLE, key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
public void setByte(String key, Byte value) {
|
||||
NBTReflectionUtil.setData(this, ReflectionMethod.COMPOUND_SET_BYTE, key, value);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter
|
||||
*
|
||||
* @param key
|
||||
* @return The stored value or NMS fallback
|
||||
*/
|
||||
public Byte getByte(String key) {
|
||||
return (Byte) NBTReflectionUtil.getData(this, ReflectionMethod.COMPOUND_GET_BYTE, key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
public void setShort(String key, Short value) {
|
||||
NBTReflectionUtil.setData(this, ReflectionMethod.COMPOUND_SET_SHORT, key, value);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter
|
||||
*
|
||||
* @param key
|
||||
* @return The stored value or NMS fallback
|
||||
*/
|
||||
public Short getShort(String key) {
|
||||
return (Short) NBTReflectionUtil.getData(this, ReflectionMethod.COMPOUND_GET_SHORT, key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
public void setLong(String key, Long value) {
|
||||
NBTReflectionUtil.setData(this, ReflectionMethod.COMPOUND_SET_LONG, key, value);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter
|
||||
*
|
||||
* @param key
|
||||
* @return The stored value or NMS fallback
|
||||
*/
|
||||
public Long getLong(String key) {
|
||||
return (Long) NBTReflectionUtil.getData(this, ReflectionMethod.COMPOUND_GET_LONG, key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
public void setFloat(String key, Float value) {
|
||||
NBTReflectionUtil.setData(this, ReflectionMethod.COMPOUND_SET_FLOAT, key, value);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter
|
||||
*
|
||||
* @param key
|
||||
* @return The stored value or NMS fallback
|
||||
*/
|
||||
public Float getFloat(String key) {
|
||||
return (Float) NBTReflectionUtil.getData(this, ReflectionMethod.COMPOUND_GET_FLOAT, key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
public void setByteArray(String key, byte[] value) {
|
||||
NBTReflectionUtil.setData(this, ReflectionMethod.COMPOUND_SET_BYTEARRAY, key, value);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter
|
||||
*
|
||||
* @param key
|
||||
* @return The stored value or NMS fallback
|
||||
*/
|
||||
public byte[] getByteArray(String key) {
|
||||
return (byte[]) NBTReflectionUtil.getData(this, ReflectionMethod.COMPOUND_GET_BYTEARRAY, key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
public void setIntArray(String key, int[] value) {
|
||||
NBTReflectionUtil.setData(this, ReflectionMethod.COMPOUND_SET_INTARRAY, key, value);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter
|
||||
*
|
||||
* @param key
|
||||
* @return The stored value or NMS fallback
|
||||
*/
|
||||
public int[] getIntArray(String key) {
|
||||
return (int[]) NBTReflectionUtil.getData(this, ReflectionMethod.COMPOUND_GET_INTARRAY, key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
public void setBoolean(String key, Boolean value) {
|
||||
NBTReflectionUtil.setData(this, ReflectionMethod.COMPOUND_SET_BOOLEAN, key, value);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
protected void set(String key, Object val) {
|
||||
NBTReflectionUtil.set(this, key, val);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter
|
||||
*
|
||||
* @param key
|
||||
* @return The stored value or NMS fallback
|
||||
*/
|
||||
public Boolean getBoolean(String key) {
|
||||
return (Boolean) NBTReflectionUtil.getData(this, ReflectionMethod.COMPOUND_GET_BOOLEAN, key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Uses Gson to store an {@link Serializable} Object
|
||||
*
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
public void setObject(String key, Object value) {
|
||||
NBTReflectionUtil.setObject(this, key, value);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* Uses Gson to retrieve a stored Object
|
||||
*
|
||||
* @param key
|
||||
* @param type Class of the Object
|
||||
* @return The created Object or null if empty
|
||||
*/
|
||||
public <T> T getObject(String key, Class<T> type) {
|
||||
return NBTReflectionUtil.getObject(this, key, type);
|
||||
}
|
||||
|
||||
/**
|
||||
* Save an ItemStack as a compound under a given key
|
||||
*
|
||||
* @param key
|
||||
* @param item
|
||||
*/
|
||||
public void setItemStack(String key, ItemStack item){
|
||||
removeKey(key);
|
||||
addCompound(key).mergeCompound(NBTItem.convertItemtoNBT(item));
|
||||
}
|
||||
|
||||
/**
|
||||
* Get an ItemStack that was saved at the given key
|
||||
*
|
||||
* @param key
|
||||
* @return
|
||||
*/
|
||||
public ItemStack getItemStack(String key){
|
||||
NBTCompound comp = getCompound(key);
|
||||
return NBTItem.convertNBTtoItem(comp);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param key
|
||||
* @return True if the key is set
|
||||
*/
|
||||
public Boolean hasKey(String key) {
|
||||
Boolean b = (Boolean) NBTReflectionUtil.getData(this, ReflectionMethod.COMPOUND_HAS_KEY, key);
|
||||
if (b == null)
|
||||
return false;
|
||||
return b;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param key Deletes the given Key
|
||||
*/
|
||||
public void removeKey(String key) {
|
||||
NBTReflectionUtil.remove(this, key);
|
||||
saveCompound();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Set of all stored Keys
|
||||
*/
|
||||
public Set<String> getKeys() {
|
||||
return NBTReflectionUtil.getKeys(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a subCompound
|
||||
*
|
||||
* @param name Key to use
|
||||
* @return The subCompound Object
|
||||
*/
|
||||
public NBTCompound addCompound(String name) {
|
||||
if (getType(name) == NBTType.NBTTagCompound)
|
||||
return getCompound(name);
|
||||
NBTReflectionUtil.addNBTTagCompound(this, name);
|
||||
NBTCompound comp = getCompound(name);
|
||||
if(comp == null)
|
||||
throw new NbtApiException("Error while adding Compound, got null!");
|
||||
saveCompound();
|
||||
return comp;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param name
|
||||
* @return The Compound instance or null
|
||||
*/
|
||||
public NBTCompound getCompound(String name) {
|
||||
if (getType(name) != NBTType.NBTTagCompound)
|
||||
return null;
|
||||
NBTCompound next = new NBTCompound(this, name);
|
||||
if (NBTReflectionUtil.valideCompound(next))
|
||||
return next;
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param name
|
||||
* @return The retrieved String List
|
||||
*/
|
||||
public NBTList<String> getStringList(String name) {
|
||||
NBTList<String> list = NBTReflectionUtil.getList(this, name, NBTType.NBTTagString, String.class);
|
||||
saveCompound();
|
||||
return list;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param name
|
||||
* @return The retrieved Integer List
|
||||
*/
|
||||
public NBTList<Integer> getIntegerList(String name) {
|
||||
NBTList<Integer> list = NBTReflectionUtil.getList(this, name, NBTType.NBTTagInt, Integer.class);
|
||||
saveCompound();
|
||||
return list;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param name
|
||||
* @return The retrieved Compound List
|
||||
*/
|
||||
public NBTCompoundList getCompoundList(String name) {
|
||||
NBTCompoundList list = (NBTCompoundList) NBTReflectionUtil.getList(this, name, NBTType.NBTTagCompound, NBTListCompound.class);
|
||||
saveCompound();
|
||||
return list;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param name
|
||||
* @return The type of the given stored key or null
|
||||
*/
|
||||
public NBTType getType(String name) {
|
||||
if (MinecraftVersion.getVersion() == MinecraftVersion.MC1_7_R4)
|
||||
return null;
|
||||
Object o = NBTReflectionUtil.getData(this, ReflectionMethod.COMPOUND_GET_TYPE, name);
|
||||
if (o == null)
|
||||
return null;
|
||||
return NBTType.valueOf((byte) o);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
/*StringBuilder result = new StringBuilder();
|
||||
for (String key : getKeys()) {
|
||||
result.append(toString(key));
|
||||
}
|
||||
return result.toString();*/
|
||||
return asNBTString();
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Just use toString()
|
||||
* @param key
|
||||
* @return A string representation of the given key
|
||||
*/
|
||||
@Deprecated
|
||||
public String toString(String key) {
|
||||
/*StringBuilder result = new StringBuilder();
|
||||
NBTCompound compound = this;
|
||||
while (compound.getParent() != null) {
|
||||
result.append(" ");
|
||||
compound = compound.getParent();
|
||||
}
|
||||
if (this.getType(key) == NBTType.NBTTagCompound) {
|
||||
return this.getCompound(key).toString();
|
||||
} else {
|
||||
return result + "-" + key + ": " + getContent(key) + System.lineSeparator();
|
||||
}*/
|
||||
return asNBTString();
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Just use toString()
|
||||
* @return A json valid nbt string for this Compound
|
||||
*/
|
||||
@Deprecated
|
||||
public String asNBTString() {
|
||||
Object comp = NBTReflectionUtil.gettoCompount(getCompound(), this);
|
||||
if (comp == null)
|
||||
return "{}";
|
||||
return comp.toString();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,108 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
import org.apache.commons.lang.NotImplementedException;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ClassWrapper;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod;
|
||||
|
||||
/**
|
||||
* {@link NBTListCompound} implementation for NBTLists
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class NBTCompoundList extends NBTList<NBTListCompound> {
|
||||
|
||||
protected NBTCompoundList(NBTCompound owner, String name, NBTType type, Object list) {
|
||||
super(owner, name, type, list);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a new Compound to the end of the List and returns it.
|
||||
*
|
||||
* @return The added {@link NBTListCompound}
|
||||
*/
|
||||
public NBTListCompound addCompound() {
|
||||
return (NBTListCompound) addCompound(null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a copy of the Compound to the end of the List and returns it.
|
||||
* When null is given, a new Compound will be created
|
||||
*
|
||||
* @param comp
|
||||
* @return
|
||||
*/
|
||||
public NBTCompound addCompound(NBTCompound comp) {
|
||||
try {
|
||||
Object compound = ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz().newInstance();
|
||||
if (MinecraftVersion.getVersion().getVersionId() >= MinecraftVersion.MC1_14_R1.getVersionId()) {
|
||||
ReflectionMethod.LIST_ADD.run(listObject, size(), compound);
|
||||
} else {
|
||||
ReflectionMethod.LEGACY_LIST_ADD.run(listObject, compound);
|
||||
}
|
||||
getParent().saveCompound();
|
||||
NBTListCompound listcomp = new NBTListCompound(this, compound);
|
||||
if(comp != null){
|
||||
listcomp.mergeCompound(comp);
|
||||
}
|
||||
return listcomp;
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a new Compound to the end of the List.
|
||||
*
|
||||
*
|
||||
* @deprecated Please use addCompound!
|
||||
* @param empty
|
||||
* @return True, if compound was added
|
||||
*/
|
||||
@Override
|
||||
@Deprecated
|
||||
public boolean add(NBTListCompound empty) {
|
||||
return addCompound(empty) != null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void add(int index, NBTListCompound element) {
|
||||
if (element != null) {
|
||||
throw new NotImplementedException("You need to pass null! ListCompounds from other lists won't work.");
|
||||
}
|
||||
try {
|
||||
Object compound = ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz().newInstance();
|
||||
if (MinecraftVersion.getVersion().getVersionId() >= MinecraftVersion.MC1_14_R1.getVersionId()) {
|
||||
ReflectionMethod.LIST_ADD.run(listObject, index, compound);
|
||||
} else {
|
||||
ReflectionMethod.LEGACY_LIST_ADD.run(listObject, compound);
|
||||
}
|
||||
super.getParent().saveCompound();
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public NBTListCompound get(int index) {
|
||||
try {
|
||||
Object compound = ReflectionMethod.LIST_GET_COMPOUND.run(listObject, index);
|
||||
return new NBTListCompound(this, compound);
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public NBTListCompound set(int index, NBTListCompound element) {
|
||||
throw new NotImplementedException("This method doesn't work in the ListCompound context.");
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Object asTag(NBTListCompound object) {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,60 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ObjectCreator;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod;
|
||||
|
||||
/**
|
||||
* A Standalone {@link NBTCompound} implementation. All data is just kept inside
|
||||
* this Object.
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class NBTContainer extends NBTCompound {
|
||||
|
||||
private Object nbt;
|
||||
|
||||
/**
|
||||
* Creates an empty, standalone NBTCompound
|
||||
*/
|
||||
public NBTContainer() {
|
||||
super(null, null);
|
||||
nbt = ObjectCreator.NMS_NBTTAGCOMPOUND.getInstance();
|
||||
}
|
||||
|
||||
/**
|
||||
* Takes in any NMS Compound to wrap it
|
||||
*
|
||||
* @param nbt
|
||||
*/
|
||||
public NBTContainer(Object nbt) {
|
||||
super(null, null);
|
||||
this.nbt = nbt;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parses in a NBT String to a standalone {@link NBTCompound}. Can throw a
|
||||
* {@link NbtApiException} in case something goes wrong.
|
||||
*
|
||||
* @param nbtString
|
||||
*/
|
||||
public NBTContainer(String nbtString) {
|
||||
super(null, null);
|
||||
try {
|
||||
nbt = ReflectionMethod.PARSE_NBT.run(null, nbtString);
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException("Unable to parse Malformed Json!", ex);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getCompound() {
|
||||
return nbt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setCompound(Object tag) {
|
||||
nbt = tag;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
import org.bukkit.entity.Entity;
|
||||
|
||||
/**
|
||||
* NBT class to access vanilla tags from Entities. Entities don't support custom
|
||||
* tags. Use the NBTInjector for custom tags. Changes will be instantly applied
|
||||
* to the Entity, use the merge method to do many things at once.
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class NBTEntity extends NBTCompound {
|
||||
|
||||
private final Entity ent;
|
||||
|
||||
/**
|
||||
* @param entity Any valid Bukkit Entity
|
||||
*/
|
||||
public NBTEntity(Entity entity) {
|
||||
super(null, null);
|
||||
ent = entity;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getCompound() {
|
||||
return NBTReflectionUtil.getEntityNBTTagCompound(NBTReflectionUtil.getNMSEntity(ent));
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setCompound(Object compound) {
|
||||
NBTReflectionUtil.setEntityNBTTag(compound, NBTReflectionUtil.getNMSEntity(ent));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,72 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ObjectCreator;
|
||||
|
||||
/**
|
||||
* {@link NBTCompound} implementation backed by a {@link File}
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class NBTFile extends NBTCompound {
|
||||
|
||||
private final File file;
|
||||
private Object nbt;
|
||||
|
||||
/**
|
||||
* Creates a NBTFile that uses @param file to store it's data. If this file
|
||||
* exists, the data will be loaded.
|
||||
*
|
||||
* @param file
|
||||
* @throws IOException
|
||||
*/
|
||||
public NBTFile(File file) throws IOException {
|
||||
super(null, null);
|
||||
this.file = file;
|
||||
if (file.exists()) {
|
||||
FileInputStream inputsteam = new FileInputStream(file);
|
||||
nbt = NBTReflectionUtil.readNBTFile(inputsteam);
|
||||
} else {
|
||||
nbt = ObjectCreator.NMS_NBTTAGCOMPOUND.getInstance();
|
||||
save();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Saves the data to the file
|
||||
*
|
||||
* @throws IOException
|
||||
*/
|
||||
public void save() throws IOException {
|
||||
if (!file.exists()) {
|
||||
file.getParentFile().mkdirs();
|
||||
if (!file.createNewFile())
|
||||
throw new IOException("Unable to create file at " + file.getAbsolutePath());
|
||||
}
|
||||
FileOutputStream outStream = new FileOutputStream(file);
|
||||
NBTReflectionUtil.saveNBTFile(nbt, outStream);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The File used to store the data
|
||||
*/
|
||||
public File getFile() {
|
||||
return file;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getCompound() {
|
||||
return nbt;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setCompound(Object compound) {
|
||||
nbt = compound;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,45 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ClassWrapper;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod;
|
||||
|
||||
/**
|
||||
* Integer implementation for NBTLists
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class NBTIntegerList extends NBTList<Integer> {
|
||||
|
||||
protected NBTIntegerList(NBTCompound owner, String name, NBTType type, Object list) {
|
||||
super(owner, name, type, list);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Object asTag(Integer object) {
|
||||
try {
|
||||
Constructor<?> con = ClassWrapper.NMS_NBTTAGINT.getClazz().getDeclaredConstructor(int.class);
|
||||
con.setAccessible(true);
|
||||
return con.newInstance(object);
|
||||
} catch (InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException
|
||||
| NoSuchMethodException | SecurityException e) {
|
||||
throw new NbtApiException("Error while wrapping the Object " + object + " to it's NMS object!", e);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Integer get(int index) {
|
||||
try {
|
||||
Object obj = ReflectionMethod.LIST_GET.run(listObject, index);
|
||||
return Integer.valueOf(obj.toString());
|
||||
} catch (NumberFormatException nf) {
|
||||
return 0;
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,86 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod;
|
||||
|
||||
/**
|
||||
* NBT class to access vanilla/custom tags on ItemStacks. This class doesn't
|
||||
* autosave to the Itemstack, use getItem to get the changed ItemStack
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class NBTItem extends NBTCompound {
|
||||
|
||||
private ItemStack bukkitItem;
|
||||
|
||||
/**
|
||||
* Constructor for NBTItems. The ItemStack will be cloned!
|
||||
*
|
||||
* @param item
|
||||
*/
|
||||
public NBTItem(ItemStack item) {
|
||||
super(null, null);
|
||||
if (item == null) {
|
||||
throw new NullPointerException("ItemStack can't be null!");
|
||||
}
|
||||
bukkitItem = item.clone();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getCompound() {
|
||||
return NBTReflectionUtil.getItemRootNBTTagCompound(ReflectionMethod.ITEMSTACK_NMSCOPY.run(null, bukkitItem));
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setCompound(Object compound) {
|
||||
Object stack = ReflectionMethod.ITEMSTACK_NMSCOPY.run(null, bukkitItem);
|
||||
ReflectionMethod.ITEMSTACK_SET_TAG.run(stack, compound);
|
||||
bukkitItem = (ItemStack) ReflectionMethod.ITEMSTACK_BUKKITMIRROR.run(null, stack);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The modified ItemStack
|
||||
*/
|
||||
public ItemStack getItem() {
|
||||
return bukkitItem;
|
||||
}
|
||||
|
||||
protected void setItem(ItemStack item) {
|
||||
bukkitItem = item;
|
||||
}
|
||||
|
||||
/**
|
||||
* This may return true even when the NBT is empty.
|
||||
*
|
||||
* @return Does the ItemStack have a NBTCompound.
|
||||
*/
|
||||
public boolean hasNBTData() {
|
||||
return getCompound() != null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper method that converts {@link ItemStack} to {@link NBTContainer} with
|
||||
* all it's data like Material, Damage, Amount and Tags.
|
||||
*
|
||||
* @param item
|
||||
* @return Standalone {@link NBTContainer} with the Item's data
|
||||
*/
|
||||
public static NBTContainer convertItemtoNBT(ItemStack item) {
|
||||
return NBTReflectionUtil.convertNMSItemtoNBTCompound(ReflectionMethod.ITEMSTACK_NMSCOPY.run(null, item));
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper method to do the inverse to "convertItemtoNBT". Creates an
|
||||
* {@link ItemStack} using the {@link NBTCompound}
|
||||
*
|
||||
* @param comp
|
||||
* @return ItemStack using the {@link NBTCompound}'s data
|
||||
*/
|
||||
public static ItemStack convertNBTtoItem(NBTCompound comp) {
|
||||
return (ItemStack) ReflectionMethod.ITEMSTACK_BUKKITMIRROR.run(null,
|
||||
NBTReflectionUtil.convertNBTCompoundtoNMSItem(comp));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,343 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.ListIterator;
|
||||
import java.util.NoSuchElementException;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod;
|
||||
|
||||
/**
|
||||
* Abstract List implementation for ListCompounds
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
* @param <T>
|
||||
*/
|
||||
public abstract class NBTList<T> implements List<T> {
|
||||
|
||||
private String listName;
|
||||
private NBTCompound parent;
|
||||
private NBTType type;
|
||||
protected Object listObject;
|
||||
|
||||
protected NBTList(NBTCompound owner, String name, NBTType type, Object list) {
|
||||
parent = owner;
|
||||
listName = name;
|
||||
this.type = type;
|
||||
this.listObject = list;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Name of this list-compound
|
||||
*/
|
||||
public String getName(){
|
||||
return listName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The Compound's parent Object
|
||||
*/
|
||||
public NBTCompound getParent() {
|
||||
return parent;
|
||||
}
|
||||
|
||||
protected void save() {
|
||||
parent.set(listName, listObject);
|
||||
}
|
||||
|
||||
protected abstract Object asTag(T object);
|
||||
|
||||
@Override
|
||||
public boolean add(T element) {
|
||||
try {
|
||||
if (MinecraftVersion.getVersion().getVersionId() >= MinecraftVersion.MC1_14_R1.getVersionId()) {
|
||||
ReflectionMethod.LIST_ADD.run(listObject, size(), asTag(element));
|
||||
} else {
|
||||
ReflectionMethod.LEGACY_LIST_ADD.run(listObject, asTag(element));
|
||||
}
|
||||
save();
|
||||
return true;
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void add(int index, T element) {
|
||||
try {
|
||||
if (MinecraftVersion.getVersion().getVersionId() >= MinecraftVersion.MC1_14_R1.getVersionId()) {
|
||||
ReflectionMethod.LIST_ADD.run(listObject, index, asTag(element));
|
||||
} else {
|
||||
ReflectionMethod.LEGACY_LIST_ADD.run(listObject, asTag(element));
|
||||
}
|
||||
save();
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public T set(int index, T element) {
|
||||
try {
|
||||
T prev = get(index);
|
||||
ReflectionMethod.LIST_SET.run(listObject, index, asTag(element));
|
||||
save();
|
||||
return prev;
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
public T remove(int i) {
|
||||
try {
|
||||
T old = get(i);
|
||||
ReflectionMethod.LIST_REMOVE_KEY.run(listObject, i);
|
||||
save();
|
||||
return old;
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
public int size() {
|
||||
try {
|
||||
return (int) ReflectionMethod.LIST_SIZE.run(listObject);
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The type that this list contains
|
||||
*/
|
||||
public NBTType getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return size() == 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clear() {
|
||||
while (!isEmpty()) {
|
||||
remove(0);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean contains(Object o) {
|
||||
for (int i = 0; i < size(); i++) {
|
||||
if (o.equals(get(i)))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int indexOf(Object o) {
|
||||
for (int i = 0; i < size(); i++) {
|
||||
if (o.equals(get(i)))
|
||||
return i;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean addAll(Collection<? extends T> c) {
|
||||
int size = size();
|
||||
for (T ele : c) {
|
||||
add(ele);
|
||||
}
|
||||
return size != size();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean addAll(int index, Collection<? extends T> c) {
|
||||
int size = size();
|
||||
for (T ele : c) {
|
||||
add(index++, ele);
|
||||
}
|
||||
return size != size();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean containsAll(Collection<?> c) {
|
||||
for (Object ele : c) {
|
||||
if (!contains(ele))
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int lastIndexOf(Object o) {
|
||||
int index = -1;
|
||||
for (int i = 0; i < size(); i++) {
|
||||
if (o.equals(get(i)))
|
||||
index = i;
|
||||
}
|
||||
return index;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean removeAll(Collection<?> c) {
|
||||
int size = size();
|
||||
for (Object obj : c) {
|
||||
remove(obj);
|
||||
}
|
||||
return size != size();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean retainAll(Collection<?> c) {
|
||||
int size = size();
|
||||
for (Object obj : c) {
|
||||
for (int i = 0; i < size(); i++) {
|
||||
if (!obj.equals(get(i))) {
|
||||
remove(i--);
|
||||
}
|
||||
}
|
||||
}
|
||||
return size != size();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean remove(Object o) {
|
||||
int size = size();
|
||||
int id = -1;
|
||||
while ((id = indexOf(o)) != -1) {
|
||||
remove(id);
|
||||
}
|
||||
return size != size();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Iterator<T> iterator() {
|
||||
return new Iterator<T>() {
|
||||
|
||||
private int index = -1;
|
||||
|
||||
@Override
|
||||
public boolean hasNext() {
|
||||
return size() > index + 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public T next() {
|
||||
if (!hasNext())
|
||||
throw new NoSuchElementException();
|
||||
return get(++index);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public ListIterator<T> listIterator() {
|
||||
return listIterator(0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ListIterator<T> listIterator(int startIndex) {
|
||||
final NBTList<T> list = this;
|
||||
return new ListIterator<T>() {
|
||||
|
||||
int index = startIndex - 1;
|
||||
|
||||
@Override
|
||||
public void add(T e) {
|
||||
list.add(index, e);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasNext() {
|
||||
return size() > index + 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasPrevious() {
|
||||
return index >= 0 && index <= size();
|
||||
}
|
||||
|
||||
@Override
|
||||
public T next() {
|
||||
if (!hasNext())
|
||||
throw new NoSuchElementException();
|
||||
return get(++index);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int nextIndex() {
|
||||
return index + 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public T previous() {
|
||||
if (!hasPrevious())
|
||||
throw new NoSuchElementException("Id: " + (index - 1));
|
||||
return get(index--);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int previousIndex() {
|
||||
return index - 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void remove() {
|
||||
list.remove(index);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void set(T e) {
|
||||
list.set(index, e);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object[] toArray() {
|
||||
Object[] ar = new Object[size()];
|
||||
for (int i = 0; i < size(); i++)
|
||||
ar[i] = get(i);
|
||||
return ar;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public <E> E[] toArray(E[] a) {
|
||||
E[] ar = Arrays.copyOf(a, size());
|
||||
Arrays.fill(ar, null);
|
||||
Class<?> arrayclass = a.getClass().getComponentType();
|
||||
for (int i = 0; i < size(); i++) {
|
||||
T obj = get(i);
|
||||
if (arrayclass.isInstance(obj)) {
|
||||
ar[i] = (E) get(i);
|
||||
} else {
|
||||
throw new ArrayStoreException("The array does not match the objects stored in the List.");
|
||||
}
|
||||
}
|
||||
return ar;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<T> subList(int fromIndex, int toIndex) {
|
||||
ArrayList<T> list = new ArrayList<>();
|
||||
for (int i = fromIndex; i < toIndex; i++)
|
||||
list.add(get(i));
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return listObject.toString();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
/**
|
||||
* Cut down version of the {@link NBTCompound} for inside
|
||||
* {@link NBTCompoundList} This Compound implementation is missing the ability
|
||||
* for further subCompounds and Lists. This class probably will change in the
|
||||
* future
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class NBTListCompound extends NBTCompound {
|
||||
|
||||
private NBTList<?> owner;
|
||||
private Object compound;
|
||||
|
||||
protected NBTListCompound(NBTList<?> parent, Object obj) {
|
||||
super(null, null);
|
||||
owner = parent;
|
||||
compound = obj;
|
||||
}
|
||||
|
||||
public NBTList<?> getListParent() {
|
||||
return owner;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getCompound() {
|
||||
return compound;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setCompound(Object compound) {
|
||||
this.compound = compound;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void saveCompound() {
|
||||
owner.save();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,499 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayDeque;
|
||||
import java.util.Deque;
|
||||
import java.util.Set;
|
||||
|
||||
import org.bukkit.block.BlockState;
|
||||
import org.bukkit.entity.Entity;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.utils.GsonWrapper;
|
||||
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ClassWrapper;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ObjectCreator;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod;
|
||||
|
||||
/**
|
||||
* Utility class for translating NBTApi calls to reflections into NMS code All
|
||||
* methods are allowed to throw {@link NbtApiException}
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class NBTReflectionUtil {
|
||||
|
||||
/**
|
||||
* Hidden constructor
|
||||
*/
|
||||
private NBTReflectionUtil() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the NMS Entity for a given Bukkit Entity
|
||||
*
|
||||
* @param entity Bukkit Entity
|
||||
* @return NMS Entity
|
||||
*/
|
||||
public static Object getNMSEntity(Entity entity) {
|
||||
try {
|
||||
return ReflectionMethod.CRAFT_ENTITY_GET_HANDLE.run(ClassWrapper.CRAFT_ENTITY.getClazz().cast(entity));
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while getting the NMS Entity from a Bukkit Entity!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Reads in a FileInputStream as NMS Compound
|
||||
*
|
||||
* @param stream InputStream of any NBT file
|
||||
* @return NMS Compound
|
||||
*/
|
||||
public static Object readNBTFile(FileInputStream stream) {
|
||||
try {
|
||||
return ReflectionMethod.NBTFILE_READ.run(null, stream);
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while reading a NBT File!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Writes a NMS Compound to a FileOutputStream
|
||||
*
|
||||
* @param nbt NMS Compound
|
||||
* @param stream Stream to write to
|
||||
* @return ???
|
||||
*/
|
||||
public static Object saveNBTFile(Object nbt, FileOutputStream stream) {
|
||||
try {
|
||||
return ReflectionMethod.NBTFILE_WRITE.run(null, nbt, stream);
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while saving a NBT File!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Simulates getOrCreateTag. If an Item doesn't yet have a Tag, it will return a
|
||||
* new empty tag.
|
||||
*
|
||||
* @param nmsitem
|
||||
* @return NMS Compound
|
||||
*/
|
||||
public static Object getItemRootNBTTagCompound(Object nmsitem) {
|
||||
try {
|
||||
Object answer = ReflectionMethod.NMSITEM_GETTAG.run(nmsitem);
|
||||
return answer != null ? answer : ObjectCreator.NMS_NBTTAGCOMPOUND.getInstance();
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while getting an Itemstack's NBTCompound!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts {@link NBTCompound} to NMS ItemStacks
|
||||
*
|
||||
* @param nbtcompound Any valid {@link NBTCompound}
|
||||
* @return NMS ItemStack
|
||||
*/
|
||||
public static Object convertNBTCompoundtoNMSItem(NBTCompound nbtcompound) {
|
||||
try {
|
||||
Object nmsComp = gettoCompount(nbtcompound.getCompound(), nbtcompound);
|
||||
if (MinecraftVersion.getVersion().getVersionId() >= MinecraftVersion.MC1_11_R1.getVersionId()) {
|
||||
return ObjectCreator.NMS_COMPOUNDFROMITEM.getInstance(nmsComp);
|
||||
} else {
|
||||
return ReflectionMethod.NMSITEM_CREATESTACK.run(null, nmsComp);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while converting NBTCompound to NMS ItemStack!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Converts NMS ItemStacks to {@link NBTContainer}
|
||||
*
|
||||
* @param nmsitem NMS ItemStack
|
||||
* @return {@link NBTContainer} with all the data
|
||||
*/
|
||||
public static NBTContainer convertNMSItemtoNBTCompound(Object nmsitem) {
|
||||
try {
|
||||
Object answer = ReflectionMethod.NMSITEM_SAVE.run(nmsitem, ObjectCreator.NMS_NBTTAGCOMPOUND.getInstance());
|
||||
return new NBTContainer(answer);
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while converting NMS ItemStack to NBTCompound!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Vanilla NBT Compound from a given NMS Entity
|
||||
*
|
||||
* @param nmsEntity
|
||||
* @return NMS NBT Compound
|
||||
*/
|
||||
public static Object getEntityNBTTagCompound(Object nmsEntity) {
|
||||
try {
|
||||
Object nbt = ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz().newInstance();
|
||||
Object answer = ReflectionMethod.NMS_ENTITY_GET_NBT.run(nmsEntity, nbt);
|
||||
if (answer == null)
|
||||
answer = nbt;
|
||||
return answer;
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while getting NBTCompound from NMS Entity!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads all Vanilla tags from a NMS Compound into a NMS Entity
|
||||
*
|
||||
* @param nbtTag
|
||||
* @param nmsEntity
|
||||
* @return The NMS Entity
|
||||
*/
|
||||
public static Object setEntityNBTTag(Object nbtTag, Object nmsEntity) {
|
||||
try {
|
||||
ReflectionMethod.NMS_ENTITY_SET_NBT.run(nmsEntity, nbtTag);
|
||||
return nmsEntity;
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException("Exception while setting the NBTCompound of an Entity", ex);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the NMS Compound from a given TileEntity
|
||||
*
|
||||
* @param tile
|
||||
* @return NMS Compound with the Vanilla data
|
||||
*/
|
||||
public static Object getTileEntityNBTTagCompound(BlockState tile) {
|
||||
try {
|
||||
Object pos = ObjectCreator.NMS_BLOCKPOSITION.getInstance(tile.getX(), tile.getY(), tile.getZ());
|
||||
Object cworld = ClassWrapper.CRAFT_WORLD.getClazz().cast(tile.getWorld());
|
||||
Object nmsworld = ReflectionMethod.CRAFT_WORLD_GET_HANDLE.run(cworld);
|
||||
Object o = ReflectionMethod.NMS_WORLD_GET_TILEENTITY.run(nmsworld, pos);
|
||||
Object tag = ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz().newInstance();
|
||||
Object answer = ReflectionMethod.TILEENTITY_GET_NBT.run(o, tag);
|
||||
if (answer == null)
|
||||
answer = tag;
|
||||
return answer;
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while getting NBTCompound from TileEntity!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets Vanilla tags from a NMS Compound to a TileEntity
|
||||
*
|
||||
* @param tile
|
||||
* @param comp
|
||||
*/
|
||||
public static void setTileEntityNBTTagCompound(BlockState tile, Object comp) {
|
||||
try {
|
||||
Object pos = ObjectCreator.NMS_BLOCKPOSITION.getInstance(tile.getX(), tile.getY(), tile.getZ());
|
||||
Object cworld = ClassWrapper.CRAFT_WORLD.getClazz().cast(tile.getWorld());
|
||||
Object nmsworld = ReflectionMethod.CRAFT_WORLD_GET_HANDLE.run(cworld);
|
||||
Object o = ReflectionMethod.NMS_WORLD_GET_TILEENTITY.run(nmsworld, pos);
|
||||
ReflectionMethod.TILEENTITY_SET_NBT.run(o, comp);
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while setting NBTData for a TileEntity!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the subCompound with a given name from a NMS Compound
|
||||
*
|
||||
* @param compound
|
||||
* @param name
|
||||
* @return NMS Compound or null
|
||||
*/
|
||||
public static Object getSubNBTTagCompound(Object compound, String name) {
|
||||
try {
|
||||
if ((boolean) ReflectionMethod.COMPOUND_HAS_KEY.run(compound, name)) {
|
||||
return ReflectionMethod.COMPOUND_GET_COMPOUND.run(compound, name);
|
||||
} else {
|
||||
throw new NbtApiException("Tried getting invalide compound '" + name + "' from '" + compound + "'!");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while getting NBT subcompounds!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a subCompound with a given name in the given NMS Compound
|
||||
*
|
||||
* @param comp
|
||||
* @param name
|
||||
*/
|
||||
public static void addNBTTagCompound(NBTCompound comp, String name) {
|
||||
if (name == null) {
|
||||
remove(comp, name);
|
||||
return;
|
||||
}
|
||||
Object nbttag = comp.getCompound();
|
||||
if (nbttag == null) {
|
||||
nbttag = ObjectCreator.NMS_NBTTAGCOMPOUND.getInstance();
|
||||
}
|
||||
if (!valideCompound(comp))
|
||||
return;
|
||||
Object workingtag = gettoCompount(nbttag, comp);
|
||||
try {
|
||||
ReflectionMethod.COMPOUND_SET.run(workingtag, name,
|
||||
ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz().newInstance());
|
||||
comp.setCompound(nbttag);
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while adding a Compound!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if the Compound is correctly linked to it's roots
|
||||
*
|
||||
* @param comp
|
||||
* @return true if this is a valide Compound, else false
|
||||
*/
|
||||
public static Boolean valideCompound(NBTCompound comp) {
|
||||
Object root = comp.getCompound();
|
||||
if (root == null) {
|
||||
root = ObjectCreator.NMS_NBTTAGCOMPOUND.getInstance();
|
||||
}
|
||||
return (gettoCompount(root, comp)) != null;
|
||||
}
|
||||
|
||||
protected static Object gettoCompount(Object nbttag, NBTCompound comp) {
|
||||
Deque<String> structure = new ArrayDeque<>();
|
||||
while (comp.getParent() != null) {
|
||||
structure.add(comp.getName());
|
||||
comp = comp.getParent();
|
||||
}
|
||||
while (!structure.isEmpty()) {
|
||||
String target = structure.pollLast();
|
||||
nbttag = getSubNBTTagCompound(nbttag, target);
|
||||
if (nbttag == null) {
|
||||
throw new NbtApiException("Unable to find tag '" + target + "' in " + nbttag);
|
||||
}
|
||||
}
|
||||
return nbttag;
|
||||
}
|
||||
|
||||
/**
|
||||
* Merges the second {@link NBTCompound} into the first one
|
||||
*
|
||||
* @param comp Target for the merge
|
||||
* @param nbtcompound Data to merge
|
||||
*/
|
||||
public static void mergeOtherNBTCompound(NBTCompound comp, NBTCompound nbtcompound) {
|
||||
Object rootnbttag = comp.getCompound();
|
||||
if (rootnbttag == null) {
|
||||
rootnbttag = ObjectCreator.NMS_NBTTAGCOMPOUND.getInstance();
|
||||
}
|
||||
if (!valideCompound(comp))
|
||||
throw new NbtApiException("The Compound wasn't able to be linked back to the root!");
|
||||
Object workingtag = gettoCompount(rootnbttag, comp);
|
||||
try {
|
||||
ReflectionMethod.COMPOUND_MERGE.run(workingtag, nbtcompound.getCompound());
|
||||
comp.setCompound(rootnbttag);
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while merging two NBTCompounds!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the content for a given key inside a Compound
|
||||
*
|
||||
* @param comp
|
||||
* @param key
|
||||
* @return Content saved under this key
|
||||
*/
|
||||
public static String getContent(NBTCompound comp, String key) {
|
||||
Object rootnbttag = comp.getCompound();
|
||||
if (rootnbttag == null) {
|
||||
rootnbttag = ObjectCreator.NMS_NBTTAGCOMPOUND.getInstance();
|
||||
}
|
||||
if (!valideCompound(comp))
|
||||
throw new NbtApiException("The Compound wasn't able to be linked back to the root!");
|
||||
Object workingtag = gettoCompount(rootnbttag, comp);
|
||||
try {
|
||||
return ReflectionMethod.COMPOUND_GET.run(workingtag, key).toString();
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while getting the Content for key '" + key + "'!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets a key in a {@link NBTCompound} to a given value
|
||||
*
|
||||
* @param comp
|
||||
* @param key
|
||||
* @param val
|
||||
*/
|
||||
public static void set(NBTCompound comp, String key, Object val) {
|
||||
if (val == null) {
|
||||
remove(comp, key);
|
||||
return;
|
||||
}
|
||||
Object rootnbttag = comp.getCompound();
|
||||
if (rootnbttag == null) {
|
||||
rootnbttag = ObjectCreator.NMS_NBTTAGCOMPOUND.getInstance();
|
||||
}
|
||||
if (!valideCompound(comp)) {
|
||||
throw new NbtApiException("The Compound wasn't able to be linked back to the root!");
|
||||
}
|
||||
Object workingtag = gettoCompount(rootnbttag, comp);
|
||||
try {
|
||||
ReflectionMethod.COMPOUND_SET.run(workingtag, key, val);
|
||||
comp.setCompound(rootnbttag);
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while setting key '" + key + "' to '" + val + "'!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the List saved with a given key.
|
||||
*
|
||||
* @param comp
|
||||
* @param key
|
||||
* @param type
|
||||
* @param clazz
|
||||
* @return The list at that key. Null if it's an invalide type
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public static <T> NBTList<T> getList(NBTCompound comp, String key, NBTType type, Class<T> clazz) {
|
||||
Object rootnbttag = comp.getCompound();
|
||||
if (rootnbttag == null) {
|
||||
rootnbttag = ObjectCreator.NMS_NBTTAGCOMPOUND.getInstance();
|
||||
}
|
||||
if (!valideCompound(comp))
|
||||
return null;
|
||||
Object workingtag = gettoCompount(rootnbttag, comp);
|
||||
try {
|
||||
Object nbt = ReflectionMethod.COMPOUND_GET_LIST.run(workingtag, key, type.getId());
|
||||
if (clazz == String.class) {
|
||||
return (NBTList<T>) new NBTStringList(comp, key, type, nbt);
|
||||
} else if (clazz == NBTListCompound.class) {
|
||||
return (NBTList<T>) new NBTCompoundList(comp, key, type, nbt);
|
||||
} else if (clazz == Integer.class) {
|
||||
return (NBTList<T>) new NBTIntegerList(comp, key, type, nbt);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException("Exception while getting a list with the type '" + type + "'!", ex);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Uses Gson to set a {@link Serializable} value in a Compound
|
||||
*
|
||||
* @param comp
|
||||
* @param key
|
||||
* @param value
|
||||
*/
|
||||
public static void setObject(NBTCompound comp, String key, Object value) {
|
||||
if (!MinecraftVersion.hasGsonSupport())
|
||||
return;
|
||||
try {
|
||||
String json = GsonWrapper.getString(value);
|
||||
setData(comp, ReflectionMethod.COMPOUND_SET_STRING, key, json);
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while setting the Object '" + value + "'!", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Uses Gson to load back a {@link Serializable} object from the Compound
|
||||
*
|
||||
* @param comp
|
||||
* @param key
|
||||
* @param type
|
||||
* @return The loaded Object or null, if not found
|
||||
*/
|
||||
public static <T> T getObject(NBTCompound comp, String key, Class<T> type) {
|
||||
if (!MinecraftVersion.hasGsonSupport())
|
||||
return null;
|
||||
String json = (String) getData(comp, ReflectionMethod.COMPOUND_GET_STRING, key);
|
||||
if (json == null) {
|
||||
return null;
|
||||
}
|
||||
return GsonWrapper.deserializeJson(json, type);
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes the given key
|
||||
*
|
||||
* @param comp
|
||||
* @param key
|
||||
*/
|
||||
public static void remove(NBTCompound comp, String key) {
|
||||
Object rootnbttag = comp.getCompound();
|
||||
if (rootnbttag == null) {
|
||||
rootnbttag = ObjectCreator.NMS_NBTTAGCOMPOUND.getInstance();
|
||||
}
|
||||
if (!valideCompound(comp))
|
||||
return;
|
||||
Object workingtag = gettoCompount(rootnbttag, comp);
|
||||
ReflectionMethod.COMPOUND_REMOVE_KEY.run(workingtag, key);
|
||||
comp.setCompound(rootnbttag);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Keyset inside this Compound
|
||||
*
|
||||
* @param comp
|
||||
* @return Set of all keys
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public static Set<String> getKeys(NBTCompound comp) {
|
||||
Object rootnbttag = comp.getCompound();
|
||||
if (rootnbttag == null) {
|
||||
rootnbttag = ObjectCreator.NMS_NBTTAGCOMPOUND.getInstance();
|
||||
}
|
||||
if (!valideCompound(comp))
|
||||
throw new NbtApiException("The Compound wasn't able to be linked back to the root!");
|
||||
Object workingtag = gettoCompount(rootnbttag, comp);
|
||||
return (Set<String>) ReflectionMethod.COMPOUND_GET_KEYS.run(workingtag);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets data inside the Compound
|
||||
*
|
||||
* @param comp
|
||||
* @param type
|
||||
* @param key
|
||||
* @param data
|
||||
*/
|
||||
public static void setData(NBTCompound comp, ReflectionMethod type, String key, Object data) {
|
||||
if (data == null) {
|
||||
remove(comp, key);
|
||||
return;
|
||||
}
|
||||
Object rootnbttag = comp.getCompound();
|
||||
if (rootnbttag == null) {
|
||||
rootnbttag = ObjectCreator.NMS_NBTTAGCOMPOUND.getInstance();
|
||||
}
|
||||
if (!valideCompound(comp))
|
||||
throw new NbtApiException("The Compound wasn't able to be linked back to the root!");
|
||||
Object workingtag = gettoCompount(rootnbttag, comp);
|
||||
type.run(workingtag, key, data);
|
||||
comp.setCompound(rootnbttag);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets data from the Compound
|
||||
*
|
||||
* @param comp
|
||||
* @param type
|
||||
* @param key
|
||||
* @return The value or default fallback from NMS
|
||||
*/
|
||||
public static Object getData(NBTCompound comp, ReflectionMethod type, String key) {
|
||||
Object rootnbttag = comp.getCompound();
|
||||
if (rootnbttag == null) {
|
||||
return null;
|
||||
}
|
||||
if (!valideCompound(comp))
|
||||
throw new NbtApiException("The Compound wasn't able to be linked back to the root!");
|
||||
Object workingtag = gettoCompount(rootnbttag, comp);
|
||||
return type.run(workingtag, key);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ClassWrapper;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod;
|
||||
|
||||
/**
|
||||
* String implementation for NBTLists
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class NBTStringList extends NBTList<String> {
|
||||
|
||||
protected NBTStringList(NBTCompound owner, String name, NBTType type, Object list) {
|
||||
super(owner, name, type, list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String get(int index) {
|
||||
try {
|
||||
return (String) ReflectionMethod.LIST_GET_STRING.run(listObject, index);
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Object asTag(String object) {
|
||||
try {
|
||||
Constructor<?> con = ClassWrapper.NMS_NBTTAGSTRING.getClazz().getDeclaredConstructor(String.class);
|
||||
con.setAccessible(true);
|
||||
return con.newInstance(object);
|
||||
} catch (InstantiationException | IllegalAccessException | IllegalArgumentException | InvocationTargetException
|
||||
| NoSuchMethodException | SecurityException e) {
|
||||
throw new NbtApiException("Error while wrapping the Object " + object + " to it's NMS object!", e);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
import org.bukkit.block.BlockState;
|
||||
|
||||
/**
|
||||
* NBT class to access vanilla tags from TileEntities. TileEntities don't
|
||||
* support custom tags. Use the NBTInjector for custom tags. Changes will be
|
||||
* instantly applied to the Tile, use the merge method to do many things at
|
||||
* once.
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class NBTTileEntity extends NBTCompound {
|
||||
|
||||
private final BlockState tile;
|
||||
|
||||
/**
|
||||
* @param tile BlockState from any TileEntity
|
||||
*/
|
||||
public NBTTileEntity(BlockState tile) {
|
||||
super(null, null);
|
||||
this.tile = tile;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getCompound() {
|
||||
return NBTReflectionUtil.getTileEntityNBTTagCompound(tile);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setCompound(Object compound) {
|
||||
NBTReflectionUtil.setTileEntityNBTTagCompound(tile, compound);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,48 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
/**
|
||||
* Enum of all NBT Types Minecraft contains
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("javadoc")
|
||||
public enum NBTType {
|
||||
NBTTagEnd(0),
|
||||
NBTTagByte(1),
|
||||
NBTTagShort(2),
|
||||
NBTTagInt(3),
|
||||
NBTTagLong(4),
|
||||
NBTTagFloat(5),
|
||||
NBTTagDouble(6),
|
||||
NBTTagByteArray(7),
|
||||
NBTTagIntArray(11),
|
||||
NBTTagString(8),
|
||||
NBTTagList(9),
|
||||
NBTTagCompound(10);
|
||||
|
||||
NBTType(int i) {
|
||||
id = i;
|
||||
}
|
||||
|
||||
private final int id;
|
||||
|
||||
/**
|
||||
* @return Id used by Minecraft internally
|
||||
*/
|
||||
public int getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param id Internal Minecraft id
|
||||
* @return Enum representing the id, NBTTagEnd for invalide ids
|
||||
*/
|
||||
public static NBTType valueOf(int id) {
|
||||
for (NBTType t : values())
|
||||
if (t.getId() == id)
|
||||
return t;
|
||||
return NBTType.NBTTagEnd;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi;
|
||||
|
||||
/**
|
||||
* A generic {@link RuntimeException} that can be thrown by most methods in the
|
||||
* NBTAPI.
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class NbtApiException extends RuntimeException {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = -993309714559452334L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
public NbtApiException() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param message
|
||||
* @param cause
|
||||
* @param enableSuppression
|
||||
* @param writableStackTrace
|
||||
*/
|
||||
public NbtApiException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
|
||||
super(message, cause, enableSuppression, writableStackTrace);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param message
|
||||
* @param cause
|
||||
*/
|
||||
public NbtApiException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param message
|
||||
*/
|
||||
public NbtApiException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param cause
|
||||
*/
|
||||
public NbtApiException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,387 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi.utils;
|
||||
|
||||
import com.google.gson.JsonArray;
|
||||
import com.google.gson.JsonObject;
|
||||
import com.google.gson.JsonParser;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.configuration.file.YamlConfiguration;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
import org.bukkit.plugin.RegisteredServiceProvider;
|
||||
import org.bukkit.plugin.ServicePriority;
|
||||
|
||||
import javax.net.ssl.HttpsURLConnection;
|
||||
import java.io.*;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
import java.net.URL;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.Collection;
|
||||
import java.util.Timer;
|
||||
import java.util.TimerTask;
|
||||
import java.util.UUID;
|
||||
import java.util.logging.Level;
|
||||
import java.util.zip.GZIPOutputStream;
|
||||
import static de.tr7zw.changeme.nbtapi.utils.MinecraftVersion.logger;
|
||||
|
||||
/**
|
||||
* bStats collects some data for plugin authors.
|
||||
* <p>
|
||||
* Check out https://bStats.org/ to learn more about bStats!
|
||||
*
|
||||
* This class is modified by tr7zw to work when the api is shaded into other peoples plugins.
|
||||
*/
|
||||
public class ApiMetricsLite {
|
||||
|
||||
private static final String PLUGINNAME = "ItemNBTAPI"; // DO NOT CHANGE THE NAME! else it won't link the data on bStats
|
||||
|
||||
// The version of this bStats class
|
||||
public static final int B_STATS_VERSION = 1;
|
||||
|
||||
// The version of the NBT-Api bStats
|
||||
public static final int NBT_BSTATS_VERSION = 1;
|
||||
|
||||
// The url to which the data is sent
|
||||
private static final String URL = "https://bStats.org/submitData/bukkit";
|
||||
|
||||
// Is bStats enabled on this server?
|
||||
private boolean enabled;
|
||||
|
||||
// Should failed requests be logged?
|
||||
private static boolean logFailedRequests;
|
||||
|
||||
// Should the sent data be logged?
|
||||
private static boolean logSentData;
|
||||
|
||||
// Should the response text be logged?
|
||||
private static boolean logResponseStatusText;
|
||||
|
||||
// The uuid of the server
|
||||
private static String serverUUID;
|
||||
|
||||
// The plugin
|
||||
private Plugin plugin;
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*
|
||||
*/
|
||||
public ApiMetricsLite() {
|
||||
|
||||
// The register method just uses any enabled plugin it can find to register. This *shouldn't* cause any problems, since the plugin isn't used any other way.
|
||||
// Register our service
|
||||
for(Plugin plug : Bukkit.getPluginManager().getPlugins()) {
|
||||
plugin = plug;
|
||||
if(plugin != null)
|
||||
break;
|
||||
}
|
||||
if(plugin == null) {
|
||||
return;// Didn't find any plugin that could work
|
||||
}
|
||||
|
||||
// Get the config file
|
||||
File bStatsFolder = new File(plugin.getDataFolder().getParentFile(), "bStats");
|
||||
File configFile = new File(bStatsFolder, "config.yml");
|
||||
YamlConfiguration config = YamlConfiguration.loadConfiguration(configFile);
|
||||
|
||||
// Check if the config file exists
|
||||
if (!config.isSet("serverUuid")) {
|
||||
|
||||
// Add default values
|
||||
config.addDefault("enabled", true);
|
||||
// Every server gets it's unique random id.
|
||||
config.addDefault("serverUuid", UUID.randomUUID().toString());
|
||||
// Should failed request be logged?
|
||||
config.addDefault("logFailedRequests", false);
|
||||
// Should the sent data be logged?
|
||||
config.addDefault("logSentData", false);
|
||||
// Should the response text be logged?
|
||||
config.addDefault("logResponseStatusText", false);
|
||||
|
||||
// Inform the server owners about bStats
|
||||
config.options().header(
|
||||
"bStats collects some data for plugin authors like how many servers are using their plugins.\n" +
|
||||
"To honor their work, you should not disable it.\n" +
|
||||
"This has nearly no effect on the server performance!\n" +
|
||||
"Check out https://bStats.org/ to learn more :)"
|
||||
).copyDefaults(true);
|
||||
try {
|
||||
config.save(configFile);
|
||||
} catch (IOException ignored) { }
|
||||
}
|
||||
|
||||
// Load the data
|
||||
serverUUID = config.getString("serverUuid");
|
||||
logFailedRequests = config.getBoolean("logFailedRequests", false);
|
||||
enabled = config.getBoolean("enabled", true);
|
||||
logSentData = config.getBoolean("logSentData", false);
|
||||
logResponseStatusText = config.getBoolean("logResponseStatusText", false);
|
||||
if (enabled) {
|
||||
boolean found = false;
|
||||
// Search for all other bStats Metrics classes to see if we are the first one
|
||||
for (Class<?> service : Bukkit.getServicesManager().getKnownServices()) {
|
||||
try {
|
||||
service.getField("NBT_BSTATS_VERSION"); // Create only one instance of the nbt-api bstats.
|
||||
return;
|
||||
} catch (NoSuchFieldException ignored) { }
|
||||
try {
|
||||
service.getField("B_STATS_VERSION"); // Our identifier :)
|
||||
found = true; // We aren't the first
|
||||
break;
|
||||
} catch (NoSuchFieldException ignored) { }
|
||||
}
|
||||
boolean fFound = found;
|
||||
// Register our service
|
||||
if(Bukkit.isPrimaryThread()){
|
||||
Bukkit.getServicesManager().register(ApiMetricsLite.class, this, plugin, ServicePriority.Normal);
|
||||
if (!fFound) {
|
||||
logger.info("[NBTAPI] Using the plugin '" + plugin.getName() + "' to create a bStats instance!");
|
||||
// We are the first!
|
||||
startSubmitting();
|
||||
}
|
||||
}else{
|
||||
Bukkit.getScheduler().runTask(plugin, () -> {
|
||||
Bukkit.getServicesManager().register(ApiMetricsLite.class, this, plugin, ServicePriority.Normal);
|
||||
if (!fFound) {
|
||||
logger.info("[NBTAPI] Using the plugin '" + plugin.getName() + "' to create a bStats instance!");
|
||||
// We are the first!
|
||||
startSubmitting();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if bStats is enabled.
|
||||
*
|
||||
* @return Whether bStats is enabled or not.
|
||||
*/
|
||||
public boolean isEnabled() {
|
||||
return enabled;
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts the Scheduler which submits our data every 30 minutes.
|
||||
*/
|
||||
private void startSubmitting() {
|
||||
final Timer timer = new Timer(true); // We use a timer cause the Bukkit scheduler is affected by server lags
|
||||
timer.scheduleAtFixedRate(new TimerTask() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (!plugin.isEnabled()) { // Plugin was disabled
|
||||
timer.cancel();
|
||||
return;
|
||||
}
|
||||
// Nevertheless we want our code to run in the Bukkit main thread, so we have to use the Bukkit scheduler
|
||||
// Don't be afraid! The connection to the bStats server is still async, only the stats collection is sync ;)
|
||||
Bukkit.getScheduler().runTask(plugin, () -> submitData());
|
||||
}
|
||||
}, 1000l * 60l * 5l, 1000l * 60l * 30l);
|
||||
// Submit the data every 30 minutes, first time after 5 minutes to give other plugins enough time to start
|
||||
// WARNING: Changing the frequency has no effect but your plugin WILL be blocked/deleted!
|
||||
// WARNING: Just don't do it!
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the plugin specific data.
|
||||
* This method is called using Reflection.
|
||||
*
|
||||
* @return The plugin specific data.
|
||||
*/
|
||||
public JsonObject getPluginData() {
|
||||
JsonObject data = new JsonObject();
|
||||
|
||||
data.addProperty("pluginName", PLUGINNAME); // Append the name of the plugin
|
||||
data.addProperty("pluginVersion", MinecraftVersion.VERSION); // Append the version of the plugin
|
||||
data.add("customCharts", new JsonArray());
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the server specific data.
|
||||
*
|
||||
* @return The server specific data.
|
||||
*/
|
||||
private JsonObject getServerData() {
|
||||
// Minecraft specific data
|
||||
int playerAmount;
|
||||
try {
|
||||
// Around MC 1.8 the return type was changed to a collection from an array,
|
||||
// This fixes java.lang.NoSuchMethodError: org.bukkit.Bukkit.getOnlinePlayers()Ljava/util/Collection;
|
||||
Method onlinePlayersMethod = Class.forName("org.bukkit.Server").getMethod("getOnlinePlayers");
|
||||
playerAmount = onlinePlayersMethod.getReturnType().equals(Collection.class)
|
||||
? ((Collection<?>) onlinePlayersMethod.invoke(Bukkit.getServer())).size()
|
||||
: ((Player[]) onlinePlayersMethod.invoke(Bukkit.getServer())).length;
|
||||
} catch (Exception e) {
|
||||
playerAmount = Bukkit.getOnlinePlayers().size(); // Just use the new method if the Reflection failed
|
||||
}
|
||||
int onlineMode = Bukkit.getOnlineMode() ? 1 : 0;
|
||||
String bukkitVersion = Bukkit.getVersion();
|
||||
String bukkitName = Bukkit.getName();
|
||||
|
||||
// OS/Java specific data
|
||||
String javaVersion = System.getProperty("java.version");
|
||||
String osName = System.getProperty("os.name");
|
||||
String osArch = System.getProperty("os.arch");
|
||||
String osVersion = System.getProperty("os.version");
|
||||
int coreCount = Runtime.getRuntime().availableProcessors();
|
||||
|
||||
JsonObject data = new JsonObject();
|
||||
|
||||
data.addProperty("serverUUID", serverUUID);
|
||||
|
||||
data.addProperty("playerAmount", playerAmount);
|
||||
data.addProperty("onlineMode", onlineMode);
|
||||
data.addProperty("bukkitVersion", bukkitVersion);
|
||||
data.addProperty("bukkitName", bukkitName);
|
||||
|
||||
data.addProperty("javaVersion", javaVersion);
|
||||
data.addProperty("osName", osName);
|
||||
data.addProperty("osArch", osArch);
|
||||
data.addProperty("osVersion", osVersion);
|
||||
data.addProperty("coreCount", coreCount);
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Collects the data and sends it afterwards.
|
||||
*/
|
||||
private void submitData() {
|
||||
final JsonObject data = getServerData();
|
||||
|
||||
JsonArray pluginData = new JsonArray();
|
||||
// Search for all other bStats Metrics classes to get their plugin data
|
||||
for (Class<?> service : Bukkit.getServicesManager().getKnownServices()) {
|
||||
try {
|
||||
service.getField("B_STATS_VERSION"); // Our identifier :)
|
||||
|
||||
for (RegisteredServiceProvider<?> provider : Bukkit.getServicesManager().getRegistrations(service)) {
|
||||
try {
|
||||
Object plugin = provider.getService().getMethod("getPluginData").invoke(provider.getProvider());
|
||||
if (plugin instanceof JsonObject) {
|
||||
pluginData.add((JsonObject) plugin);
|
||||
} else { // old bstats version compatibility
|
||||
try {
|
||||
Class<?> jsonObjectJsonSimple = Class.forName("org.json.simple.JSONObject");
|
||||
if (plugin.getClass().isAssignableFrom(jsonObjectJsonSimple)) {
|
||||
Method jsonStringGetter = jsonObjectJsonSimple.getDeclaredMethod("toJSONString");
|
||||
jsonStringGetter.setAccessible(true);
|
||||
String jsonString = (String) jsonStringGetter.invoke(plugin);
|
||||
JsonObject object = new JsonParser().parse(jsonString).getAsJsonObject();
|
||||
pluginData.add(object);
|
||||
}
|
||||
} catch (ClassNotFoundException e) {
|
||||
// minecraft version 1.14+
|
||||
if (logFailedRequests) {
|
||||
logger.log(Level.WARNING, "[NBTAPI][BSTATS] Encountered exception while posting request!", e);
|
||||
// Not using the plugins logger since the plugin isn't the plugin containing the NBT-Api most of the time
|
||||
//this.plugin.getLogger().log(Level.SEVERE, "Encountered unexpected exception ", e);
|
||||
}
|
||||
continue; // continue looping since we cannot do any other thing.
|
||||
}
|
||||
}
|
||||
} catch (NullPointerException | NoSuchMethodException | IllegalAccessException | InvocationTargetException ignored) {
|
||||
}
|
||||
}
|
||||
} catch (NoSuchFieldException ignored) { }
|
||||
}
|
||||
|
||||
data.add("plugins", pluginData);
|
||||
|
||||
// Create a new thread for the connection to the bStats server
|
||||
new Thread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
// Send the data
|
||||
sendData(plugin, data);
|
||||
} catch (Exception e) {
|
||||
// Something went wrong! :(
|
||||
if (logFailedRequests) {
|
||||
logger.log(Level.WARNING, "[NBTAPI][BSTATS] Could not submit plugin stats of " + plugin.getName(), e);
|
||||
// Not using the plugins logger since the plugin isn't the plugin containing the NBT-Api most of the time
|
||||
//plugin.getLogger().log(Level.WARNING, "Could not submit plugin stats of " + plugin.getName(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
}).start();
|
||||
}
|
||||
|
||||
/**
|
||||
* Sends the data to the bStats server.
|
||||
*
|
||||
* @param plugin Any plugin. It's just used to get a logger instance.
|
||||
* @param data The data to send.
|
||||
* @throws Exception If the request failed.
|
||||
*/
|
||||
private static void sendData(Plugin plugin, JsonObject data) throws Exception {
|
||||
if (data == null) {
|
||||
throw new IllegalArgumentException("Data cannot be null!");
|
||||
}
|
||||
if (Bukkit.isPrimaryThread()) {
|
||||
throw new IllegalAccessException("This method must not be called from the main thread!");
|
||||
}
|
||||
if (logSentData) {
|
||||
System.out.println("[NBTAPI][BSTATS] Sending data to bStats: " + data.toString());
|
||||
// Not using the plugins logger since the plugin isn't the plugin containing the NBT-Api most of the time
|
||||
//plugin.getLogger().info("Sending data to bStats: " + data.toString());
|
||||
}
|
||||
HttpsURLConnection connection = (HttpsURLConnection) new URL(URL).openConnection();
|
||||
|
||||
// Compress the data to save bandwidth
|
||||
byte[] compressedData = compress(data.toString());
|
||||
|
||||
// Add headers
|
||||
connection.setRequestMethod("POST");
|
||||
connection.addRequestProperty("Accept", "application/json");
|
||||
connection.addRequestProperty("Connection", "close");
|
||||
connection.addRequestProperty("Content-Encoding", "gzip"); // We gzip our request
|
||||
connection.addRequestProperty("Content-Length", String.valueOf(compressedData.length));
|
||||
connection.setRequestProperty("Content-Type", "application/json"); // We send our data in JSON format
|
||||
connection.setRequestProperty("User-Agent", "MC-Server/" + B_STATS_VERSION);
|
||||
|
||||
// Send data
|
||||
connection.setDoOutput(true);
|
||||
DataOutputStream outputStream = new DataOutputStream(connection.getOutputStream());
|
||||
outputStream.write(compressedData);
|
||||
outputStream.flush();
|
||||
outputStream.close();
|
||||
|
||||
InputStream inputStream = connection.getInputStream();
|
||||
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream));
|
||||
|
||||
StringBuilder builder = new StringBuilder();
|
||||
String line;
|
||||
while ((line = bufferedReader.readLine()) != null) {
|
||||
builder.append(line);
|
||||
}
|
||||
bufferedReader.close();
|
||||
if (logResponseStatusText) {
|
||||
logger.info("[NBTAPI][BSTATS] Sent data to bStats and received response: " + builder.toString());
|
||||
// Not using the plugins logger since the plugin isn't the plugin containing the NBT-Api most of the time
|
||||
//plugin.getLogger().info("Sent data to bStats and received response: " + builder.toString());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gzips the given String.
|
||||
*
|
||||
* @param str The string to gzip.
|
||||
* @return The gzipped String.
|
||||
* @throws IOException If the compression failed.
|
||||
*/
|
||||
private static byte[] compress(final String str) throws IOException {
|
||||
if (str == null) {
|
||||
return new byte[0];
|
||||
}
|
||||
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
|
||||
GZIPOutputStream gzip = new GZIPOutputStream(outputStream);
|
||||
gzip.write(str.getBytes(StandardCharsets.UTF_8));
|
||||
gzip.close();
|
||||
return outputStream.toByteArray();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi.utils;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
|
||||
/**
|
||||
* Helper class for 1.7 servers without Gson
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class GsonWrapper {
|
||||
|
||||
/**
|
||||
* Private constructor
|
||||
*/
|
||||
private GsonWrapper() {
|
||||
|
||||
}
|
||||
|
||||
private static final Gson gson = new Gson();
|
||||
|
||||
/**
|
||||
* Turns Objects into Json Strings
|
||||
*
|
||||
* @param obj
|
||||
* @return Json, representing the Object
|
||||
*/
|
||||
public static String getString(Object obj) {
|
||||
return gson.toJson(obj);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an Object of the given type using the Json String
|
||||
*
|
||||
* @param json
|
||||
* @param type
|
||||
* @return Object that got created, or null if the json is null
|
||||
*/
|
||||
public static <T> T deserializeJson(String json, Class<T> type) {
|
||||
try {
|
||||
if (json == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
T obj = gson.fromJson(json, type);
|
||||
return type.cast(obj);
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException("Error while converting json to " + type.getName(), ex);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,159 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi.utils;
|
||||
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
|
||||
/**
|
||||
* This class acts as the "Brain" of the NBTApi. It contains the main logger for
|
||||
* other classes,registers bStats and checks rather Maven shading was done
|
||||
* correctly.
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("javadoc")
|
||||
public enum MinecraftVersion {
|
||||
UNKNOWN(Integer.MAX_VALUE), // Use the newest known mappings
|
||||
MC1_7_R4(174),
|
||||
MC1_8_R3(183),
|
||||
MC1_9_R1(191),
|
||||
MC1_9_R2(192),
|
||||
MC1_10_R1(1101),
|
||||
MC1_11_R1(1111),
|
||||
MC1_12_R1(1121),
|
||||
MC1_13_R1(1131),
|
||||
MC1_13_R2(1132),
|
||||
MC1_14_R1(1141),
|
||||
MC1_15_R1(1151);
|
||||
|
||||
private static MinecraftVersion version;
|
||||
private static Boolean hasGsonSupport;
|
||||
private static boolean bStatsDisabled = false;
|
||||
private static boolean disablePackageWarning = false;
|
||||
private static boolean updateCheckDisabled = false;
|
||||
/**
|
||||
* Logger used by the api
|
||||
*/
|
||||
public static final Logger logger = Logger.getLogger("NBTAPI");
|
||||
|
||||
// NBT-API Version
|
||||
protected static final String VERSION = "2.2.0";
|
||||
|
||||
private final int versionId;
|
||||
|
||||
MinecraftVersion(int versionId) {
|
||||
this.versionId = versionId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return A simple comparable Integer, representing the version.
|
||||
*/
|
||||
public int getVersionId() {
|
||||
return versionId;
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for this servers MinecraftVersion. Also init's bStats and checks the
|
||||
* shading.
|
||||
*
|
||||
* @return The enum for the MinecraftVersion this server is running
|
||||
*/
|
||||
public static MinecraftVersion getVersion() {
|
||||
if (version != null) {
|
||||
return version;
|
||||
}
|
||||
final String ver = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3];
|
||||
logger.info("[NBTAPI] Found Spigot: " + ver + "! Trying to find NMS support");
|
||||
try {
|
||||
version = MinecraftVersion.valueOf(ver.replace("v", "MC"));
|
||||
} catch (IllegalArgumentException ex) {
|
||||
version = MinecraftVersion.UNKNOWN;
|
||||
}
|
||||
if (version != UNKNOWN) {
|
||||
logger.info("[NBTAPI] NMS support '" + version.name() + "' loaded!");
|
||||
} else {
|
||||
logger.warning("[NBTAPI] Wasn't able to find NMS Support! Some functions may not work!");
|
||||
}
|
||||
init();
|
||||
return version;
|
||||
}
|
||||
|
||||
private static void init() {
|
||||
try {
|
||||
if (!bStatsDisabled)
|
||||
new ApiMetricsLite();
|
||||
} catch (Exception ex) {
|
||||
logger.log(Level.WARNING, "[NBTAPI] Error enabeling Metrics!", ex);
|
||||
}
|
||||
try {
|
||||
if(!updateCheckDisabled)
|
||||
VersionChecker.checkForUpdates();
|
||||
} catch (Exception ex) {
|
||||
logger.log(Level.WARNING, "[NBTAPI] Error while checking for updates!", ex);
|
||||
}
|
||||
// Maven's Relocate is clever and changes strings, too. So we have to use this
|
||||
// little "trick" ... :D (from bStats)
|
||||
final String defaultPackage = new String(new byte[] { 'd', 'e', '.', 't', 'r', '7', 'z', 'w', '.', 'c', 'h',
|
||||
'a', 'n', 'g', 'e', 'm', 'e', '.', 'n', 'b', 't', 'a', 'p', 'i', '.', 'u', 't', 'i', 'l', 's' });
|
||||
if (!disablePackageWarning && MinecraftVersion.class.getPackage().getName().equals(defaultPackage)) {
|
||||
logger.warning(
|
||||
"#########################################- NBTAPI -#########################################");
|
||||
logger.warning(
|
||||
"The NBT-API package has not been moved! This *will* cause problems with other plugins containing");
|
||||
logger.warning(
|
||||
"a different version of the api! Please read the guide on the plugin page on how to get the");
|
||||
logger.warning(
|
||||
"Maven Shade plugin to relocate the api to your personal location! If you are not the developer,");
|
||||
logger.warning("please check your plugins and contact their developer, so he can fix this issue.");
|
||||
logger.warning(
|
||||
"#########################################- NBTAPI -#########################################");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return True, if Gson is usable
|
||||
*/
|
||||
public static boolean hasGsonSupport() {
|
||||
if (hasGsonSupport != null) {
|
||||
return hasGsonSupport;
|
||||
}
|
||||
try {
|
||||
logger.info("[NBTAPI] Found Gson: " + Class.forName("com.google.gson.Gson"));
|
||||
hasGsonSupport = true;
|
||||
} catch (Exception ex) {
|
||||
logger.info("[NBTAPI] Gson not found! This will not allow the usage of some methods!");
|
||||
hasGsonSupport = false;
|
||||
}
|
||||
return hasGsonSupport;
|
||||
}
|
||||
|
||||
/**
|
||||
* Calling this function before the NBT-Api is used will disable bStats stats
|
||||
* collection. Please consider not to do that, since it won't affect your plugin
|
||||
* and helps the NBT-Api developer to see api's demand.
|
||||
*/
|
||||
public static void disableBStats() {
|
||||
bStatsDisabled = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Disables the update check. Uses Spiget to get the current version and
|
||||
* prints a warning when outdated.
|
||||
*/
|
||||
public static void disableUpdateCheck() {
|
||||
updateCheckDisabled = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Forcefully disables the log message for plugins not shading the API to
|
||||
* another location. This may be helpful for networks or development
|
||||
* environments, but please don't use it for plugins that are uploaded to
|
||||
* Spigotmc.
|
||||
*/
|
||||
public static void disablePackageWarning() {
|
||||
disablePackageWarning = true;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi.utils;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Method;
|
||||
import java.lang.reflect.Modifier;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
|
||||
public final class ReflectionUtil {
|
||||
|
||||
private static Field field_modifiers;
|
||||
|
||||
static {
|
||||
try {
|
||||
field_modifiers = Field.class.getDeclaredField("modifiers");
|
||||
field_modifiers.setAccessible(true);
|
||||
} catch (NoSuchFieldException ex) {
|
||||
try {
|
||||
// This hacky workaround is for newer jdk versions 11+?
|
||||
Method fieldGetter = Class.class.getDeclaredMethod("getDeclaredFields0", boolean.class);
|
||||
fieldGetter.setAccessible(true);
|
||||
Field[] fields = (Field[]) fieldGetter.invoke(Field.class, false);
|
||||
for (Field f : fields)
|
||||
if (f.getName().equals("modifiers")) {
|
||||
field_modifiers = f;
|
||||
field_modifiers.setAccessible(true);
|
||||
break;
|
||||
}
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException(e);
|
||||
}
|
||||
}
|
||||
if (field_modifiers == null) {
|
||||
throw new NbtApiException("Unable to init the modifiers Field.");
|
||||
}
|
||||
}
|
||||
|
||||
public static Field makeNonFinal(Field field) throws IllegalArgumentException, IllegalAccessException {
|
||||
int mods = field.getModifiers();
|
||||
if (Modifier.isFinal(mods)) {
|
||||
field_modifiers.set(field, mods & ~Modifier.FINAL);
|
||||
}
|
||||
return field;
|
||||
}
|
||||
|
||||
public static void setFinal(Object obj, Field field, Object newValue)
|
||||
throws IllegalArgumentException, IllegalAccessException {
|
||||
field.setAccessible(true);
|
||||
field = makeNonFinal(field);
|
||||
field.set(obj, newValue);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,106 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi.utils;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.InputStreamReader;
|
||||
import java.net.HttpURLConnection;
|
||||
import java.net.URL;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import com.google.gson.JsonArray;
|
||||
import com.google.gson.JsonElement;
|
||||
import com.google.gson.JsonObject;
|
||||
import com.google.gson.JsonParser;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTItem;
|
||||
|
||||
/**
|
||||
* This class uses the Spiget API to check for updates
|
||||
*
|
||||
*/
|
||||
public class VersionChecker {
|
||||
|
||||
private static final String USER_AGENT = "nbt-api Version check";
|
||||
private static final String REQUEST_URL = "https://api.spiget.org/v2/resources/7939/versions?size=100";
|
||||
|
||||
protected static void checkForUpdates() throws Exception {
|
||||
URL url = new URL(REQUEST_URL);
|
||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||
connection.addRequestProperty("User-Agent", USER_AGENT);// Set
|
||||
// User-Agent
|
||||
|
||||
// If you're not sure if the request will be successful,
|
||||
// you need to check the response code and use #getErrorStream if it
|
||||
// returned an error code
|
||||
InputStream inputStream = connection.getInputStream();
|
||||
InputStreamReader reader = new InputStreamReader(inputStream);
|
||||
|
||||
// This could be either a JsonArray or JsonObject
|
||||
JsonElement element = new JsonParser().parse(reader);
|
||||
if (element.isJsonArray()) {
|
||||
// Is JsonArray
|
||||
JsonArray updates = (JsonArray) element;
|
||||
JsonObject latest = (JsonObject) updates.get(updates.size() - 1);
|
||||
int versionDifference = getVersionDifference(latest.get("name").getAsString());
|
||||
if (versionDifference == -1) { // Outdated
|
||||
MinecraftVersion.logger.log(Level.WARNING,
|
||||
"[NBTAPI] The NBT-API at '" + NBTItem.class.getPackage() + "' seems to be outdated!");
|
||||
MinecraftVersion.logger.log(Level.WARNING, "[NBTAPI] Current Version: '" + MinecraftVersion.VERSION
|
||||
+ "' Newest Version: " + latest.get("name").getAsString() + "'");
|
||||
MinecraftVersion.logger.log(Level.WARNING,
|
||||
"[NBTAPI] Please update the nbt-api or the plugin that contains the api!");
|
||||
|
||||
} else if (versionDifference == 0) {
|
||||
MinecraftVersion.logger.log(Level.INFO, "[NBTAPI] The NBT-API seems to be up-to-date!");
|
||||
} else if (versionDifference == 1) {
|
||||
MinecraftVersion.logger.log(Level.WARNING, "[NBTAPI] The NBT-API at '" + NBTItem.class.getPackage()
|
||||
+ "' seems to be a future Version, not yet released on Spigot!");
|
||||
MinecraftVersion.logger.log(Level.WARNING, "[NBTAPI] Current Version: '" + MinecraftVersion.VERSION
|
||||
+ "' Newest Version: " + latest.get("name").getAsString() + "'");
|
||||
}
|
||||
} else {
|
||||
// wut?!
|
||||
MinecraftVersion.logger.log(Level.WARNING,
|
||||
"[NBTAPI] Error when looking for Updates! Got non Json Array: '" + element.toString() + "'");
|
||||
}
|
||||
}
|
||||
|
||||
// -1 = we are outdated
|
||||
// 0 = up to date
|
||||
// 1 = using a future version
|
||||
// This method is only able to compare the Format 0.0.0(-SNAPSHOT)
|
||||
private static int getVersionDifference(String version) {
|
||||
String current = MinecraftVersion.VERSION;
|
||||
if (current.equals(version))
|
||||
return 0;
|
||||
String pattern = "\\.";
|
||||
if (current.split(pattern).length != 3 || version.split(pattern).length != 3)
|
||||
return -1;
|
||||
int curMaj = Integer.parseInt(current.split(pattern)[0]);
|
||||
int curMin = Integer.parseInt(current.split(pattern)[1]);
|
||||
String curPatch = current.split(pattern)[2];
|
||||
int relMaj = Integer.parseInt(version.split(pattern)[0]);
|
||||
int relMin = Integer.parseInt(version.split(pattern)[1]);
|
||||
String relPatch = version.split(pattern)[2];
|
||||
if (curMaj < relMaj)
|
||||
return -1;
|
||||
if (curMaj > relMaj)
|
||||
return 1;
|
||||
if (curMin < relMin)
|
||||
return -1;
|
||||
if (curMin > relMin)
|
||||
return 1;
|
||||
int curPatchN = Integer.parseInt(curPatch.split("-")[0]);
|
||||
int relPatchN = Integer.parseInt(relPatch.split("-")[0]);
|
||||
if (curPatchN < relPatchN)
|
||||
return -1;
|
||||
if (curPatchN > relPatchN)
|
||||
return 1;
|
||||
if (!relPatch.contains("-") && curPatch.contains("-"))
|
||||
return -1; // Release has no - but we do = We use a Snapshot of the
|
||||
// release
|
||||
if (relPatch.contains("-") && curPatch.contains("-"))
|
||||
return 0; // Release and cur are Snapshots/alpha/beta
|
||||
return 1;
|
||||
}
|
||||
|
||||
}
|
||||
-79
@@ -1,79 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi.utils.nmsmappings;
|
||||
|
||||
import java.util.logging.Level;
|
||||
import org.bukkit.Bukkit;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
|
||||
import static de.tr7zw.changeme.nbtapi.utils.MinecraftVersion.logger;
|
||||
|
||||
/**
|
||||
* Wraps NMS and CRAFT classes
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("javadoc")
|
||||
public enum ClassWrapper {
|
||||
CRAFT_ITEMSTACK(PackageWrapper.CRAFTBUKKIT, "inventory.CraftItemStack"),
|
||||
CRAFT_ENTITY(PackageWrapper.CRAFTBUKKIT, "entity.CraftEntity"),
|
||||
CRAFT_WORLD(PackageWrapper.CRAFTBUKKIT, "CraftWorld"),
|
||||
NMS_NBTBASE(PackageWrapper.NMS, "NBTBase"),
|
||||
NMS_NBTTAGSTRING(PackageWrapper.NMS, "NBTTagString"),
|
||||
NMS_NBTTAGINT(PackageWrapper.NMS, "NBTTagInt"),
|
||||
NMS_ITEMSTACK(PackageWrapper.NMS, "ItemStack"),
|
||||
NMS_NBTTAGCOMPOUND(PackageWrapper.NMS, "NBTTagCompound"),
|
||||
NMS_NBTTAGLIST(PackageWrapper.NMS, "NBTTagList"),
|
||||
NMS_NBTCOMPRESSEDSTREAMTOOLS(PackageWrapper.NMS, "NBTCompressedStreamTools"),
|
||||
NMS_MOJANGSONPARSER(PackageWrapper.NMS, "MojangsonParser"),
|
||||
NMS_TILEENTITY(PackageWrapper.NMS, "TileEntity"),
|
||||
NMS_BLOCKPOSITION(PackageWrapper.NMS, "BlockPosition"),
|
||||
NMS_WORLDSERVER(PackageWrapper.NMS, "WorldServer"),
|
||||
NMS_MINECRAFTSERVER(PackageWrapper.NMS, "MinecraftServer"),
|
||||
NMS_WORLD(PackageWrapper.NMS, "World"),
|
||||
NMS_ENTITY(PackageWrapper.NMS, "Entity"),
|
||||
NMS_ENTITYTYPES(PackageWrapper.NMS, "EntityTypes"),
|
||||
NMS_REGISTRYSIMPLE(PackageWrapper.NMS, "RegistrySimple", MinecraftVersion.MC1_11_R1, MinecraftVersion.MC1_12_R1),
|
||||
NMS_REGISTRYMATERIALS(PackageWrapper.NMS, "RegistryMaterials"),
|
||||
NMS_IREGISTRY(PackageWrapper.NMS, "IRegistry"),
|
||||
NMS_MINECRAFTKEY(PackageWrapper.NMS, "MinecraftKey"),
|
||||
|
||||
;
|
||||
|
||||
private Class<?> clazz;
|
||||
private boolean enabled = false;
|
||||
|
||||
ClassWrapper(PackageWrapper packageId, String suffix){
|
||||
this(packageId, suffix, null, null);
|
||||
}
|
||||
|
||||
ClassWrapper(PackageWrapper packageId, String suffix, MinecraftVersion from, MinecraftVersion to){
|
||||
if(from != null && MinecraftVersion.getVersion().getVersionId() < from.getVersionId()) {
|
||||
return;
|
||||
}
|
||||
if(to != null && MinecraftVersion.getVersion().getVersionId() > to.getVersionId()) {
|
||||
return;
|
||||
}
|
||||
enabled = true;
|
||||
try{
|
||||
String version = Bukkit.getServer().getClass().getPackage().getName().replace(".", ",").split(",")[3];
|
||||
clazz = Class.forName(packageId.getUri() + "." + version + "." + suffix);
|
||||
}catch(Exception ex){
|
||||
logger.log(Level.WARNING, "[NBTAPI] Error while trying to resolve the class '" + suffix + "'!", ex);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The wrapped class
|
||||
*/
|
||||
public Class<?> getClazz(){
|
||||
return clazz;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Is this class available in this Version
|
||||
*/
|
||||
public boolean isEnabled() {
|
||||
return enabled;
|
||||
}
|
||||
|
||||
}
|
||||
-55
@@ -1,55 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi.utils.nmsmappings;
|
||||
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
|
||||
|
||||
import static de.tr7zw.changeme.nbtapi.utils.MinecraftVersion.logger;
|
||||
|
||||
/**
|
||||
* This Enum wraps Constructors for NMS classes
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("javadoc")
|
||||
public enum ObjectCreator {
|
||||
NMS_NBTTAGCOMPOUND(null, null, ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()),
|
||||
NMS_BLOCKPOSITION(null, null, ClassWrapper.NMS_BLOCKPOSITION.getClazz(), int.class, int.class, int.class),
|
||||
NMS_COMPOUNDFROMITEM(MinecraftVersion.MC1_11_R1, null, ClassWrapper.NMS_ITEMSTACK.getClazz(), ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()),
|
||||
;
|
||||
|
||||
private Constructor<?> construct;
|
||||
private Class<?> targetClass;
|
||||
|
||||
ObjectCreator(MinecraftVersion from, MinecraftVersion to, Class<?> clazz, Class<?>... args){
|
||||
if(from != null && MinecraftVersion.getVersion().getVersionId() < from.getVersionId())
|
||||
return;
|
||||
if(to != null && MinecraftVersion.getVersion().getVersionId() > to.getVersionId())
|
||||
return;
|
||||
try{
|
||||
this.targetClass = clazz;
|
||||
construct = clazz.getDeclaredConstructor(args);
|
||||
construct.setAccessible(true);
|
||||
}catch(Exception ex){
|
||||
logger.log(Level.SEVERE, "Unable to find the constructor for the class '" + clazz.getName() + "'", ex);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an Object instance with given args
|
||||
*
|
||||
* @param args
|
||||
* @return Object created
|
||||
*/
|
||||
public Object getInstance(Object... args){
|
||||
try{
|
||||
return construct.newInstance(args);
|
||||
}catch(Exception ex){
|
||||
throw new NbtApiException("Exception while creating a new instance of '" + targetClass + "'", ex);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
-28
@@ -1,28 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi.utils.nmsmappings;
|
||||
|
||||
/**
|
||||
* Package enum
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("javadoc")
|
||||
public enum PackageWrapper {
|
||||
NMS("net.minecraft.server"),
|
||||
CRAFTBUKKIT("org.bukkit.craftbukkit"),
|
||||
;
|
||||
|
||||
private final String uri;
|
||||
|
||||
private PackageWrapper(String uri) {
|
||||
this.uri = uri;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The Uri for that package
|
||||
*/
|
||||
public String getUri() {
|
||||
return uri;
|
||||
}
|
||||
|
||||
}
|
||||
-182
@@ -1,182 +0,0 @@
|
||||
package de.tr7zw.changeme.nbtapi.utils.nmsmappings;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.lang.reflect.Method;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
|
||||
|
||||
/**
|
||||
* This class caches method reflections, keeps track of method name changes between versions and allows early checking for problems
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("javadoc")
|
||||
public enum ReflectionMethod {
|
||||
|
||||
COMPOUND_SET_FLOAT(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class, float.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "setFloat")),
|
||||
COMPOUND_SET_STRING(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class, String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "setString")),
|
||||
COMPOUND_SET_INT(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class, int.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "setInt")),
|
||||
COMPOUND_SET_BYTEARRAY(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class, byte[].class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "setByteArray")),
|
||||
COMPOUND_SET_INTARRAY(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class, int[].class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "setIntArray")),
|
||||
COMPOUND_SET_LONG(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class, long.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "setLong")),
|
||||
COMPOUND_SET_SHORT(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class, short.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "setShort")),
|
||||
COMPOUND_SET_BYTE(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class, byte.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "setByte")),
|
||||
COMPOUND_SET_DOUBLE(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class, double.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "setDouble")),
|
||||
COMPOUND_SET_BOOLEAN(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class, boolean.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "setBoolean")),
|
||||
COMPOUND_MERGE(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "a")), //FIXME: No Spigot mapping!
|
||||
COMPOUND_SET(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class, ClassWrapper.NMS_NBTBASE.getClazz()}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "set")),
|
||||
COMPOUND_GET(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "get")),
|
||||
COMPOUND_GET_LIST(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class, int.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getList")),
|
||||
|
||||
COMPOUND_GET_FLOAT(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getFloat")),
|
||||
COMPOUND_GET_STRING(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getString")),
|
||||
COMPOUND_GET_INT(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getInt")),
|
||||
COMPOUND_GET_BYTEARRAY(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getByteArray")),
|
||||
COMPOUND_GET_INTARRAY(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getIntArray")),
|
||||
COMPOUND_GET_LONG(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getLong")),
|
||||
COMPOUND_GET_SHORT(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getShort")),
|
||||
COMPOUND_GET_BYTE(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getByte")),
|
||||
COMPOUND_GET_DOUBLE(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getDouble")),
|
||||
COMPOUND_GET_BOOLEAN(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getBoolean")),
|
||||
COMPOUND_GET_COMPOUND(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getCompound")),
|
||||
|
||||
NMSITEM_GETTAG(ClassWrapper.NMS_ITEMSTACK.getClazz(), new Class[] {}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getTag")),
|
||||
NMSITEM_SAVE(ClassWrapper.NMS_ITEMSTACK.getClazz(), new Class[] {ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "save")),
|
||||
NMSITEM_CREATESTACK(ClassWrapper.NMS_ITEMSTACK.getClazz(), new Class[] {ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()}, MinecraftVersion.MC1_7_R4, MinecraftVersion.MC1_10_R1, new Since(MinecraftVersion.MC1_7_R4, "createStack")),
|
||||
|
||||
COMPOUND_REMOVE_KEY(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "remove")),
|
||||
COMPOUND_HAS_KEY(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "hasKey")),
|
||||
COMPOUND_GET_TYPE(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_8_R3, new Since(MinecraftVersion.MC1_8_R3, "b"), new Since(MinecraftVersion.MC1_9_R1, "d"), new Since(MinecraftVersion.MC1_15_R1, "e")), //FIXME: No Spigot mapping!
|
||||
COMPOUND_GET_KEYS(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "c"), new Since(MinecraftVersion.MC1_13_R1, "getKeys")),
|
||||
|
||||
LISTCOMPOUND_GET_KEYS(ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), new Class[]{}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "c"), new Since(MinecraftVersion.MC1_13_R1, "getKeys")),
|
||||
LIST_REMOVE_KEY(ClassWrapper.NMS_NBTTAGLIST.getClazz(), new Class[]{int.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "a"), new Since(MinecraftVersion.MC1_9_R1, "remove")),
|
||||
LIST_SIZE(ClassWrapper.NMS_NBTTAGLIST.getClazz(), new Class[]{}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "size")),
|
||||
LIST_SET(ClassWrapper.NMS_NBTTAGLIST.getClazz(), new Class[]{int.class, ClassWrapper.NMS_NBTBASE.getClazz()}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "a"), new Since(MinecraftVersion.MC1_13_R1, "set")),
|
||||
LEGACY_LIST_ADD(ClassWrapper.NMS_NBTTAGLIST.getClazz(), new Class[]{ClassWrapper.NMS_NBTBASE.getClazz()}, MinecraftVersion.MC1_7_R4, MinecraftVersion.MC1_13_R2, new Since(MinecraftVersion.MC1_7_R4, "add")),
|
||||
LIST_ADD(ClassWrapper.NMS_NBTTAGLIST.getClazz(), new Class[]{int.class, ClassWrapper.NMS_NBTBASE.getClazz()}, MinecraftVersion.MC1_14_R1, new Since(MinecraftVersion.MC1_14_R1, "add")),
|
||||
LIST_GET_STRING(ClassWrapper.NMS_NBTTAGLIST.getClazz(), new Class[]{int.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getString")),
|
||||
LIST_GET_COMPOUND(ClassWrapper.NMS_NBTTAGLIST.getClazz(), new Class[]{int.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "get")),
|
||||
LIST_GET(ClassWrapper.NMS_NBTTAGLIST.getClazz(), new Class[]{int.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "g"), new Since(MinecraftVersion.MC1_9_R1, "h"), new Since(MinecraftVersion.MC1_12_R1, "i"), new Since(MinecraftVersion.MC1_13_R1, "get")),
|
||||
|
||||
ITEMSTACK_SET_TAG(ClassWrapper.NMS_ITEMSTACK.getClazz(), new Class[]{ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "setTag")),
|
||||
ITEMSTACK_NMSCOPY(ClassWrapper.CRAFT_ITEMSTACK.getClazz(), new Class[]{ItemStack.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "asNMSCopy")),
|
||||
ITEMSTACK_BUKKITMIRROR(ClassWrapper.CRAFT_ITEMSTACK.getClazz(), new Class[]{ClassWrapper.NMS_ITEMSTACK.getClazz()}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "asCraftMirror")),
|
||||
|
||||
CRAFT_WORLD_GET_HANDLE(ClassWrapper.CRAFT_WORLD.getClazz(), new Class[]{}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getHandle")),
|
||||
NMS_WORLD_GET_TILEENTITY(ClassWrapper.NMS_WORLDSERVER.getClazz(), new Class[]{ClassWrapper.NMS_BLOCKPOSITION.getClazz()}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getTileEntity")),
|
||||
NMS_WORLD_SET_TILEENTITY(ClassWrapper.NMS_WORLDSERVER.getClazz(), new Class[]{ClassWrapper.NMS_BLOCKPOSITION.getClazz(), ClassWrapper.NMS_TILEENTITY.getClazz()}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "setTileEntity")),
|
||||
NMS_WORLD_REMOVE_TILEENTITY(ClassWrapper.NMS_WORLDSERVER.getClazz(), new Class[]{ClassWrapper.NMS_BLOCKPOSITION.getClazz()}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "t"), new Since(MinecraftVersion.MC1_9_R1, "s"), new Since(MinecraftVersion.MC1_13_R1, "n"), new Since(MinecraftVersion.MC1_14_R1, "removeTileEntity")),
|
||||
|
||||
TILEENTITY_LOAD_LEGACY191(ClassWrapper.NMS_TILEENTITY.getClazz(), new Class[]{ClassWrapper.NMS_MINECRAFTSERVER.getClazz(), ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()}, MinecraftVersion.MC1_9_R1, MinecraftVersion.MC1_9_R1, new Since(MinecraftVersion.MC1_9_R1, "a")), //FIXME: No Spigot mapping!
|
||||
TILEENTITY_LOAD_LEGACY183(ClassWrapper.NMS_TILEENTITY.getClazz(), new Class[]{ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()}, MinecraftVersion.MC1_8_R3, MinecraftVersion.MC1_9_R2, new Since(MinecraftVersion.MC1_8_R3, "c"), new Since(MinecraftVersion.MC1_9_R1, "a"), new Since(MinecraftVersion.MC1_9_R2, "c")), //FIXME: No Spigot mapping!
|
||||
TILEENTITY_LOAD_LEGACY1121(ClassWrapper.NMS_TILEENTITY.getClazz(), new Class[]{ClassWrapper.NMS_WORLD.getClazz(), ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()}, MinecraftVersion.MC1_10_R1, MinecraftVersion.MC1_12_R1, new Since(MinecraftVersion.MC1_10_R1, "a"), new Since(MinecraftVersion.MC1_12_R1, "create")),
|
||||
TILEENTITY_LOAD(ClassWrapper.NMS_TILEENTITY.getClazz(), new Class[]{ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()}, MinecraftVersion.MC1_13_R1, new Since(MinecraftVersion.MC1_12_R1, "create")),
|
||||
|
||||
TILEENTITY_GET_NBT(ClassWrapper.NMS_TILEENTITY.getClazz(), new Class[]{ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()}, MinecraftVersion.MC1_8_R3, new Since(MinecraftVersion.MC1_8_R3, "b"), new Since(MinecraftVersion.MC1_9_R1, "save")),
|
||||
TILEENTITY_SET_NBT(ClassWrapper.NMS_TILEENTITY.getClazz(), new Class[]{ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()}, MinecraftVersion.MC1_8_R3, new Since(MinecraftVersion.MC1_8_R3, "a"), new Since(MinecraftVersion.MC1_12_R1, "load")),
|
||||
|
||||
CRAFT_ENTITY_GET_HANDLE(ClassWrapper.CRAFT_ENTITY.getClazz(), new Class[]{}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "getHandle")),
|
||||
NMS_ENTITY_SET_NBT(ClassWrapper.NMS_ENTITY.getClazz(), new Class[]{ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()}, MinecraftVersion.MC1_8_R3, new Since(MinecraftVersion.MC1_8_R3, "f")), //FIXME: No Spigot mapping!
|
||||
NMS_ENTITY_GET_NBT(ClassWrapper.NMS_ENTITY.getClazz(), new Class[]{ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz()}, MinecraftVersion.MC1_8_R3, new Since(MinecraftVersion.MC1_8_R3, "e"), new Since(MinecraftVersion.MC1_12_R1, "save")),
|
||||
NMS_ENTITY_GETSAVEID(ClassWrapper.NMS_ENTITY.getClazz(), new Class[]{}, MinecraftVersion.MC1_14_R1,new Since(MinecraftVersion.MC1_14_R1, "getSaveID")),
|
||||
|
||||
NBTFILE_READ(ClassWrapper.NMS_NBTCOMPRESSEDSTREAMTOOLS.getClazz(), new Class[]{InputStream.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "a")), //FIXME: No Spigot mapping!
|
||||
NBTFILE_WRITE(ClassWrapper.NMS_NBTCOMPRESSEDSTREAMTOOLS.getClazz(), new Class[]{ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), OutputStream.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "a")), //FIXME: No Spigot mapping!
|
||||
|
||||
|
||||
PARSE_NBT(ClassWrapper.NMS_MOJANGSONPARSER.getClazz(), new Class[]{String.class}, MinecraftVersion.MC1_7_R4, new Since(MinecraftVersion.MC1_7_R4, "parse")),
|
||||
REGISTRY_KEYSET (ClassWrapper.NMS_REGISTRYSIMPLE.getClazz(), new Class[]{}, MinecraftVersion.MC1_11_R1, MinecraftVersion.MC1_13_R1, new Since(MinecraftVersion.MC1_11_R1, "keySet")),
|
||||
REGISTRY_GET (ClassWrapper.NMS_REGISTRYSIMPLE.getClazz(), new Class[]{Object.class}, MinecraftVersion.MC1_11_R1, MinecraftVersion.MC1_13_R1, new Since(MinecraftVersion.MC1_11_R1, "get")),
|
||||
REGISTRY_SET (ClassWrapper.NMS_REGISTRYSIMPLE.getClazz(), new Class[]{Object.class, Object.class}, MinecraftVersion.MC1_11_R1, MinecraftVersion.MC1_13_R1, new Since(MinecraftVersion.MC1_11_R1, "a")), //FIXME: No Spigot mapping!
|
||||
REGISTRY_GET_INVERSE (ClassWrapper.NMS_REGISTRYMATERIALS.getClazz(), new Class[]{Object.class}, MinecraftVersion.MC1_11_R1, MinecraftVersion.MC1_13_R1, new Since(MinecraftVersion.MC1_11_R1, "b")), //FIXME: No Spigot mapping!
|
||||
REGISTRYMATERIALS_KEYSET (ClassWrapper.NMS_REGISTRYMATERIALS.getClazz(), new Class[]{}, MinecraftVersion.MC1_13_R1, new Since(MinecraftVersion.MC1_13_R1, "keySet")),
|
||||
REGISTRYMATERIALS_GET (ClassWrapper.NMS_REGISTRYMATERIALS.getClazz(), new Class[]{ClassWrapper.NMS_MINECRAFTKEY.getClazz()}, MinecraftVersion.MC1_13_R1, new Since(MinecraftVersion.MC1_13_R1, "get")),
|
||||
|
||||
|
||||
;
|
||||
|
||||
private MinecraftVersion removedAfter;
|
||||
private Since targetVersion;
|
||||
private Method method;
|
||||
private boolean loaded = false;
|
||||
private boolean compatible = false;
|
||||
private String methodName = null;
|
||||
|
||||
ReflectionMethod(Class<?> targetClass, Class<?>[] args, MinecraftVersion addedSince, MinecraftVersion removedAfter, Since... methodnames){
|
||||
this.removedAfter = removedAfter;
|
||||
MinecraftVersion server = MinecraftVersion.getVersion();
|
||||
if(server.compareTo(addedSince) < 0 || (this.removedAfter != null && server.getVersionId() > this.removedAfter.getVersionId()))return;
|
||||
compatible = true;
|
||||
Since target = methodnames[0];
|
||||
for(Since s : methodnames){
|
||||
if(s.version.getVersionId() <= server.getVersionId() && target.version.getVersionId() < s.version.getVersionId())
|
||||
target = s;
|
||||
}
|
||||
targetVersion = target;
|
||||
try{
|
||||
method = targetClass.getMethod(targetVersion.name, args);
|
||||
method.setAccessible(true);
|
||||
loaded = true;
|
||||
methodName = targetVersion.name;
|
||||
}catch(NullPointerException | NoSuchMethodException | SecurityException ex){
|
||||
System.out.println("[NBTAPI] Unable to find the method '" + targetVersion.name + "' in '" + targetClass.getSimpleName() + "' Enum: " + this); //NOSONAR This gets loaded before the logger is loaded
|
||||
}
|
||||
}
|
||||
|
||||
ReflectionMethod(Class<?> targetClass, Class<?>[] args, MinecraftVersion addedSince, Since... methodnames){
|
||||
this(targetClass, args, addedSince, null, methodnames);
|
||||
}
|
||||
|
||||
/**
|
||||
* Runs the method on a given target object using the given args.
|
||||
*
|
||||
* @param target
|
||||
* @param args
|
||||
* @return Value returned by the method
|
||||
*/
|
||||
public Object run(Object target, Object... args){
|
||||
if(method == null)
|
||||
throw new NbtApiException("Method not loaded! '" + this + "'");
|
||||
try{
|
||||
return method.invoke(target, args);
|
||||
}catch(Exception ex){
|
||||
throw new NbtApiException("Error while calling the method '" + methodName + "', loaded: " + loaded + ", Enum: " + this, ex);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The MethodName, used in this Minecraft Version
|
||||
*/
|
||||
public String getMethodName() {
|
||||
return methodName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Has this method been linked
|
||||
*/
|
||||
public boolean isLoaded() {
|
||||
return loaded;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Is this method available in this Minecraft Version
|
||||
*/
|
||||
public boolean isCompatible() {
|
||||
return compatible;
|
||||
}
|
||||
|
||||
protected static class Since{
|
||||
public final MinecraftVersion version;
|
||||
public final String name;
|
||||
public Since(MinecraftVersion version, String name) {
|
||||
this.version = version;
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 tr7zw
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
@@ -1,86 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>de.tr7zw</groupId>
|
||||
<artifactId>item-nbt-parent</artifactId>
|
||||
<version>2.2.0</version>
|
||||
</parent>
|
||||
<artifactId>item-nbt-api-plugin</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>de.tr7zw</groupId>
|
||||
<artifactId>item-nbt-api</artifactId>
|
||||
<version>2.2.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>de.tr7zw</groupId>
|
||||
<artifactId>nbt-injector</artifactId>
|
||||
<version>2.2.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<filtering>true</filtering>
|
||||
<directory>src/main/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
<version>3.2.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>shade</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>de.tr7zw.changeme.nbtapi</pattern>
|
||||
<shadedPattern>de.tr7zw.nbtapi</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- Start and Stop a SpigotMC server automatically before and after the integration-test phase. -->
|
||||
<plugin>
|
||||
<groupId>de.tr7zw.spigotmc.maven</groupId>
|
||||
<artifactId>tr-spigotmc-maven-plugin</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>start-server</id>
|
||||
<goals>
|
||||
<goal>start</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>stop-server</id>
|
||||
<goals>
|
||||
<goal>stop</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<!-- 1.8.8-R0.1-SNAPSHOT-latest, 1.9.2-R0.1-SNAPSHOT-latest, 1.9.4-R0.1-SNAPSHOT-latest, 1.10.2-R0.1-SNAPSHOT-latest,1.11.2,1.12.2,1.13.2,1.14.4,1.15.1 -->
|
||||
<versions>1.8.8-R0.1-SNAPSHOT-latest, 1.9.2-R0.1-SNAPSHOT-latest, 1.9.4-R0.1-SNAPSHOT-latest, 1.10.2-R0.1-SNAPSHOT-latest,1.11.2,1.12.2,1.13.2,1.14.4,1.15.1</versions>
|
||||
<works>Success! This version of NBT-API</works>
|
||||
<error>WARNING! This version of NBT-API</error>
|
||||
<filename>item-nbt-api-plugin-${project.version}.jar</filename>
|
||||
<foldername>item-nbt-plugin</foldername>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
@@ -1,155 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Map.Entry;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ClassWrapper;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod;
|
||||
import de.tr7zw.nbtapi.plugin.tests.NBTFileTest;
|
||||
import de.tr7zw.nbtapi.plugin.tests.compounds.ForEachTest;
|
||||
import de.tr7zw.nbtapi.plugin.tests.compounds.GetterSetterTest;
|
||||
import de.tr7zw.nbtapi.plugin.tests.compounds.ListTest;
|
||||
import de.tr7zw.nbtapi.plugin.tests.compounds.MergeTest;
|
||||
import de.tr7zw.nbtapi.plugin.tests.compounds.RemovingKeys;
|
||||
import de.tr7zw.nbtapi.plugin.tests.compounds.SubCompoundsTest;
|
||||
import de.tr7zw.nbtapi.plugin.tests.compounds.TypeTest;
|
||||
import de.tr7zw.nbtapi.plugin.tests.entities.EntityCustomNbtTest;
|
||||
import de.tr7zw.nbtapi.plugin.tests.entities.EntityTest;
|
||||
import de.tr7zw.nbtapi.plugin.tests.items.EmptyItemTest;
|
||||
import de.tr7zw.nbtapi.plugin.tests.items.ItemConvertionTest;
|
||||
import de.tr7zw.nbtapi.plugin.tests.tiles.TilesCustomNBTTest;
|
||||
import de.tr7zw.nbtinjector.NBTInjector;
|
||||
|
||||
public class NBTAPI extends JavaPlugin {
|
||||
|
||||
private boolean compatible = true;
|
||||
private ArrayList<de.tr7zw.nbtapi.plugin.tests.Test> apiTests = new ArrayList<>();
|
||||
|
||||
private static NBTAPI instance;
|
||||
|
||||
public static NBTAPI getInstance() {
|
||||
return instance;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onLoad() {
|
||||
|
||||
//Disabled by default since 2.1. Enable it yourself by calling NBTInjector.inject(); during onLoad.
|
||||
/*getLogger().info("Injecting custom NBT");
|
||||
try {
|
||||
NBTInjector.inject();
|
||||
getLogger().info("Injected!");
|
||||
} catch (Throwable ex) { // NOSONAR
|
||||
getLogger().log(Level.SEVERE, "Error while Injecting custom Tile/Entity classes!", ex);
|
||||
compatible = false;
|
||||
}*/
|
||||
|
||||
// NBTCompounds
|
||||
apiTests.add(new GetterSetterTest());
|
||||
apiTests.add(new TypeTest());
|
||||
apiTests.add(new RemovingKeys());
|
||||
apiTests.add(new ListTest());
|
||||
apiTests.add(new SubCompoundsTest());
|
||||
apiTests.add(new MergeTest());
|
||||
apiTests.add(new ForEachTest());
|
||||
|
||||
// Items
|
||||
apiTests.add(new ItemConvertionTest());
|
||||
apiTests.add(new EmptyItemTest());
|
||||
|
||||
// Entity
|
||||
apiTests.add(new EntityTest());
|
||||
apiTests.add(new EntityCustomNbtTest());
|
||||
|
||||
// Tiles
|
||||
apiTests.add(new TilesCustomNBTTest());
|
||||
|
||||
// Files
|
||||
apiTests.add(new NBTFileTest());
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
instance = this; // NOSONAR
|
||||
// new MetricsLite(this); The metrics moved into the API
|
||||
|
||||
getLogger().info("Adding listeners...");
|
||||
Bukkit.getPluginManager().registerEvents(new ReloadListener(), this);
|
||||
getLogger().info("Checking bindings...");
|
||||
MinecraftVersion.getVersion();
|
||||
getLogger().info("Gson:");
|
||||
MinecraftVersion.hasGsonSupport();
|
||||
getLogger().info("Classes:");
|
||||
boolean classUnlinked = false;
|
||||
for (ClassWrapper c : ClassWrapper.values()) {
|
||||
if (c.isEnabled() && c.getClazz() == null) {
|
||||
getLogger().warning(c.name() + " did not find it's class!");
|
||||
compatible = false;
|
||||
classUnlinked = true;
|
||||
}
|
||||
}
|
||||
if (!classUnlinked)
|
||||
getLogger().info("All Classes where able to link!");
|
||||
|
||||
getLogger().info("Methods:");
|
||||
boolean methodUnlinked = false;
|
||||
for (ReflectionMethod method : ReflectionMethod.values()) {
|
||||
if (method.isCompatible() && !method.isLoaded()) {
|
||||
getLogger().warning(method.name() + " did not find the method!");
|
||||
compatible = false;
|
||||
methodUnlinked = true;
|
||||
}
|
||||
}
|
||||
if (!methodUnlinked)
|
||||
getLogger().info("All Methods where able to link!");
|
||||
getLogger().info("Running NBT reflection test...");
|
||||
|
||||
Map<de.tr7zw.nbtapi.plugin.tests.Test, Exception> results = new HashMap<>();
|
||||
for (de.tr7zw.nbtapi.plugin.tests.Test test : apiTests) {
|
||||
try {
|
||||
test.test();
|
||||
results.put(test, null);
|
||||
} catch (Exception ex) {
|
||||
results.put(test, ex);
|
||||
getLogger().log(Level.WARNING, "Error during '" + test.getClass().getSimpleName() + "' test!", ex);
|
||||
} catch (Throwable th) { // NOSONAR
|
||||
getLogger().log(Level.SEVERE, "Servere error during '" + test.getClass().getSimpleName() + "' test!");
|
||||
getLogger().warning(
|
||||
"WARNING! This version of Item-NBT-API seems to be broken with your Spigot version! Canceled the other tests!");
|
||||
throw th;
|
||||
}
|
||||
}
|
||||
|
||||
for (Entry<de.tr7zw.nbtapi.plugin.tests.Test, Exception> entry : results.entrySet()) {
|
||||
if (entry.getValue() != null)
|
||||
compatible = false;
|
||||
getLogger().info(entry.getKey().getClass().getSimpleName() + ": "
|
||||
+ (entry.getValue() == null ? "Ok" : entry.getValue().getMessage()));
|
||||
}
|
||||
|
||||
String checkMessage = "Plugins that don't check properly may throw Exeptions, crash or have unexpected behaviors!";
|
||||
if (compatible) {
|
||||
getLogger().info("Success! This version of NBT-API is compatible with your server.");
|
||||
} else {
|
||||
getLogger().warning(
|
||||
"WARNING! This version of NBT-API seems to be broken with your Spigot version! " + checkMessage);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @return True if all selfchecks succeeded
|
||||
*/
|
||||
public boolean isCompatible() {
|
||||
return compatible;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin;
|
||||
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.Listener;
|
||||
|
||||
import de.tr7zw.nbtinjector.NBTInjector;
|
||||
|
||||
/**
|
||||
* This listener class tries to prevent people from reloading while the NBTInjector is enabled.
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class ReloadListener implements Listener{
|
||||
|
||||
/**
|
||||
* Console handler
|
||||
*
|
||||
* @param event
|
||||
*/
|
||||
@EventHandler
|
||||
public void onCommand(org.bukkit.event.server.ServerCommandEvent event) {
|
||||
if(event.getCommand().toLowerCase().startsWith("reload") && NBTInjector.isInjected()) {
|
||||
event.setCancelled(true);
|
||||
event.getSender().sendMessage("[NBTAPI] The NBTInjector is currently enabled. Reloading will turn the server into an unstable state and data-loss may accure. Please do a clean restart. Canceled reload!");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Player handler
|
||||
*
|
||||
* @param event
|
||||
*/
|
||||
@EventHandler
|
||||
public void onCommand(org.bukkit.event.player.PlayerCommandPreprocessEvent event) {
|
||||
if(event.getMessage().toLowerCase().startsWith("/reload") && NBTInjector.isInjected()) {
|
||||
event.setCancelled(true);
|
||||
event.getPlayer().sendMessage("[NBTAPI] The NBTInjector is currently enabled. Reloading will turn the server into an unstable state and data-loss may accure. Please do a clean restart. Canceled reload!");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests;
|
||||
|
||||
import java.io.File;
|
||||
import java.nio.file.Files;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTCompound;
|
||||
import de.tr7zw.changeme.nbtapi.NBTContainer;
|
||||
import de.tr7zw.changeme.nbtapi.NBTFile;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.nbtapi.plugin.NBTAPI;
|
||||
|
||||
public class NBTFileTest implements Test {
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
NBTAPI.getInstance().getDataFolder().mkdirs();
|
||||
NBTFile file = new NBTFile(new File(NBTAPI.getInstance().getDataFolder(), "test.nbt"));
|
||||
file.addCompound("testcomp").setString("test1", "ok");
|
||||
NBTCompound comp = file.getCompound("testcomp");
|
||||
comp.setString("test2", "ok");
|
||||
file.setLong("time", System.currentTimeMillis());
|
||||
file.setString("test", "test");
|
||||
NBTCompound chunks = file.addCompound("chunks");
|
||||
NBTCompound chunk = chunks.addCompound("somechunk");
|
||||
NBTCompound block = chunk.addCompound("someblock");
|
||||
block.setString("type", "wool");
|
||||
file.save();
|
||||
|
||||
if(!"wool".equals(block.getString("type"))) {
|
||||
throw new NbtApiException("SubCompounds did not work!");
|
||||
}
|
||||
|
||||
NBTFile fileLoaded = new NBTFile(new File(NBTAPI.getInstance().getDataFolder(), "test.nbt"));
|
||||
if (!fileLoaded.getString("test").equals("test")) {
|
||||
throw new NbtApiException("Wasn't able to load NBT File with the correct content!");
|
||||
}
|
||||
Files.deleteIfExists(fileLoaded.getFile().toPath());
|
||||
// String
|
||||
String str = fileLoaded.asNBTString();
|
||||
NBTContainer rebuild = new NBTContainer(str);
|
||||
if (!str.equals(rebuild.asNBTString())) {
|
||||
throw new NbtApiException("Wasn't able to parse NBT from a String!");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests;
|
||||
|
||||
public interface Test {
|
||||
|
||||
public void test() throws Exception; // NOSONAR
|
||||
|
||||
}
|
||||
@@ -1,50 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests.compounds;
|
||||
|
||||
import java.util.ListIterator;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTCompoundList;
|
||||
import de.tr7zw.changeme.nbtapi.NBTContainer;
|
||||
import de.tr7zw.changeme.nbtapi.NBTListCompound;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.nbtapi.plugin.tests.Test;
|
||||
|
||||
/**
|
||||
* Test requested by TAU on Discord
|
||||
*
|
||||
*/
|
||||
public class ForEachTest implements Test {
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
NBTContainer comp = new NBTContainer();
|
||||
NBTCompoundList compList = comp.getCompoundList("testkey");
|
||||
if (compList != null) {
|
||||
compList.addCompound().setInteger("id", 1);
|
||||
compList.addCompound().setInteger("id", 2);
|
||||
compList.addCompound().setInteger("id", 3);
|
||||
int count = 0;
|
||||
for (NBTListCompound listComp : compList) {
|
||||
count++;
|
||||
}
|
||||
if(count != compList.size())
|
||||
throw new NbtApiException("For loop did not get all Entries!");
|
||||
count = 0;
|
||||
ListIterator<NBTListCompound> lit = compList.listIterator();
|
||||
while(lit.hasNext()){
|
||||
lit.next();
|
||||
count++;
|
||||
}
|
||||
if(count != compList.size())
|
||||
throw new NbtApiException("ListIterator did not get all Entries!");
|
||||
count = 0;
|
||||
while(lit.hasPrevious()){
|
||||
lit.previous();
|
||||
count++;
|
||||
}
|
||||
if(count != compList.size())
|
||||
throw new NbtApiException("ListIterator previous did not get all Entries!");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
-61
@@ -1,61 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests.compounds;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTContainer;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.nbtapi.plugin.tests.Test;
|
||||
|
||||
public class GetterSetterTest implements Test {
|
||||
|
||||
private static final String STRING_TEST_KEY = "stringTest";
|
||||
private static final String INT_TEST_KEY = "intTest";
|
||||
private static final String DOUBLE_TEST_KEY = "doubleTest";
|
||||
private static final String BOOLEAN_TEST_KEY = "booleanTest";
|
||||
private static final String SHORT_TEST_KEY = "shortTest";
|
||||
private static final String BYTE_TEST_KEY = "byteTest";
|
||||
private static final String FLOAT_TEST_KEY = "floatTest";
|
||||
private static final String LONG_TEST_KEY = "longTest";
|
||||
private static final String INTARRAY_TEST_KEY = "intarrayTest";
|
||||
private static final String BYTEARRAY_TEST_KEY = "bytearrayTest";
|
||||
|
||||
private static final String STRING_TEST_VALUE = "TestString";
|
||||
private static final int INT_TEST_VALUE = 42;
|
||||
private static final double DOUBLE_TEST_VALUE = 1.5d;
|
||||
private static final boolean BOOLEAN_TEST_VALUE = true;
|
||||
private static final short SHORT_TEST_VALUE = 64;
|
||||
private static final byte BYTE_TEST_VALUE = 7;
|
||||
private static final float FLOAT_TEST_VALUE = 13.37f;
|
||||
private static final long LONG_TEST_VALUE = (long) Integer.MAX_VALUE + 42L;
|
||||
private static final int[] INTARRAY_TEST_VALUE = new int[] { 1337, 42, 69 };
|
||||
private static final byte[] BYTEARRAY_TEST_VALUE = new byte[] { 8, 7, 3, 2 };
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
NBTContainer comp = new NBTContainer();
|
||||
|
||||
comp.setString(STRING_TEST_KEY, STRING_TEST_VALUE);
|
||||
comp.setInteger(INT_TEST_KEY, INT_TEST_VALUE);
|
||||
comp.setDouble(DOUBLE_TEST_KEY, DOUBLE_TEST_VALUE);
|
||||
comp.setBoolean(BOOLEAN_TEST_KEY, BOOLEAN_TEST_VALUE);
|
||||
comp.setByte(BYTE_TEST_KEY, BYTE_TEST_VALUE);
|
||||
comp.setShort(SHORT_TEST_KEY, SHORT_TEST_VALUE);
|
||||
comp.setLong(LONG_TEST_KEY, LONG_TEST_VALUE);
|
||||
comp.setFloat(FLOAT_TEST_KEY, FLOAT_TEST_VALUE);
|
||||
comp.setIntArray(INTARRAY_TEST_KEY, INTARRAY_TEST_VALUE);
|
||||
comp.setByteArray(BYTEARRAY_TEST_KEY, BYTEARRAY_TEST_VALUE);
|
||||
|
||||
if (!comp.hasKey(STRING_TEST_KEY)) {
|
||||
throw new NbtApiException("Wasn't able to check a key! The Item-NBT-API may not work!");
|
||||
}
|
||||
if (!(STRING_TEST_VALUE).equals(comp.getString(STRING_TEST_KEY))
|
||||
|| comp.getInteger(INT_TEST_KEY) != INT_TEST_VALUE
|
||||
|| comp.getDouble(DOUBLE_TEST_KEY) != DOUBLE_TEST_VALUE
|
||||
|| comp.getByte(BYTE_TEST_KEY) != BYTE_TEST_VALUE || comp.getShort(SHORT_TEST_KEY) != SHORT_TEST_VALUE
|
||||
|| comp.getFloat(FLOAT_TEST_KEY) != FLOAT_TEST_VALUE || comp.getLong(LONG_TEST_KEY) != LONG_TEST_VALUE
|
||||
|| comp.getIntArray(INTARRAY_TEST_KEY).length != (INTARRAY_TEST_VALUE).length
|
||||
|| comp.getByteArray(BYTEARRAY_TEST_KEY).length != (BYTEARRAY_TEST_VALUE).length
|
||||
|| !comp.getBoolean(BOOLEAN_TEST_KEY).equals(BOOLEAN_TEST_VALUE)) {
|
||||
throw new NbtApiException("One key does not equal the original value! The Item-NBT-API may not work!");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,94 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests.compounds;
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTItem;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
|
||||
import de.tr7zw.nbtapi.plugin.tests.Test;
|
||||
|
||||
public class GsonTest implements Test {
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
if (!MinecraftVersion.hasGsonSupport()) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
ItemStack item = new ItemStack(Material.STONE, 1);
|
||||
NBTItem nbtItem = new NBTItem(item);
|
||||
|
||||
nbtItem.setObject(JSON_TEST_KEY, new SimpleJsonTestObject());
|
||||
|
||||
if (!nbtItem.hasKey(JSON_TEST_KEY)) {
|
||||
throw new NbtApiException(
|
||||
"Wasn't able to find JSON key! The Item-NBT-API may not work with Json serialization/deserialization!");
|
||||
} else {
|
||||
SimpleJsonTestObject simpleObject = nbtItem.getObject(JSON_TEST_KEY, SimpleJsonTestObject.class);
|
||||
if (simpleObject == null) {
|
||||
throw new NbtApiException(
|
||||
"Wasn't able to check JSON key! The Item-NBT-API may not work with Json serialization/deserialization!");
|
||||
} else if (!(STRING_TEST_VALUE).equals(simpleObject.getTestString())
|
||||
|| simpleObject.getTestInteger() != INT_TEST_VALUE
|
||||
|| simpleObject.getTestDouble() != DOUBLE_TEST_VALUE
|
||||
|| !simpleObject.isTestBoolean() == BOOLEAN_TEST_VALUE) {
|
||||
throw new NbtApiException(
|
||||
"One key does not equal the original value in JSON! The Item-NBT-API may not work with Json serialization/deserialization!");
|
||||
}
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException("Exception during Gson check!", ex);
|
||||
}
|
||||
}
|
||||
|
||||
// region STATIC FINAL VARIABLES
|
||||
private static final String JSON_TEST_KEY = "jsonTest";
|
||||
|
||||
private static final String STRING_TEST_VALUE = "TestString";
|
||||
private static final int INT_TEST_VALUE = 42;
|
||||
private static final double DOUBLE_TEST_VALUE = 1.5d;
|
||||
private static final boolean BOOLEAN_TEST_VALUE = true;
|
||||
|
||||
// end region STATIC FINAL VARIABLES
|
||||
|
||||
public static class SimpleJsonTestObject {
|
||||
private String testString = STRING_TEST_VALUE;
|
||||
private int testInteger = INT_TEST_VALUE;
|
||||
private double testDouble = DOUBLE_TEST_VALUE;
|
||||
private boolean testBoolean = BOOLEAN_TEST_VALUE;
|
||||
|
||||
public String getTestString() {
|
||||
return testString;
|
||||
}
|
||||
|
||||
public void setTestString(String testString) {
|
||||
this.testString = testString;
|
||||
}
|
||||
|
||||
public int getTestInteger() {
|
||||
return testInteger;
|
||||
}
|
||||
|
||||
public void setTestInteger(int testInteger) {
|
||||
this.testInteger = testInteger;
|
||||
}
|
||||
|
||||
public double getTestDouble() {
|
||||
return testDouble;
|
||||
}
|
||||
|
||||
public void setTestDouble(double testDouble) {
|
||||
this.testDouble = testDouble;
|
||||
}
|
||||
|
||||
public boolean isTestBoolean() {
|
||||
return testBoolean;
|
||||
}
|
||||
|
||||
public void setTestBoolean(boolean testBoolean) {
|
||||
this.testBoolean = testBoolean;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,80 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests.compounds;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTCompound;
|
||||
import de.tr7zw.changeme.nbtapi.NBTCompoundList;
|
||||
import de.tr7zw.changeme.nbtapi.NBTContainer;
|
||||
import de.tr7zw.changeme.nbtapi.NBTList;
|
||||
import de.tr7zw.changeme.nbtapi.NBTListCompound;
|
||||
import de.tr7zw.changeme.nbtapi.NBTType;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.nbtapi.plugin.tests.Test;
|
||||
|
||||
public class ListTest implements Test {
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
NBTContainer comp = new NBTContainer();
|
||||
|
||||
// Strings
|
||||
NBTList<String> list = comp.getStringList("testlist");
|
||||
list.add("test1");
|
||||
list.add("test2");
|
||||
list.add("test3");
|
||||
list.add("test4");
|
||||
list.set(2, "test42");
|
||||
list.remove(1);
|
||||
if (!list.get(1).equals("test42") || list.size() != 3) {
|
||||
throw new NbtApiException("The String-list did not match what it should have looked like.");
|
||||
}
|
||||
|
||||
// Compound
|
||||
NBTCompoundList taglist = comp.getCompoundList("complist");
|
||||
NBTListCompound lcomp = taglist.addCompound();
|
||||
lcomp.setDouble("double1", 0.3333);
|
||||
lcomp.setInteger("int1", 42);
|
||||
lcomp.setString("test1", "test1");
|
||||
lcomp.setString("test2", "test2");
|
||||
lcomp.removeKey("test1");
|
||||
NBTCompound subsubcomp = lcomp.addCompound("listsubkey");
|
||||
subsubcomp.setString("deep", "String");
|
||||
subsubcomp.getCompoundList("deeplist").addCompound().setString("test", "test");
|
||||
subsubcomp.getCompoundList("clonelist").addCompound(comp);
|
||||
|
||||
taglist = null;
|
||||
lcomp = null;
|
||||
subsubcomp = null;
|
||||
|
||||
taglist = comp.getCompoundList("complist");
|
||||
if (taglist.size() == 1) {
|
||||
lcomp = taglist.get(0);
|
||||
if (lcomp.getKeys().size() != 4) {
|
||||
throw new NbtApiException("Wrong key amount in Taglist (" + lcomp.getKeys().size() + ")!");
|
||||
} else if (!(lcomp.getDouble("double1") == 0.3333 && lcomp.getInteger("int1") == 42
|
||||
&& lcomp.getString("test2").equals("test2") && !lcomp.hasKey("test1"))) {
|
||||
throw new NbtApiException("One key in the Taglist changed! The Item-NBT-API may not work!");
|
||||
} else if(lcomp.getCompound("listsubkey") == null || !"String".equals(lcomp.getCompound("listsubkey").getString("deep"))){
|
||||
throw new NbtApiException("The Compound nested in the listcompound was not correct! The Item-NBT-API may not work!");
|
||||
} else if(lcomp.getCompound("listsubkey").getType("deep") != NBTType.NBTTagString){
|
||||
throw new NbtApiException("The nested key's type wasn't correct! The Item-NBT-API may not work!");
|
||||
} else if(lcomp.getCompound("listsubkey").getType("deeplist") != NBTType.NBTTagList){
|
||||
throw new NbtApiException("The nested list's type wasn't correct '" + lcomp.getCompound("listsubkey").getType("deeplist") + "'! The Item-NBT-API may not work!");
|
||||
}
|
||||
} else {
|
||||
throw new NbtApiException("Taglist is empty! The Item-NBT-API may not work!");
|
||||
}
|
||||
|
||||
// Integer
|
||||
NBTList<Integer> intlist = comp.getIntegerList("inttest");
|
||||
intlist.add(42);
|
||||
intlist.add(69);
|
||||
if (intlist.size() == 2 && intlist.get(0) == 42 && intlist.get(1) == 69) {
|
||||
// ok
|
||||
} else {
|
||||
throw new NbtApiException("IntList is not correct! " + Arrays.toString(intlist.toArray(new Integer[0])));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests.compounds;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTContainer;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.nbtapi.plugin.tests.Test;
|
||||
|
||||
public class MergeTest implements Test {
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
NBTContainer test1 = new NBTContainer();
|
||||
test1.setString("test1", "test");
|
||||
NBTContainer test2 = new NBTContainer();
|
||||
test2.setString("test2", "test");
|
||||
test2.addCompound("test").setLong("time", System.currentTimeMillis());
|
||||
test1.mergeCompound(test2);
|
||||
if (!test1.getString("test1").equals(test1.getString("test2"))) {
|
||||
throw new NbtApiException("Wasn't able to merge Compounds!");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
-67
@@ -1,67 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests.compounds;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTContainer;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.nbtapi.plugin.tests.Test;
|
||||
|
||||
public class RemovingKeys implements Test {
|
||||
|
||||
private static final String STRING_TEST_KEY = "stringTest";
|
||||
private static final String INT_TEST_KEY = "intTest";
|
||||
private static final String DOUBLE_TEST_KEY = "doubleTest";
|
||||
private static final String BOOLEAN_TEST_KEY = "booleanTest";
|
||||
private static final String SHORT_TEST_KEY = "shortTest";
|
||||
private static final String BYTE_TEST_KEY = "byteTest";
|
||||
private static final String FLOAT_TEST_KEY = "floatTest";
|
||||
private static final String LONG_TEST_KEY = "longTest";
|
||||
private static final String INTARRAY_TEST_KEY = "intarrayTest";
|
||||
private static final String BYTEARRAY_TEST_KEY = "bytearrayTest";
|
||||
|
||||
private static final String STRING_TEST_VALUE = "TestString";
|
||||
private static final int INT_TEST_VALUE = 42;
|
||||
private static final double DOUBLE_TEST_VALUE = 1.5d;
|
||||
private static final boolean BOOLEAN_TEST_VALUE = true;
|
||||
private static final short SHORT_TEST_VALUE = 64;
|
||||
private static final byte BYTE_TEST_VALUE = 7;
|
||||
private static final float FLOAT_TEST_VALUE = 13.37f;
|
||||
private static final long LONG_TEST_VALUE = (long) Integer.MAX_VALUE + 42L;
|
||||
private static final int[] INTARRAY_TEST_VALUE = new int[] { 1337, 42, 69 };
|
||||
private static final byte[] BYTEARRAY_TEST_VALUE = new byte[] { 8, 7, 3, 2 };
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
NBTContainer comp = new NBTContainer();
|
||||
|
||||
comp.setString(STRING_TEST_KEY, STRING_TEST_VALUE);
|
||||
comp.setInteger(INT_TEST_KEY, INT_TEST_VALUE);
|
||||
comp.setDouble(DOUBLE_TEST_KEY, DOUBLE_TEST_VALUE);
|
||||
comp.setBoolean(BOOLEAN_TEST_KEY, BOOLEAN_TEST_VALUE);
|
||||
comp.setByte(BYTE_TEST_KEY, BYTE_TEST_VALUE);
|
||||
comp.setShort(SHORT_TEST_KEY, SHORT_TEST_VALUE);
|
||||
comp.setLong(LONG_TEST_KEY, LONG_TEST_VALUE);
|
||||
comp.setFloat(FLOAT_TEST_KEY, FLOAT_TEST_VALUE);
|
||||
comp.setIntArray(INTARRAY_TEST_KEY, INTARRAY_TEST_VALUE);
|
||||
comp.setByteArray(BYTEARRAY_TEST_KEY, BYTEARRAY_TEST_VALUE);
|
||||
|
||||
if (comp.getKeys().size() != 10) {
|
||||
throw new NbtApiException("Key amount did not match after setting keys!");
|
||||
}
|
||||
|
||||
comp.setString(STRING_TEST_KEY, null);
|
||||
comp.setInteger(INT_TEST_KEY, null);
|
||||
comp.setDouble(DOUBLE_TEST_KEY, null);
|
||||
comp.setBoolean(BOOLEAN_TEST_KEY, null);
|
||||
comp.setByte(BYTE_TEST_KEY, null);
|
||||
comp.setShort(SHORT_TEST_KEY, null);
|
||||
comp.setLong(LONG_TEST_KEY, null);
|
||||
comp.setFloat(FLOAT_TEST_KEY, null);
|
||||
comp.setIntArray(INTARRAY_TEST_KEY, null);
|
||||
comp.setByteArray(BYTEARRAY_TEST_KEY, null);
|
||||
|
||||
if (comp.getKeys().size() != 0) {
|
||||
throw new NbtApiException("Keys where not removed using the setter with null!");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
-50
@@ -1,50 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests.compounds;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTCompound;
|
||||
import de.tr7zw.changeme.nbtapi.NBTContainer;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.nbtapi.plugin.tests.Test;
|
||||
|
||||
public class SubCompoundsTest implements Test {
|
||||
|
||||
private static final String COMP_TEST_KEY = "componentTest";
|
||||
private static final String STRING_TEST_KEY = "stringTest";
|
||||
private static final String INT_TEST_KEY = "intTest";
|
||||
private static final String DOUBLE_TEST_KEY = "doubleTest";
|
||||
private static final String BOOLEAN_TEST_KEY = "booleanTest";
|
||||
private static final String STRING_TEST_VALUE = "TestString";
|
||||
private static final int INT_TEST_VALUE = 42;
|
||||
private static final double DOUBLE_TEST_VALUE = 1.5d;
|
||||
private static final boolean BOOLEAN_TEST_VALUE = true;
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
NBTContainer cont = new NBTContainer();
|
||||
|
||||
NBTCompound comp = cont.addCompound(COMP_TEST_KEY);
|
||||
comp.setString(STRING_TEST_KEY, STRING_TEST_VALUE + "2");
|
||||
comp.setInteger(INT_TEST_KEY, INT_TEST_VALUE * 2);
|
||||
comp.setDouble(DOUBLE_TEST_KEY, DOUBLE_TEST_VALUE * 2);
|
||||
|
||||
if (cont.getCompound("invalide") != null) {
|
||||
throw new NbtApiException("An invalide compound did not return null!");
|
||||
}
|
||||
|
||||
comp = null;
|
||||
|
||||
comp = cont.getCompound(COMP_TEST_KEY);
|
||||
if (comp == null) {
|
||||
throw new NbtApiException("Wasn't able to get the NBTCompound!");
|
||||
}
|
||||
if (!comp.hasKey(STRING_TEST_KEY)) {
|
||||
throw new NbtApiException("Wasn't able to check a compound key!");
|
||||
}
|
||||
if (!(STRING_TEST_VALUE + "2").equals(comp.getString(STRING_TEST_KEY))
|
||||
|| comp.getInteger(INT_TEST_KEY) != INT_TEST_VALUE * 2
|
||||
|| comp.getDouble(DOUBLE_TEST_KEY) != DOUBLE_TEST_VALUE * 2
|
||||
|| comp.getBoolean(BOOLEAN_TEST_KEY) == BOOLEAN_TEST_VALUE) {
|
||||
throw new NbtApiException("One key does not equal the original compound value!");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests.compounds;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTCompound;
|
||||
import de.tr7zw.changeme.nbtapi.NBTContainer;
|
||||
import de.tr7zw.changeme.nbtapi.NBTType;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.nbtapi.plugin.tests.Test;
|
||||
|
||||
public class TypeTest implements Test {
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
NBTCompound comp = new NBTContainer();
|
||||
comp.setString("s", "test");
|
||||
comp.setInteger("i", 42);
|
||||
comp.addCompound("c");
|
||||
if (comp.getType("s") != NBTType.NBTTagString || comp.getType("i") != NBTType.NBTTagInt
|
||||
|| comp.getType("c") != NBTType.NBTTagCompound)
|
||||
throw new NbtApiException("One parsed type did not match what it should have been!");
|
||||
}
|
||||
|
||||
}
|
||||
-41
@@ -1,41 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests.entities;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.entity.Animals;
|
||||
import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.Monster;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTCompound;
|
||||
import de.tr7zw.changeme.nbtapi.NBTEntity;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.nbtapi.plugin.tests.Test;
|
||||
import de.tr7zw.nbtinjector.NBTInjector;
|
||||
|
||||
public class EntityCustomNbtTest implements Test {
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
if(!NBTInjector.isInjected())return;
|
||||
if (!Bukkit.getWorlds().isEmpty()) {
|
||||
World world = Bukkit.getWorlds().get(0);
|
||||
try {
|
||||
if (!world.getEntitiesByClasses(Animals.class, Monster.class).isEmpty()) {
|
||||
Entity ent = world.getEntitiesByClasses(Animals.class, Monster.class).iterator().next();
|
||||
ent = NBTInjector.patchEntity(ent);
|
||||
NBTCompound comp = NBTInjector.getNbtData(ent);
|
||||
comp.setString("Hello", "World");
|
||||
NBTEntity nbtent = new NBTEntity(ent);
|
||||
if (!nbtent.asNBTString().contains("__extraData:{Hello:\"World\"}")) {
|
||||
throw new NbtApiException("Custom Data did not save to the Entity!");
|
||||
}
|
||||
comp.removeKey("Hello");
|
||||
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException("Wasn't able to use NBTEntities!", ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests.entities;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.Animals;
|
||||
import org.bukkit.entity.Monster;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTEntity;
|
||||
import de.tr7zw.changeme.nbtapi.NBTTileEntity;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.nbtapi.plugin.tests.Test;
|
||||
|
||||
public class EntityTest implements Test {
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
if (!Bukkit.getWorlds().isEmpty()) {
|
||||
World world = Bukkit.getWorlds().get(0);
|
||||
try {
|
||||
if (!world.getEntitiesByClasses(Animals.class, Monster.class).isEmpty()) {
|
||||
NBTEntity nbte = new NBTEntity(
|
||||
world.getEntitiesByClasses(Animals.class, Monster.class).iterator().next());
|
||||
nbte.setString("INVALIDEKEY", "test");
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException("Wasn't able to use NBTEntities!");
|
||||
}
|
||||
try {
|
||||
Block block = world.getBlockAt(world.getSpawnLocation().getBlockX(), 255,
|
||||
world.getSpawnLocation().getBlockZ());
|
||||
if (block.getType() == Material.AIR) {
|
||||
block.setType(Material.CHEST);
|
||||
NBTTileEntity tile = new NBTTileEntity(block.getState());
|
||||
tile.setString("Lock", "test");
|
||||
if (!tile.asNBTString().contains("Lock:\"test\"")) {
|
||||
block.setType(Material.AIR);
|
||||
throw new NbtApiException("The Lock wasn't successfully set.");
|
||||
}
|
||||
block.setType(Material.AIR);
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException("Wasn't able to use NBTTiles!", ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests.items;
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTItem;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.nbtapi.plugin.tests.Test;
|
||||
|
||||
public class EmptyItemTest implements Test {
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
ItemStack item = new ItemStack(Material.STONE);
|
||||
NBTItem nbti = new NBTItem(item);
|
||||
if (nbti.getBoolean("test") == null || nbti.getString("test") == null)
|
||||
throw new NbtApiException("Getters return null instead of the default value");
|
||||
}
|
||||
|
||||
}
|
||||
-35
@@ -1,35 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests.items;
|
||||
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.meta.ItemMeta;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTContainer;
|
||||
import de.tr7zw.changeme.nbtapi.NBTItem;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.nbtapi.plugin.tests.Test;
|
||||
|
||||
public class ItemConvertionTest implements Test {
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
ItemStack item = new ItemStack(Material.STONE, 1);
|
||||
ItemMeta meta = item.getItemMeta();
|
||||
meta.setLore(Lists.newArrayList("Firest Line", "Second Line"));
|
||||
item.setItemMeta(meta);
|
||||
String nbt = NBTItem.convertItemtoNBT(item).asNBTString();
|
||||
if (!nbt.contains("Firest Line") || !nbt.contains("Second Line"))
|
||||
throw new NbtApiException("The Item nbt '" + nbt + "' didn't contain the lore");
|
||||
ItemStack rebuild = NBTItem.convertNBTtoItem(new NBTContainer(nbt));
|
||||
if (!item.isSimilar(rebuild))
|
||||
throw new NbtApiException("Rebuilt item did not match the original!");
|
||||
|
||||
NBTContainer cont = new NBTContainer();
|
||||
cont.setItemStack("testItem", item);
|
||||
if(!cont.getItemStack("testItem").isSimilar(item))
|
||||
throw new NbtApiException("Rebuilt item did not match the original!");
|
||||
}
|
||||
|
||||
}
|
||||
-40
@@ -1,40 +0,0 @@
|
||||
package de.tr7zw.nbtapi.plugin.tests.tiles;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.block.Block;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTCompound;
|
||||
import de.tr7zw.changeme.nbtapi.NBTTileEntity;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.nbtapi.plugin.tests.Test;
|
||||
import de.tr7zw.nbtinjector.NBTInjector;
|
||||
|
||||
public class TilesCustomNBTTest implements Test {
|
||||
|
||||
@Override
|
||||
public void test() throws Exception {
|
||||
if(!NBTInjector.isInjected())return;
|
||||
if (!Bukkit.getWorlds().isEmpty()) {
|
||||
World world = Bukkit.getWorlds().get(0);
|
||||
try {
|
||||
Block block = world.getBlockAt(world.getSpawnLocation().getBlockX(), 255,
|
||||
world.getSpawnLocation().getBlockZ());
|
||||
if (block.getType() == Material.AIR) {
|
||||
block.setType(Material.CHEST);
|
||||
NBTCompound comp = NBTInjector.getNbtData(block.getState());
|
||||
comp.setString("Foo", "Bar");
|
||||
if (!new NBTTileEntity(block.getState()).asNBTString().contains("__extraData:{Foo:\"Bar\"}")) {
|
||||
block.setType(Material.AIR);
|
||||
throw new NbtApiException("Custom Data did not save to the Tile!");
|
||||
}
|
||||
block.setType(Material.AIR);
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
throw new NbtApiException("Wasn't able to use NBTTiles!", ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
main: de.tr7zw.nbtapi.plugin.NBTAPI
|
||||
name: NBTAPI
|
||||
version: ${project.version}
|
||||
author: tr7zw
|
||||
loadbefore: [ItemNBTAPI]
|
||||
@@ -1,22 +0,0 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2015 tr7zw
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
@@ -1,28 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>de.tr7zw</groupId>
|
||||
<artifactId>item-nbt-parent</artifactId>
|
||||
<version>2.2.0</version>
|
||||
</parent>
|
||||
<artifactId>nbt-injector</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>de.tr7zw</groupId>
|
||||
<artifactId>item-nbt-api</artifactId>
|
||||
<version>2.2.0</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.javassist</groupId>
|
||||
<artifactId>javassist</artifactId>
|
||||
<version>3.26.0-GA</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<defaultGoal>clean install javadoc:javadoc</defaultGoal>
|
||||
</build>
|
||||
</project>
|
||||
@@ -1,193 +0,0 @@
|
||||
package de.tr7zw.nbtinjector;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.lang.reflect.Constructor;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTCompound;
|
||||
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ClassWrapper;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod;
|
||||
import javassist.CannotCompileException;
|
||||
import javassist.ClassPool;
|
||||
import javassist.CtClass;
|
||||
import javassist.CtField;
|
||||
import javassist.CtMethod;
|
||||
import javassist.CtNewConstructor;
|
||||
import javassist.LoaderClassPath;
|
||||
import javassist.NotFoundException;
|
||||
|
||||
/**
|
||||
* This class uses Javassist to create wrapped Entity/Tile classes during the
|
||||
* runtime
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class ClassGenerator {
|
||||
|
||||
/**
|
||||
* Hidden Constructor
|
||||
*/
|
||||
private ClassGenerator() {
|
||||
|
||||
}
|
||||
|
||||
private static final String GENERATOR_PACKAGE = "de.tr7zw.nbtinjector.generated";
|
||||
|
||||
/**
|
||||
* Wrappes a given class with the INBTWrapper interface
|
||||
*
|
||||
* @param classPool The Javassist classpool
|
||||
* @param originalClass The NMS Tile/Entity class
|
||||
* @param writeMethod String of the saving method
|
||||
* @param readMethod String of the loading method
|
||||
* @param extraDataKey Key used to save the custom nbt
|
||||
* @return Class reference to the generated class
|
||||
* @throws NotFoundException
|
||||
* @throws CannotCompileException
|
||||
* @throws IOException
|
||||
*/
|
||||
protected static Class<?> wrapNbtClass(ClassPool classPool, Class<?> originalClass, String writeMethod,
|
||||
String readMethod, String extraDataKey) throws NotFoundException, CannotCompileException, IOException {
|
||||
classPool.insertClassPath(new LoaderClassPath(ClassGenerator.class.getClassLoader()));
|
||||
|
||||
CtClass generated = classPool.makeClass("de.tr7zw.nbtinjector.generated." + originalClass.getSimpleName());
|
||||
|
||||
CtClass wrapperInterface = classPool.get(INBTWrapper.class.getName());
|
||||
generated.setInterfaces(new CtClass[] { wrapperInterface });
|
||||
generated.setSuperclass(classPool.get(originalClass.getName()));
|
||||
|
||||
classPool.importPackage("net.minecraft.server." + MinecraftVersion.getVersion().name().replace("MC", "v"));
|
||||
classPool.importPackage(NBTCompound.class.getPackage().getName());
|
||||
classPool.importPackage(GENERATOR_PACKAGE);
|
||||
|
||||
generated.addField(CtField.make("public NBTCompound $extraCompound = new NBTContainer();", generated));
|
||||
generated.addMethod(CtMethod
|
||||
.make("public NBTCompound getNbtData() {\n" + " return this.$extraCompound;\n" + "}", generated));
|
||||
generated.addMethod(CtMethod.make("public NBTTagCompound readExtraCompound(NBTTagCompound root) {\n"
|
||||
+ " NBTTagCompound compound = root.getCompound(\"" + extraDataKey + "\");\n"
|
||||
+ " this.$extraCompound = new NBTContainer(compound);\n"
|
||||
// + " System.out.println(\"Read: \" + root);\n"
|
||||
+ " return root;" + "}", generated));
|
||||
generated.addMethod(CtMethod.make("public NBTTagCompound writeExtraCompound(NBTTagCompound root) {\n"
|
||||
+ " NBTBase compound = (NBTBase) this.$extraCompound.getCompound();\n"
|
||||
+ " NBTTagCompound newRoot = new NBTTagCompound();\n" + " newRoot.set(\"" + extraDataKey
|
||||
+ "\", compound);\n" + " root.a(newRoot);\n" + " return root;"// Merge
|
||||
+ "}", generated));
|
||||
|
||||
generated.addMethod(CtMethod.make(writeMethod, generated));
|
||||
generated.addMethod(CtMethod.make(readMethod, generated));
|
||||
|
||||
// Overwrite constructors
|
||||
for (Constructor<?> constructor : originalClass.getConstructors()) {
|
||||
String paramString = "";
|
||||
String paramNameString = "";
|
||||
int c = 0;
|
||||
for (Class<?> clazz : constructor.getParameterTypes()) {
|
||||
if (c != 0) {
|
||||
paramString += ",";
|
||||
paramNameString += ",";
|
||||
}
|
||||
paramString += clazz.getName() + " param" + c;
|
||||
paramNameString += "param" + c;
|
||||
c++;
|
||||
}
|
||||
generated.addConstructor(CtNewConstructor.make("public " + originalClass.getSimpleName() + "(" + paramString
|
||||
+ ") {\n" + " super(" + paramNameString + ");\n" + "}", generated));
|
||||
}
|
||||
|
||||
generated.writeFile("nbtinjector_generated");
|
||||
return generated.toClass(INBTWrapper.class.getClassLoader(), INBTWrapper.class.getProtectionDomain());
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a class for the EntityTypes getter for a given entity
|
||||
*
|
||||
* @param classPool The Javassist classpool
|
||||
* @param targetClass The NMS Entity class
|
||||
* @return Class reference to the generated class
|
||||
* @throws NotFoundException
|
||||
* @throws CannotCompileException
|
||||
* @throws IOException
|
||||
*/
|
||||
protected static Class<?> createEntityTypeWrapper(ClassPool classPool, Class<?> targetClass)
|
||||
throws NotFoundException, CannotCompileException, IOException {
|
||||
classPool.insertClassPath(new LoaderClassPath(ClassGenerator.class.getClassLoader()));
|
||||
|
||||
CtClass generated = classPool.makeClass(GENERATOR_PACKAGE + ".entityCreator." + targetClass.getSimpleName());
|
||||
|
||||
CtClass wrapperInterface = classPool.get(ClassWrapper.NMS_ENTITYTYPES.getClazz().getName() + "$b");
|
||||
generated.setInterfaces(new CtClass[] { wrapperInterface });
|
||||
|
||||
classPool.importPackage("net.minecraft.server." + MinecraftVersion.getVersion().name().replace("MC", "v"));
|
||||
classPool.importPackage(GENERATOR_PACKAGE);
|
||||
|
||||
generated.addMethod(CtMethod.make("public Entity create(EntityTypes var1, World var2) {\n" + " return new "
|
||||
+ targetClass.getName() + "(var1, var2);\n" + "}", generated));
|
||||
|
||||
generated.writeFile("nbtinjector_generated");
|
||||
return generated.toClass(INBTWrapper.class.getClassLoader(), INBTWrapper.class.getProtectionDomain());
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrappes a given Entity class with the INBTWrapper interface
|
||||
*
|
||||
* @param classPool The Javassist classpool
|
||||
* @param originalClass The NMS Entity class
|
||||
* @param extraDataKey
|
||||
* @return Class reference to the generated class
|
||||
* @throws NotFoundException
|
||||
* @throws CannotCompileException
|
||||
* @throws IOException
|
||||
*/
|
||||
protected static Class<?> wrapEntity(ClassPool classPool, Class<?> originalClass, String extraDataKey)
|
||||
throws NotFoundException, CannotCompileException, IOException {
|
||||
String writeReturn = MinecraftVersion.getVersion().getVersionId() > MinecraftVersion.MC1_10_R1.getVersionId()
|
||||
? "NBTTagCompound"
|
||||
: "void";
|
||||
String writeName = ReflectionMethod.NMS_ENTITY_GET_NBT.getMethodName();
|
||||
String readName = ReflectionMethod.NMS_ENTITY_SET_NBT.getMethodName();
|
||||
if (MinecraftVersion.getVersion().getVersionId() < MinecraftVersion.MC1_11_R1.getVersionId()) {
|
||||
writeName = "b";
|
||||
readName = "f";
|
||||
}
|
||||
|
||||
String writeMethod = "public " + writeReturn + " " + writeName + "(NBTTagCompound compound) {\n" + " super."
|
||||
+ writeName + "(compound);\n" + " compound = writeExtraCompound(compound);\n"
|
||||
// + " System.out.println(\"Saved-Data: \" + compound);"
|
||||
+ " " + (!"void".equals(writeReturn) ? "return compound;" : "") + "}";
|
||||
String readMethod = "public void " + readName + "(NBTTagCompound compound) {\n" + " super." + readName
|
||||
+ "(compound);\n" + " readExtraCompound(compound);\n" + "}";
|
||||
return wrapNbtClass(classPool, originalClass, writeMethod, readMethod, extraDataKey);
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrappes a given Tile class with the INBTWrapper interface
|
||||
*
|
||||
* @param classPool The Javassist classpool
|
||||
* @param originalClass The NMS Tile class
|
||||
* @param extraDataKey
|
||||
* @return Class reference to the generated class
|
||||
* @throws NotFoundException
|
||||
* @throws CannotCompileException
|
||||
* @throws IOException
|
||||
*/
|
||||
protected static Class<?> wrapTileEntity(ClassPool classPool, Class<?> originalClass, String extraDataKey)
|
||||
throws NotFoundException, CannotCompileException, IOException {
|
||||
String writeReturn = MinecraftVersion.getVersion().getVersionId() > MinecraftVersion.MC1_9_R1.getVersionId()
|
||||
? "NBTTagCompound"
|
||||
: "void";
|
||||
String writeName = ReflectionMethod.TILEENTITY_GET_NBT.getMethodName();
|
||||
String readName = ReflectionMethod.TILEENTITY_SET_NBT.getMethodName();
|
||||
String writeMethod = "public " + writeReturn + " " + writeName + "(NBTTagCompound compound) {\n"
|
||||
+ " compound = writeExtraCompound(compound);\n"
|
||||
// + " System.out.println(\"Save: \" +compound);\n"
|
||||
+ " " + (!"void".equals(writeReturn) ? "return " : "") + "super." + writeName + "(compound);\n" + "}";
|
||||
String readMethod = "public void " + readName + "(NBTTagCompound compound) {\n" + " super." + readName
|
||||
+ "(compound);\n" + " readExtraCompound(compound);\n"
|
||||
// + " System.out.println(\"Read: \" +compound);\n"
|
||||
+ "}";
|
||||
return wrapNbtClass(classPool, originalClass, writeMethod, readMethod, extraDataKey);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,18 +0,0 @@
|
||||
package de.tr7zw.nbtinjector;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTCompound;
|
||||
|
||||
/**
|
||||
* This interface gets placed on Tiles and Entities
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public interface INBTWrapper {
|
||||
|
||||
/**
|
||||
* @return The custom NBT compound inside this Object
|
||||
*/
|
||||
NBTCompound getNbtData();
|
||||
|
||||
}
|
||||
@@ -1,288 +0,0 @@
|
||||
package de.tr7zw.nbtinjector;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.function.Function;
|
||||
import java.util.function.Supplier;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
|
||||
import de.tr7zw.changeme.nbtapi.utils.ReflectionUtil;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ClassWrapper;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod;
|
||||
import de.tr7zw.nbtinjector.NBTInjector.Entity;
|
||||
import de.tr7zw.nbtinjector.NBTInjector.TileEntity;
|
||||
import javassist.ClassPool;
|
||||
import static de.tr7zw.changeme.nbtapi.utils.MinecraftVersion.logger;
|
||||
|
||||
/**
|
||||
* Contains the internal methods for different Minecraft Versions of injecting
|
||||
* the Entities/Tiles
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public class InternalInjectors {
|
||||
|
||||
private static final List<String> skippingEntities = Arrays.asList("minecraft:player", "minecraft:fishing_bobber",
|
||||
"minecraft:lightning_bolt"); // These are broken/won't work, used by 1.14+
|
||||
private static final Map<String, String> classMappings = new HashMap<>();
|
||||
|
||||
static {
|
||||
classMappings.put("minecraft:wandering_trader", "VillagerTrader");
|
||||
classMappings.put("minecraft:trader_llama", "LlamaTrader");
|
||||
classMappings.put("minecraft:area_effect_cloud", "AreaEffectCloud");
|
||||
classMappings.put("minecraft:donkey", "HorseDonkey");
|
||||
classMappings.put("minecraft:ender_dragon", "EnderDragon");
|
||||
classMappings.put("minecraft:skeleton_horse", "HorseSkeleton");
|
||||
classMappings.put("minecraft:fireball", "LargeFireball");
|
||||
classMappings.put("minecraft:mule", "HorseMule");
|
||||
classMappings.put("minecraft:zombie_horse", "HorseZombie");
|
||||
classMappings.put("minecraft:mooshroom", "MushroomCow");
|
||||
classMappings.put("minecraft:wither_skeleton", "SkeletonWither");
|
||||
classMappings.put("minecraft:snow_golem", "Snowman");
|
||||
classMappings.put("minecraft:polar_bear", "PolarBear");
|
||||
classMappings.put("minecraft:magma_cube", "MagmaCube");
|
||||
classMappings.put("minecraft:armor_stand", "ArmorStand");
|
||||
classMappings.put("minecraft:elder_guardian", "GuardianElder");
|
||||
classMappings.put("minecraft:zombie_pigman", "PigZombie");
|
||||
classMappings.put("minecraft:giant", "GiantZombie");
|
||||
classMappings.put("minecraft:zombie_villager", "ZombieVillager");
|
||||
classMappings.put("minecraft:husk", "ZombieHusk");
|
||||
classMappings.put("minecraft:iron_golem", "IronGolem");
|
||||
classMappings.put("minecraft:tropical_fish", "TropicalFish");
|
||||
classMappings.put("minecraft:stray", "SkeletonStray");
|
||||
classMappings.put("minecraft:illusioner", "IllagerIllusioner");
|
||||
classMappings.put("minecraft:pufferfish", "PufferFish");
|
||||
classMappings.put("minecraft:cave_spider", "CaveSpider");
|
||||
classMappings.put("minecraft:item_frame", "ItemFrame");
|
||||
classMappings.put("minecraft:leash_knot", "Leash");
|
||||
}
|
||||
|
||||
/**
|
||||
* Hidden constructor
|
||||
*/
|
||||
private InternalInjectors() {
|
||||
|
||||
}
|
||||
|
||||
protected static void entity1v10Below(ClassPool classPool) throws ReflectiveOperationException {
|
||||
for (Map.Entry<String, Class<?>> entry : new HashSet<>(Entity.getCMap().entrySet())) {
|
||||
try {
|
||||
if (INBTWrapper.class.isAssignableFrom(entry.getValue())) {
|
||||
continue;
|
||||
} // Already injected
|
||||
int entityId = Entity.getFMap().get(entry.getValue());
|
||||
|
||||
Class<?> wrapped = ClassGenerator.wrapEntity(classPool, entry.getValue(), "__extraData");
|
||||
Entity.getCMap().put(entry.getKey(), wrapped);
|
||||
Entity.getDMap().put(wrapped, entry.getKey());
|
||||
|
||||
Entity.getEMap().put(entityId, wrapped);
|
||||
Entity.getFMap().put(wrapped, entityId);
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while injecting " + entry.getKey(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected static void entity1v12Below(ClassPool classPool) throws ReflectiveOperationException {
|
||||
Object registry = Entity.getRegistry();
|
||||
Map<Object, Object> inverse = new HashMap<>();
|
||||
Set<?> it = new HashSet<>((Set<?>) ReflectionMethod.REGISTRY_KEYSET.run(registry));
|
||||
Object registryId = Entity.getRegistryId(registry);
|
||||
for (Object mckey : it) {
|
||||
Class<?> entclass = (Class<?>) ReflectionMethod.REGISTRY_GET.run(registry, mckey);
|
||||
inverse.put(entclass, mckey);
|
||||
try {
|
||||
if (INBTWrapper.class.isAssignableFrom(entclass)) {
|
||||
continue;
|
||||
} // Already injected
|
||||
Class<?> wrapped = ClassGenerator.wrapEntity(classPool, entclass, "__extraData");
|
||||
ReflectionMethod.REGISTRY_SET.run(registry, mckey, wrapped);
|
||||
inverse.put(wrapped, mckey);
|
||||
int id = (int) registryId.getClass().getMethod("getId", new Class[] {Object.class}).invoke(registryId, entclass);
|
||||
registryId.getClass().getMethod("a", new Class[] {Object.class, int.class}).invoke(registryId, wrapped, id);
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while injecting " + mckey, e);
|
||||
}
|
||||
}
|
||||
Field inverseField = registry.getClass().getDeclaredField("b");
|
||||
ReflectionUtil.setFinal(registry, inverseField, inverse);
|
||||
}
|
||||
|
||||
protected static void entity1v13Below(ClassPool classPool) throws ReflectiveOperationException {
|
||||
Object entityRegistry = ClassWrapper.NMS_IREGISTRY.getClazz().getField("ENTITY_TYPE").get(null);
|
||||
Set<?> registryentries = new HashSet<>((Set<?>) ReflectionMethod.REGISTRYMATERIALS_KEYSET.run(entityRegistry));
|
||||
for (Object mckey : registryentries) {
|
||||
Object entityTypesObj = ReflectionMethod.REGISTRYMATERIALS_GET.run(entityRegistry, mckey);
|
||||
Field supplierField = entityTypesObj.getClass().getDeclaredField("aT");
|
||||
Field classField = entityTypesObj.getClass().getDeclaredField("aS");
|
||||
classField.setAccessible(true);
|
||||
supplierField.setAccessible(true);
|
||||
Function<Object, Object> function = (Function<Object, Object>) supplierField.get(entityTypesObj);
|
||||
Class<?> nmsclass = (Class<?>) classField.get(entityTypesObj);
|
||||
try {
|
||||
if (INBTWrapper.class.isAssignableFrom(nmsclass)) {
|
||||
continue;
|
||||
} // Already injected
|
||||
Class<?> wrapped = ClassGenerator.wrapEntity(classPool, nmsclass, "__extraData");
|
||||
ReflectionUtil.setFinal(entityTypesObj, classField, wrapped);
|
||||
ReflectionUtil.setFinal(entityTypesObj, supplierField, new Function<Object, Object>() {
|
||||
|
||||
@Override
|
||||
public Object apply(Object t) {
|
||||
try {
|
||||
return wrapped.getConstructor(ClassWrapper.NMS_WORLD.getClazz()).newInstance(t);
|
||||
} catch (Exception ex) {
|
||||
logger.log(Level.SEVERE, "Error while creating custom entity instance! ", ex);
|
||||
return function.apply(t);// Fallback to the original one
|
||||
}
|
||||
}
|
||||
});
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while injecting " + mckey, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected static void entity1v14(ClassPool classPool) throws ReflectiveOperationException {
|
||||
Object entityRegistry = ClassWrapper.NMS_IREGISTRY.getClazz().getField("ENTITY_TYPE").get(null);
|
||||
Set<?> registryentries = new HashSet<>((Set<?>) ReflectionMethod.REGISTRYMATERIALS_KEYSET.run(entityRegistry));
|
||||
for (Object mckey : registryentries) {
|
||||
if (skippingEntities.contains(mckey.toString())) {
|
||||
logger.info("Skipping, won't be able add NBT to '" + mckey + "' entities!");
|
||||
continue;
|
||||
}
|
||||
Object entityTypesObj = ReflectionMethod.REGISTRYMATERIALS_GET.run(entityRegistry, mckey);
|
||||
String creatorFieldName = "aZ";
|
||||
if (MinecraftVersion.getVersion().getVersionId() >= MinecraftVersion.MC1_15_R1.getVersionId())
|
||||
creatorFieldName = "ba";
|
||||
Field creatorField = entityTypesObj.getClass().getDeclaredField(creatorFieldName);
|
||||
creatorField.setAccessible(true);
|
||||
Object creator = creatorField.get(entityTypesObj);
|
||||
Method createEntityMethod = creator.getClass().getMethod("create", ClassWrapper.NMS_ENTITYTYPES.getClazz(),
|
||||
ClassWrapper.NMS_WORLD.getClazz());
|
||||
createEntityMethod.setAccessible(true);
|
||||
Class<?> nmsclass = null;
|
||||
try {
|
||||
nmsclass = createEntityMethod.invoke(creator, entityTypesObj, null).getClass();
|
||||
} catch (Exception ignore) {
|
||||
// ignore
|
||||
}
|
||||
if (nmsclass == null) {
|
||||
String version = Bukkit.getServer().getClass().getPackage().getName().replace(".", ",").split(",")[3];
|
||||
String name = mckey.toString().replace("minecraft:", "");
|
||||
name = name.substring(0, 1).toUpperCase() + name.substring(1);
|
||||
name = "Entity" + name;
|
||||
if (classMappings.containsKey(mckey.toString()))
|
||||
name = "Entity" + classMappings.get(mckey.toString());
|
||||
try {
|
||||
nmsclass = Class.forName("net.minecraft.server." + version + "." + name);
|
||||
} catch (Exception ignore) {
|
||||
logger.info("Not found: " + "net.minecraft.server." + version + "." + name);
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
if (nmsclass == null) {
|
||||
logger.info(
|
||||
"Wasn't able to create an Entity instace, won't be able add NBT to '" + mckey + "' entities!");
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
if (INBTWrapper.class.isAssignableFrom(nmsclass)) {
|
||||
continue;
|
||||
} // Already injected
|
||||
Class<?> wrapped = ClassGenerator.wrapEntity(classPool, nmsclass, "__extraData");
|
||||
ReflectionUtil.setFinal(entityTypesObj, creatorField,
|
||||
ClassGenerator.createEntityTypeWrapper(classPool, wrapped).newInstance());
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while injecting " + mckey, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected static void tile1v10Below(ClassPool classPool) throws ReflectiveOperationException {
|
||||
for (Map.Entry<String, Class<?>> entry : new HashSet<>(TileEntity.getFMap().entrySet())) {
|
||||
try {
|
||||
if (INBTWrapper.class.isAssignableFrom(entry.getValue())) {
|
||||
continue;
|
||||
} // Already injected
|
||||
Class<?> wrapped = ClassGenerator.wrapTileEntity(classPool, entry.getValue(), "__extraData");
|
||||
TileEntity.getFMap().put(entry.getKey(), wrapped);
|
||||
TileEntity.getGMap().put(wrapped, entry.getKey());
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while injecting " + entry.getKey(), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected static void tile1v12Below(ClassPool classPool) throws ReflectiveOperationException {
|
||||
Object registry = TileEntity.getRegistry();
|
||||
Map<Object, Object> inverse = new HashMap<>();
|
||||
Set<?> it = new HashSet<>((Set<?>) ReflectionMethod.REGISTRY_KEYSET.run(registry));
|
||||
for (Object mckey : it) {
|
||||
Class<?> tileclass = (Class<?>) ReflectionMethod.REGISTRY_GET.run(registry, mckey);
|
||||
inverse.put(tileclass, mckey);
|
||||
try {
|
||||
if (INBTWrapper.class.isAssignableFrom(tileclass)) {
|
||||
continue;
|
||||
} // Already injected
|
||||
Class<?> wrapped = ClassGenerator.wrapTileEntity(classPool, tileclass, "__extraData");
|
||||
ReflectionMethod.REGISTRY_SET.run(registry, mckey, wrapped);
|
||||
inverse.put(wrapped, mckey);
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while injecting " + mckey, e);
|
||||
}
|
||||
}
|
||||
Field inverseField = registry.getClass().getDeclaredField("b");
|
||||
ReflectionUtil.setFinal(registry, inverseField, inverse);
|
||||
}
|
||||
|
||||
protected static void tile1v13(ClassPool classPool) throws ReflectiveOperationException {
|
||||
Object tileRegistry = ClassWrapper.NMS_IREGISTRY.getClazz().getField("BLOCK_ENTITY_TYPE").get(null);
|
||||
Set<?> registryentries = new HashSet<>((Set<?>) ReflectionMethod.REGISTRYMATERIALS_KEYSET.run(tileRegistry));
|
||||
for (Object mckey : registryentries) {
|
||||
Object tileEntityTypesObj = ReflectionMethod.REGISTRYMATERIALS_GET.run(tileRegistry, mckey);
|
||||
String supplierFieldName = "A";
|
||||
if (MinecraftVersion.getVersion().getVersionId() == MinecraftVersion.MC1_14_R1.getVersionId())
|
||||
supplierFieldName = "H";
|
||||
else if (MinecraftVersion.getVersion().getVersionId() >= MinecraftVersion.MC1_15_R1.getVersionId())
|
||||
supplierFieldName = "I";
|
||||
Field supplierField = tileEntityTypesObj.getClass().getDeclaredField(supplierFieldName);
|
||||
supplierField.setAccessible(true);
|
||||
Supplier<Object> supplier = (Supplier<Object>) supplierField.get(tileEntityTypesObj);
|
||||
Class<?> nmsclass = supplier.get().getClass();
|
||||
try {
|
||||
if (INBTWrapper.class.isAssignableFrom(nmsclass)) {
|
||||
continue;
|
||||
} // Already injected
|
||||
Class<?> wrapped = ClassGenerator.wrapTileEntity(classPool, nmsclass, "__extraData");
|
||||
ReflectionUtil.setFinal(tileEntityTypesObj, supplierField, new Supplier<Object>() {
|
||||
@Override
|
||||
public Object get() {
|
||||
try {
|
||||
return wrapped.newInstance();
|
||||
} catch (InstantiationException | IllegalAccessException e) {
|
||||
logger.log(Level.SEVERE, "Error while creating custom tile instance! ", e);
|
||||
return supplier.get(); // Use the original one as fallback
|
||||
}
|
||||
}
|
||||
});
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Exception while injecting " + mckey, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,301 +0,0 @@
|
||||
package de.tr7zw.nbtinjector;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import de.tr7zw.changeme.nbtapi.NBTCompound;
|
||||
import de.tr7zw.changeme.nbtapi.NBTContainer;
|
||||
import de.tr7zw.changeme.nbtapi.NBTEntity;
|
||||
import de.tr7zw.changeme.nbtapi.NBTReflectionUtil;
|
||||
import de.tr7zw.changeme.nbtapi.NBTTileEntity;
|
||||
import de.tr7zw.changeme.nbtapi.NbtApiException;
|
||||
import de.tr7zw.changeme.nbtapi.utils.MinecraftVersion;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ClassWrapper;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ObjectCreator;
|
||||
import de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod;
|
||||
import javassist.ClassPool;
|
||||
|
||||
/**
|
||||
* Main class to interact with custom NBT on Tiles and Entities
|
||||
*
|
||||
* @author tr7zw
|
||||
*
|
||||
*/
|
||||
public class NBTInjector {
|
||||
|
||||
/**
|
||||
* Hidden Constructor
|
||||
*/
|
||||
private NBTInjector() {
|
||||
|
||||
}
|
||||
|
||||
static Logger logger = Logger.getLogger("NBTInjector");
|
||||
private static boolean isInjected = false;
|
||||
private static final String NOT_INJECTED_MESSAGE = "The NBTInjector has not been enabled!\n"
|
||||
+ "You need to call 'NBTInjector.inject()' during the Method 'onLoad' of your Plugin!"
|
||||
+ " Check the Wiki/Pluginpage for more information!";
|
||||
|
||||
/**
|
||||
* Replaces the vanilla classes with Wrapped classes that support custom NBT.
|
||||
* This method needs to be called during onLoad so classes are replaced before
|
||||
* worlds load. If your plugin adds a new Entity(probably during onLoad) recall
|
||||
* this method so it's class gets Wrapped.
|
||||
*/
|
||||
public static void inject() {
|
||||
if(isInjected)return;
|
||||
isInjected = true;
|
||||
try {
|
||||
ClassPool classPool = ClassPool.getDefault();
|
||||
logger.info("[NBTINJECTOR] Injecting Entity classes...");
|
||||
if (MinecraftVersion.getVersion().getVersionId() <= MinecraftVersion.MC1_10_R1.getVersionId()) {
|
||||
InternalInjectors.entity1v10Below(classPool);
|
||||
} else if (MinecraftVersion.getVersion().getVersionId() <= MinecraftVersion.MC1_12_R1.getVersionId()) {
|
||||
InternalInjectors.entity1v12Below(classPool);
|
||||
} else if (MinecraftVersion.getVersion().getVersionId() <= MinecraftVersion.MC1_13_R2.getVersionId()) {
|
||||
InternalInjectors.entity1v13Below(classPool);
|
||||
} else { // 1.14+
|
||||
InternalInjectors.entity1v14(classPool);
|
||||
}
|
||||
|
||||
logger.info("[NBTINJECTOR] Injecting Tile Entity classes...");
|
||||
if (MinecraftVersion.getVersion().getVersionId() <= MinecraftVersion.MC1_10_R1.getVersionId()) {
|
||||
InternalInjectors.tile1v10Below(classPool);
|
||||
} else if (MinecraftVersion.getVersion().getVersionId() <= MinecraftVersion.MC1_12_R1.getVersionId()) {
|
||||
InternalInjectors.tile1v12Below(classPool);
|
||||
} else { // 1.13+
|
||||
InternalInjectors.tile1v13(classPool);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException(e);
|
||||
}
|
||||
}
|
||||
|
||||
public static boolean isInjected() {
|
||||
return isInjected;
|
||||
}
|
||||
|
||||
private static NBTCompound getNbtData(Object object) {
|
||||
if (object instanceof INBTWrapper) {
|
||||
return ((INBTWrapper) object).getNbtData();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Entities that have just been spawned(from plugins or natually) may use the
|
||||
* wrong(Vanilla) class. Calling this method removes the wrong entity and
|
||||
* respawns it using the correct class. It also tries to keep all data of the
|
||||
* original entity, but some stuff like passengers will probably cause problems.
|
||||
* Recalling this method on a patched Entity doesn nothing and returns the
|
||||
* Entity instance.
|
||||
*
|
||||
* WARNING: This causes the entity to get a new Bukkit Entity instance. For
|
||||
* other plugins the entity will be a dead/removed entity, even if it's still
|
||||
* kinda there. Bestcase you spawn an Entity and directly replace your instance
|
||||
* with a patched one. Also, for players ingame the entity will quickly flash,
|
||||
* since it's respawned.
|
||||
*
|
||||
* @param entity Entity to respawn with the correct class.
|
||||
* @return Entity The new instance of the entity.
|
||||
*/
|
||||
public static org.bukkit.entity.Entity patchEntity(org.bukkit.entity.Entity entity) {
|
||||
if (entity == null) {
|
||||
return null;
|
||||
}
|
||||
if(!isInjected)throw new NbtApiException(NOT_INJECTED_MESSAGE);
|
||||
try {
|
||||
Object ent = NBTReflectionUtil.getNMSEntity(entity);
|
||||
if (!(ent instanceof INBTWrapper)) {// Replace Entity with custom one
|
||||
Object cworld = ClassWrapper.CRAFT_WORLD.getClazz().cast(entity.getWorld());
|
||||
Object nmsworld = ReflectionMethod.CRAFT_WORLD_GET_HANDLE.run(cworld);
|
||||
NBTContainer oldNBT = new NBTContainer(new NBTEntity(entity).getCompound());
|
||||
Method create = ClassWrapper.NMS_ENTITYTYPES.getClazz().getMethod("a",
|
||||
ClassWrapper.NMS_NBTTAGCOMPOUND.getClazz(), ClassWrapper.NMS_WORLD.getClazz());
|
||||
String id = "";
|
||||
if (MinecraftVersion.getVersion().getVersionId() <= MinecraftVersion.MC1_10_R1.getVersionId()) {
|
||||
id = Entity.getBackupMap().get(ent.getClass());
|
||||
} else if (MinecraftVersion.getVersion().getVersionId() <= MinecraftVersion.MC1_13_R2.getVersionId()) {
|
||||
id = ReflectionMethod.REGISTRY_GET_INVERSE.run(Entity.getRegistry(), ent.getClass()).toString();
|
||||
} else {
|
||||
id = (String) ReflectionMethod.NMS_ENTITY_GETSAVEID.run(ent);
|
||||
}
|
||||
oldNBT.setString("id", id);
|
||||
oldNBT.removeKey("UUIDMost");
|
||||
oldNBT.removeKey("UUIDLeast");
|
||||
entity.remove();
|
||||
Object newEntity = create.invoke(null, oldNBT.getCompound(), nmsworld);
|
||||
if (newEntity instanceof Optional<?> && ((Optional<?>) newEntity).isPresent())
|
||||
newEntity = ((Optional<?>) newEntity).get();
|
||||
Method spawn = ClassWrapper.NMS_WORLD.getClazz().getMethod("addEntity",
|
||||
ClassWrapper.NMS_ENTITY.getClazz());
|
||||
spawn.invoke(nmsworld, newEntity);
|
||||
//logger.info("Created patched instance: " + newEntity.getClass().getName());
|
||||
Method asBukkit = newEntity.getClass().getMethod("getBukkitEntity");
|
||||
return (org.bukkit.entity.Entity) asBukkit.invoke(newEntity);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Error while patching an Entity '" + entity + "'", e);
|
||||
}
|
||||
return entity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the persistant NBTCompound from a given entity. If the Entity isn't yet
|
||||
* patched, this method will return null.
|
||||
*
|
||||
* @param entity Entity to get the NBTCompound from
|
||||
* @return NBTCompound instance
|
||||
*/
|
||||
public static NBTCompound getNbtData(org.bukkit.entity.Entity entity) {
|
||||
if (entity == null) {
|
||||
return null;
|
||||
}
|
||||
if(!isInjected)throw new NbtApiException(NOT_INJECTED_MESSAGE);
|
||||
try {
|
||||
Object ent = NBTReflectionUtil.getNMSEntity(entity);
|
||||
if (!(ent instanceof INBTWrapper)) {
|
||||
logger.info("Entity wasn't the correct class! '" + ent.getClass().getName() + "'");
|
||||
}
|
||||
return getNbtData(ent);
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException("Error while getting the NBT from an Entity '" + entity + "'.", e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the persistant NBTCompound from a given TileEntity. If the Tile isn't
|
||||
* yet patched, this method will autopatch it. This will unlink the given
|
||||
* BlockState, so calling block.getState() again may be necessary. This behavior
|
||||
* may change in the future.
|
||||
*
|
||||
* @param tile TileEntity to get the NBTCompound from
|
||||
* @return NBTCompound instance
|
||||
*/
|
||||
public static NBTCompound getNbtData(org.bukkit.block.BlockState tile) {
|
||||
if (tile == null) {
|
||||
return null;
|
||||
}
|
||||
if(!isInjected)throw new NbtApiException(NOT_INJECTED_MESSAGE);
|
||||
try {
|
||||
Object pos = ObjectCreator.NMS_BLOCKPOSITION.getInstance(tile.getX(), tile.getY(), tile.getZ());
|
||||
Object cworld = ClassWrapper.CRAFT_WORLD.getClazz().cast(tile.getWorld());
|
||||
Object nmsworld = ReflectionMethod.CRAFT_WORLD_GET_HANDLE.run(cworld);
|
||||
Object tileEntity = ReflectionMethod.NMS_WORLD_GET_TILEENTITY.run(nmsworld, pos);
|
||||
if (tileEntity == null) { // Not a tile block
|
||||
return null;
|
||||
}
|
||||
if (!(tileEntity instanceof INBTWrapper)) {
|
||||
// Loading Updated Tile
|
||||
|
||||
Object tileEntityUpdated;
|
||||
if (MinecraftVersion.getVersion() == MinecraftVersion.MC1_9_R1) {
|
||||
tileEntityUpdated = ReflectionMethod.TILEENTITY_LOAD_LEGACY191.run(null, null,
|
||||
new NBTTileEntity(tile).getCompound());
|
||||
} else if (MinecraftVersion.getVersion() == MinecraftVersion.MC1_8_R3
|
||||
|| MinecraftVersion.getVersion() == MinecraftVersion.MC1_9_R2) {
|
||||
tileEntityUpdated = ReflectionMethod.TILEENTITY_LOAD_LEGACY183.run(null,
|
||||
new NBTTileEntity(tile).getCompound());
|
||||
} else if (MinecraftVersion.getVersion().getVersionId() <= MinecraftVersion.MC1_12_R1.getVersionId()) {
|
||||
tileEntityUpdated = ReflectionMethod.TILEENTITY_LOAD_LEGACY1121.run(null, nmsworld,
|
||||
new NBTTileEntity(tile).getCompound());
|
||||
} else {
|
||||
tileEntityUpdated = ReflectionMethod.TILEENTITY_LOAD.run(null,
|
||||
new NBTTileEntity(tile).getCompound());
|
||||
}
|
||||
ReflectionMethod.NMS_WORLD_REMOVE_TILEENTITY.run(nmsworld, pos);
|
||||
ReflectionMethod.NMS_WORLD_SET_TILEENTITY.run(nmsworld, pos, tileEntityUpdated);
|
||||
return getNbtData(tileEntityUpdated);
|
||||
}
|
||||
return getNbtData(tileEntity);
|
||||
} catch (Exception e) {
|
||||
throw new NbtApiException(e);
|
||||
}
|
||||
}
|
||||
|
||||
private static Field getAccessable(Field field) {
|
||||
field.setAccessible(true);
|
||||
return field;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
static class Entity {
|
||||
|
||||
/**
|
||||
* Hidden Constructor
|
||||
*/
|
||||
private Entity() {
|
||||
}
|
||||
|
||||
private static Map<Class<?>, String> backupMap = new HashMap<>();
|
||||
|
||||
static {
|
||||
try {
|
||||
if (MinecraftVersion.getVersion().getVersionId() <= MinecraftVersion.MC1_10_R1.getVersionId()) {
|
||||
backupMap.putAll(getDMap());
|
||||
}
|
||||
} catch (ReflectiveOperationException e) {
|
||||
throw new NbtApiException(e);
|
||||
}
|
||||
}
|
||||
|
||||
static Object getRegistry() throws ReflectiveOperationException {
|
||||
return getAccessable(ClassWrapper.NMS_ENTITYTYPES.getClazz().getDeclaredField("b")).get(null);
|
||||
}
|
||||
|
||||
static Object getRegistryId(Object reg) throws ReflectiveOperationException {
|
||||
return getAccessable(reg.getClass().getDeclaredField("a")).get(reg);
|
||||
}
|
||||
|
||||
static Map<Class<?>, String> getBackupMap() throws ReflectiveOperationException {
|
||||
return backupMap;
|
||||
}
|
||||
|
||||
static Map<String, Class<?>> getCMap() throws ReflectiveOperationException {
|
||||
return (Map<String, Class<?>>) getAccessable(ClassWrapper.NMS_ENTITYTYPES.getClazz().getDeclaredField("c"))
|
||||
.get(null);
|
||||
}
|
||||
|
||||
static Map<Class<?>, String> getDMap() throws ReflectiveOperationException {
|
||||
return (Map<Class<?>, String>) getAccessable(ClassWrapper.NMS_ENTITYTYPES.getClazz().getDeclaredField("d"))
|
||||
.get(null);
|
||||
}
|
||||
|
||||
static Map<Integer, Class<?>> getEMap() throws ReflectiveOperationException {
|
||||
return (Map<Integer, Class<?>>) getAccessable(ClassWrapper.NMS_ENTITYTYPES.getClazz().getDeclaredField("e"))
|
||||
.get(null);
|
||||
}
|
||||
|
||||
static Map<Class<?>, Integer> getFMap() throws ReflectiveOperationException {
|
||||
return (Map<Class<?>, Integer>) getAccessable(ClassWrapper.NMS_ENTITYTYPES.getClazz().getDeclaredField("f"))
|
||||
.get(null);
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
static class TileEntity {
|
||||
/**
|
||||
* Hidden Constructor
|
||||
*/
|
||||
private TileEntity() {
|
||||
}
|
||||
|
||||
static Object getRegistry() throws ReflectiveOperationException {
|
||||
return getAccessable(ClassWrapper.NMS_TILEENTITY.getClazz().getDeclaredField("f")).get(null);
|
||||
}
|
||||
|
||||
static Map<String, Class<?>> getFMap() throws ReflectiveOperationException {
|
||||
return (Map<String, Class<?>>) getAccessable(ClassWrapper.NMS_TILEENTITY.getClazz().getDeclaredField("f"))
|
||||
.get(null);
|
||||
}
|
||||
|
||||
static Map<Class<?>, String> getGMap() throws ReflectiveOperationException {
|
||||
return (Map<Class<?>, String>) getAccessable(ClassWrapper.NMS_TILEENTITY.getClazz().getDeclaredField("g"))
|
||||
.get(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,109 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>de.tr7zw</groupId>
|
||||
<artifactId>item-nbt-parent</artifactId>
|
||||
<version>2.2.0</version>
|
||||
<packaging>pom</packaging>
|
||||
<modules>
|
||||
<module>item-nbt-api</module>
|
||||
<module>nbt-injector</module>
|
||||
<module>item-nbt-plugin</module>
|
||||
</modules>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.spigotmc</groupId>
|
||||
<artifactId>spigot-api</artifactId>
|
||||
<version>1.14.2-R0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>de.tr7zw.spigotmc.maven</groupId>
|
||||
<artifactId>tr-spigotmc-maven-plugin</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<repositories>
|
||||
<!-- CodeMC -->
|
||||
<repository>
|
||||
<id>codemc-repo</id>
|
||||
<url>https://repo.codemc.org/repository/maven-public/</url>
|
||||
<layout>default</layout>
|
||||
</repository>
|
||||
<!-- CodeMC NMS -->
|
||||
<repository>
|
||||
<id>codemc-nms-repo</id>
|
||||
<url>https://repo.codemc.org/repository/nms/</url>
|
||||
<layout>default</layout>
|
||||
</repository>
|
||||
</repositories>
|
||||
<build>
|
||||
<defaultGoal>clean install</defaultGoal>
|
||||
<resources>
|
||||
<resource>
|
||||
<filtering>false</filtering>
|
||||
<directory>.</directory>
|
||||
<includes>
|
||||
<include>LICENSE</include>
|
||||
</includes>
|
||||
</resource>
|
||||
</resources>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.2.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>3.1.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<source>8</source>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.github.ekryd.sortpom</groupId>
|
||||
<artifactId>sortpom-maven-plugin</artifactId>
|
||||
<version>2.10.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sortpom</id>
|
||||
<goals>
|
||||
<goal>verify</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
@@ -0,0 +1,78 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>All Classes (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/wrapper/Casing.html" title="enum in de.tr7zw.changeme.nbtapi.wrapper" target="classFrame">Casing</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/CheckUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils" target="classFrame">CheckUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/ClassWrapper.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings" target="classFrame">ClassWrapper</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/CodecHelper.html" title="class in de.tr7zw.changeme.nbtapi.utils.nmsmappings" target="classFrame">CodecHelper</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils" target="classFrame">DataFixerUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/Forge1710Mappings.html" title="class in de.tr7zw.changeme.nbtapi.utils.nmsmappings" target="classFrame">Forge1710Mappings</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/GameprofileUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils" target="classFrame">GameprofileUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/GsonWrapper.html" title="class in de.tr7zw.changeme.nbtapi.utils" target="classFrame">GsonWrapper</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/MinecraftVersion.html" title="enum in de.tr7zw.changeme.nbtapi.utils" target="classFrame">MinecraftVersion</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/MojangToMapping.html" title="class in de.tr7zw.changeme.nbtapi.utils.nmsmappings" target="classFrame">MojangToMapping</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBT.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBT</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NbtApiException.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NbtApiException</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTBlock.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTBlock</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTChunk.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTChunk</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTCompound</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTCompoundList.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTCompoundList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTContainer</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTDoubleList.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTDoubleList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTEntity.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTEntity</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTFile.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTFile</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/NBTFileHandle.html" title="interface in de.tr7zw.changeme.nbtapi.iface" target="classFrame"><span class="interfaceName">NBTFileHandle</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTFloatList.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTFloatList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTGameProfile.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTGameProfile</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/NBTHandler.html" title="interface in de.tr7zw.changeme.nbtapi.iface" target="classFrame"><span class="interfaceName">NBTHandler</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/handler/NBTHandlers.html" title="class in de.tr7zw.changeme.nbtapi.handler" target="classFrame">NBTHandlers</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTIntArrayList.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTIntArrayList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTIntegerList.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTIntegerList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTItem.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTItem</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/NBTJsonUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils" target="classFrame">NBTJsonUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTListCompound.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTListCompound</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTLongList.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTLongList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTPersistentDataContainer.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTPersistentDataContainer</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/wrapper/NBTProxy.html" title="interface in de.tr7zw.changeme.nbtapi.wrapper" target="classFrame"><span class="interfaceName">NBTProxy</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTReflectionUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTStringList.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTStringList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/wrapper/NBTTarget.html" title="annotation in de.tr7zw.changeme.nbtapi.wrapper" target="classFrame">NBTTarget</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/wrapper/NBTTarget.Type.html" title="enum in de.tr7zw.changeme.nbtapi.wrapper" target="classFrame">NBTTarget.Type</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTTileEntity.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTTileEntity</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi" target="classFrame">NBTType</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTUUIDList.html" title="class in de.tr7zw.changeme.nbtapi" target="classFrame">NBTUUIDList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/ObjectCreator.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings" target="classFrame">ObjectCreator</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/PackageWrapper.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings" target="classFrame">PackageWrapper</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/PathUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils" target="classFrame">PathUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/PathUtil.PathSegment.html" title="class in de.tr7zw.changeme.nbtapi.utils" target="classFrame">PathUtil.PathSegment</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/wrapper/ProxyBuilder.html" title="class in de.tr7zw.changeme.nbtapi.wrapper" target="classFrame">ProxyBuilder</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/wrapper/ProxyList.html" title="interface in de.tr7zw.changeme.nbtapi.wrapper" target="classFrame"><span class="interfaceName">ProxyList</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadableItemNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface" target="classFrame"><span class="interfaceName">ReadableItemNBT</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface" target="classFrame"><span class="interfaceName">ReadableNBT</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface" target="classFrame"><span class="interfaceName">ReadableNBTList</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadWriteItemNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface" target="classFrame"><span class="interfaceName">ReadWriteItemNBT</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface" target="classFrame"><span class="interfaceName">ReadWriteNBT</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTCompoundList.html" title="interface in de.tr7zw.changeme.nbtapi.iface" target="classFrame"><span class="interfaceName">ReadWriteNBTCompoundList</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface" target="classFrame"><span class="interfaceName">ReadWriteNBTList</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings" target="classFrame">ReflectionMethod</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.Since.html" title="class in de.tr7zw.changeme.nbtapi.utils.nmsmappings" target="classFrame">ReflectionMethod.Since</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/ReflectionUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils" target="classFrame">ReflectionUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/UUIDUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils" target="classFrame">UUIDUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/VersionChecker.html" title="class in de.tr7zw.changeme.nbtapi.utils" target="classFrame">VersionChecker</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,78 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>All Classes (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<div class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/wrapper/Casing.html" title="enum in de.tr7zw.changeme.nbtapi.wrapper">Casing</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/CheckUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils">CheckUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/ClassWrapper.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings">ClassWrapper</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/CodecHelper.html" title="class in de.tr7zw.changeme.nbtapi.utils.nmsmappings">CodecHelper</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils">DataFixerUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/Forge1710Mappings.html" title="class in de.tr7zw.changeme.nbtapi.utils.nmsmappings">Forge1710Mappings</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/GameprofileUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils">GameprofileUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/GsonWrapper.html" title="class in de.tr7zw.changeme.nbtapi.utils">GsonWrapper</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/MinecraftVersion.html" title="enum in de.tr7zw.changeme.nbtapi.utils">MinecraftVersion</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/MojangToMapping.html" title="class in de.tr7zw.changeme.nbtapi.utils.nmsmappings">MojangToMapping</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBT.html" title="class in de.tr7zw.changeme.nbtapi">NBT</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NbtApiException.html" title="class in de.tr7zw.changeme.nbtapi">NbtApiException</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTBlock.html" title="class in de.tr7zw.changeme.nbtapi">NBTBlock</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTChunk.html" title="class in de.tr7zw.changeme.nbtapi">NBTChunk</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTCompoundList.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompoundList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTDoubleList.html" title="class in de.tr7zw.changeme.nbtapi">NBTDoubleList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTEntity.html" title="class in de.tr7zw.changeme.nbtapi">NBTEntity</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTFile.html" title="class in de.tr7zw.changeme.nbtapi">NBTFile</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/NBTFileHandle.html" title="interface in de.tr7zw.changeme.nbtapi.iface"><span class="interfaceName">NBTFileHandle</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTFloatList.html" title="class in de.tr7zw.changeme.nbtapi">NBTFloatList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTGameProfile.html" title="class in de.tr7zw.changeme.nbtapi">NBTGameProfile</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/NBTHandler.html" title="interface in de.tr7zw.changeme.nbtapi.iface"><span class="interfaceName">NBTHandler</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/handler/NBTHandlers.html" title="class in de.tr7zw.changeme.nbtapi.handler">NBTHandlers</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTIntArrayList.html" title="class in de.tr7zw.changeme.nbtapi">NBTIntArrayList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTIntegerList.html" title="class in de.tr7zw.changeme.nbtapi">NBTIntegerList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTItem.html" title="class in de.tr7zw.changeme.nbtapi">NBTItem</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/NBTJsonUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils">NBTJsonUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTListCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTListCompound</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTLongList.html" title="class in de.tr7zw.changeme.nbtapi">NBTLongList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTPersistentDataContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTPersistentDataContainer</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/wrapper/NBTProxy.html" title="interface in de.tr7zw.changeme.nbtapi.wrapper"><span class="interfaceName">NBTProxy</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html" title="class in de.tr7zw.changeme.nbtapi">NBTReflectionUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTStringList.html" title="class in de.tr7zw.changeme.nbtapi">NBTStringList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/wrapper/NBTTarget.html" title="annotation in de.tr7zw.changeme.nbtapi.wrapper">NBTTarget</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/wrapper/NBTTarget.Type.html" title="enum in de.tr7zw.changeme.nbtapi.wrapper">NBTTarget.Type</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTTileEntity.html" title="class in de.tr7zw.changeme.nbtapi">NBTTileEntity</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/NBTUUIDList.html" title="class in de.tr7zw.changeme.nbtapi">NBTUUIDList</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/ObjectCreator.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings">ObjectCreator</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/PackageWrapper.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings">PackageWrapper</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/PathUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils">PathUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/PathUtil.PathSegment.html" title="class in de.tr7zw.changeme.nbtapi.utils">PathUtil.PathSegment</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/wrapper/ProxyBuilder.html" title="class in de.tr7zw.changeme.nbtapi.wrapper">ProxyBuilder</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/wrapper/ProxyList.html" title="interface in de.tr7zw.changeme.nbtapi.wrapper"><span class="interfaceName">ProxyList</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadableItemNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface"><span class="interfaceName">ReadableItemNBT</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface"><span class="interfaceName">ReadableNBT</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface"><span class="interfaceName">ReadableNBTList</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadWriteItemNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface"><span class="interfaceName">ReadWriteItemNBT</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface"><span class="interfaceName">ReadWriteNBT</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTCompoundList.html" title="interface in de.tr7zw.changeme.nbtapi.iface"><span class="interfaceName">ReadWriteNBTCompoundList</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface"><span class="interfaceName">ReadWriteNBTList</span></a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings">ReflectionMethod</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.Since.html" title="class in de.tr7zw.changeme.nbtapi.utils.nmsmappings">ReflectionMethod.Since</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/ReflectionUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils">ReflectionUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/UUIDUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils">UUIDUtil</a></li>
|
||||
<li><a href="de/tr7zw/changeme/nbtapi/utils/VersionChecker.html" title="class in de.tr7zw.changeme.nbtapi.utils">VersionChecker</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,412 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Constant Field Values (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Constant Field Values (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
<ul>
|
||||
<li><a href="#de.tr7zw">de.tr7zw.*</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="constantValuesContainer"><a name="de.tr7zw">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 title="de.tr7zw">de.tr7zw.*</h2>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
|
||||
<caption><span>de.tr7zw.changeme.nbtapi.utils.<a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html" title="class in de.tr7zw.changeme.nbtapi.utils">DataFixerUtil</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th scope="col">Constant Field</th>
|
||||
<th class="colLast" scope="col">Value</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION_26_1">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION_26_1">VERSION_26_1</a></code></td>
|
||||
<td class="colLast"><code>4786</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION_26_2">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION_26_2">VERSION_26_2</a></code></td>
|
||||
<td class="colLast"><code>4903</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION_26_3">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION_26_3">VERSION_26_3</a></code></td>
|
||||
<td class="colLast"><code>5023</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_12_2">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_12_2">VERSION1_12_2</a></code></td>
|
||||
<td class="colLast"><code>1343</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_12R1">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_12R1">VERSION1_12R1</a></code></td>
|
||||
<td class="colLast"><code>1343</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_16_5">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_16_5">VERSION1_16_5</a></code></td>
|
||||
<td class="colLast"><code>2586</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_16R1">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_16R1">VERSION1_16R1</a></code></td>
|
||||
<td class="colLast"><code>2586</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_17_1">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_17_1">VERSION1_17_1</a></code></td>
|
||||
<td class="colLast"><code>2730</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_17R1">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_17R1">VERSION1_17R1</a></code></td>
|
||||
<td class="colLast"><code>2730</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_18_2">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_18_2">VERSION1_18_2</a></code></td>
|
||||
<td class="colLast"><code>2975</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_18R1">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_18R1">VERSION1_18R1</a></code></td>
|
||||
<td class="colLast"><code>2975</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_19_2">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_19_2">VERSION1_19_2</a></code></td>
|
||||
<td class="colLast"><code>3120</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_19_4">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_19_4">VERSION1_19_4</a></code></td>
|
||||
<td class="colLast"><code>3337</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_19R1">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_19R1">VERSION1_19R1</a></code></td>
|
||||
<td class="colLast"><code>3120</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_19R3">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_19R3">VERSION1_19R3</a></code></td>
|
||||
<td class="colLast"><code>3337</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_20_1">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_20_1">VERSION1_20_1</a></code></td>
|
||||
<td class="colLast"><code>3465</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_20_2">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_20_2">VERSION1_20_2</a></code></td>
|
||||
<td class="colLast"><code>3578</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_20_4">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_20_4">VERSION1_20_4</a></code></td>
|
||||
<td class="colLast"><code>3700</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_20_5">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_20_5">VERSION1_20_5</a></code></td>
|
||||
<td class="colLast"><code>3837</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_20R1">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_20R1">VERSION1_20R1</a></code></td>
|
||||
<td class="colLast"><code>3465</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_20R2">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_20R2">VERSION1_20R2</a></code></td>
|
||||
<td class="colLast"><code>3578</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_20R3">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_20R3">VERSION1_20R3</a></code></td>
|
||||
<td class="colLast"><code>3700</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_20R4">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_20R4">VERSION1_20R4</a></code></td>
|
||||
<td class="colLast"><code>3837</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_21">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_21">VERSION1_21</a></code></td>
|
||||
<td class="colLast"><code>3953</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_21_2">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_21_2">VERSION1_21_2</a></code></td>
|
||||
<td class="colLast"><code>4080</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_21_3">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_21_3">VERSION1_21_3</a></code></td>
|
||||
<td class="colLast"><code>4189</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_21_4">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_21_4">VERSION1_21_4</a></code></td>
|
||||
<td class="colLast"><code>4323</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_21_5">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_21_5">VERSION1_21_5</a></code></td>
|
||||
<td class="colLast"><code>4435</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_21R1">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_21R1">VERSION1_21R1</a></code></td>
|
||||
<td class="colLast"><code>3953</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_21R2">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_21R2">VERSION1_21R2</a></code></td>
|
||||
<td class="colLast"><code>4080</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_21R3">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_21R3">VERSION1_21R3</a></code></td>
|
||||
<td class="colLast"><code>4189</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_21R4">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_21R4">VERSION1_21R4</a></code></td>
|
||||
<td class="colLast"><code>4323</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_21R5">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_21R5">VERSION1_21R5</a></code></td>
|
||||
<td class="colLast"><code>4435</code></td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_21R6">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_21R6">VERSION1_21R6</a></code></td>
|
||||
<td class="colLast"><code>4554</code></td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.DataFixerUtil.VERSION1_21R7">
|
||||
<!-- -->
|
||||
</a><code>public static final int</code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/DataFixerUtil.html#VERSION1_21R7">VERSION1_21R7</a></code></td>
|
||||
<td class="colLast"><code>4671</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<table class="constantsSummary" border="0" cellpadding="3" cellspacing="0" summary="Constant Field Values table, listing constant fields, and values">
|
||||
<caption><span>de.tr7zw.changeme.nbtapi.utils.<a href="de/tr7zw/changeme/nbtapi/utils/MinecraftVersion.html" title="enum in de.tr7zw.changeme.nbtapi.utils">MinecraftVersion</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th scope="col">Constant Field</th>
|
||||
<th class="colLast" scope="col">Value</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a name="de.tr7zw.changeme.nbtapi.utils.MinecraftVersion.VERSION">
|
||||
<!-- -->
|
||||
</a><code>protected static final <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
||||
<td><code><a href="de/tr7zw/changeme/nbtapi/utils/MinecraftVersion.html#VERSION">VERSION</a></code></td>
|
||||
<td class="colLast"><code>"2.16.1"</code></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="overview-summary.html">Overview</a></li>
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li>Use</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="index.html?constant-values.html" target="_top">Frames</a></li>
|
||||
<li><a href="constant-values.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,303 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTBlock (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTBlock (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":42};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTBlock.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NbtApiException.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTChunk.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTBlock.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTBlock.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTBlock" class="title">Class NBTBlock</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTBlock</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">use methods in <a href="../../../../de/tr7zw/changeme/nbtapi/NBT.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBT</code></a> class to read/modify block's NBT</span></div>
|
||||
</div>
|
||||
<br>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public class <span class="typeNameLabel">NBTBlock</span>
|
||||
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
||||
<div class="block">Helper class to store NBT data to Block Locations. Use getData() to get the
|
||||
NBT instance. Important notes:
|
||||
<p>
|
||||
- Non BlockEntities can not have NBT data. This stores the data to the chunk
|
||||
instead!
|
||||
<p>
|
||||
- The data is really just on the location. If the block gets
|
||||
broken/changed/exploded/moved etc., the data is still on that location!</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTBlock.html#NBTBlock-org.bukkit.block.Block-">NBTBlock</a></span>(org.bukkit.block.Block block)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTBlock.html#getData--">getData</a></span>()</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">use methods in <a href="../../../../de/tr7zw/changeme/nbtapi/NBT.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBT</code></a> class to read/modify block's NBT</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTBlock-org.bukkit.block.Block-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTBlock</h4>
|
||||
<pre>public NBTBlock(org.bukkit.block.Block block)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getData--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getData</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> getData()</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use methods in <a href="../../../../de/tr7zw/changeme/nbtapi/NBT.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBT</code></a> class to read/modify block's NBT</span></div>
|
||||
<div class="block">Gets the block NBT data stored within the chunk's PDC.</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>block NBT data</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTBlock.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NbtApiException.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTChunk.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTBlock.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTBlock.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,291 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTChunk (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTChunk (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":42};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTChunk.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTBlock.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTChunk.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTChunk.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTChunk" class="title">Class NBTChunk</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTChunk</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">use methods in <a href="../../../../de/tr7zw/changeme/nbtapi/NBT.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBT</code></a> class to read/modify chunk's nbt</span></div>
|
||||
</div>
|
||||
<br>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public class <span class="typeNameLabel">NBTChunk</span>
|
||||
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
||||
<div class="block">Helper class to store NBT data to <code>Chunk</code>'s PDC (persistent data container).</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTChunk.html#NBTChunk-org.bukkit.Chunk-">NBTChunk</a></span>(org.bukkit.Chunk chunk)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTChunk.html#getPersistentDataContainer--">getPersistentDataContainer</a></span>()</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Gets the NBTCompound used by spigots PersistentDataAPI.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTChunk-org.bukkit.Chunk-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTChunk</h4>
|
||||
<pre>public NBTChunk(org.bukkit.Chunk chunk)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getPersistentDataContainer--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getPersistentDataContainer</h4>
|
||||
<pre>public <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> getPersistentDataContainer()</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Gets the NBTCompound used by spigots PersistentDataAPI. This method is only
|
||||
available for 1.16.4+!</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>NBTCompound containing the data of the PersistentDataAPI</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTChunk.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTBlock.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTChunk.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTChunk.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,549 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTCompoundList (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTCompoundList (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":42,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTCompoundList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTCompoundList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTCompoundList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTCompoundList" class="title">Class NBTCompoundList</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTList</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTCompoundList</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTCompoundList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTCompoundList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTList</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTCompoundList</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>>
|
||||
implements <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTCompoundList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTCompoundList</a></pre>
|
||||
<div class="block"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTListCompound</code></a> implementation for NBTLists</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listObject">listObject</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html#NBTCompoundList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTCompoundList</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html#add-int-de.tr7zw.changeme.nbtapi.iface.ReadWriteNBT-">add</a></span>(int index,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a> element)</code>
|
||||
<div class="block">Adds the specified element at the specified position in this list.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html#add-de.tr7zw.changeme.nbtapi.iface.ReadWriteNBT-">add</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a> empty)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">Please use addCompound!</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTListCompound</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html#addCompound--">addCompound</a></span>()</code>
|
||||
<div class="block">Adds a new Compound to the end of the List and returns it.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html#addCompound-de.tr7zw.changeme.nbtapi.NBTCompound-">addCompound</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code>
|
||||
<div class="block">Adds a copy of the Compound to the end of the List and returns it.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html#addCompound-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">addCompound</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a> comp)</code>
|
||||
<div class="block">Adds a copy of the Compound to the end of the List and returns it.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html#asTag-de.tr7zw.changeme.nbtapi.iface.ReadWriteNBT-">asTag</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a> object)</code> </td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTListCompound</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html#get-int-">get</a></span>(int index)</code>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTListCompound</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html#set-int-de.tr7zw.changeme.nbtapi.iface.ReadWriteNBT-">set</a></span>(int index,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a> element)</code>
|
||||
<div class="block">Replaces the element at the specified position in this list with the
|
||||
specified element.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-int-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#clear--">clear</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#contains-java.lang.Object-">contains</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#containsAll-java.util.Collection-">containsAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getType--">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#indexOf-java.lang.Object-">indexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#isEmpty--">isEmpty</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#iterator--">iterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#lastIndexOf-java.lang.Object-">lastIndexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator--">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator-int-">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-int-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-java.lang.Object-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeAll-java.util.Collection-">removeAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeIf-java.util.function.Predicate-">removeIf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#retainAll-java.util.Collection-">retainAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#save--">save</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#size--">size</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#subList-int-int-">subList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray--">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray-E:A-">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toString--">toString</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadWriteNBTCompoundList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTCompoundList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTCompoundList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTCompoundList.html#clear--">clear</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTCompoundList.html#remove-int-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTCompoundList.html#removeIf-java.util.function.Predicate-">removeIf</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#contains-java.lang.Object-">contains</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#containsAll-java.util.Collection-">containsAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#getType--">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#indexOf-java.lang.Object-">indexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#isEmpty--">isEmpty</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#lastIndexOf-java.lang.Object-">lastIndexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#size--">size</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#subList-int-int-">subList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#toArray--">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#toArray-E:A-">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#toListCopy--">toListCopy</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#iterator--" title="class or interface in java.lang">iterator</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#spliterator--" title="class or interface in java.lang">spliterator</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.List">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#replaceAll-java.util.function.UnaryOperator-" title="class or interface in java.util">replaceAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#sort-java.util.Comparator-" title="class or interface in java.util">sort</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#spliterator--" title="class or interface in java.util">spliterator</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.Collection">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#parallelStream--" title="class or interface in java.util">parallelStream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#stream--" title="class or interface in java.util">stream</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTCompoundList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTCompoundList</h4>
|
||||
<pre>protected NBTCompoundList(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="addCompound--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addCompound</h4>
|
||||
<pre>public <a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTListCompound</a> addCompound()</pre>
|
||||
<div class="block">Adds a new Compound to the end of the List and returns it.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTCompoundList.html#addCompound--">addCompound</a></code> in interface <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTCompoundList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTCompoundList</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The added <a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTListCompound</code></a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="addCompound-de.tr7zw.changeme.nbtapi.NBTCompound-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addCompound</h4>
|
||||
<pre>public <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> addCompound(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</pre>
|
||||
<div class="block">Adds a copy of the Compound to the end of the List and returns it. When null
|
||||
is given, a new Compound will be created</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="addCompound-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addCompound</h4>
|
||||
<pre>public <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a> addCompound(<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a> comp)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTCompoundList.html#addCompound-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">ReadWriteNBTCompoundList</a></code></span></div>
|
||||
<div class="block">Adds a copy of the Compound to the end of the List and returns it. When null
|
||||
is given, a new Compound will be created</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTCompoundList.html#addCompound-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">addCompound</a></code> in interface <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTCompoundList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTCompoundList</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="add-de.tr7zw.changeme.nbtapi.iface.ReadWriteNBT-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>add</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public boolean add(<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a> empty)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Please use addCompound!</span></div>
|
||||
<div class="block">Adds a new Compound to the end of the List.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html#add-T-">add</a></code> in interface <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTList</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></code></dd>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#add-E-" title="class or interface in java.util">add</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></code></dd>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#add-E-" title="class or interface in java.util">add</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></code></dd>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-T-">add</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>empty</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>True, if compound was added</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="add-int-de.tr7zw.changeme.nbtapi.iface.ReadWriteNBT-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>add</h4>
|
||||
<pre>public void add(int index,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a> element)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html#add-int-T-">ReadWriteNBTList</a></code></span></div>
|
||||
<div class="block">Adds the specified element at the specified position in this list.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html#add-int-T-">add</a></code> in interface <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTList</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></code></dd>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#add-int-E-" title="class or interface in java.util">add</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></code></dd>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-int-T-">add</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>index</code> - The index at which the specified element is to be inserted</dd>
|
||||
<dd><code>element</code> - The element to be added to the list.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="get-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>get</h4>
|
||||
<pre>public <a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTListCompound</a> get(int index)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#get-int-">ReadableNBTList</a></code></span></div>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#get-int-">get</a></code> in interface <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></code></dd>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#get-int-" title="class or interface in java.util">get</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>index</code> - The id of the object to get.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The object with the given id.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="set-int-de.tr7zw.changeme.nbtapi.iface.ReadWriteNBT-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>set</h4>
|
||||
<pre>public <a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTListCompound</a> set(int index,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a> element)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html#set-int-T-">ReadWriteNBTList</a></code></span></div>
|
||||
<div class="block">Replaces the element at the specified position in this list with the
|
||||
specified element.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html#set-int-T-">set</a></code> in interface <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTList</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></code></dd>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#set-int-E-" title="class or interface in java.util">set</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></code></dd>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#set-int-T-">set</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>index</code> - The index of the element to replace</dd>
|
||||
<dd><code>element</code> - The element to be stored at the specified position</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The element that was previously at the specified position.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asTag-de.tr7zw.changeme.nbtapi.iface.ReadWriteNBT-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>asTag</h4>
|
||||
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> asTag(<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a> object)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#asTag-T-">asTag</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a>></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTCompoundList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTCompoundList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTCompoundList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,466 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTContainer (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTContainer (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTContainer.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTDoubleList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTContainer.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTContainer.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTContainer" class="title">Class NBTContainer</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTCompound</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTContainer</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTContainer</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></pre>
|
||||
<div class="block">A Standalone <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> implementation. All data is just kept inside
|
||||
this Object.</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html#NBTContainer--">NBTContainer</a></span>()</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">use <a href="../../../../de/tr7zw/changeme/nbtapi/NBT.html#createNBTObject--"><code>NBT.createNBTObject()</code></a></span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html#NBTContainer-java.io.InputStream-">NBTContainer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> inputsteam)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">Use NBT.readNBT</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html#NBTContainer-java.lang.Object-">NBTContainer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nbt)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">Use NBT.wrapNMSTag</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html#NBTContainer-java.lang.String-">NBTContainer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> nbtString)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">Use NBT.parseNBT</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html#getCompound--">getCompound</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html#isClosed--">isClosed</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html#isReadOnly--">isReadOnly</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html#setClosed--">setClosed</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html#setCompound-java.lang.Object-">setCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> tag)</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>protected <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html#setReadOnly-boolean-">setReadOnly</a></span>(boolean readOnly)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTCompound">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#addCompound-java.lang.String-">addCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#asNBTString--">asNBTString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#clearNBT--">clearNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#equals-java.lang.Object-">equals</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#extractDifference-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">extractDifference</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#get-java.lang.String-de.tr7zw.changeme.nbtapi.iface.NBTHandler-">get</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getBoolean-java.lang.String-">getBoolean</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByte-java.lang.String-">getByte</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByteArray-java.lang.String-">getByteArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound-java.lang.String-">getCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompoundList-java.lang.String-">getCompoundList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDouble-java.lang.String-">getDouble</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDoubleList-java.lang.String-">getDoubleList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getEnum-java.lang.String-java.lang.Class-">getEnum</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloat-java.lang.String-">getFloat</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloatList-java.lang.String-">getFloatList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArray-java.lang.String-">getIntArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArrayList-java.lang.String-">getIntArrayList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getInteger-java.lang.String-">getInteger</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntegerList-java.lang.String-">getIntegerList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStack-java.lang.String-">getItemStack</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStackArray-java.lang.String-">getItemStackArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getKeys--">getKeys</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getListType-java.lang.String-">getListType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLong-java.lang.String-">getLong</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongArray-java.lang.String-">getLongArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongList-java.lang.String-">getLongList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getObject-java.lang.String-java.lang.Class-">getObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrCreateCompound-java.lang.String-">getOrCreateCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrDefault-java.lang.String-T-">getOrDefault</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrNull-java.lang.String-java.lang.Class-">getOrNull</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getReadLock--">getReadLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getResolvedObject--">getResolvedObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getShort-java.lang.String-">getShort</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getString-java.lang.String-">getString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getStringList-java.lang.String-">getStringList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getType-java.lang.String-">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUID-java.lang.String-">getUUID</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUIDList-java.lang.String-">getUUIDList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getWriteLock--">getWriteLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hashCode--">hashCode</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasKey-java.lang.String-">hasKey</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasTag-java.lang.String-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#mergeCompound-de.Line truncated
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#hasTag-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#isEmpty--">isEmpty</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTContainer--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTContainer</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public NBTContainer()</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../../../../de/tr7zw/changeme/nbtapi/NBT.html#createNBTObject--"><code>NBT.createNBTObject()</code></a></span></div>
|
||||
<div class="block">Creates an empty, standalone NBTCompound</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTContainer-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTContainer</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public NBTContainer(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nbt)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use NBT.wrapNMSTag</span></div>
|
||||
<div class="block">Takes in any NMS Compound to wrap it</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>nbt</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTContainer-java.io.InputStream-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTContainer</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public NBTContainer(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> inputsteam)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use NBT.readNBT</span></div>
|
||||
<div class="block">Reads in a NBT InputStream</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>inputsteam</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTContainer-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTContainer</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public NBTContainer(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> nbtString)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use NBT.parseNBT</span></div>
|
||||
<div class="block">Parses in a NBT String to a standalone <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a>. Can throw a
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NbtApiException.html" title="class in de.tr7zw.changeme.nbtapi"><code>NbtApiException</code></a> in case something goes wrong.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>nbtString</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getCompound--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCompound</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getCompound()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound--">getCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The NMS Compound behind this Object</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setCompound-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCompound</h4>
|
||||
<pre>public void setCompound(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> tag)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#setCompound-java.lang.Object-">setCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setClosed--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setClosed</h4>
|
||||
<pre>protected void setClosed()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#setClosed--">setClosed</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isClosed--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isClosed</h4>
|
||||
<pre>protected boolean isClosed()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#isClosed--">isClosed</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isReadOnly--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isReadOnly</h4>
|
||||
<pre>protected boolean isReadOnly()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#isReadOnly--">isReadOnly</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setReadOnly-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>setReadOnly</h4>
|
||||
<pre>protected <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a> setReadOnly(boolean readOnly)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTContainer.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTDoubleList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTContainer.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTContainer.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,372 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTDoubleList (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTDoubleList (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTDoubleList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTDoubleList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTDoubleList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTDoubleList" class="title">Class NBTDoubleList</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTDoubleList</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTDoubleList</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>></pre>
|
||||
<div class="block">Double implementation for NBTLists</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listObject">listObject</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTDoubleList.html#NBTDoubleList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTDoubleList</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTDoubleList.html#asTag-java.lang.Double-">asTag</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> object)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTDoubleList.html#get-int-">get</a></span>(int index)</code>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-int-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-int-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#clear--">clear</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#contains-java.lang.Object-">contains</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#containsAll-java.util.Collection-">containsAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getType--">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#indexOf-java.lang.Object-">indexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#isEmpty--">isEmpty</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#iterator--">iterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#lastIndexOf-java.lang.Object-">lastIndexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator--">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator-int-">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-int-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-java.lang.Object-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeAll-java.util.Collection-">removeAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeIf-java.util.function.Predicate-">removeIf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#retainAll-java.util.Collection-">retainAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#save--">save</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#set-int-T-">set</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#size--">size</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#subList-int-int-">subList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray--">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray-E:A-">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toString--">toString</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.List">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#replaceAll-java.util.function.UnaryOperator-" title="class or interface in java.util">replaceAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#sort-java.util.Comparator-" title="class or interface in java.util">sort</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#spliterator--" title="class or interface in java.util">spliterator</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.Collection">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#parallelStream--" title="class or interface in java.util">parallelStream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#stream--" title="class or interface in java.util">stream</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#toListCopy--">toListCopy</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTDoubleList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTDoubleList</h4>
|
||||
<pre>protected NBTDoubleList(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="asTag-java.lang.Double-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>asTag</h4>
|
||||
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> asTag(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> object)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#asTag-T-">asTag</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a>></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="get-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>get</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> get(int index)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#get-int-">ReadableNBTList</a></code></span></div>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>index</code> - The id of the object to get.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The object with the given id.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTDoubleList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTDoubleList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTDoubleList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,429 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTEntity (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTEntity (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTEntity.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTDoubleList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFile.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTEntity.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTEntity.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTEntity" class="title">Class NBTEntity</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTCompound</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTEntity</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTEntity</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></pre>
|
||||
<div class="block">NBT class to access vanilla tags from Entities. Entities don't support custom
|
||||
tags. Use the NBTInjector for custom tags. Changes will be instantly applied
|
||||
to the Entity, use the merge method to do many things at once.</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code> </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html#NBTEntity-org.bukkit.entity.Entity-">NBTEntity</a></span>(org.bukkit.entity.Entity entity)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html#NBTEntity-org.bukkit.entity.Entity-boolean-">NBTEntity</a></span>(org.bukkit.entity.Entity entity,
|
||||
boolean readonly)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html#getCompound--">getCompound</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html#getPersistentDataContainer--">getPersistentDataContainer</a></span>()</code>
|
||||
<div class="block">Gets the NBTCompound used by spigots PersistentDataAPI.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html#isClosed--">isClosed</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html#isReadOnly--">isReadOnly</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html#setClosed--">setClosed</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html#setCompound-java.lang.Object-">setCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTCompound">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#addCompound-java.lang.String-">addCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#asNBTString--">asNBTString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#clearNBT--">clearNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#equals-java.lang.Object-">equals</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#extractDifference-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">extractDifference</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#get-java.lang.String-de.tr7zw.changeme.nbtapi.iface.NBTHandler-">get</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getBoolean-java.lang.String-">getBoolean</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByte-java.lang.String-">getByte</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByteArray-java.lang.String-">getByteArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound-java.lang.String-">getCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompoundList-java.lang.String-">getCompoundList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDouble-java.lang.String-">getDouble</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDoubleList-java.lang.String-">getDoubleList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getEnum-java.lang.String-java.lang.Class-">getEnum</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloat-java.lang.String-">getFloat</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloatList-java.lang.String-">getFloatList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArray-java.lang.String-">getIntArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArrayList-java.lang.String-">getIntArrayList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getInteger-java.lang.String-">getInteger</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntegerList-java.lang.String-">getIntegerList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStack-java.lang.String-">getItemStack</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStackArray-java.lang.String-">getItemStackArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getKeys--">getKeys</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getListType-java.lang.String-">getListType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLong-java.lang.String-">getLong</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongArray-java.lang.String-">getLongArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongList-java.lang.String-">getLongList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getObject-java.lang.String-java.lang.Class-">getObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrCreateCompound-java.lang.String-">getOrCreateCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrDefault-java.lang.String-T-">getOrDefault</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrNull-java.lang.String-java.lang.Class-">getOrNull</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getReadLock--">getReadLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getResolvedObject--">getResolvedObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getShort-java.lang.String-">getShort</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getString-java.lang.String-">getString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getStringList-java.lang.String-">getStringList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getType-java.lang.String-">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUID-java.lang.String-">getUUID</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUIDList-java.lang.String-">getUUIDList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getWriteLock--">getWriteLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hashCode--">hashCode</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasKey-java.lang.String-">hasKey</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasTag-java.lang.String-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#mergeCompound-de.Line truncated
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#hasTag-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#isEmpty--">isEmpty</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTEntity-org.bukkit.entity.Entity-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTEntity</h4>
|
||||
<pre>protected NBTEntity(org.bukkit.entity.Entity entity,
|
||||
boolean readonly)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>entity</code> - Any valid Bukkit Entity</dd>
|
||||
<dd><code>readonly</code> - Readonly makes a copy at init, only reading from that copy</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTEntity-org.bukkit.entity.Entity-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTEntity</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public NBTEntity(org.bukkit.entity.Entity entity)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Deprecated: Please use the NBT class</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>entity</code> - Any valid Bukkit Entity</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="setClosed--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setClosed</h4>
|
||||
<pre>protected void setClosed()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#setClosed--">setClosed</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isClosed--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isClosed</h4>
|
||||
<pre>protected boolean isClosed()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#isClosed--">isClosed</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isReadOnly--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isReadOnly</h4>
|
||||
<pre>protected boolean isReadOnly()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#isReadOnly--">isReadOnly</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getCompound--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCompound</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getCompound()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound--">getCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The NMS Compound behind this Object</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setCompound-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCompound</h4>
|
||||
<pre>protected void setCompound(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#setCompound-java.lang.Object-">setCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getPersistentDataContainer--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getPersistentDataContainer</h4>
|
||||
<pre>public <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> getPersistentDataContainer()</pre>
|
||||
<div class="block">Gets the NBTCompound used by spigots PersistentDataAPI. This method is only
|
||||
available for 1.14+!</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>NBTCompound containing the data of the PersistentDataAPI</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTEntity.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTDoubleList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFile.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTEntity.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTEntity.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,452 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTFile (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTFile (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":41,"i3":10,"i4":41,"i5":10};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTFile.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFloatList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTFile.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTFile.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTFile" class="title">Class NBTFile</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTCompound</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTFile</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/NBTFileHandle.html" title="interface in de.tr7zw.changeme.nbtapi.iface">NBTFileHandle</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTFile</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a>
|
||||
implements <a href="../../../../de/tr7zw/changeme/nbtapi/iface/NBTFileHandle.html" title="interface in de.tr7zw.changeme.nbtapi.iface">NBTFileHandle</a></pre>
|
||||
<div class="block"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> implementation backed by a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io"><code>File</code></a></div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFile.html#NBTFile-java.io.File-">NBTFile</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">Use NBT.getFileHandle(file)</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFile.html#getCompound--">getCompound</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFile.html#getFile--">getFile</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFile.html#readFrom-java.io.File-">readFrom</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">Use NBT.readFile(file)</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFile.html#save--">save</a></span>()</code>
|
||||
<div class="block">Saves the data to the file</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFile.html#saveTo-java.io.File-de.tr7zw.changeme.nbtapi.NBTCompound-">saveTo</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> nbt)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">Use NBT.writeFile(file, nbt)</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFile.html#setCompound-java.lang.Object-">setCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTCompound">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#addCompound-java.lang.String-">addCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#asNBTString--">asNBTString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#clearNBT--">clearNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#equals-java.lang.Object-">equals</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#extractDifference-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">extractDifference</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#get-java.lang.String-de.tr7zw.changeme.nbtapi.iface.NBTHandler-">get</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getBoolean-java.lang.String-">getBoolean</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByte-java.lang.String-">getByte</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByteArray-java.lang.String-">getByteArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound-java.lang.String-">getCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompoundList-java.lang.String-">getCompoundList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDouble-java.lang.String-">getDouble</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDoubleList-java.lang.String-">getDoubleList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getEnum-java.lang.String-java.lang.Class-">getEnum</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloat-java.lang.String-">getFloat</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloatList-java.lang.String-">getFloatList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArray-java.lang.String-">getIntArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArrayList-java.lang.String-">getIntArrayList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getInteger-java.lang.String-">getInteger</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntegerList-java.lang.String-">getIntegerList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStack-java.lang.String-">getItemStack</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStackArray-java.lang.String-">getItemStackArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getKeys--">getKeys</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getListType-java.lang.String-">getListType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLong-java.lang.String-">getLong</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongArray-java.lang.String-">getLongArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongList-java.lang.String-">getLongList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getObject-java.lang.String-java.lang.Class-">getObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrCreateCompound-java.lang.String-">getOrCreateCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrDefault-java.lang.String-T-">getOrDefault</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrNull-java.lang.String-java.lang.Class-">getOrNull</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getReadLock--">getReadLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getResolvedObject--">getResolvedObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getShort-java.lang.String-">getShort</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getString-java.lang.String-">getString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getStringList-java.lang.String-">getStringList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getType-java.lang.String-">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUID-java.lang.String-">getUUID</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUIDList-java.lang.String-">getUUIDList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getWriteLock--">getWriteLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hashCode--">hashCode</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasKey-java.lang.String-">hasKey</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasTag-java.lang.String-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#isClosed--">isCloLine truncated
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadWriteNBT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#clearNBT--">clearNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getCompound-java.lang.String-">getCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getCompoundList-java.lang.String-">getCompoundList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getDoubleList-java.lang.String-">getDoubleList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getFloatList-java.lang.String-">getFloatList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getIntArrayList-java.lang.String-">getIntArrayList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getIntegerList-java.lang.String-">getIntegerList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getLongList-java.lang.String-">getLongList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getOrCreateCompound-java.lang.String-">getOrCreateCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getStringList-java.lang.String-">getStringList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getUUIDList-java.lang.String-">getUUIDList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#mergeCompound-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">mergeCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#removeKey-java.lang.String-">removeKey</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#resolveCompound-java.lang.String-">resolveCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#resolveOrCreateCompound-java.lang.String-">resolveOrCreateCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#set-java.lang.String-T-de.tr7zw.changeme.nbtapi.iface.NBTHandler-">set</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setBoolean-java.lang.String-java.lang.Boolean-">setBoolean</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setByte-java.lang.String-java.lang.Byte-">setByte</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setByteArray-java.lang.String-byte:A-">setByteArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setDouble-java.lang.String-java.lang.Double-">setDouble</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setEnum-java.lang.String-E-">setEnum</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setFloat-java.lang.String-java.lang.Float-">setFloat</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setIntArray-java.lang.String-int:A-">setIntArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setInteger-java.lang.String-java.lang.Integer-">setInteger</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setItemStack-java.lang.String-org.bukkit.inventory.ItemStack-">setItemStack</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setItemStackArray-java.lang.String-org.bukkit.inventory.ItemStack:A-">setItemStackArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setLong-java.lang.String-java.lang.Long-">setLong</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setLongArray-java.lang.String-long:A-">setLongArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setShort-java.lang.String-java.lang.Short-">setShort</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setString-java.lang.String-java.lang.String-">setString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setUUID-java.lang.String-java.util.UUID-">setUUID</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#extractDifference-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">extractDifference</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#get-java.lang.String-de.tr7zw.changeme.nbtapi.iface.NBTHandler-">get</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getBoolean-java.lang.String-">getBoolean</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getByte-java.lang.String-">getByte</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getByteArray-java.lang.String-">getByteArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getDouble-java.lang.String-">getDouble</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getEnum-java.lang.String-java.lang.Class-">getEnum</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getFloat-java.lang.String-">getFloat</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getIntArray-java.lang.String-">getIntArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getInteger-java.lang.String-">getInteger</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getItemStack-java.lang.String-">getItemStack</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getItemStackArray-java.lang.String-">getItemStackArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getKeys--">getKeys</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getListType-java.lang.String-">getListType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getLong-java.lang.String-">getLong</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getLongArray-java.lang.String-">getLongArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getOrDefault-java.lang.String-T-">getOrDefault</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getOrNull-java.lang.String-java.lang.Class-">getOrNull</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getShort-java.lang.String-">getShort</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getString-java.lang.String-">getString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getType-java.lang.String-">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getUUID-java.lang.String-">getUUID</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#hasTag-java.lang.String-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#hasTag-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#isEmpty--">isEmpty</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#resolveOrDefault-java.lang.String-T-">resolveOrDefault</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#resolveOrNull-java.lang.String-java.lang.Class-">resolveOrNull</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#toString--">toString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#writeCompound-java.io.OutputStream-">writeCompound</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTFile-java.io.File-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTFile</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public NBTFile(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)
|
||||
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use NBT.getFileHandle(file)</span></div>
|
||||
<div class="block">Creates a NBTFile that uses @param file to store its data. If this file
|
||||
exists, the data will be loaded.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>file</code> - </dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="save--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>save</h4>
|
||||
<pre>public void save()
|
||||
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
||||
<div class="block">Saves the data to the file</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/NBTFileHandle.html#save--">save</a></code> in interface <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/NBTFileHandle.html" title="interface in de.tr7zw.changeme.nbtapi.iface">NBTFileHandle</a></code></dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getFile--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getFile</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> getFile()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/NBTFileHandle.html#getFile--">getFile</a></code> in interface <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/NBTFileHandle.html" title="interface in de.tr7zw.changeme.nbtapi.iface">NBTFileHandle</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The File used to store the data</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getCompound--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCompound</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getCompound()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound--">getCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The NMS Compound behind this Object</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setCompound-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCompound</h4>
|
||||
<pre>protected void setCompound(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#setCompound-java.lang.Object-">setCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="readFrom-java.io.File-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>readFrom</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> readFrom(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)
|
||||
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use NBT.readFile(file)</span></div>
|
||||
<div class="block">Reads NBT data from the provided file.
|
||||
<p>
|
||||
Returns empty NBTContainer if file does not exist.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>file</code> - file to read</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>NBTCompound holding file's nbt data</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="saveTo-java.io.File-de.tr7zw.changeme.nbtapi.NBTCompound-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>saveTo</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public static void saveTo(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> nbt)
|
||||
throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Use NBT.writeFile(file, nbt)</span></div>
|
||||
<div class="block">Saves NBT data to the provided file.
|
||||
<p>
|
||||
Will fully override the file if it already exists.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>file</code> - file</dd>
|
||||
<dd><code>nbt</code> - NBT data</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code> - exception</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTFile.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFloatList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTFile.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTFile.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,372 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTFloatList (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTFloatList (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTFloatList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFile.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTGameProfile.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTFloatList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTFloatList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTFloatList" class="title">Class NBTFloatList</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTFloatList</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTFloatList</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>></pre>
|
||||
<div class="block">Float implementation for NBTLists</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listObject">listObject</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFloatList.html#NBTFloatList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTFloatList</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFloatList.html#asTag-java.lang.Float-">asTag</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a> object)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFloatList.html#get-int-">get</a></span>(int index)</code>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-int-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-int-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#clear--">clear</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#contains-java.lang.Object-">contains</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#containsAll-java.util.Collection-">containsAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getType--">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#indexOf-java.lang.Object-">indexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#isEmpty--">isEmpty</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#iterator--">iterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#lastIndexOf-java.lang.Object-">lastIndexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator--">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator-int-">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-int-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-java.lang.Object-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeAll-java.util.Collection-">removeAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeIf-java.util.function.Predicate-">removeIf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#retainAll-java.util.Collection-">retainAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#save--">save</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#set-int-T-">set</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#size--">size</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#subList-int-int-">subList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray--">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray-E:A-">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toString--">toString</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.List">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#replaceAll-java.util.function.UnaryOperator-" title="class or interface in java.util">replaceAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#sort-java.util.Comparator-" title="class or interface in java.util">sort</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#spliterator--" title="class or interface in java.util">spliterator</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.Collection">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#parallelStream--" title="class or interface in java.util">parallelStream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#stream--" title="class or interface in java.util">stream</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#toListCopy--">toListCopy</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTFloatList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTFloatList</h4>
|
||||
<pre>protected NBTFloatList(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="asTag-java.lang.Float-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>asTag</h4>
|
||||
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> asTag(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a> object)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#asTag-T-">asTag</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a>></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="get-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>get</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a> get(int index)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#get-int-">ReadableNBTList</a></code></span></div>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>index</code> - The id of the object to get.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The object with the given id.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTFloatList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFile.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTGameProfile.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTFloatList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTFloatList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,308 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTGameProfile (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTGameProfile (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":41,"i1":41};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTGameProfile.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFloatList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntArrayList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTGameProfile.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTGameProfile.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTGameProfile" class="title">Class NBTGameProfile</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTGameProfile</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTGameProfile</span>
|
||||
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTGameProfile.html#NBTGameProfile--">NBTGameProfile</a></span>()</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static com.mojang.authlib.GameProfile</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTGameProfile.html#fromNBT-de.tr7zw.changeme.nbtapi.NBTCompound-">fromNBT</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> compound)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTGameProfile.html#toNBT-com.mojang.authlib.GameProfile-">toNBT</a></span>(com.mojang.authlib.GameProfile profile)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTGameProfile--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTGameProfile</h4>
|
||||
<pre>public NBTGameProfile()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="toNBT-com.mojang.authlib.GameProfile-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>toNBT</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> toNBT(com.mojang.authlib.GameProfile profile)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Convert a GameProfile to NBT. The NBT then can be modified or be stored</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>profile</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>A NBTContainer with all the GameProfile data</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="fromNBT-de.tr7zw.changeme.nbtapi.NBTCompound-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>fromNBT</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public static com.mojang.authlib.GameProfile fromNBT(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> compound)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Reconstructs a GameProfile from a NBTCompound</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>compound</code> - Has to contain GameProfile data</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The reconstructed GameProfile</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTGameProfile.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTFloatList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntArrayList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTGameProfile.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTGameProfile.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,372 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTIntArrayList (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTIntArrayList (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTIntArrayList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTGameProfile.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntegerList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTIntArrayList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTIntArrayList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTIntArrayList" class="title">Class NBTIntArrayList</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTList</a><int[]></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTIntArrayList</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a><int[]>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTList</a><int[]>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><int[]>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><int[]>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><int[]></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTIntArrayList</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><int[]></pre>
|
||||
<div class="block">Integer implementation for NBTLists</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listObject">listObject</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntArrayList.html#NBTIntArrayList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTIntArrayList</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntArrayList.html#asTag-int:A-">asTag</a></span>(int[] object)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>int[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntArrayList.html#get-int-">get</a></span>(int index)</code>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-int-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-int-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#clear--">clear</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#contains-java.lang.Object-">contains</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#containsAll-java.util.Collection-">containsAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getType--">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#indexOf-java.lang.Object-">indexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#isEmpty--">isEmpty</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#iterator--">iterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#lastIndexOf-java.lang.Object-">lastIndexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator--">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator-int-">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-int-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-java.lang.Object-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeAll-java.util.Collection-">removeAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeIf-java.util.function.Predicate-">removeIf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#retainAll-java.util.Collection-">retainAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#save--">save</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#set-int-T-">set</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#size--">size</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#subList-int-int-">subList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray--">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray-E:A-">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toString--">toString</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.List">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#replaceAll-java.util.function.UnaryOperator-" title="class or interface in java.util">replaceAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#sort-java.util.Comparator-" title="class or interface in java.util">sort</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#spliterator--" title="class or interface in java.util">spliterator</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.Collection">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#parallelStream--" title="class or interface in java.util">parallelStream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#stream--" title="class or interface in java.util">stream</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#toListCopy--">toListCopy</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTIntArrayList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTIntArrayList</h4>
|
||||
<pre>protected NBTIntArrayList(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="asTag-int:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>asTag</h4>
|
||||
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> asTag(int[] object)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#asTag-T-">asTag</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><int[]></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="get-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>get</h4>
|
||||
<pre>public int[] get(int index)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#get-int-">ReadableNBTList</a></code></span></div>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>index</code> - The id of the object to get.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The object with the given id.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTIntArrayList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTGameProfile.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntegerList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTIntArrayList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTIntArrayList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,372 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTIntegerList (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTIntegerList (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTIntegerList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntArrayList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTIntegerList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTIntegerList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTIntegerList" class="title">Class NBTIntegerList</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTIntegerList</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTIntegerList</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>></pre>
|
||||
<div class="block">Integer implementation for NBTLists</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listObject">listObject</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntegerList.html#NBTIntegerList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTIntegerList</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntegerList.html#asTag-java.lang.Integer-">asTag</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> object)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntegerList.html#get-int-">get</a></span>(int index)</code>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-int-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-int-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#clear--">clear</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#contains-java.lang.Object-">contains</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#containsAll-java.util.Collection-">containsAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getType--">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#indexOf-java.lang.Object-">indexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#isEmpty--">isEmpty</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#iterator--">iterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#lastIndexOf-java.lang.Object-">lastIndexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator--">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator-int-">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-int-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-java.lang.Object-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeAll-java.util.Collection-">removeAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeIf-java.util.function.Predicate-">removeIf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#retainAll-java.util.Collection-">retainAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#save--">save</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#set-int-T-">set</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#size--">size</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#subList-int-int-">subList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray--">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray-E:A-">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toString--">toString</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.List">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#replaceAll-java.util.function.UnaryOperator-" title="class or interface in java.util">replaceAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#sort-java.util.Comparator-" title="class or interface in java.util">sort</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#spliterator--" title="class or interface in java.util">spliterator</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.Collection">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#parallelStream--" title="class or interface in java.util">parallelStream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#stream--" title="class or interface in java.util">stream</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#toListCopy--">toListCopy</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTIntegerList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTIntegerList</h4>
|
||||
<pre>protected NBTIntegerList(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="asTag-java.lang.Integer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>asTag</h4>
|
||||
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> asTag(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> object)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#asTag-T-">asTag</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a>></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="get-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>get</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> get(int index)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#get-int-">ReadableNBTList</a></code></span></div>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>index</code> - The id of the object to get.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The object with the given id.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTIntegerList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntArrayList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTIntegerList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTIntegerList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,796 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTItem (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTItem (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":42,"i1":42,"i2":41,"i3":41,"i4":41,"i5":41,"i6":10,"i7":10,"i8":10,"i9":42,"i10":10,"i11":10,"i12":42,"i13":42,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTItem.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntegerList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTItem.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTItem.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTItem" class="title">Class NBTItem</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTCompound</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTItem</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableItemNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableItemNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteItemNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteItemNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTItem</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a>
|
||||
implements <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteItemNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteItemNBT</a></pre>
|
||||
<div class="block">NBT class to access vanilla/custom tags on ItemStacks. This class doesn't
|
||||
autosave to the Itemstack, use getItem to get the changed ItemStack</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code> </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#NBTItem-org.bukkit.inventory.ItemStack-">NBTItem</a></span>(org.bukkit.inventory.ItemStack item)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code> </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#NBTItem-org.bukkit.inventory.ItemStack-boolean-">NBTItem</a></span>(org.bukkit.inventory.ItemStack item,
|
||||
boolean directApply)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#NBTItem-org.bukkit.inventory.ItemStack-boolean-boolean-boolean-">NBTItem</a></span>(org.bukkit.inventory.ItemStack item,
|
||||
boolean directApply,
|
||||
boolean readOnly,
|
||||
boolean finalizer)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#applyNBT-org.bukkit.inventory.ItemStack-">applyNBT</a></span>(org.bukkit.inventory.ItemStack item)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#clearCustomNBT--">clearCustomNBT</a></span>()</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#convertItemArraytoNBT-org.bukkit.inventory.ItemStack:A-">convertItemArraytoNBT</a></span>(org.bukkit.inventory.ItemStack[] items)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#convertItemtoNBT-org.bukkit.inventory.ItemStack-">convertItemtoNBT</a></span>(org.bukkit.inventory.ItemStack item)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>static org.bukkit.inventory.ItemStack</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#convertNBTtoItem-de.tr7zw.changeme.nbtapi.NBTCompound-">convertNBTtoItem</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>static org.bukkit.inventory.ItemStack[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#convertNBTtoItemArray-de.tr7zw.changeme.nbtapi.NBTCompound-">convertNBTtoItemArray</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#finalizeChanges--">finalizeChanges</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#getCompound--">getCompound</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>org.bukkit.inventory.ItemStack</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#getItem--">getItem</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#hasCustomNbtData--">hasCustomNbtData</a></span>()</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#hasNBTData--">hasNBTData</a></span>()</code>
|
||||
<div class="block">Returns true if the item has NBT data.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#isClosed--">isClosed</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#mergeCustomNBT-org.bukkit.inventory.ItemStack-">mergeCustomNBT</a></span>(org.bukkit.inventory.ItemStack item)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#mergeNBT-org.bukkit.inventory.ItemStack-">mergeNBT</a></span>(org.bukkit.inventory.ItemStack item)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#modifyMeta-java.util.function.BiConsumer-">modifyMeta</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function">BiConsumer</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a>,org.bukkit.inventory.meta.ItemMeta> handler)</code>
|
||||
<div class="block">Gives save access to the <code>ItemMeta</code> of the internal <code>ItemStack</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code><T extends org.bukkit.inventory.meta.ItemMeta><br>void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#modifyMeta-java.lang.Class-java.util.function.BiConsumer-">modifyMeta</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function">BiConsumer</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a>,T> handler)</code>
|
||||
<div class="block">Gives save access to the <code>ItemMeta</code> of the internal <code>ItemStack</code>.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i16" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#saveCompound--">saveCompound</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i17" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#setClosed--">setClosed</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i18" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#setCompound-java.lang.Object-">setCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</code> </td>
|
||||
</tr>
|
||||
<tr id="i19" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#setItem-org.bukkit.inventory.ItemStack-">setItem</a></span>(org.bukkit.inventory.ItemStack item)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTCompound">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#addCompound-java.lang.String-">addCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#asNBTString--">asNBTString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#clearNBT--">clearNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#equals-java.lang.Object-">equals</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#extractDifference-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">extractDifference</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#get-java.lang.String-de.tr7zw.changeme.nbtapi.iface.NBTHandler-">get</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getBoolean-java.lang.String-">getBoolean</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByte-java.lang.String-">getByte</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByteArray-java.lang.String-">getByteArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound-java.lang.String-">getCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompoundList-java.lang.String-">getCompoundList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDouble-java.lang.String-">getDouble</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDoubleList-java.lang.String-">getDoubleList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getEnum-java.lang.String-java.lang.Class-">getEnum</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloat-java.lang.String-">getFloat</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloatList-java.lang.String-">getFloatList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArray-java.lang.String-">getIntArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArrayList-java.lang.String-">getIntArrayList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getInteger-java.lang.String-">getInteger</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntegerList-java.lang.String-">getIntegerList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStack-java.lang.String-">getItemStack</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStackArray-java.lang.String-">getItemStackArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getKeys--">getKeys</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getListType-java.lang.String-">getListType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLong-java.lang.String-">getLong</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongArray-java.lang.String-">getLongArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongList-java.lang.String-">getLongList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getObject-java.lang.String-java.lang.Class-">getObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrCreateCompound-java.lang.String-">getOrCreateCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrDefault-java.lang.String-T-">getOrDefault</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrNull-java.lang.String-java.lang.Class-">getOrNull</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getReadLock--">getReadLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getResolvedObject--">getResolvedObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getShort-java.lang.String-">getShort</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getString-java.lang.String-">getString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getStringList-java.lang.String-">getStringList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getType-java.lang.String-">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUID-java.lang.String-">getUUID</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUIDList-java.lang.String-">getUUIDList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getWriteLock--">getWriteLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hashCode--">hashCode</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasKey-java.lang.String-">hasKey</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasTag-java.lang.String-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#isReadOnly--">isRLine truncated
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadWriteNBT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#clearNBT--">clearNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getCompound-java.lang.String-">getCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getCompoundList-java.lang.String-">getCompoundList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getDoubleList-java.lang.String-">getDoubleList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getFloatList-java.lang.String-">getFloatList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getIntArrayList-java.lang.String-">getIntArrayList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getIntegerList-java.lang.String-">getIntegerList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getLongList-java.lang.String-">getLongList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getOrCreateCompound-java.lang.String-">getOrCreateCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getStringList-java.lang.String-">getStringList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#getUUIDList-java.lang.String-">getUUIDList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#mergeCompound-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">mergeCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#removeKey-java.lang.String-">removeKey</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#resolveCompound-java.lang.String-">resolveCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#resolveOrCreateCompound-java.lang.String-">resolveOrCreateCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#set-java.lang.String-T-de.tr7zw.changeme.nbtapi.iface.NBTHandler-">set</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setBoolean-java.lang.String-java.lang.Boolean-">setBoolean</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setByte-java.lang.String-java.lang.Byte-">setByte</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setByteArray-java.lang.String-byte:A-">setByteArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setDouble-java.lang.String-java.lang.Double-">setDouble</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setEnum-java.lang.String-E-">setEnum</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setFloat-java.lang.String-java.lang.Float-">setFloat</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setIntArray-java.lang.String-int:A-">setIntArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setInteger-java.lang.String-java.lang.Integer-">setInteger</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setItemStack-java.lang.String-org.bukkit.inventory.ItemStack-">setItemStack</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setItemStackArray-java.lang.String-org.bukkit.inventory.ItemStack:A-">setItemStackArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setLong-java.lang.String-java.lang.Long-">setLong</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setLongArray-java.lang.String-long:A-">setLongArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setShort-java.lang.String-java.lang.Short-">setShort</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setString-java.lang.String-java.lang.String-">setString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html#setUUID-java.lang.String-java.util.UUID-">setUUID</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#extractDifference-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">extractDifference</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#get-java.lang.String-de.tr7zw.changeme.nbtapi.iface.NBTHandler-">get</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getBoolean-java.lang.String-">getBoolean</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getByte-java.lang.String-">getByte</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getByteArray-java.lang.String-">getByteArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getDouble-java.lang.String-">getDouble</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getEnum-java.lang.String-java.lang.Class-">getEnum</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getFloat-java.lang.String-">getFloat</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getIntArray-java.lang.String-">getIntArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getInteger-java.lang.String-">getInteger</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getItemStack-java.lang.String-">getItemStack</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getItemStackArray-java.lang.String-">getItemStackArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getKeys--">getKeys</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getListType-java.lang.String-">getListType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getLong-java.lang.String-">getLong</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getLongArray-java.lang.String-">getLongArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getOrDefault-java.lang.String-T-">getOrDefault</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getOrNull-java.lang.String-java.lang.Class-">getOrNull</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getShort-java.lang.String-">getShort</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getString-java.lang.String-">getString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getType-java.lang.String-">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#getUUID-java.lang.String-">getUUID</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#hasTag-java.lang.String-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#hasTag-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#isEmpty--">isEmpty</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#resolveOrDefault-java.lang.String-T-">resolveOrDefault</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#resolveOrNull-java.lang.String-java.lang.Class-">resolveOrNull</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#toString--">toString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#writeCompound-java.io.OutputStream-">writeCompound</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTItem-org.bukkit.inventory.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTItem</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public NBTItem(org.bukkit.inventory.ItemStack item)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Constructor for NBTItems. The ItemStack will be cloned! Deprecated: Please
|
||||
use the NBT class to work with items. It's up to 400% faster and provides
|
||||
less ways to mess up code.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>item</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTItem-org.bukkit.inventory.ItemStack-boolean-boolean-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTItem</h4>
|
||||
<pre>protected NBTItem(org.bukkit.inventory.ItemStack item,
|
||||
boolean directApply,
|
||||
boolean readOnly,
|
||||
boolean finalizer)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>item</code> - </dd>
|
||||
<dd><code>directApply</code> - </dd>
|
||||
<dd><code>readOnly</code> - When turned on, no copy of the source item is created.
|
||||
Modifying the stack in that case is not valid! Also
|
||||
overwrites directApply</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTItem-org.bukkit.inventory.ItemStack-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTItem</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public NBTItem(org.bukkit.inventory.ItemStack item,
|
||||
boolean directApply)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Constructor for NBTItems. The ItemStack will be cloned! If directApply is
|
||||
true, all changed will be mapped to the original item. Changes to the NBTItem
|
||||
will overwrite changes done to the original item in that case.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>item</code> - </dd>
|
||||
<dd><code>directApply</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getCompound--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCompound</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getCompound()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound--">getCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The NMS Compound behind this Object</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="finalizeChanges--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>finalizeChanges</h4>
|
||||
<pre>protected void finalizeChanges()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setClosed--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setClosed</h4>
|
||||
<pre>protected void setClosed()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#setClosed--">setClosed</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isClosed--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isClosed</h4>
|
||||
<pre>protected boolean isClosed()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#isClosed--">isClosed</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setCompound-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCompound</h4>
|
||||
<pre>protected void setCompound(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#setCompound-java.lang.Object-">setCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="applyNBT-org.bukkit.inventory.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>applyNBT</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public void applyNBT(org.bukkit.inventory.ItemStack item)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Apply stored NBT tags to the provided ItemStack.
|
||||
<p>
|
||||
Note: This will completely override current item's <code>ItemMeta</code>. If you
|
||||
still want to keep the original item's NBT tags, see
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#mergeNBT-org.bukkit.inventory.ItemStack-"><code>mergeNBT(ItemStack)</code></a> and <a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#mergeCustomNBT-org.bukkit.inventory.ItemStack-"><code>mergeCustomNBT(ItemStack)</code></a>.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>item</code> - ItemStack that should get the new NBT data</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="mergeNBT-org.bukkit.inventory.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>mergeNBT</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public void mergeNBT(org.bukkit.inventory.ItemStack item)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Merge all NBT tags to the provided ItemStack.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>item</code> - ItemStack that should get the new NBT data</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="mergeCustomNBT-org.bukkit.inventory.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>mergeCustomNBT</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public void mergeCustomNBT(org.bukkit.inventory.ItemStack item)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Merge only custom (non-vanilla) NBT tags to the provided ItemStack.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>item</code> - ItemStack that should get the new NBT data</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hasCustomNbtData--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hasCustomNbtData</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public boolean hasCustomNbtData()</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">True, if the item has any tags now known for this item type.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteItemNBT.html#hasCustomNbtData--">hasCustomNbtData</a></code> in interface <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteItemNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteItemNBT</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>true when custom tags are present</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="clearCustomNBT--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>clearCustomNBT</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public void clearCustomNBT()</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Remove all custom (non-vanilla) NBT tags from the NBTItem.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteItemNBT.html#clearCustomNBT--">clearCustomNBT</a></code> in interface <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteItemNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteItemNBT</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getItem--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getItem</h4>
|
||||
<pre>public org.bukkit.inventory.ItemStack getItem()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The modified ItemStack</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setItem-org.bukkit.inventory.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setItem</h4>
|
||||
<pre>protected void setItem(org.bukkit.inventory.ItemStack item)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="hasNBTData--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>hasNBTData</h4>
|
||||
<pre>public boolean hasNBTData()</pre>
|
||||
<div class="block">Returns true if the item has NBT data. This needs to be checked before
|
||||
calling methods like remove, otherwise the value might be wrong!</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableItemNBT.html#hasNBTData--">hasNBTData</a></code> in interface <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableItemNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableItemNBT</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Does the ItemStack have a NBTCompound.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="modifyMeta-java.util.function.BiConsumer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>modifyMeta</h4>
|
||||
<pre>public void modifyMeta(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function">BiConsumer</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a>,org.bukkit.inventory.meta.ItemMeta> handler)</pre>
|
||||
<div class="block">Gives save access to the <code>ItemMeta</code> of the internal <code>ItemStack</code>.
|
||||
Supported operations while inside this scope: - any get/set method of
|
||||
<code>ItemMeta</code> - any getter on <a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTItem</code></a>
|
||||
|
||||
All changes made to the <a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTItem</code></a> during this scope will be reverted at
|
||||
the end.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteItemNBT.html#modifyMeta-java.util.function.BiConsumer-">modifyMeta</a></code> in interface <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteItemNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteItemNBT</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>handler</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="modifyMeta-java.lang.Class-java.util.function.BiConsumer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>modifyMeta</h4>
|
||||
<pre>public <T extends org.bukkit.inventory.meta.ItemMeta> void modifyMeta(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function">BiConsumer</a><<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a>,T> handler)</pre>
|
||||
<div class="block">Gives save access to the <code>ItemMeta</code> of the internal <code>ItemStack</code>.
|
||||
Supported operations while inside this scope: - any get/set method of
|
||||
<code>ItemMeta</code> - any getter on <a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTItem</code></a>
|
||||
|
||||
All changes made to the <a href="../../../../de/tr7zw/changeme/nbtapi/NBTItem.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTItem</code></a> during this scope will be reverted at
|
||||
the end.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteItemNBT.html#modifyMeta-java.lang.Class-java.util.function.BiConsumer-">modifyMeta</a></code> in interface <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteItemNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteItemNBT</a></code></dd>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>handler</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="convertItemtoNBT-org.bukkit.inventory.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>convertItemtoNBT</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a> convertItemtoNBT(org.bukkit.inventory.ItemStack item)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Helper method that converts <code>ItemStack</code> to <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTContainer</code></a> with
|
||||
all it's data like Material, Damage, Amount and Tags.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>item</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Standalone <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTContainer</code></a> with the Item's data</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="convertNBTtoItem-de.tr7zw.changeme.nbtapi.NBTCompound-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>convertNBTtoItem</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a>
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public static org.bukkit.inventory.ItemStack convertNBTtoItem(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Helper method to do the inverse of "convertItemtoNBT". Creates an
|
||||
<code>ItemStack</code> using the <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a></div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>ItemStack using the <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a>'s data</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="convertItemArraytoNBT-org.bukkit.inventory.ItemStack:A-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>convertItemArraytoNBT</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a> convertItemArraytoNBT(org.bukkit.inventory.ItemStack[] items)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Helper method that converts <code>ItemStack</code>[] to <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTContainer</code></a> with
|
||||
all its data like Material, Damage, Amount and Tags. This is a custom
|
||||
implementation and won't work with vanilla code(Shulker content etc).</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>items</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Standalone <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTContainer</code></a> with the Item's data</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="convertNBTtoItemArray-de.tr7zw.changeme.nbtapi.NBTCompound-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>convertNBTtoItemArray</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/javax/annotation/Nullable.html?is-external=true" title="class or interface in javax.annotation">@Nullable</a>
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public static org.bukkit.inventory.ItemStack[] convertNBTtoItemArray(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Helper method to do the inverse of "convertItemArraytoNBT". Creates an
|
||||
<code>ItemStack</code>[] using the <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a>. This is a custom
|
||||
implementation and won't work with vanilla code (Shulker content, etc.).
|
||||
|
||||
Will return null for invalid data. Empty slots in the array are filled with
|
||||
AIR Stacks!</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>ItemStack[] using the <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a>'s data</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="saveCompound--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>saveCompound</h4>
|
||||
<pre>protected void saveCompound()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#saveCompound--">saveCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTItem.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTIntegerList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTItem.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTItem.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,395 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTListCompound (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTListCompound (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTListCompound.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTLongList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTListCompound.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTListCompound.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTListCompound" class="title">Class NBTListCompound</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTCompound</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTListCompound</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTListCompound</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></pre>
|
||||
<div class="block">Cut down version of the <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> for inside
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompoundList</code></a> This Compound implementation is missing the ability
|
||||
for further subCompounds and Lists. This class probably will change in the
|
||||
future</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html#NBTListCompound-de.tr7zw.changeme.nbtapi.NBTList-java.lang.Object-">NBTListCompound</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><?> parent,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html#getCompound--">getCompound</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><?></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html#getListParent--">getListParent</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html#isClosed--">isClosed</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html#isReadOnly--">isReadOnly</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html#saveCompound--">saveCompound</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html#setCompound-java.lang.Object-">setCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTCompound">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#addCompound-java.lang.String-">addCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#asNBTString--">asNBTString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#clearNBT--">clearNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#equals-java.lang.Object-">equals</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#extractDifference-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">extractDifference</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#get-java.lang.String-de.tr7zw.changeme.nbtapi.iface.NBTHandler-">get</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getBoolean-java.lang.String-">getBoolean</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByte-java.lang.String-">getByte</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByteArray-java.lang.String-">getByteArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound-java.lang.String-">getCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompoundList-java.lang.String-">getCompoundList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDouble-java.lang.String-">getDouble</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDoubleList-java.lang.String-">getDoubleList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getEnum-java.lang.String-java.lang.Class-">getEnum</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloat-java.lang.String-">getFloat</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloatList-java.lang.String-">getFloatList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArray-java.lang.String-">getIntArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArrayList-java.lang.String-">getIntArrayList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getInteger-java.lang.String-">getInteger</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntegerList-java.lang.String-">getIntegerList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStack-java.lang.String-">getItemStack</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStackArray-java.lang.String-">getItemStackArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getKeys--">getKeys</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getListType-java.lang.String-">getListType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLong-java.lang.String-">getLong</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongArray-java.lang.String-">getLongArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongList-java.lang.String-">getLongList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getObject-java.lang.String-java.lang.Class-">getObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrCreateCompound-java.lang.String-">getOrCreateCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrDefault-java.lang.String-T-">getOrDefault</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrNull-java.lang.String-java.lang.Class-">getOrNull</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getReadLock--">getReadLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getResolvedObject--">getResolvedObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getShort-java.lang.String-">getShort</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getString-java.lang.String-">getString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getStringList-java.lang.String-">getStringList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getType-java.lang.String-">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUID-java.lang.String-">getUUID</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUIDList-java.lang.String-">getUUIDList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getWriteLock--">getWriteLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hashCode--">hashCode</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasKey-java.lang.String-">hasKey</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasTag-java.lang.String-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#mergeCompound-de.Line truncated
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#hasTag-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#isEmpty--">isEmpty</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTListCompound-de.tr7zw.changeme.nbtapi.NBTList-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTListCompound</h4>
|
||||
<pre>protected NBTListCompound(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><?> parent,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> obj)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getListParent--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getListParent</h4>
|
||||
<pre>public <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><?> getListParent()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isClosed--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isClosed</h4>
|
||||
<pre>protected boolean isClosed()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#isClosed--">isClosed</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isReadOnly--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isReadOnly</h4>
|
||||
<pre>protected boolean isReadOnly()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#isReadOnly--">isReadOnly</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getCompound--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCompound</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getCompound()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound--">getCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The NMS Compound behind this Object</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setCompound-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCompound</h4>
|
||||
<pre>protected void setCompound(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#setCompound-java.lang.Object-">setCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="saveCompound--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>saveCompound</h4>
|
||||
<pre>protected void saveCompound()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#saveCompound--">saveCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTListCompound.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTLongList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTListCompound.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTListCompound.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,372 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTLongList (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTLongList (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTLongList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTPersistentDataContainer.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTLongList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTLongList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTLongList" class="title">Class NBTLongList</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTLongList</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTLongList</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></pre>
|
||||
<div class="block">Long implementation for NBTLists</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listObject">listObject</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTLongList.html#NBTLongList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTLongList</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTLongList.html#asTag-java.lang.Long-">asTag</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> object)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTLongList.html#get-int-">get</a></span>(int index)</code>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-int-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-int-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#clear--">clear</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#contains-java.lang.Object-">contains</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#containsAll-java.util.Collection-">containsAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getType--">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#indexOf-java.lang.Object-">indexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#isEmpty--">isEmpty</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#iterator--">iterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#lastIndexOf-java.lang.Object-">lastIndexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator--">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator-int-">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-int-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-java.lang.Object-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeAll-java.util.Collection-">removeAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeIf-java.util.function.Predicate-">removeIf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#retainAll-java.util.Collection-">retainAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#save--">save</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#set-int-T-">set</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#size--">size</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#subList-int-int-">subList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray--">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray-E:A-">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toString--">toString</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.List">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#replaceAll-java.util.function.UnaryOperator-" title="class or interface in java.util">replaceAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#sort-java.util.Comparator-" title="class or interface in java.util">sort</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#spliterator--" title="class or interface in java.util">spliterator</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.Collection">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#parallelStream--" title="class or interface in java.util">parallelStream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#stream--" title="class or interface in java.util">stream</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#toListCopy--">toListCopy</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTLongList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTLongList</h4>
|
||||
<pre>protected NBTLongList(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="asTag-java.lang.Long-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>asTag</h4>
|
||||
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> asTag(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> object)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#asTag-T-">asTag</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="get-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>get</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> get(int index)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#get-int-">ReadableNBTList</a></code></span></div>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>index</code> - The id of the object to get.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The object with the given id.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTLongList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTPersistentDataContainer.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTLongList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTLongList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,336 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTPersistentDataContainer (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTPersistentDataContainer (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTPersistentDataContainer.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTLongList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTPersistentDataContainer.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTPersistentDataContainer.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTPersistentDataContainer" class="title">Class NBTPersistentDataContainer</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTCompound</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTPersistentDataContainer</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTPersistentDataContainer</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code> </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTPersistentDataContainer.html#NBTPersistentDataContainer-org.bukkit.persistence.PersistentDataContainer-">NBTPersistentDataContainer</a></span>(org.bukkit.persistence.PersistentDataContainer container)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTPersistentDataContainer.html#NBTPersistentDataContainer-org.bukkit.persistence.PersistentDataContainer-boolean-">NBTPersistentDataContainer</a></span>(org.bukkit.persistence.PersistentDataContainer container,
|
||||
boolean readOnly)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTPersistentDataContainer.html#getCompound--">getCompound</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTPersistentDataContainer.html#setCompound-java.lang.Object-">setCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTCompound">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#addCompound-java.lang.String-">addCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#asNBTString--">asNBTString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#clearNBT--">clearNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#equals-java.lang.Object-">equals</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#extractDifference-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">extractDifference</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#get-java.lang.String-de.tr7zw.changeme.nbtapi.iface.NBTHandler-">get</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getBoolean-java.lang.String-">getBoolean</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByte-java.lang.String-">getByte</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByteArray-java.lang.String-">getByteArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound-java.lang.String-">getCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompoundList-java.lang.String-">getCompoundList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDouble-java.lang.String-">getDouble</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDoubleList-java.lang.String-">getDoubleList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getEnum-java.lang.String-java.lang.Class-">getEnum</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloat-java.lang.String-">getFloat</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloatList-java.lang.String-">getFloatList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArray-java.lang.String-">getIntArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArrayList-java.lang.String-">getIntArrayList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getInteger-java.lang.String-">getInteger</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntegerList-java.lang.String-">getIntegerList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStack-java.lang.String-">getItemStack</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStackArray-java.lang.String-">getItemStackArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getKeys--">getKeys</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getListType-java.lang.String-">getListType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLong-java.lang.String-">getLong</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongArray-java.lang.String-">getLongArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongList-java.lang.String-">getLongList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getObject-java.lang.String-java.lang.Class-">getObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrCreateCompound-java.lang.String-">getOrCreateCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrDefault-java.lang.String-T-">getOrDefault</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrNull-java.lang.String-java.lang.Class-">getOrNull</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getReadLock--">getReadLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getResolvedObject--">getResolvedObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getShort-java.lang.String-">getShort</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getString-java.lang.String-">getString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getStringList-java.lang.String-">getStringList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getType-java.lang.String-">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUID-java.lang.String-">getUUID</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUIDList-java.lang.String-">getUUIDList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getWriteLock--">getWriteLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hashCode--">hashCode</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasKey-java.lang.String-">hasKey</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasTag-java.lang.String-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#isClosed--">isCloLine truncated
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#hasTag-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#isEmpty--">isEmpty</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTPersistentDataContainer-org.bukkit.persistence.PersistentDataContainer-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTPersistentDataContainer</h4>
|
||||
<pre>public NBTPersistentDataContainer(org.bukkit.persistence.PersistentDataContainer container)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTPersistentDataContainer-org.bukkit.persistence.PersistentDataContainer-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTPersistentDataContainer</h4>
|
||||
<pre>protected NBTPersistentDataContainer(org.bukkit.persistence.PersistentDataContainer container,
|
||||
boolean readOnly)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getCompound--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCompound</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getCompound()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound--">getCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The NMS Compound behind this Object</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setCompound-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>setCompound</h4>
|
||||
<pre>protected void setCompound(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#setCompound-java.lang.Object-">setCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTPersistentDataContainer.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTLongList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTPersistentDataContainer.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTPersistentDataContainer.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,978 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTReflectionUtil (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTReflectionUtil (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":41,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTReflectionUtil.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTPersistentDataContainer.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTStringList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTReflectionUtil.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTReflectionUtil" class="title">Class NBTReflectionUtil</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTReflectionUtil</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTReflectionUtil</span>
|
||||
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
|
||||
<div class="block">Utility class for translating NBTApi calls to reflections into NMS code All
|
||||
methods are allowed to throw <a href="../../../../de/tr7zw/changeme/nbtapi/NbtApiException.html" title="class in de.tr7zw.changeme.nbtapi"><code>NbtApiException</code></a></div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static com.mojang.serialization.Codec<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#itemstack_codec">itemstack_codec</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static com.mojang.serialization.DynamicOps<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#nbtOps">nbtOps</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static com.mojang.serialization.DynamicOps<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#nbtRegistryOps">nbtRegistryOps</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#problemReporter">problemReporter</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#addNBTTagCompound-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-">addNBTTagCompound</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
|
||||
<div class="block">Creates a subCompound with a given name in the given NMS Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#convertNBTCompoundtoNMSItem-de.tr7zw.changeme.nbtapi.NBTCompound-">convertNBTCompoundtoNMSItem</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> nbtcompound)</code>
|
||||
<div class="block">Converts <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> to NMS ItemStacks</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#convertNMSItemtoNBTCompound-java.lang.Object-">convertNMSItemtoNBTCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nmsitem)</code>
|
||||
<div class="block">Converts NMS ItemStacks to <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTContainer</code></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getCraftItemHandle-org.bukkit.inventory.ItemStack-">getCraftItemHandle</a></span>(org.bukkit.inventory.ItemStack item)</code>
|
||||
<div class="block">Gets the nms handle ItemStack from a CraftItemStack.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getData-de.tr7zw.changeme.nbtapi.NBTCompound-de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod-java.lang.String-">getData</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings">ReflectionMethod</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</code>
|
||||
<div class="block">Gets data from the Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getEntityNBTTagCompound-java.lang.Object-">getEntityNBTTagCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nmsEntity)</code>
|
||||
<div class="block">Gets the Vanilla NBT Compound from a given NMS Entity</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getEntry-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-">getEntry</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</code> </td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getItemRootNBTTagCompound-java.lang.Object-">getItemRootNBTTagCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nmsitem)</code>
|
||||
<div class="block">Simulates getOrCreateTag.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getKeys-de.tr7zw.changeme.nbtapi.NBTCompound-">getKeys</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code>
|
||||
<div class="block">Gets the Keyset inside this Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>static <T> <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><T></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Class-">getList</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> clazz)</code>
|
||||
<div class="block">Returns the List saved with a given key.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getListType-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-">getListType</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</code> </td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getNMSEntity-org.bukkit.entity.Entity-">getNMSEntity</a></span>(org.bukkit.entity.Entity entity)</code>
|
||||
<div class="block">Gets the NMS Entity for a given Bukkit Entity</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i12" class="altColor">
|
||||
<td class="colFirst"><code>static <T> T</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getObject-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-java.lang.Class-">getObject</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
|
||||
<div class="block">Uses Gson to load back a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a> object from the Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i13" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getSubNBTTagCompound-java.lang.Object-java.lang.String-">getSubNBTTagCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
|
||||
<div class="block">Gets the subCompound with a given name from a NMS Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i14" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getTileEntityNBTTagCompound-org.bukkit.block.BlockState-">getTileEntityNBTTagCompound</a></span>(org.bukkit.block.BlockState tile)</code>
|
||||
<div class="block">Gets the NMS Compound from a given TileEntity</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i15" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getToCompount-java.lang.Object-de.tr7zw.changeme.nbtapi.NBTCompound-">getToCompount</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nbttag,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code> </td>
|
||||
</tr>
|
||||
<tr id="i16" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getUnhandledNBTTags-org.bukkit.inventory.meta.ItemMeta-">getUnhandledNBTTags</a></span>(org.bukkit.inventory.meta.ItemMeta meta)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i17" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#mergeOtherNBTCompound-de.tr7zw.changeme.nbtapi.NBTCompound-de.tr7zw.changeme.nbtapi.NBTCompound-">mergeOtherNBTCompound</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> nbtcompoundSrc)</code>
|
||||
<div class="block">Merges the second <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> into the first one</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i18" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#readNBT-java.io.InputStream-">readNBT</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> stream)</code>
|
||||
<div class="block">Reads in a InputStream as NMS Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i19" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#remove-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-">remove</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</code>
|
||||
<div class="block">Deletes the given key</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i20" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#set-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-java.lang.Object-">set</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code>
|
||||
<div class="block">Sets a key in a <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> to a given value</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i21" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#setData-de.tr7zw.changeme.nbtapi.NBTCompound-de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod-java.lang.String-java.lang.Object-">setData</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings">ReflectionMethod</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> data)</code>
|
||||
<div class="block">Sets data inside the Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i22" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#setEntityNBTTag-java.lang.Object-java.lang.Object-">setEntityNBTTag</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nbtTag,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nmsEntity)</code>
|
||||
<div class="block">Loads all Vanilla tags from a NMS Compound into a NMS Entity</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i23" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#setItemStackCompound-java.lang.Object-java.lang.Object-">setItemStackCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nmsItem,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</code>
|
||||
<div class="block">Set the Compound as the Items NBT or CustomData</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i24" class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#setObject-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-java.lang.Object-">setObject</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
|
||||
<div class="block">Uses Gson to set a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a> value in a Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i25" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#setTileEntityNBTTagCompound-org.bukkit.block.BlockState-java.lang.Object-">setTileEntityNBTTagCompound</a></span>(org.bukkit.block.BlockState tile,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> comp)</code>
|
||||
<div class="block">Sets Vanilla tags from a NMS Compound to a TileEntity</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i26" class="altColor">
|
||||
<td class="colFirst"><code>static boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#validCompound-de.tr7zw.changeme.nbtapi.NBTCompound-">validCompound</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code>
|
||||
<div class="block">Checks if the Compound is correctly linked to it's roots</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i27" class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#writeApiNBT-de.tr7zw.changeme.nbtapi.NBTCompound-java.io.OutputStream-">writeApiNBT</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> stream)</code>
|
||||
<div class="block">Writes a Compound to an OutputStream</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i28" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#writeNBT-java.lang.Object-java.io.OutputStream-">writeNBT</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nbt,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> stream)</code>
|
||||
<div class="block">Writes a NMS Compound to an OutputStream</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a name="itemstack_codec">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>itemstack_codec</h4>
|
||||
<pre>public static com.mojang.serialization.Codec<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> itemstack_codec</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="nbtOps">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>nbtOps</h4>
|
||||
<pre>public static com.mojang.serialization.DynamicOps<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> nbtOps</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="nbtRegistryOps">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>nbtRegistryOps</h4>
|
||||
<pre>public static com.mojang.serialization.DynamicOps<<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> nbtRegistryOps</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="problemReporter">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>problemReporter</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> problemReporter</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="getNMSEntity-org.bukkit.entity.Entity-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getNMSEntity</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getNMSEntity(org.bukkit.entity.Entity entity)</pre>
|
||||
<div class="block">Gets the NMS Entity for a given Bukkit Entity</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>entity</code> - Bukkit Entity</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>NMS Entity</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="readNBT-java.io.InputStream-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>readNBT</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> readNBT(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a> stream)</pre>
|
||||
<div class="block">Reads in a InputStream as NMS Compound</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>stream</code> - InputStream of any NBT file</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>NMS Compound</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="writeNBT-java.lang.Object-java.io.OutputStream-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>writeNBT</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> writeNBT(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nbt,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> stream)</pre>
|
||||
<div class="block">Writes a NMS Compound to an OutputStream</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>nbt</code> - NMS Compound</dd>
|
||||
<dd><code>stream</code> - Stream to write to</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>???</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getCraftItemHandle-org.bukkit.inventory.ItemStack-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCraftItemHandle</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getCraftItemHandle(org.bukkit.inventory.ItemStack item)</pre>
|
||||
<div class="block">Gets the nms handle ItemStack from a CraftItemStack. Passing Spigot
|
||||
ItemStacks will cause an error!</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>item</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="writeApiNBT-de.tr7zw.changeme.nbtapi.NBTCompound-java.io.OutputStream-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>writeApiNBT</h4>
|
||||
<pre>public static void writeApiNBT(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> stream)</pre>
|
||||
<div class="block">Writes a Compound to an OutputStream</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - Compound</dd>
|
||||
<dd><code>stream</code> - Stream to write to</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getItemRootNBTTagCompound-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getItemRootNBTTagCompound</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getItemRootNBTTagCompound(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nmsitem)</pre>
|
||||
<div class="block">Simulates getOrCreateTag. If an Item doesn't yet have a Tag, it will return a
|
||||
new empty tag.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>nmsitem</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>NMS Compound</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setItemStackCompound-java.lang.Object-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setItemStackCompound</h4>
|
||||
<pre>public static void setItemStackCompound(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nmsItem,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</pre>
|
||||
<div class="block">Set the Compound as the Items NBT or CustomData</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>nmsItem</code> - </dd>
|
||||
<dd><code>compound</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="convertNBTCompoundtoNMSItem-de.tr7zw.changeme.nbtapi.NBTCompound-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>convertNBTCompoundtoNMSItem</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> convertNBTCompoundtoNMSItem(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> nbtcompound)</pre>
|
||||
<div class="block">Converts <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> to NMS ItemStacks</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>nbtcompound</code> - Any valid <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>NMS ItemStack</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="convertNMSItemtoNBTCompound-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>convertNMSItemtoNBTCompound</h4>
|
||||
<pre>public static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a> convertNMSItemtoNBTCompound(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nmsitem)</pre>
|
||||
<div class="block">Converts NMS ItemStacks to <a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTContainer</code></a></div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>nmsitem</code> - NMS ItemStack</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTContainer</code></a> with all the data</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getUnhandledNBTTags-org.bukkit.inventory.meta.ItemMeta-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getUnhandledNBTTags</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> getUnhandledNBTTags(org.bukkit.inventory.meta.ItemMeta meta)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Gets a live copy of non-vanilla NBT tags.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>meta</code> - ItemMeta from which tags should be retrieved</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Map containing unhandled (custom) NBT tags</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getEntityNBTTagCompound-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getEntityNBTTagCompound</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getEntityNBTTagCompound(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nmsEntity)</pre>
|
||||
<div class="block">Gets the Vanilla NBT Compound from a given NMS Entity</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>nmsEntity</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>NMS NBT Compound</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setEntityNBTTag-java.lang.Object-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setEntityNBTTag</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> setEntityNBTTag(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nbtTag,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nmsEntity)</pre>
|
||||
<div class="block">Loads all Vanilla tags from a NMS Compound into a NMS Entity</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>nbtTag</code> - </dd>
|
||||
<dd><code>nmsEntity</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The NMS Entity</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getTileEntityNBTTagCompound-org.bukkit.block.BlockState-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getTileEntityNBTTagCompound</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getTileEntityNBTTagCompound(org.bukkit.block.BlockState tile)</pre>
|
||||
<div class="block">Gets the NMS Compound from a given TileEntity</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>tile</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>NMS Compound with the Vanilla data</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setTileEntityNBTTagCompound-org.bukkit.block.BlockState-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setTileEntityNBTTagCompound</h4>
|
||||
<pre>public static void setTileEntityNBTTagCompound(org.bukkit.block.BlockState tile,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> comp)</pre>
|
||||
<div class="block">Sets Vanilla tags from a NMS Compound to a TileEntity</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>tile</code> - </dd>
|
||||
<dd><code>comp</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getSubNBTTagCompound-java.lang.Object-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getSubNBTTagCompound</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getSubNBTTagCompound(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
|
||||
<div class="block">Gets the subCompound with a given name from a NMS Compound</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>compound</code> - </dd>
|
||||
<dd><code>name</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>NMS Compound or null</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="addNBTTagCompound-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addNBTTagCompound</h4>
|
||||
<pre>public static void addNBTTagCompound(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
|
||||
<div class="block">Creates a subCompound with a given name in the given NMS Compound</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - </dd>
|
||||
<dd><code>name</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="validCompound-de.tr7zw.changeme.nbtapi.NBTCompound-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>validCompound</h4>
|
||||
<pre>public static boolean validCompound(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</pre>
|
||||
<div class="block">Checks if the Compound is correctly linked to it's roots</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>true if this is a valid Compound, else false</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getToCompount-java.lang.Object-de.tr7zw.changeme.nbtapi.NBTCompound-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getToCompount</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getToCompount(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nbttag,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="mergeOtherNBTCompound-de.tr7zw.changeme.nbtapi.NBTCompound-de.tr7zw.changeme.nbtapi.NBTCompound-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>mergeOtherNBTCompound</h4>
|
||||
<pre>public static void mergeOtherNBTCompound(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> nbtcompoundSrc)</pre>
|
||||
<div class="block">Merges the second <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> into the first one</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - Target for the merge</dd>
|
||||
<dd><code>nbtcompoundSrc</code> - Data to merge</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="set-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>set</h4>
|
||||
<pre>public static void set(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</pre>
|
||||
<div class="block">Sets a key in a <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> to a given value</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - </dd>
|
||||
<dd><code>key</code> - </dd>
|
||||
<dd><code>val</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Class-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getList</h4>
|
||||
<pre>public static <T> <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><T> getList(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> clazz)</pre>
|
||||
<div class="block">Returns the List saved with a given key.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - </dd>
|
||||
<dd><code>key</code> - </dd>
|
||||
<dd><code>type</code> - </dd>
|
||||
<dd><code>clazz</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The list at that key. Null if it's an invalid type</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getListType-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getListType</h4>
|
||||
<pre>public static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> getListType(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getEntry-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getEntry</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getEntry(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setObject-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setObject</h4>
|
||||
<pre>public static void setObject(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre>
|
||||
<div class="block">Uses Gson to set a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a> value in a Compound</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - </dd>
|
||||
<dd><code>key</code> - </dd>
|
||||
<dd><code>value</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getObject-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-java.lang.Class-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getObject</h4>
|
||||
<pre>public static <T> T getObject(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</pre>
|
||||
<div class="block">Uses Gson to load back a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a> object from the Compound</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - </dd>
|
||||
<dd><code>key</code> - </dd>
|
||||
<dd><code>type</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The loaded Object or null, if not found</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="remove-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>remove</h4>
|
||||
<pre>public static void remove(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre>
|
||||
<div class="block">Deletes the given key</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - </dd>
|
||||
<dd><code>key</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getKeys-de.tr7zw.changeme.nbtapi.NBTCompound-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getKeys</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> getKeys(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</pre>
|
||||
<div class="block">Gets the Keyset inside this Compound</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Set of all keys</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setData-de.tr7zw.changeme.nbtapi.NBTCompound-de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod-java.lang.String-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setData</h4>
|
||||
<pre>public static void setData(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings">ReflectionMethod</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> data)</pre>
|
||||
<div class="block">Sets data inside the Compound</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - </dd>
|
||||
<dd><code>type</code> - </dd>
|
||||
<dd><code>key</code> - </dd>
|
||||
<dd><code>data</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getData-de.tr7zw.changeme.nbtapi.NBTCompound-de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getData</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getData(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings">ReflectionMethod</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</pre>
|
||||
<div class="block">Gets data from the Compound</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>comp</code> - </dd>
|
||||
<dd><code>type</code> - </dd>
|
||||
<dd><code>key</code> - </dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The value or default fallback from NMS</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTReflectionUtil.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTPersistentDataContainer.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTStringList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTReflectionUtil.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li>Constr | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,372 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTStringList (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTStringList (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTStringList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTStringList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTStringList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTStringList" class="title">Class NBTStringList</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTStringList</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTStringList</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></pre>
|
||||
<div class="block">String implementation for NBTLists</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listObject">listObject</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTStringList.html#NBTStringList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTStringList</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTStringList.html#asTag-java.lang.String-">asTag</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> object)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTStringList.html#get-int-">get</a></span>(int index)</code>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-int-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-int-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#clear--">clear</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#contains-java.lang.Object-">contains</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#containsAll-java.util.Collection-">containsAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getType--">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#indexOf-java.lang.Object-">indexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#isEmpty--">isEmpty</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#iterator--">iterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#lastIndexOf-java.lang.Object-">lastIndexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator--">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator-int-">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-int-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-java.lang.Object-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeAll-java.util.Collection-">removeAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeIf-java.util.function.Predicate-">removeIf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#retainAll-java.util.Collection-">retainAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#save--">save</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#set-int-T-">set</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#size--">size</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#subList-int-int-">subList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray--">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray-E:A-">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toString--">toString</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.List">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#replaceAll-java.util.function.UnaryOperator-" title="class or interface in java.util">replaceAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#sort-java.util.Comparator-" title="class or interface in java.util">sort</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#spliterator--" title="class or interface in java.util">spliterator</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.Collection">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#parallelStream--" title="class or interface in java.util">parallelStream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#stream--" title="class or interface in java.util">stream</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#toListCopy--">toListCopy</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTStringList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTStringList</h4>
|
||||
<pre>protected NBTStringList(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="get-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>get</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> get(int index)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#get-int-">ReadableNBTList</a></code></span></div>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>index</code> - The id of the object to get.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The object with the given id.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="asTag-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>asTag</h4>
|
||||
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> asTag(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> object)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#asTag-T-">asTag</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTStringList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTStringList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTStringList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,430 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTTileEntity (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTTileEntity (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTTileEntity.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTStringList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTTileEntity.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTTileEntity.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTTileEntity" class="title">Class NBTTileEntity</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTCompound</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTTileEntity</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBT</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTTileEntity</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></pre>
|
||||
<div class="block">NBT class to access vanilla tags from TileEntities. TileEntities don't
|
||||
support custom tags. Use the NBTInjector for custom tags. Changes will be
|
||||
instantly applied to the Tile, use the merge method to do many things at
|
||||
once.</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code> </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html#NBTTileEntity-org.bukkit.block.BlockState-">NBTTileEntity</a></span>(org.bukkit.block.BlockState tile)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html#NBTTileEntity-org.bukkit.block.BlockState-boolean-">NBTTileEntity</a></span>(org.bukkit.block.BlockState tile,
|
||||
boolean readonly)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html#getCompound--">getCompound</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html#getPersistentDataContainer--">getPersistentDataContainer</a></span>()</code>
|
||||
<div class="block">Gets the NBTCompound used by spigots PersistentDataAPI.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html#isClosed--">isClosed</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>protected boolean</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html#isReadOnly--">isReadOnly</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html#setClosed--">setClosed</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>protected void</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html#setCompound-java.lang.Object-">setCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTCompound">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#addCompound-java.lang.String-">addCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#asNBTString--">asNBTString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#clearNBT--">clearNBT</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#equals-java.lang.Object-">equals</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#extractDifference-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">extractDifference</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#get-java.lang.String-de.tr7zw.changeme.nbtapi.iface.NBTHandler-">get</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getBoolean-java.lang.String-">getBoolean</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByte-java.lang.String-">getByte</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getByteArray-java.lang.String-">getByteArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound-java.lang.String-">getCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompoundList-java.lang.String-">getCompoundList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDouble-java.lang.String-">getDouble</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getDoubleList-java.lang.String-">getDoubleList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getEnum-java.lang.String-java.lang.Class-">getEnum</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloat-java.lang.String-">getFloat</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getFloatList-java.lang.String-">getFloatList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArray-java.lang.String-">getIntArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntArrayList-java.lang.String-">getIntArrayList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getInteger-java.lang.String-">getInteger</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getIntegerList-java.lang.String-">getIntegerList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStack-java.lang.String-">getItemStack</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getItemStackArray-java.lang.String-">getItemStackArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getKeys--">getKeys</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getListType-java.lang.String-">getListType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLong-java.lang.String-">getLong</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongArray-java.lang.String-">getLongArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getLongList-java.lang.String-">getLongList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getObject-java.lang.String-java.lang.Class-">getObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrCreateCompound-java.lang.String-">getOrCreateCompound</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrDefault-java.lang.String-T-">getOrDefault</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrNull-java.lang.String-java.lang.Class-">getOrNull</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getReadLock--">getReadLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getResolvedObject--">getResolvedObject</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getShort-java.lang.String-">getShort</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getString-java.lang.String-">getString</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getStringList-java.lang.String-">getStringList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getType-java.lang.String-">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUID-java.lang.String-">getUUID</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getUUIDList-java.lang.String-">getUUIDList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getWriteLock--">getWriteLock</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hashCode--">hashCode</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasKey-java.lang.String-">hasKey</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#hasTag-java.lang.String-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#mergeCompound-de.Line truncated
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#hasTag-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-">hasTag</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html#isEmpty--">isEmpty</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTTileEntity-org.bukkit.block.BlockState-boolean-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTTileEntity</h4>
|
||||
<pre>protected NBTTileEntity(org.bukkit.block.BlockState tile,
|
||||
boolean readonly)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>tile</code> - BlockState from any TileEntity</dd>
|
||||
<dd><code>readonly</code> - Readonly makes a copy at init, only reading from that copy</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTTileEntity-org.bukkit.block.BlockState-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTTileEntity</h4>
|
||||
<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
|
||||
public NBTTileEntity(org.bukkit.block.BlockState tile)</pre>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Deprecated: Please use the NBT class</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>tile</code> - BlockState from any TileEntity</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="setClosed--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setClosed</h4>
|
||||
<pre>protected void setClosed()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#setClosed--">setClosed</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isClosed--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isClosed</h4>
|
||||
<pre>protected boolean isClosed()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#isClosed--">isClosed</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="isReadOnly--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>isReadOnly</h4>
|
||||
<pre>protected boolean isReadOnly()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#isReadOnly--">isReadOnly</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getCompound--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getCompound</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> getCompound()</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound--">getCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The NMS Compound behind this Object</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="setCompound-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setCompound</h4>
|
||||
<pre>protected void setCompound(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> compound)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#setCompound-java.lang.Object-">setCompound</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getPersistentDataContainer--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>getPersistentDataContainer</h4>
|
||||
<pre>public <a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> getPersistentDataContainer()</pre>
|
||||
<div class="block">Gets the NBTCompound used by spigots PersistentDataAPI. This method is only
|
||||
available for 1.14+!</div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>NBTCompound containing the data of the PersistentDataAPI</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTTileEntity.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTStringList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTTileEntity.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTTileEntity.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,546 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTType (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTType (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":9,"i1":10,"i2":10,"i3":9,"i4":9,"i5":9};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTType.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTUUIDList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTType.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTType.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Enum NBTType" class="title">Enum NBTType</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTType</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public enum <span class="typeNameLabel">NBTType</span>
|
||||
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a>></pre>
|
||||
<div class="block">Enum of all NBT Types Minecraft contains</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
|
||||
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Enum Constant and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#NBTTagByte">NBTTagByte</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#NBTTagByteArray">NBTTagByteArray</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#NBTTagCompound">NBTTagCompound</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#NBTTagDouble">NBTTagDouble</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#NBTTagEnd">NBTTagEnd</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#NBTTagFloat">NBTTagFloat</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#NBTTagInt">NBTTagInt</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#NBTTagIntArray">NBTTagIntArray</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#NBTTagList">NBTTagList</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#NBTTagLong">NBTTagLong</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#NBTTagLongArray">NBTTagLongArray</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#NBTTagShort">NBTTagShort</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#NBTTagString">NBTTagString</a></span></code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#fromName-java.lang.String-">fromName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#getId--">getId</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#getName--">getName</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#valueOf-int-">valueOf</a></span>(int id)</code> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a>[]</code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html#values--">values</a></span>()</code>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="enum.constant.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Enum Constant Detail</h3>
|
||||
<a name="NBTTagEnd">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTTagEnd</h4>
|
||||
<pre>public static final <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> NBTTagEnd</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTTagByte">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTTagByte</h4>
|
||||
<pre>public static final <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> NBTTagByte</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTTagShort">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTTagShort</h4>
|
||||
<pre>public static final <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> NBTTagShort</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTTagInt">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTTagInt</h4>
|
||||
<pre>public static final <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> NBTTagInt</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTTagLong">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTTagLong</h4>
|
||||
<pre>public static final <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> NBTTagLong</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTTagFloat">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTTagFloat</h4>
|
||||
<pre>public static final <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> NBTTagFloat</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTTagDouble">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTTagDouble</h4>
|
||||
<pre>public static final <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> NBTTagDouble</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTTagByteArray">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTTagByteArray</h4>
|
||||
<pre>public static final <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> NBTTagByteArray</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTTagString">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTTagString</h4>
|
||||
<pre>public static final <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> NBTTagString</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTTagList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTTagList</h4>
|
||||
<pre>public static final <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> NBTTagList</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTTagCompound">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTTagCompound</h4>
|
||||
<pre>public static final <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> NBTTagCompound</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTTagIntArray">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NBTTagIntArray</h4>
|
||||
<pre>public static final <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> NBTTagIntArray</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NBTTagLongArray">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTTagLongArray</h4>
|
||||
<pre>public static final <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> NBTTagLongArray</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="values--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>values</h4>
|
||||
<pre>public static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a>[] values()</pre>
|
||||
<div class="block">Returns an array containing the constants of this enum type, in
|
||||
the order they are declared. This method may be used to iterate
|
||||
over the constants as follows:
|
||||
<pre>
|
||||
for (NBTType c : NBTType.values())
|
||||
System.out.println(c);
|
||||
</pre></div>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="valueOf-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>valueOf</h4>
|
||||
<pre>public static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> valueOf(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
|
||||
<div class="block">Returns the enum constant of this type with the specified name.
|
||||
The string must match <i>exactly</i> an identifier used to declare an
|
||||
enum constant in this type. (Extraneous whitespace characters are
|
||||
not permitted.)</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the enum constant with the specified name</dd>
|
||||
<dt><span class="throwsLabel">Throws:</span></dt>
|
||||
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd>
|
||||
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getId--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getId</h4>
|
||||
<pre>public int getId()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Id used by Minecraft internally</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getName--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getName</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getName()</pre>
|
||||
<dl>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Name of the NBTType</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="valueOf-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>valueOf</h4>
|
||||
<pre>public static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> valueOf(int id)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>id</code> - Internal Minecraft id</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>Enum representing the id, NBTTagEnd for invalide ids</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="fromName-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>fromName</h4>
|
||||
<pre>public static <a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> fromName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTType.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTUUIDList.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTType.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTType.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,372 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NBTUUIDList (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NBTUUIDList (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var methods = {"i0":10,"i1":10};
|
||||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTUUIDList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTUUIDList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTUUIDList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NBTUUIDList" class="title">Class NBTUUIDList</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi.NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NBTUUIDList</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>>, <a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadWriteNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadWriteNBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NBTUUIDList</span>
|
||||
extends <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>></pre>
|
||||
<div class="block">Integer implementation for NBTLists</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Fields inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listObject">listObject</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier</th>
|
||||
<th class="colLast" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>protected </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTUUIDList.html#NBTUUIDList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTUUIDList</a></span>(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTUUIDList.html#asTag-java.util.UUID-">asTag</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> object)</code> </td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NBTUUIDList.html#get-int-">get</a></span>(int index)</code>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class de.tr7zw.changeme.nbtapi.<a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-int-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#add-T-">add</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#addAll-int-java.util.Collection-">addAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#clear--">clear</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#contains-java.lang.Object-">contains</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#containsAll-java.util.Collection-">containsAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getName--">getName</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getParent--">getParent</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getType--">getType</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#indexOf-java.lang.Object-">indexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#isEmpty--">isEmpty</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#iterator--">iterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#lastIndexOf-java.lang.Object-">lastIndexOf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator--">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#listIterator-int-">listIterator</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-int-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#remove-java.lang.Object-">remove</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeAll-java.util.Collection-">removeAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#removeIf-java.util.function.Predicate-">removeIf</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#retainAll-java.util.Collection-">retainAll</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#save--">save</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#set-int-T-">set</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#size--">size</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#subList-int-int-">subList</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray--">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toArray-E:A-">toArray</a>, <a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#toString--">toString</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.List">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.util">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#hashCode--" title="class or interface in java.util">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#replaceAll-java.util.function.UnaryOperator-" title="class or interface in java.util">replaceAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#sort-java.util.Comparator-" title="class or interface in java.util">sort</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#spliterator--" title="class or interface in java.util">spliterator</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.util.Collection">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#parallelStream--" title="class or interface in java.util">parallelStream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#stream--" title="class or interface in java.util">stream</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.de.tr7zw.changeme.nbtapi.iface.ReadableNBTList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface de.tr7zw.changeme.nbtapi.iface.<a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBTList</a></h3>
|
||||
<code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#toListCopy--">toListCopy</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from interface java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NBTUUIDList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NBTUUIDList</h4>
|
||||
<pre>protected NBTUUIDList(<a href="../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a name="asTag-java.util.UUID-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>asTag</h4>
|
||||
<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> asTag(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> object)</pre>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
|
||||
<dd><code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html#asTag-T-">asTag</a></code> in class <code><a href="../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a>></code></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="get-int-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>get</h4>
|
||||
<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util">UUID</a> get(int index)</pre>
|
||||
<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBTList.html#get-int-">ReadableNBTList</a></code></span></div>
|
||||
<div class="block">Get the object with the given id.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>index</code> - The id of the object to get.</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>The object with the given id.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NBTUUIDList.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li>Next Class</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NBTUUIDList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTUUIDList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#fields.inherited.from.class.de.tr7zw.changeme.nbtapi.NBTList">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,365 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:49 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>NbtApiException (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="NbtApiException (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NbtApiException.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBT.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTBlock.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NbtApiException.html" target="_top">Frames</a></li>
|
||||
<li><a href="NbtApiException.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<div class="header">
|
||||
<div class="subTitle">de.tr7zw.changeme.nbtapi</div>
|
||||
<h2 title="Class NbtApiException" class="title">Class NbtApiException</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">java.lang.Throwable</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">java.lang.Exception</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">java.lang.RuntimeException</a></li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>de.tr7zw.changeme.nbtapi.NbtApiException</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<dl>
|
||||
<dt>All Implemented Interfaces:</dt>
|
||||
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
|
||||
</dl>
|
||||
<hr>
|
||||
<br>
|
||||
<pre>public class <span class="typeNameLabel">NbtApiException</span>
|
||||
extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang">RuntimeException</a></pre>
|
||||
<div class="block">A generic <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/RuntimeException.html?is-external=true" title="class or interface in java.lang"><code>RuntimeException</code></a> that can be thrown by most methods in the
|
||||
NBTAPI.</div>
|
||||
<dl>
|
||||
<dt><span class="simpleTagLabel">Author:</span></dt>
|
||||
<dd>tr7zw</dd>
|
||||
<dt><span class="seeLabel">See Also:</span></dt>
|
||||
<dd><a href="../../../../serialized-form.html#de.tr7zw.changeme.nbtapi.NbtApiException">Serialized Form</a></dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a></code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NbtApiException.html#confirmedBroken">confirmedBroken</a></span></code>
|
||||
<div class="block">Keep track of the plugin selfcheck.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NbtApiException.html#NbtApiException--">NbtApiException</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NbtApiException.html#NbtApiException-java.lang.String-">NbtApiException</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NbtApiException.html#NbtApiException-java.lang.String-java.lang.Throwable-">NbtApiException</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../de/tr7zw/changeme/nbtapi/NbtApiException.html#NbtApiException-java.lang.Throwable-">NbtApiException</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause)</code> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Throwable">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#addSuppressed-java.lang.Throwable-" title="class or interface in java.lang">addSuppressed</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#fillInStackTrace--" title="class or interface in java.lang">fillInStackTrace</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getCause--" title="class or interface in java.lang">getCause</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getLocalizedMessage--" title="class or interface in java.lang">getLocalizedMessage</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getMessage--" title="class or interface in java.lang">getMessage</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getStackTrace--" title="class or interface in java.lang">getStackTrace</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#getSuppressed--" title="class or interface in java.lang">getSuppressed</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#initCause-java.lang.Throwable-" title="class or interface in java.lang">initCause</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace--" title="class or interface in java.lang">printStackTrace</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintStream-" title="class or interface in java.lang">printStackTrace</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#printStackTrace-java.io.PrintWriter-" title="class or interface in java.lang">printStackTrace</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#setStackTrace-java.lang.StackTraceElement:A-" title="class or interface in java.lang">setStackTrace</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code></li>
|
||||
</ul>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
|
||||
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a name="confirmedBroken">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>confirmedBroken</h4>
|
||||
<pre>public static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> confirmedBroken</pre>
|
||||
<div class="block">Keep track of the plugin selfcheck. Null = not
|
||||
checked(silentquickstart/shaded) true = selfcheck failed false = everything
|
||||
should be fine, but apparently wasn't?</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a name="NbtApiException--">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NbtApiException</h4>
|
||||
<pre>public NbtApiException()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NbtApiException-java.lang.String-java.lang.Throwable-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NbtApiException</h4>
|
||||
<pre>public NbtApiException(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>message</code> - </dd>
|
||||
<dd><code>cause</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NbtApiException-java.lang.String-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>NbtApiException</h4>
|
||||
<pre>public NbtApiException(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>message</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="NbtApiException-java.lang.Throwable-">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>NbtApiException</h4>
|
||||
<pre>public NbtApiException(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>cause</code> - </dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="class-use/NbtApiException.html">Use</a></li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBT.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Prev Class</span></a></li>
|
||||
<li><a href="../../../../de/tr7zw/changeme/nbtapi/NBTBlock.html" title="class in de.tr7zw.changeme.nbtapi"><span class="typeNameLink">Next Class</span></a></li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../index.html?de/tr7zw/changeme/nbtapi/NbtApiException.html" target="_top">Frames</a></li>
|
||||
<li><a href="NbtApiException.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li><a href="#field.summary">Field</a> | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#methods.inherited.from.class.java.lang.Throwable">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field.detail">Field</a> | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li>Method</li>
|
||||
</ul>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class de.tr7zw.changeme.nbtapi.NBT (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class de.tr7zw.changeme.nbtapi.NBT (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBT.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBT.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBT.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class de.tr7zw.changeme.nbtapi.NBT" class="title">Uses of Class<br>de.tr7zw.changeme.nbtapi.NBT</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">No usage of de.tr7zw.changeme.nbtapi.NBT</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBT.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBT.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBT.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class de.tr7zw.changeme.nbtapi.NBTBlock (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class de.tr7zw.changeme.nbtapi.NBTBlock (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTBlock.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTBlock.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTBlock.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class de.tr7zw.changeme.nbtapi.NBTBlock" class="title">Uses of Class<br>de.tr7zw.changeme.nbtapi.NBTBlock</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">No usage of de.tr7zw.changeme.nbtapi.NBTBlock</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTBlock.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTBlock.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTBlock.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class de.tr7zw.changeme.nbtapi.NBTChunk (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class de.tr7zw.changeme.nbtapi.NBTChunk (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTChunk.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTChunk.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTChunk.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class de.tr7zw.changeme.nbtapi.NBTChunk" class="title">Uses of Class<br>de.tr7zw.changeme.nbtapi.NBTChunk</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">No usage of de.tr7zw.changeme.nbtapi.NBTChunk</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTChunk.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTChunk.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTChunk.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,518 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class de.tr7zw.changeme.nbtapi.NBTCompound (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class de.tr7zw.changeme.nbtapi.NBTCompound (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTCompound.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTCompound.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class de.tr7zw.changeme.nbtapi.NBTCompound" class="title">Uses of Class<br>de.tr7zw.changeme.nbtapi.NBTCompound</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
||||
<caption><span>Packages that use <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="de.tr7zw.changeme.nbtapi">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Uses of <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> in <a href="../../../../../de/tr7zw/changeme/nbtapi/package-summary.html">de.tr7zw.changeme.nbtapi</a></h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
|
||||
<caption><span>Subclasses of <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> in <a href="../../../../../de/tr7zw/changeme/nbtapi/package-summary.html">de.tr7zw.changeme.nbtapi</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Class and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a></span></code>
|
||||
<div class="block">A Standalone <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> implementation.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html" title="class in de.tr7zw.changeme.nbtapi">NBTEntity</a></span></code>
|
||||
<div class="block">NBT class to access vanilla tags from Entities.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTFile.html" title="class in de.tr7zw.changeme.nbtapi">NBTFile</a></span></code>
|
||||
<div class="block"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> implementation backed by a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io"><code>File</code></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTItem.html" title="class in de.tr7zw.changeme.nbtapi">NBTItem</a></span></code>
|
||||
<div class="block">NBT class to access vanilla/custom tags on ItemStacks.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTListCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTListCompound</a></span></code>
|
||||
<div class="block">Cut down version of the <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> for inside
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompoundList</code></a> This Compound implementation is missing the ability
|
||||
for further subCompounds and Lists.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTPersistentDataContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTPersistentDataContainer</a></span></code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>class </code></td>
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html" title="class in de.tr7zw.changeme.nbtapi">NBTTileEntity</a></span></code>
|
||||
<div class="block">NBT class to access vanilla tags from TileEntities.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
||||
<caption><span>Methods in <a href="../../../../../de/tr7zw/changeme/nbtapi/package-summary.html">de.tr7zw.changeme.nbtapi</a> that return <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTCompoundList.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html#addCompound-de.tr7zw.changeme.nbtapi.NBTCompound-">addCompound</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code>
|
||||
<div class="block">Adds a copy of the Compound to the end of the List and returns it.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTCompound.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#addCompound-java.lang.String-">addCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
|
||||
<div class="block">Creates a subCompound, or returns it if already provided</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTCompound.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#extractDifference-de.tr7zw.changeme.nbtapi.iface.ReadableNBT-">extractDifference</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/iface/ReadableNBT.html" title="interface in de.tr7zw.changeme.nbtapi.iface">ReadableNBT</a> other)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTCompound.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompound-java.lang.String-">getCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTBlock.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTBlock.html#getData--">getData</a></span>()</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">use methods in <a href="../../../../../de/tr7zw/changeme/nbtapi/NBT.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBT</code></a> class to read/modify block's NBT</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTCompound.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getOrCreateCompound-java.lang.String-">getOrCreateCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
|
||||
<div class="block">The same as addCompound, just with a name that better reflects what it does</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTList.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTList.html#getParent--">getParent</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTCompound.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getParent--">getParent</a></span>()</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTChunk.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTChunk.html#getPersistentDataContainer--">getPersistentDataContainer</a></span>()</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
<div class="block">Gets the NBTCompound used by spigots PersistentDataAPI.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTEntity.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html#getPersistentDataContainer--">getPersistentDataContainer</a></span>()</code>
|
||||
<div class="block">Gets the NBTCompound used by spigots PersistentDataAPI.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTTileEntity.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTTileEntity.html#getPersistentDataContainer--">getPersistentDataContainer</a></span>()</code>
|
||||
<div class="block">Gets the NBTCompound used by spigots PersistentDataAPI.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTFile.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTFile.html#readFrom-java.io.File-">readFrom</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">Use NBT.readFile(file)</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTGameProfile.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTGameProfile.html#toNBT-com.mojang.authlib.GameProfile-">toNBT</a></span>(com.mojang.authlib.GameProfile profile)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
||||
<caption><span>Methods in <a href="../../../../../de/tr7zw/changeme/nbtapi/package-summary.html">de.tr7zw.changeme.nbtapi</a> with parameters of type <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTCompoundList.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html#addCompound-de.tr7zw.changeme.nbtapi.NBTCompound-">addCompound</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code>
|
||||
<div class="block">Adds a copy of the Compound to the end of the List and returns it.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#addNBTTagCompound-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-">addNBTTagCompound</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code>
|
||||
<div class="block">Creates a subCompound with a given name in the given NMS Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#convertNBTCompoundtoNMSItem-de.tr7zw.changeme.nbtapi.NBTCompound-">convertNBTCompoundtoNMSItem</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> nbtcompound)</code>
|
||||
<div class="block">Converts <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> to NMS ItemStacks</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static org.bukkit.inventory.ItemStack</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTItem.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#convertNBTtoItem-de.tr7zw.changeme.nbtapi.NBTCompound-">convertNBTtoItem</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static org.bukkit.inventory.ItemStack[]</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTItem.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#convertNBTtoItemArray-de.tr7zw.changeme.nbtapi.NBTCompound-">convertNBTtoItemArray</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static com.mojang.authlib.GameProfile</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTGameProfile.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTGameProfile.html#fromNBT-de.tr7zw.changeme.nbtapi.NBTCompound-">fromNBT</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> compound)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getData-de.tr7zw.changeme.nbtapi.NBTCompound-de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod-java.lang.String-">getData</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings">ReflectionMethod</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</code>
|
||||
<div class="block">Gets data from the Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getEntry-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-">getEntry</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getKeys-de.tr7zw.changeme.nbtapi.NBTCompound-">getKeys</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code>
|
||||
<div class="block">Gets the Keyset inside this Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <T> <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTList.html" title="class in de.tr7zw.changeme.nbtapi">NBTList</a><T></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Class-">getList</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> clazz)</code>
|
||||
<div class="block">Returns the List saved with a given key.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getListType-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-">getListType</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <T> T</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getObject-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-java.lang.Class-">getObject</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> type)</code>
|
||||
<div class="block">Uses Gson to load back a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a> object from the Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#getToCompount-java.lang.Object-de.tr7zw.changeme.nbtapi.NBTCompound-">getToCompount</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nbttag,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTCompound.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#mergeCompound-de.tr7zw.changeme.nbtapi.NBTCompound-">mergeCompound</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code>
|
||||
<div class="block">Merges all data from comp into this compound.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#mergeOtherNBTCompound-de.tr7zw.changeme.nbtapi.NBTCompound-de.tr7zw.changeme.nbtapi.NBTCompound-">mergeOtherNBTCompound</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> nbtcompoundSrc)</code>
|
||||
<div class="block">Merges the second <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> into the first one</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#remove-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-">remove</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key)</code>
|
||||
<div class="block">Deletes the given key</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTFile.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTFile.html#saveTo-java.io.File-de.tr7zw.changeme.nbtapi.NBTCompound-">saveTo</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> file,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> nbt)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
|
||||
<div class="block"><span class="deprecationComment">Use NBT.writeFile(file, nbt)</span></div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#set-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-java.lang.Object-">set</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> val)</code>
|
||||
<div class="block">Sets a key in a <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTCompound</code></a> to a given value</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#setData-de.tr7zw.changeme.nbtapi.NBTCompound-de.tr7zw.changeme.nbtapi.utils.nmsmappings.ReflectionMethod-java.lang.String-java.lang.Object-">setData</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/utils/nmsmappings/ReflectionMethod.html" title="enum in de.tr7zw.changeme.nbtapi.utils.nmsmappings">ReflectionMethod</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> data)</code>
|
||||
<div class="block">Sets data inside the Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#setObject-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-java.lang.Object-">setObject</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> key,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code>
|
||||
<div class="block">Uses Gson to set a <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io"><code>Serializable</code></a> value in a Compound</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static boolean</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#validCompound-de.tr7zw.changeme.nbtapi.NBTCompound-">validCompound</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp)</code>
|
||||
<div class="block">Checks if the Compound is correctly linked to it's roots</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static void</code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#writeApiNBT-de.tr7zw.changeme.nbtapi.NBTCompound-java.io.OutputStream-">writeApiNBT</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> comp,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> stream)</code>
|
||||
<div class="block">Writes a Compound to an OutputStream</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
|
||||
<caption><span>Constructors in <a href="../../../../../de/tr7zw/changeme/nbtapi/package-summary.html">de.tr7zw.changeme.nbtapi</a> with parameters of type <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colOne" scope="col">Constructor and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#NBTCompound-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-">NBTCompound</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#NBTCompound-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-boolean-">NBTCompound</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
boolean readOnly)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html#NBTCompoundList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTCompoundList</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTDoubleList.html#NBTDoubleList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTDoubleList</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTFloatList.html#NBTFloatList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTFloatList</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTIntArrayList.html#NBTIntArrayList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTIntArrayList</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTIntegerList.html#NBTIntegerList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTIntegerList</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTList.html#NBTList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTList</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTLongList.html#NBTLongList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTLongList</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTStringList.html#NBTStringList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTStringList</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTUUIDList.html#NBTUUIDList-de.tr7zw.changeme.nbtapi.NBTCompound-java.lang.String-de.tr7zw.changeme.nbtapi.NBTType-java.lang.Object-">NBTUUIDList</a></span>(<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompound</a> owner,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name,
|
||||
<a href="../../../../../de/tr7zw/changeme/nbtapi/NBTType.html" title="enum in de.tr7zw.changeme.nbtapi">NBTType</a> type,
|
||||
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> list)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTCompound.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTCompound.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,166 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class de.tr7zw.changeme.nbtapi.NBTCompoundList (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class de.tr7zw.changeme.nbtapi.NBTCompoundList (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTCompoundList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTCompoundList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class de.tr7zw.changeme.nbtapi.NBTCompoundList" class="title">Uses of Class<br>de.tr7zw.changeme.nbtapi.NBTCompoundList</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
||||
<caption><span>Packages that use <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompoundList</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="de.tr7zw.changeme.nbtapi">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Uses of <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompoundList</a> in <a href="../../../../../de/tr7zw/changeme/nbtapi/package-summary.html">de.tr7zw.changeme.nbtapi</a></h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
||||
<caption><span>Methods in <a href="../../../../../de/tr7zw/changeme/nbtapi/package-summary.html">de.tr7zw.changeme.nbtapi</a> that return <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompoundList</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html" title="class in de.tr7zw.changeme.nbtapi">NBTCompoundList</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTCompound.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompound.html#getCompoundList-java.lang.String-">getCompoundList</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTCompoundList.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTCompoundList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTCompoundList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,184 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class de.tr7zw.changeme.nbtapi.NBTContainer (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class de.tr7zw.changeme.nbtapi.NBTContainer (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTContainer.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTContainer.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class de.tr7zw.changeme.nbtapi.NBTContainer" class="title">Uses of Class<br>de.tr7zw.changeme.nbtapi.NBTContainer</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
|
||||
<caption><span>Packages that use <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><a href="#de.tr7zw.changeme.nbtapi">de.tr7zw.changeme.nbtapi</a></td>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="de.tr7zw.changeme.nbtapi">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Uses of <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a> in <a href="../../../../../de/tr7zw/changeme/nbtapi/package-summary.html">de.tr7zw.changeme.nbtapi</a></h3>
|
||||
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
|
||||
<caption><span>Methods in <a href="../../../../../de/tr7zw/changeme/nbtapi/package-summary.html">de.tr7zw.changeme.nbtapi</a> that return <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a></span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Method and Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTItem.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#convertItemArraytoNBT-org.bukkit.inventory.ItemStack:A-">convertItemArraytoNBT</a></span>(org.bukkit.inventory.ItemStack[] items)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTItem.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTItem.html#convertItemtoNBT-org.bukkit.inventory.ItemStack-">convertItemtoNBT</a></span>(org.bukkit.inventory.ItemStack item)</code>
|
||||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTReflectionUtil.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTReflectionUtil.html#convertNMSItemtoNBTCompound-java.lang.Object-">convertNMSItemtoNBTCompound</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> nmsitem)</code>
|
||||
<div class="block">Converts NMS ItemStacks to <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi"><code>NBTContainer</code></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>protected <a href="../../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">NBTContainer</a></code></td>
|
||||
<td class="colLast"><span class="typeNameLabel">NBTContainer.</span><code><span class="memberNameLink"><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html#setReadOnly-boolean-">setReadOnly</a></span>(boolean readOnly)</code> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTContainer.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTContainer.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTContainer.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class de.tr7zw.changeme.nbtapi.NBTDoubleList (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class de.tr7zw.changeme.nbtapi.NBTDoubleList (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTDoubleList.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTDoubleList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTDoubleList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class de.tr7zw.changeme.nbtapi.NBTDoubleList" class="title">Uses of Class<br>de.tr7zw.changeme.nbtapi.NBTDoubleList</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">No usage of de.tr7zw.changeme.nbtapi.NBTDoubleList</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTDoubleList.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTDoubleList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTDoubleList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class de.tr7zw.changeme.nbtapi.NBTEntity (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class de.tr7zw.changeme.nbtapi.NBTEntity (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTEntity.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTEntity.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class de.tr7zw.changeme.nbtapi.NBTEntity" class="title">Uses of Class<br>de.tr7zw.changeme.nbtapi.NBTEntity</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">No usage of de.tr7zw.changeme.nbtapi.NBTEntity</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTEntity.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTEntity.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTEntity.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class de.tr7zw.changeme.nbtapi.NBTFile (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class de.tr7zw.changeme.nbtapi.NBTFile (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTFile.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTFile.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTFile.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class de.tr7zw.changeme.nbtapi.NBTFile" class="title">Uses of Class<br>de.tr7zw.changeme.nbtapi.NBTFile</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">No usage of de.tr7zw.changeme.nbtapi.NBTFile</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTFile.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTFile.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTFile.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class de.tr7zw.changeme.nbtapi.NBTFloatList (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class de.tr7zw.changeme.nbtapi.NBTFloatList (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTFloatList.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTFloatList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTFloatList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class de.tr7zw.changeme.nbtapi.NBTFloatList" class="title">Uses of Class<br>de.tr7zw.changeme.nbtapi.NBTFloatList</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">No usage of de.tr7zw.changeme.nbtapi.NBTFloatList</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTFloatList.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTFloatList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTFloatList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class de.tr7zw.changeme.nbtapi.NBTGameProfile (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class de.tr7zw.changeme.nbtapi.NBTGameProfile (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTGameProfile.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTGameProfile.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTGameProfile.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class de.tr7zw.changeme.nbtapi.NBTGameProfile" class="title">Uses of Class<br>de.tr7zw.changeme.nbtapi.NBTGameProfile</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">No usage of de.tr7zw.changeme.nbtapi.NBTGameProfile</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTGameProfile.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTGameProfile.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTGameProfile.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class de.tr7zw.changeme.nbtapi.NBTIntArrayList (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class de.tr7zw.changeme.nbtapi.NBTIntArrayList (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTIntArrayList.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTIntArrayList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTIntArrayList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class de.tr7zw.changeme.nbtapi.NBTIntArrayList" class="title">Uses of Class<br>de.tr7zw.changeme.nbtapi.NBTIntArrayList</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">No usage of de.tr7zw.changeme.nbtapi.NBTIntArrayList</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTIntArrayList.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTIntArrayList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTIntArrayList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<!-- NewPage -->
|
||||
<html lang>
|
||||
<head>
|
||||
<!-- Generated by javadoc (1.8.0_504) on Thu Sep 17 18:08:50 UTC 2026 -->
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Uses of Class de.tr7zw.changeme.nbtapi.NBTIntegerList (item-nbt-api 2.16.1 API)</title>
|
||||
<meta name="date" content="2026-09-17">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
<script type="text/javascript" src="../../../../../script.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Uses of Class de.tr7zw.changeme.nbtapi.NBTIntegerList (item-nbt-api 2.16.1 API)";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a name="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTIntegerList.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTIntegerList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTIntegerList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
<div class="header">
|
||||
<h2 title="Uses of Class de.tr7zw.changeme.nbtapi.NBTIntegerList" class="title">Uses of Class<br>de.tr7zw.changeme.nbtapi.NBTIntegerList</h2>
|
||||
</div>
|
||||
<div class="classUseContainer">No usage of de.tr7zw.changeme.nbtapi.NBTIntegerList</div>
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a name="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a name="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="../../../../../overview-summary.html">Overview</a></li>
|
||||
<li><a href="../package-summary.html">Package</a></li>
|
||||
<li><a href="../../../../../de/tr7zw/changeme/nbtapi/NBTIntegerList.html" title="class in de.tr7zw.changeme.nbtapi">Class</a></li>
|
||||
<li class="navBarCell1Rev">Use</li>
|
||||
<li><a href="../package-tree.html">Tree</a></li>
|
||||
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="../../../../../index-all.html">Index</a></li>
|
||||
<li><a href="../../../../../help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList">
|
||||
<li>Prev</li>
|
||||
<li>Next</li>
|
||||
</ul>
|
||||
<ul class="navList">
|
||||
<li><a href="../../../../../index.html?de/tr7zw/changeme/nbtapi/class-use/NBTIntegerList.html" target="_top">Frames</a></li>
|
||||
<li><a href="NBTIntegerList.html" target="_top">No Frames</a></li>
|
||||
</ul>
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
</div>
|
||||
<a name="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
<p class="legalCopy"><small>Copyright © 2015–2026 <a href="https://github.com/tr7zw/">tr7zw</a>. All rights reserved.</small></p>
|
||||
</body>
|
||||
</html>
|
||||
Loaded 100 of 586 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user