2022-08-16 15:07:47 -04:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
< html lang = "en" >
< head >
<!-- Generated by javadoc (1.8.0_331) on Tue Aug 16 13:33:15 CDT 2022 -->
< title > INbt</ title >
< meta name = "date" content = "2022-08-16" >
< 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 = "INbt" ;
}
}
catch ( err ) {
}
//-->
var methods = { "i0" : 6 , "i1" : 6 , "i2" : 6 , "i3" : 6 , "i4" : 6 , "i5" : 6 , "i6" : 6 , "i7" : 6 , "i8" : 6 , "i9" : 6 , "i10" : 6 , "i11" : 6 , "i12" : 6 , "i13" : 6 , "i14" : 6 , "i15" : 6 , "i16" : 6 , "i17" : 6 , "i18" : 6 , "i19" : 6 , "i20" : 6 , "i21" : 6 , "i22" : 6 , "i23" : 6 , "i24" : 6 , "i25" : 6 , "i26" : 6 , "i27" : 6 , "i28" : 6 , "i29" : 6 , "i30" : 6 , "i31" : 6 , "i32" : 6 };
var tabs = { 65535 : [ "t0" , "All Methods" ], 2 : [ "t2" , "Instance Methods" ], 4 : [ "t3" , "Abstract 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 = "package-tree.html" > Tree</ a ></ li >
< li >< a href = "../../../../deprecated-list.html" > Deprecated</ a ></ li >
< li >< a href = "../../../../index-files/index-1.html" > Index</ a ></ li >
< li >< a href = "../../../../help-doc.html" > Help</ a ></ li >
</ ul >
</ div >
< div class = "subNav" >
< ul class = "navList" >
< li >< a href = "../../../../noppes/npcs/scripted/interfaces/IDamageSource.html" title = "interface in noppes.npcs.scripted.interfaces" >< span class = "typeNameLink" > Prev Class</ span ></ a ></ li >
< li >< a href = "../../../../noppes/npcs/scripted/interfaces/IParticle.html" title = "interface in noppes.npcs.scripted.interfaces" >< span class = "typeNameLink" > Next Class</ span ></ a ></ li >
</ ul >
< ul class = "navList" >
< li >< a href = "../../../../index.html?noppes/npcs/scripted/interfaces/INbt.html" target = "_top" > Frames</ a ></ li >
< li >< a href = "INbt.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 > Constr | </ li >
< li >< a href = "#method.summary" > Method</ a ></ li >
</ ul >
< ul class = "subNavList" >
< li > Detail: </ li >
< li > Field | </ 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" > noppes.npcs.scripted.interfaces</ div >
< h2 title = "Interface INbt" class = "title" > Interface INbt</ h2 >
</ div >
< div class = "contentContainer" >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< hr >
< br >
< pre > public interface < span class = "typeNameLabel" > INbt</ span ></ pre >
< div class = "block" > A scripted data representation of an MC NBTTagCompound object. Using these functions modifies the compound tag
associated with this object. Any changes made to the compound tag are made directly to its "tagMap" attribute,
minimizing the impact of setting/getting NBT data with this object on performance.
Compound tags, unlike list tags, can contain multiple types of NBT tag types. Compound tags can even
contain compound tags inside them, and if that compound tag is accessed, an object like this one will also be returned!
Every tag inside a compound tag has a -unique- "key". If you try to put another tag of the same key inside the
compound tag, it will replace the previous tag.
The types and their type as an integer are as follows:
1: Byte
2: Short
3: Int
4: Long
5: Float
6: Double
7: Byte array
8: String
9: Tag list
10: Compound
11: Integer array</ div >
</ li >
</ ul >
</ div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- ========== 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 = "t3" class = "tableTab" >< span >< a href = "javascript:show(4);" > Abstract 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 = "../../../../noppes/npcs/scripted/interfaces/INbt.html#clear--" > clear</ a ></ span > ()</ code >
< div class = "block" > Completely clears the compound tag of all tags inside it.</ div >
</ td >
</ tr >
< tr id = "i1" class = "rowColor" >
< td class = "colFirst" >< code > boolean</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getBoolean-java.lang.String-" > getBoolean</ a ></ span > (java.lang.String key)</ code > </ td >
</ tr >
< tr id = "i2" class = "altColor" >
< td class = "colFirst" >< code > byte</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getByte-java.lang.String-" > getByte</ a ></ span > (java.lang.String key)</ code > </ td >
</ tr >
< tr id = "i3" class = "rowColor" >
< td class = "colFirst" >< code > byte[]</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getByteArray-java.lang.String-" > getByteArray</ a ></ span > (java.lang.String key)</ code > </ td >
</ tr >
< tr id = "i4" class = "altColor" >
< td class = "colFirst" >< code >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html" title = "interface in noppes.npcs.scripted.interfaces" > INbt</ a ></ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getCompound-java.lang.String-" > getCompound</ a ></ span > (java.lang.String key)</ code > </ td >
</ tr >
< tr id = "i5" class = "rowColor" >
< td class = "colFirst" >< code > double</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getDouble-java.lang.String-" > getDouble</ a ></ span > (java.lang.String key)</ code > </ td >
</ tr >
< tr id = "i6" class = "altColor" >
< td class = "colFirst" >< code > float</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getFloat-java.lang.String-" > getFloat</ a ></ span > (java.lang.String key)</ code > </ td >
</ tr >
< tr id = "i7" class = "rowColor" >
< td class = "colFirst" >< code > int</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getInteger-java.lang.String-" > getInteger</ a ></ span > (java.lang.String key)</ code > </ td >
</ tr >
< tr id = "i8" class = "altColor" >
< td class = "colFirst" >< code > int[]</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getIntegerArray-java.lang.String-" > getIntegerArray</ a ></ span > (java.lang.String key)</ code > </ td >
</ tr >
< tr id = "i9" class = "rowColor" >
< td class = "colFirst" >< code > java.lang.String[]</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getKeys--" > getKeys</ a ></ span > ()</ code > </ td >
</ tr >
< tr id = "i10" class = "altColor" >
< td class = "colFirst" >< code > java.lang.Object[]</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getList-java.lang.String-int-" > getList</ a ></ span > (java.lang.String key,
int value)</ code >
< div class = "block" > Returns a tag list of objects with this key in the compound tag.</ div >
</ td >
</ tr >
< tr id = "i11" class = "rowColor" >
< td class = "colFirst" >< code > int</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getListType-java.lang.String-" > getListType</ a ></ span > (java.lang.String key)</ code >
< div class = "block" > Returns the type of the tag list with this key, as an integer.</ div >
</ td >
</ tr >
< tr id = "i12" class = "altColor" >
< td class = "colFirst" >< code > long</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getLong-java.lang.String-" > getLong</ a ></ span > (java.lang.String key)</ code > </ td >
</ tr >
< tr id = "i13" class = "rowColor" >
< td class = "colFirst" >< code > net.minecraft.nbt.NBTTagCompound</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getMCNBT--" > getMCNBT</ a ></ span > ()</ code > </ td >
</ tr >
< tr id = "i14" class = "altColor" >
< td class = "colFirst" >< code > short</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getShort-java.lang.String-" > getShort</ a ></ span > (java.lang.String key)</ code > </ td >
</ tr >
< tr id = "i15" class = "rowColor" >
< td class = "colFirst" >< code > java.lang.String</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getString-java.lang.String-" > getString</ a ></ span > (java.lang.String key)</ code > </ td >
</ tr >
< tr id = "i16" class = "altColor" >
< td class = "colFirst" >< code > int</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#getType-java.lang.String-" > getType</ a ></ span > (java.lang.String key)</ code > </ td >
</ tr >
< tr id = "i17" class = "rowColor" >
< td class = "colFirst" >< code > boolean</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#has-java.lang.String-" > has</ a ></ span > (java.lang.String key)</ code > </ td >
</ tr >
< tr id = "i18" class = "altColor" >
< td class = "colFirst" >< code > boolean</ code ></ td >
2022-11-25 00:41:59 -05:00
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#isEqual-noppes.npcs.scripted.interfaces.INbt-" > isEqual</ a ></ span > (< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html" title = "interface in noppes.npcs.scripted.interfaces" > INbt</ a > nbt)</ code > </ td >
2022-08-16 15:07:47 -04:00
</ tr >
< tr id = "i19" class = "rowColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#remove-java.lang.String-" > remove</ a ></ span > (java.lang.String key)</ code >
< div class = "block" > Returns the tag with the given key from the compound tag.</ div >
</ td >
</ tr >
< tr id = "i20" class = "altColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#setBoolean-java.lang.String-boolean-" > setBoolean</ a ></ span > (java.lang.String key,
boolean value)</ code > </ td >
</ tr >
< tr id = "i21" class = "rowColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#setByte-java.lang.String-byte-" > setByte</ a ></ span > (java.lang.String key,
byte value)</ code > </ td >
</ tr >
< tr id = "i22" class = "altColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#setByteArray-java.lang.String-byte:A-" > setByteArray</ a ></ span > (java.lang.String key,
byte[] value)</ code > </ td >
</ tr >
< tr id = "i23" class = "rowColor" >
< td class = "colFirst" >< code > void</ code ></ td >
2022-11-25 00:41:59 -05:00
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#setCompound-java.lang.String-noppes.npcs.scripted.interfaces.INbt-" > setCompound</ a ></ span > (java.lang.String key,
2022-08-16 15:07:47 -04:00
< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html" title = "interface in noppes.npcs.scripted.interfaces" > INbt</ a > value)</ code > </ td >
</ tr >
< tr id = "i24" class = "altColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#setDouble-java.lang.String-double-" > setDouble</ a ></ span > (java.lang.String key,
double value)</ code > </ td >
</ tr >
< tr id = "i25" class = "rowColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#setFloat-java.lang.String-float-" > setFloat</ a ></ span > (java.lang.String key,
float value)</ code > </ td >
</ tr >
< tr id = "i26" class = "altColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#setInteger-java.lang.String-int-" > setInteger</ a ></ span > (java.lang.String key,
int value)</ code > </ td >
</ tr >
< tr id = "i27" class = "rowColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#setIntegerArray-java.lang.String-int:A-" > setIntegerArray</ a ></ span > (java.lang.String key,
int[] value)</ code > </ td >
</ tr >
< tr id = "i28" class = "altColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#setList-java.lang.String-java.lang.Object:A-" > setList</ a ></ span > (java.lang.String key,
java.lang.Object[] value)</ code >
< div class = "block" > Adds a new tag list to the compound tag with the given key.</ div >
</ td >
</ tr >
< tr id = "i29" class = "rowColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#setLong-java.lang.String-long-" > setLong</ a ></ span > (java.lang.String key,
long value)</ code > </ td >
</ tr >
< tr id = "i30" class = "altColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#setShort-java.lang.String-short-" > setShort</ a ></ span > (java.lang.String key,
short value)</ code > </ td >
</ tr >
< tr id = "i31" class = "rowColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#setString-java.lang.String-java.lang.String-" > setString</ a ></ span > (java.lang.String key,
java.lang.String value)</ code > </ td >
</ tr >
< tr id = "i32" class = "altColor" >
< td class = "colFirst" >< code > java.lang.String</ code ></ td >
< td class = "colLast" >< code >< span class = "memberNameLink" >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html#toJsonString--" > toJsonString</ a ></ span > ()</ code > </ td >
</ tr >
</ table >
</ li >
</ ul >
</ li >
</ ul >
</ div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- ============ METHOD DETAIL ========== -->
< ul class = "blockList" >
< li class = "blockList" >< a name = "method.detail" >
<!-- -->
</ a >
< h3 > Method Detail</ h3 >
< a name = "remove-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > remove</ h4 >
< pre > void remove(java.lang.String key)</ pre >
< div class = "block" > Returns the tag with the given key from the compound tag.</ div >
</ li >
</ ul >
< a name = "has-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > has</ h4 >
< pre > boolean has(java.lang.String key)</ pre >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > True if the compound tag has a tag with the given key.</ dd >
</ dl >
</ li >
</ ul >
< a name = "getBoolean-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getBoolean</ h4 >
< pre > boolean getBoolean(java.lang.String key)</ pre >
</ li >
</ ul >
< a name = "setBoolean-java.lang.String-boolean-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setBoolean</ h4 >
< pre > void setBoolean(java.lang.String key,
boolean value)</ pre >
</ li >
</ ul >
< a name = "getShort-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getShort</ h4 >
< pre > short getShort(java.lang.String key)</ pre >
</ li >
</ ul >
< a name = "setShort-java.lang.String-short-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setShort</ h4 >
< pre > void setShort(java.lang.String key,
short value)</ pre >
</ li >
</ ul >
< a name = "getInteger-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getInteger</ h4 >
< pre > int getInteger(java.lang.String key)</ pre >
</ li >
</ ul >
< a name = "setInteger-java.lang.String-int-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setInteger</ h4 >
< pre > void setInteger(java.lang.String key,
int value)</ pre >
</ li >
</ ul >
< a name = "getByte-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getByte</ h4 >
< pre > byte getByte(java.lang.String key)</ pre >
</ li >
</ ul >
< a name = "setByte-java.lang.String-byte-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setByte</ h4 >
< pre > void setByte(java.lang.String key,
byte value)</ pre >
</ li >
</ ul >
< a name = "getLong-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getLong</ h4 >
< pre > long getLong(java.lang.String key)</ pre >
</ li >
</ ul >
< a name = "setLong-java.lang.String-long-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setLong</ h4 >
< pre > void setLong(java.lang.String key,
long value)</ pre >
</ li >
</ ul >
< a name = "getDouble-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getDouble</ h4 >
< pre > double getDouble(java.lang.String key)</ pre >
</ li >
</ ul >
< a name = "setDouble-java.lang.String-double-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setDouble</ h4 >
< pre > void setDouble(java.lang.String key,
double value)</ pre >
</ li >
</ ul >
< a name = "getFloat-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getFloat</ h4 >
< pre > float getFloat(java.lang.String key)</ pre >
</ li >
</ ul >
< a name = "setFloat-java.lang.String-float-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setFloat</ h4 >
< pre > void setFloat(java.lang.String key,
float value)</ pre >
</ li >
</ ul >
< a name = "getString-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getString</ h4 >
< pre > java.lang.String getString(java.lang.String key)</ pre >
</ li >
</ ul >
< a name = "setString-java.lang.String-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setString</ h4 >
< pre > void setString(java.lang.String key,
java.lang.String value)</ pre >
</ li >
</ ul >
< a name = "getByteArray-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getByteArray</ h4 >
< pre > byte[] getByteArray(java.lang.String key)</ pre >
</ li >
</ ul >
< a name = "setByteArray-java.lang.String-byte:A-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setByteArray</ h4 >
< pre > void setByteArray(java.lang.String key,
byte[] value)</ pre >
</ li >
</ ul >
< a name = "getIntegerArray-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getIntegerArray</ h4 >
< pre > int[] getIntegerArray(java.lang.String key)</ pre >
</ li >
</ ul >
< a name = "setIntegerArray-java.lang.String-int:A-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setIntegerArray</ h4 >
< pre > void setIntegerArray(java.lang.String key,
int[] value)</ pre >
</ li >
</ ul >
< a name = "getList-java.lang.String-int-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getList</ h4 >
< pre > java.lang.Object[] getList(java.lang.String key,
int value)</ pre >
< div class = "block" > Returns a tag list of objects with this key in the compound tag. All the objects in the list
will always be of the same type.</ div >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > The tag list of objects, depending on the tag type.</ dd >
</ dl >
</ li >
</ ul >
< a name = "getListType-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getListType</ h4 >
< pre > int getListType(java.lang.String key)</ pre >
< div class = "block" > Returns the type of the tag list with this key, as an integer.</ div >
</ li >
</ ul >
< a name = "setList-java.lang.String-java.lang.Object:A-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setList</ h4 >
< pre > void setList(java.lang.String key,
java.lang.Object[] value)</ pre >
< div class = "block" > Adds a new tag list to the compound tag with the given key.</ div >
< dl >
< dt >< span class = "paramLabel" > Parameters:</ span ></ dt >
< dd >< code > key</ code > - The key for the list tag</ dd >
< dd >< code > value</ code > - The list of objects to be in the list. The type of the first element in this list becomes the tag
list's type, and if later objects are not of this type, they will not be added.</ dd >
</ dl >
</ li >
</ ul >
< a name = "getCompound-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getCompound</ h4 >
< pre >< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html" title = "interface in noppes.npcs.scripted.interfaces" > INbt</ a > getCompound(java.lang.String key)</ pre >
</ li >
</ ul >
2022-11-25 00:41:59 -05:00
< a name = "setCompound-java.lang.String-noppes.npcs.scripted.interfaces.INbt-" >
2022-08-16 15:07:47 -04:00
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setCompound</ h4 >
< pre > void setCompound(java.lang.String key,
< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html" title = "interface in noppes.npcs.scripted.interfaces" > INbt</ a > value)</ pre >
</ li >
</ ul >
< a name = "getKeys--" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getKeys</ h4 >
< pre > java.lang.String[] getKeys()</ pre >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > A list of all the compound tag's keys.</ dd >
</ dl >
</ li >
</ ul >
< a name = "getType-java.lang.String-" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getType</ h4 >
< pre > int getType(java.lang.String key)</ pre >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > The type of the tag with the input key as an integer.</ dd >
</ dl >
</ li >
</ ul >
< a name = "getMCNBT--" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMCNBT</ h4 >
< pre > net.minecraft.nbt.NBTTagCompound getMCNBT()</ pre >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > An obfuscated MC NBTTagCompound object.</ dd >
</ dl >
</ li >
</ ul >
< a name = "toJsonString--" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > toJsonString</ h4 >
< pre > java.lang.String toJsonString()</ pre >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > A curly-bracket formatted JSON string of all the compound tag.</ dd >
</ dl >
</ li >
</ ul >
2022-11-25 00:41:59 -05:00
< a name = "isEqual-noppes.npcs.scripted.interfaces.INbt-" >
2022-08-16 15:07:47 -04:00
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isEqual</ h4 >
< pre > boolean isEqual(< a href = "../../../../noppes/npcs/scripted/interfaces/INbt.html" title = "interface in noppes.npcs.scripted.interfaces" > INbt</ a > nbt)</ pre >
</ li >
</ ul >
< a name = "clear--" >
<!-- -->
</ a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > clear</ h4 >
< pre > void clear()</ pre >
< div class = "block" > Completely clears the compound tag of all tags inside it.</ div >
</ 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 = "package-tree.html" > Tree</ a ></ li >
< li >< a href = "../../../../deprecated-list.html" > Deprecated</ a ></ li >
< li >< a href = "../../../../index-files/index-1.html" > Index</ a ></ li >
< li >< a href = "../../../../help-doc.html" > Help</ a ></ li >
</ ul >
</ div >
< div class = "subNav" >
< ul class = "navList" >
< li >< a href = "../../../../noppes/npcs/scripted/interfaces/IDamageSource.html" title = "interface in noppes.npcs.scripted.interfaces" >< span class = "typeNameLink" > Prev Class</ span ></ a ></ li >
< li >< a href = "../../../../noppes/npcs/scripted/interfaces/IParticle.html" title = "interface in noppes.npcs.scripted.interfaces" >< span class = "typeNameLink" > Next Class</ span ></ a ></ li >
</ ul >
< ul class = "navList" >
< li >< a href = "../../../../index.html?noppes/npcs/scripted/interfaces/INbt.html" target = "_top" > Frames</ a ></ li >
< li >< a href = "INbt.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 > Constr | </ li >
< li >< a href = "#method.summary" > Method</ a ></ li >
</ ul >
< ul class = "subNavList" >
< li > Detail: </ li >
< li > Field | </ 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 ======= -->
</ body >
</ html >