2024-03-20 02:28:51 -04:00
<!DOCTYPE HTML>
<!-- NewPage -->
< html lang = "en" >
< head >
2025-10-28 02:05:17 -04:00
<!-- Generated by javadoc (11.0.27) on Tue Oct 28 02:00:43 EDT 2025 -->
2024-03-20 02:28:51 -04:00
< title > ITileEntity</ title >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" >
2025-10-28 02:05:17 -04:00
< meta name = "dc.created" content = "2025-10-28" >
2024-03-20 02:28:51 -04:00
< link rel = "stylesheet" type = "text/css" href = "../../../stylesheet.css" title = "Style" >
< link rel = "stylesheet" type = "text/css" href = "../../../jquery/jquery-ui.min.css" title = "Style" >
< link rel = "stylesheet" type = "text/css" href = "../../../jquery-ui.overrides.css" title = "Style" >
< script type = "text/javascript" src = "../../../script.js" ></ script >
< script type = "text/javascript" src = "../../../jquery/jszip/dist/jszip.min.js" ></ script >
< script type = "text/javascript" src = "../../../jquery/jszip-utils/dist/jszip-utils.min.js" ></ script >
<!--[if IE]>
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
2025-10-28 02:05:17 -04:00
< script type = "text/javascript" src = "../../../jquery/jquery-3.7.1.min.js" ></ script >
2024-03-20 02:28:51 -04:00
< script type = "text/javascript" src = "../../../jquery/jquery-ui.min.js" ></ script >
</ head >
< body >
< script type = "text/javascript" > <!--
try {
if ( location . href . indexOf ( 'is-external=true' ) == - 1 ) {
parent . document . title = "ITileEntity" ;
}
}
catch ( err ) {
}
//-->
var data = { "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 };
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" ;
var pathtoroot = "../../../" ;
var useModuleDirectories = true ;
loadScripts ( document , 'script' );</ script >
< noscript >
< div > JavaScript is disabled on your browser.</ div >
</ noscript >
< header role = "banner" >
< nav role = "navigation" >
< div class = "fixedNav" >
<!-- ========= START OF TOP NAVBAR ======= -->
< div class = "topNav" >< a id = "navbar.top" >
<!-- -->
</ a >
< div class = "skipNav" >< a href = "#skip.navbar.top" title = "Skip navigation links" > Skip navigation links</ a ></ div >
< a id = "navbar.top.firstrow" >
<!-- -->
</ a >
< ul class = "navList" title = "Navigation" >
< li >< a href = "../../../index.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" id = "allclasses_navbar_top" >
< li >< a href = "../../../allclasses.html" > All Classes</ a ></ li >
</ ul >
< ul class = "navListSearch" >
< li >< label for = "search" > SEARCH:</ label >
< input type = "text" id = "search" value = "search" disabled = "disabled" >
< input type = "reset" id = "reset" value = "reset" disabled = "disabled" >
</ 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 >
< noscript >
< div > JavaScript is disabled on your browser.</ div >
</ noscript >
</ 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 id = "skip.navbar.top" >
<!-- -->
</ a ></ div >
<!-- ========= END OF TOP NAVBAR ========= -->
</ div >
< div class = "navPadding" > </ div >
< script type = "text/javascript" > <!--
$ ( '.navPadding' ). css ( 'padding-top' , $ ( '.fixedNav' ). css ( "height" ));
//-->
</ script >
</ nav >
</ header >
<!-- ======== START OF CLASS DATA ======== -->
< main role = "main" >
< div class = "header" >
< div class = "subTitle" >< span class = "packageLabelInType" > Package</ span > < a href = "package-summary.html" > noppes.npcs.api</ a ></ div >
< h2 title = "Interface ITileEntity" class = "title" > Interface ITileEntity</ h2 >
</ div >
< div class = "contentContainer" >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< hr >
< pre > public interface < span class = "typeNameLabel" > ITileEntity</ span ></ pre >
</ li >
</ ul >
</ div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- ========== METHOD SUMMARY =========== -->
< section >
< ul class = "blockList" >
< li class = "blockList" >< a id = "method.summary" >
<!-- -->
</ a >
< h3 > Method Summary</ h3 >
< table class = "memberSummary" >
< 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 = "colSecond" scope = "col" > Method</ th >
< th class = "colLast" scope = "col" > Description</ th >
</ tr >
< tr id = "i0" class = "altColor" >
< td class = "colFirst" >< code > int</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#getBlockMetadata()" > getBlockMetadata</ a ></ span > ()</ code ></ th >
< td class = "colLast" > </ td >
</ tr >
< tr id = "i1" class = "rowColor" >
< td class = "colFirst" >< code >< a href = "IBlock.html" title = "interface in noppes.npcs.api" > IBlock</ a ></ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#getBlockType()" > getBlockType</ a ></ span > ()</ code ></ th >
< td class = "colLast" > </ td >
</ tr >
< tr id = "i2" class = "altColor" >
< td class = "colFirst" >< code > double</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#getDistanceFrom(double,double,double)" > getDistanceFrom</ a ></ span > ​ (double x,
double y,
double z)</ code ></ th >
< td class = "colLast" > </ td >
</ tr >
< tr id = "i3" class = "rowColor" >
< td class = "colFirst" >< code > double</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#getDistanceFrom(noppes.npcs.api.IPos)" > getDistanceFrom</ a ></ span > ​ (< a href = "IPos.html" title = "interface in noppes.npcs.api" > IPos</ a > pos)</ code ></ th >
< td class = "colLast" > </ td >
</ tr >
< tr id = "i4" class = "altColor" >
< td class = "colFirst" >< code > net.minecraft.tileentity.TileEntity</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#getMCTileEntity()" > getMCTileEntity</ a ></ span > ()</ code ></ th >
< td class = "colLast" > </ td >
</ tr >
< tr id = "i5" class = "rowColor" >
< td class = "colFirst" >< code >< a href = "INbt.html" title = "interface in noppes.npcs.api" > INbt</ a ></ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#getNBT()" > getNBT</ a ></ span > ()</ code ></ th >
< td class = "colLast" >
< div class = "block" > Writes the tile entity to NBT and returns the compound tag.</ div >
</ td >
</ tr >
< tr id = "i6" class = "altColor" >
< td class = "colFirst" >< code >< a href = "IWorld.html" title = "interface in noppes.npcs.api" > IWorld</ a ></ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#getWorld()" > getWorld</ a ></ span > ()</ code ></ th >
< td class = "colLast" > </ td >
</ tr >
< tr id = "i7" class = "rowColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#invalidate()" > invalidate</ a ></ span > ()</ code ></ th >
< td class = "colLast" >
< div class = "block" > Invalidates the tile entity.</ div >
</ td >
</ tr >
< tr id = "i8" class = "altColor" >
< td class = "colFirst" >< code > boolean</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#isInvalid()" > isInvalid</ a ></ span > ()</ code ></ th >
< td class = "colLast" > </ td >
</ tr >
< tr id = "i9" class = "rowColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#markDirty()" > markDirty</ a ></ span > ()</ code ></ th >
< td class = "colLast" > </ td >
</ tr >
< tr id = "i10" class = "altColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#readFromNBT(noppes.npcs.api.INbt)" > readFromNBT</ a ></ span > ​ (< a href = "INbt.html" title = "interface in noppes.npcs.api" > INbt</ a > nbt)</ code ></ th >
< td class = "colLast" >
< div class = "block" > Reads an INbt compound tag, creates a tile entity based on the data, and replaces this entity with the new one.</ div >
</ td >
</ tr >
< tr id = "i11" class = "rowColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#setWorld(noppes.npcs.api.IWorld)" > setWorld</ a ></ span > ​ (< a href = "IWorld.html" title = "interface in noppes.npcs.api" > IWorld</ a > world)</ code ></ th >
< td class = "colLast" > </ td >
</ tr >
< tr id = "i12" class = "altColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#updateContainingBlockInfo()" > updateContainingBlockInfo</ a ></ span > ()</ code ></ th >
< td class = "colLast" >
< div class = "block" > Updates the block's tile entity to the values set in this object.</ div >
</ td >
</ tr >
< tr id = "i13" class = "rowColor" >
< td class = "colFirst" >< code > void</ code ></ td >
< th class = "colSecond" scope = "row" >< code >< span class = "memberNameLink" >< a href = "#validate()" > validate</ a ></ span > ()</ code ></ th >
< td class = "colLast" >
< div class = "block" > Validates the tile entity for use.</ div >
</ td >
</ tr >
</ table >
</ li >
</ ul >
</ section >
</ li >
</ ul >
</ div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- ============ METHOD DETAIL ========== -->
< section >
< ul class = "blockList" >
< li class = "blockList" >< a id = "method.detail" >
<!-- -->
</ a >
< h3 > Method Detail</ h3 >
< a id = "getBlockMetadata()" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getBlockMetadata</ h4 >
< pre class = "methodSignature" > int getBlockMetadata()</ pre >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > An integer representing the metadata of this block. Blocks with different states will
return different values. For example, each stage of growth for a wheat crop will return a different value, each
orientation of a stair block will return a different value, etc.</ dd >
</ dl >
</ li >
</ ul >
< a id = "getWorld()" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getWorld</ h4 >
< pre class = "methodSignature" >< a href = "IWorld.html" title = "interface in noppes.npcs.api" > IWorld</ a > getWorld()</ pre >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > The world this tile entity is in.</ dd >
</ dl >
</ li >
</ ul >
< a id = "setWorld(noppes.npcs.api.IWorld)" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setWorld</ h4 >
< pre class = "methodSignature" > void setWorld​ (< a href = "IWorld.html" title = "interface in noppes.npcs.api" > IWorld</ a > world)</ pre >
</ li >
</ ul >
< a id = "getMCTileEntity()" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMCTileEntity</ h4 >
< pre class = "methodSignature" > net.minecraft.tileentity.TileEntity getMCTileEntity()</ pre >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > An obfuscated MC tile entity object.</ dd >
</ dl >
</ li >
</ ul >
< a id = "markDirty()" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > markDirty</ h4 >
< pre class = "methodSignature" > void markDirty()</ pre >
</ li >
</ ul >
< a id = "readFromNBT(noppes.npcs.api.INbt)" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > readFromNBT</ h4 >
< pre class = "methodSignature" > void readFromNBT​ (< a href = "INbt.html" title = "interface in noppes.npcs.api" > INbt</ a > nbt)</ pre >
< div class = "block" > Reads an INbt compound tag, creates a tile entity based on the data, and replaces this entity with the new one.</ div >
</ li >
</ ul >
< a id = "getDistanceFrom(double,double,double)" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getDistanceFrom</ h4 >
< pre class = "methodSignature" > double getDistanceFrom​ (double x,
double y,
double z)</ pre >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > The distance of this tile entity from the point given by the x, y, and z parameters.</ dd >
</ dl >
</ li >
</ ul >
< a id = "getDistanceFrom(noppes.npcs.api.IPos)" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getDistanceFrom</ h4 >
< pre class = "methodSignature" > double getDistanceFrom​ (< a href = "IPos.html" title = "interface in noppes.npcs.api" > IPos</ a > pos)</ pre >
</ li >
</ ul >
< a id = "getBlockType()" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getBlockType</ h4 >
< pre class = "methodSignature" >< a href = "IBlock.html" title = "interface in noppes.npcs.api" > IBlock</ a > getBlockType()</ pre >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > A new IBlock object based on this tile entity's type.</ dd >
</ dl >
</ li >
</ ul >
< a id = "isInvalid()" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isInvalid</ h4 >
< pre class = "methodSignature" > boolean isInvalid()</ pre >
< dl >
< dt >< span class = "returnLabel" > Returns:</ span ></ dt >
< dd > True if the tile entity is invalid, false otherwise.</ dd >
</ dl >
</ li >
</ ul >
< a id = "invalidate()" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > invalidate</ h4 >
< pre class = "methodSignature" > void invalidate()</ pre >
< div class = "block" > Invalidates the tile entity.</ div >
</ li >
</ ul >
< a id = "validate()" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > validate</ h4 >
< pre class = "methodSignature" > void validate()</ pre >
< div class = "block" > Validates the tile entity for use.</ div >
</ li >
</ ul >
< a id = "updateContainingBlockInfo()" >
<!-- -->
</ a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > updateContainingBlockInfo</ h4 >
< pre class = "methodSignature" > void updateContainingBlockInfo()</ pre >
< div class = "block" > Updates the block's tile entity to the values set in this object.</ div >
</ li >
</ ul >
< a id = "getNBT()" >
<!-- -->
</ a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > getNBT</ h4 >
< pre class = "methodSignature" >< a href = "INbt.html" title = "interface in noppes.npcs.api" > INbt</ a > getNBT()</ pre >
< div class = "block" > Writes the tile entity to NBT and returns the compound tag.</ div >
</ li >
</ ul >
</ li >
</ ul >
</ section >
</ li >
</ ul >
</ div >
</ div >
</ main >
<!-- ========= END OF CLASS DATA ========= -->
< footer role = "contentinfo" >
< nav role = "navigation" >
<!-- ======= START OF BOTTOM NAVBAR ====== -->
< div class = "bottomNav" >< a id = "navbar.bottom" >
<!-- -->
</ a >
< div class = "skipNav" >< a href = "#skip.navbar.bottom" title = "Skip navigation links" > Skip navigation links</ a ></ div >
< a id = "navbar.bottom.firstrow" >
<!-- -->
</ a >
< ul class = "navList" title = "Navigation" >
< li >< a href = "../../../index.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" id = "allclasses_navbar_bottom" >
< li >< a href = "../../../allclasses.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 >
< noscript >
< div > JavaScript is disabled on your browser.</ div >
</ noscript >
</ 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 id = "skip.navbar.bottom" >
<!-- -->
</ a ></ div >
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</ nav >
</ footer >
</ body >
</ html >