2012-12-10 16:45:24 +01:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
< html lang = "en" >
< head >
2013-05-14 01:29:12 +02:00
<!-- Generated by javadoc (version 1.7.0_21) on Tue May 14 01:28:32 CEST 2013 -->
2012-12-10 16:45:24 +01:00
< title > MinecraftReflection< / title >
2013-05-14 01:29:12 +02:00
< meta name = "date" content = "2013-05-14" >
2012-12-10 16:45:24 +01:00
< link rel = "stylesheet" type = "text/css" href = "../../../../stylesheet.css" title = "Style" >
< / head >
< body >
< script type = "text/javascript" > < ! - -
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="MinecraftReflection";
}
//-->
< / script >
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
<!-- ========= START OF TOP NAVBAR ======= -->
< div class = "topNav" > < a name = "navbar_top" >
<!-- -->
< / a > < a href = "#skip-navbar_top" title = "Skip navigation links" > < / a > < 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/MinecraftReflection.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-files/index-1.html" > Index< / a > < / li >
< li > < a href = "../../../../help-doc.html" > Help< / a > < / li >
< / ul >
< / div >
< div class = "subNav" >
< ul class = "navList" >
2013-03-05 17:07:09 +01:00
< li > < a href = "../../../../com/comphenix/protocol/utility/MinecraftMethods.html" title = "class in com.comphenix.protocol.utility" > < span class = "strong" > Prev Class< / span > < / a > < / li >
2013-05-14 01:29:12 +02:00
< li > < a href = "../../../../com/comphenix/protocol/utility/MinecraftVersion.html" title = "class in com.comphenix.protocol.utility" > < span class = "strong" > Next Class< / span > < / a > < / li >
2012-12-10 16:45:24 +01:00
< / ul >
< ul class = "navList" >
< li > < a href = "../../../../index.html?com/comphenix/protocol/utility/MinecraftReflection.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "MinecraftReflection.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 >
2013-02-05 23:35:15 +01:00
< li > Constr | < / li >
2012-12-10 16:45:24 +01:00
< li > < a href = "#method_summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > < a href = "#field_detail" > Field< / a > | < / li >
2013-02-05 23:35:15 +01:00
< li > Constr | < / li >
2012-12-10 16:45:24 +01:00
< 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" > com.comphenix.protocol.utility< / div >
< h2 title = "Class MinecraftReflection" class = "title" > Class MinecraftReflection< / h2 >
< / div >
< div class = "contentContainer" >
< ul class = "inheritance" >
< li > java.lang.Object< / li >
< li >
< ul class = "inheritance" >
< li > com.comphenix.protocol.utility.MinecraftReflection< / li >
< / ul >
< / li >
< / ul >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< hr >
< br >
< pre > public class < span class = "strong" > MinecraftReflection< / span >
extends java.lang.Object< / pre >
< div class = "block" > Methods and constants specifically used in conjuction with reflecting Minecraft object.< / div >
< dl > < dt > < span class = "strong" > Author:< / span > < / dt >
< dd > Kristian< / 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 = "overviewSummary" 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 java.lang.String< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#MINECRAFT_OBJECT" > MINECRAFT_OBJECT< / a > < / strong > < / code >
2013-02-05 23:35:15 +01:00
< div class = "block" > < strong > Deprecated.< / strong > < / div >
2012-12-10 16:45:24 +01:00
< / td >
< / tr >
< / table >
< / li >
< / ul >
<!-- ========== METHOD SUMMARY =========== -->
< ul class = "blockList" >
< li class = "blockList" > < a name = "method_summary" >
<!-- -->
< / a >
< h3 > Method Summary< / h3 >
< table class = "overviewSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Method Summary table, listing methods, and an explanation" >
< caption > < span > Methods< / 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 >
< tr class = "altColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getArrayClass(java.lang.Class)" > getArrayClass< / a > < / strong > (java.lang.Class< ?> componentType)< / code >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the array class of a given component type.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2013-02-05 23:35:15 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getBlockClass()" > getBlockClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the Block (NMS) class.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static java.lang.Object< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getBukkitEntity(java.lang.Object)" > getBukkitEntity< / a > < / strong > (java.lang.Object nmsObject)< / code >
< div class = "block" > Dynamically retrieve the Bukkit entity from a given entity.< / div >
< / td >
< / tr >
2013-02-05 23:35:15 +01:00
< tr class = "rowColor" >
2013-03-05 17:07:09 +01:00
< td class = "colFirst" > < code > static org.bukkit.inventory.ItemStack< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getBukkitItemStack(org.bukkit.inventory.ItemStack)" > getBukkitItemStack< / a > < / strong > (org.bukkit.inventory.ItemStack bukkitItemStack)< / code >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve a CraftItemStack from a given ItemStack.< / div >
< / td >
< / tr >
2013-02-05 23:35:15 +01:00
< tr class = "altColor" >
2013-03-05 17:07:09 +01:00
< td class = "colFirst" > < code > static org.bukkit.inventory.ItemStack< / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getBukkitItemStack(java.lang.Object)" > getBukkitItemStack< / a > < / strong > (java.lang.Object minecraftItemStack)< / code >
< div class = "block" > Retrieve the Bukkit ItemStack from a given net.minecraft.server ItemStack.< / div >
< / td >
< / tr >
2013-02-05 23:35:15 +01:00
< tr class = "rowColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getChunkCoordinatesClass()" > getChunkCoordinatesClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the ChunkPosition class.< / div >
< / td >
< / tr >
2013-02-05 23:35:15 +01:00
< tr class = "altColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getChunkPositionClass()" > getChunkPositionClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the ChunkPosition class.< / div >
< / td >
< / tr >
2013-02-05 23:35:15 +01:00
< tr class = "rowColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static java.lang.Class< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getCraftBukkitClass(java.lang.String)" > getCraftBukkitClass< / a > < / strong > (java.lang.String className)< / code >
< div class = "block" > Retrieve the class object of a specific CraftBukkit class.< / div >
< / td >
< / tr >
2013-02-05 23:35:15 +01:00
< tr class = "altColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static java.lang.String< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getCraftBukkitPackage()" > getCraftBukkitPackage< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the name of the root CraftBukkit package.< / div >
< / td >
< / tr >
2013-02-05 23:35:15 +01:00
< tr class = "rowColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2013-03-05 17:07:09 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getCraftEntityClass()" > getCraftEntityClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the CraftEntity class.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getCraftItemStackClass()" > getCraftItemStackClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the CraftItemStack class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2013-02-05 23:35:15 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getCraftPlayerClass()" > getCraftPlayerClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the CraftPlayer class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getDataWatcherClass()" > getDataWatcherClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the DataWatcher class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getEntityClass()" > getEntityClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the entity (NMS) class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getEntityPlayerClass()" > getEntityPlayerClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the EntityPlayer (NMS) class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2013-02-05 23:35:15 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getEntityTrackerClass()" > getEntityTrackerClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the EntityTracker (NMS) class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2013-02-05 23:35:15 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getItemStackArrayClass()" > getItemStackArrayClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the ItemStack[] class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getItemStackClass()" > getItemStackClass< / a > < / strong > ()< / code >
2012-12-27 17:44:04 +01:00
< div class = "block" > Retrieve the NMS ItemStack class.< / div >
2012-12-10 16:45:24 +01:00
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getMinecraftClass(java.lang.String)" > getMinecraftClass< / a > < / strong > (java.lang.String className)< / code >
< div class = "block" > Retrieve the class object of a specific Minecraft class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getMinecraftClass(java.lang.String, java.lang.String...)" > getMinecraftClass< / a > < / strong > (java.lang.String className,
java.lang.String... aliases)< / code >
< div class = "block" > Retrieve the first class that matches a specified Minecraft name.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static java.lang.Object< / code > < / td >
2013-03-05 17:07:09 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getMinecraftItemStack(org.bukkit.inventory.ItemStack)" > getMinecraftItemStack< / a > < / strong > (org.bukkit.inventory.ItemStack stack)< / code >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2013-02-05 23:35:15 +01:00
< td class = "colFirst" > < code > static < a href = "../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title = "class in com.comphenix.protocol.reflect.fuzzy" > AbstractFuzzyMatcher< / a > < java.lang.Class< ?> > < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getMinecraftObjectMatcher()" > getMinecraftObjectMatcher< / a > < / strong > ()< / code >
< div class = "block" > Retrieve a abstract fuzzy class matcher for Minecraft objects.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static java.lang.String< / code > < / td >
2013-02-05 23:35:15 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getMinecraftObjectRegex()" > getMinecraftObjectRegex< / a > < / strong > ()< / code >
< div class = "block" > Retrieve a regular expression that can match Minecraft package objects.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2013-02-05 23:35:15 +01:00
< td class = "colFirst" > < code > static java.lang.String< / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getMinecraftPackage()" > getMinecraftPackage< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the name of the Minecraft server package.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getMinecraftServerClass()" > getMinecraftServerClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the MinecraftServer class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2013-01-10 00:58:34 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getNBTBaseClass()" > getNBTBaseClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the NBT base class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2013-01-10 00:58:34 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-27 17:44:04 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getNetHandlerClass()" > getNetHandlerClass< / a > < / strong > ()< / code >
2013-02-05 23:35:15 +01:00
< div class = "block" > Retrieve the NetHandler class (or Connection)< / div >
2012-12-27 17:44:04 +01:00
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getNetLoginHandlerClass()" > getNetLoginHandlerClass< / a > < / strong > ()< / code >
2013-02-05 23:35:15 +01:00
< div class = "block" > Retrieve the NetLoginHandler class (or PendingConnection)< / div >
2012-12-10 16:45:24 +01:00
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.String< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getNetLoginHandlerName()" > getNetLoginHandlerName< / a > < / strong > ()< / code >
< div class = "block" > Dynamically retrieve the name of the current NetLoginHandler.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getNetServerHandlerClass()" > getNetServerHandlerClass< / a > < / strong > ()< / code >
2013-02-05 23:35:15 +01:00
< div class = "block" > Retrieve the NetServerHandler class (or PlayerConnection)< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2013-02-05 23:35:15 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getNetworkListenThreadClass()" > getNetworkListenThreadClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the NetworkListenThread class (NMS).< / div >
2012-12-27 17:44:04 +01:00
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getNetworkManagerClass()" > getNetworkManagerClass< / a > < / strong > ()< / code >
2013-02-05 23:35:15 +01:00
< div class = "block" > Retrieve the NetworkManager class or its interface.< / div >
2012-12-27 17:44:04 +01:00
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.String< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getNetworkManagerName()" > getNetworkManagerName< / a > < / strong > ()< / code >
< div class = "block" > Dynamically retrieve the NetworkManager name.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getPacketClass()" > getPacketClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the packet class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2013-02-05 23:35:15 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getPlayerListClass()" > getPlayerListClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the player list class (or ServerConfigurationManager),< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2013-02-05 23:35:15 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getServerConnectionClass()" > getServerConnectionClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the ServerConnection abstract class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2013-02-05 23:35:15 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getWatchableObjectClass()" > getWatchableObjectClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the WatchableObject class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2013-02-05 23:35:15 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getWorldServerClass()" > getWorldServerClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the WorldServer (NMS) class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2013-02-05 23:35:15 +01:00
< td class = "colFirst" > < code > static java.lang.Class< ?> < / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getWorldTypeClass()" > getWorldTypeClass< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the WorldType class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isChunkCoordinates(java.lang.Object)" > isChunkCoordinates< / a > < / strong > (java.lang.Object obj)< / code >
< div class = "block" > Determine if a given object is a ChunkCoordinate.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isChunkPosition(java.lang.Object)" > isChunkPosition< / a > < / strong > (java.lang.Object obj)< / code >
< div class = "block" > Determine if a given object is a ChunkPosition.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isCraftItemStack(java.lang.Object)" > isCraftItemStack< / a > < / strong > (java.lang.Object obj)< / code >
< div class = "block" > Determine if the given object is a CraftItemStack instancey.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2013-02-05 23:35:15 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isCraftPlayer(java.lang.Object)" > isCraftPlayer< / a > < / strong > (java.lang.Object value)< / code >
< div class = "block" > Determine if the given object is a CraftPlayer class.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isDataWatcher(java.lang.Object)" > isDataWatcher< / a > < / strong > (java.lang.Object obj)< / code >
< div class = "block" > Determine if the given object is a data watcher object.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isItemStack(java.lang.Object)" > isItemStack< / a > < / strong > (java.lang.Object value)< / code >
< div class = "block" > Determine if the given object is a NMS ItemStack.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isLoginHandler(java.lang.Object)" > isLoginHandler< / a > < / strong > (java.lang.Object obj)< / code >
2013-02-05 23:35:15 +01:00
< div class = "block" > Determine if the given object is a NetLoginHandler (PendingConnection)< / div >
2012-12-10 16:45:24 +01:00
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
2013-02-05 23:35:15 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isMinecraftClass(java.lang.Class)" > isMinecraftClass< / a > < / strong > (java.lang.Class< ?> clazz)< / code >
< div class = "block" > Determine if the given class is found within the package net.minecraft.server, or any equivalent package.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2013-02-05 23:35:15 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
2012-12-10 16:45:24 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isMinecraftEntity(java.lang.Object)" > isMinecraftEntity< / a > < / strong > (java.lang.Object obj)< / code >
< div class = "block" > Determine if the given object is actually a Minecraft packet.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isMinecraftObject(java.lang.Object)" > isMinecraftObject< / a > < / strong > (java.lang.Object obj)< / code >
< div class = "block" > Determine if a given object can be found within the package net.minecraft.server.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isMinecraftObject(java.lang.Object, java.lang.String)" > isMinecraftObject< / a > < / strong > (java.lang.Object obj,
java.lang.String className)< / code >
< div class = "block" > Determine if a given object is found in net.minecraft.server, and has the given name.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isMinecraftPlayer(java.lang.Object)" > isMinecraftPlayer< / a > < / strong > (java.lang.Object obj)< / code >
< div class = "block" > Determine if the given object is a Minecraft player entity.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isPacketClass(java.lang.Object)" > isPacketClass< / a > < / strong > (java.lang.Object obj)< / code >
< div class = "block" > Determine if the given object is actually a Minecraft packet.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2013-02-05 23:35:15 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isServerHandler(java.lang.Object)" > isServerHandler< / a > < / strong > (java.lang.Object obj)< / code >
< div class = "block" > Determine if the given object is assignable to a NetServerHandler (PlayerConnection)< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "rowColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#isWatchableObject(java.lang.Object)" > isWatchableObject< / a > < / strong > (java.lang.Object obj)< / code >
< div class = "block" > Determine if the given object is a watchable object.< / div >
< / td >
< / tr >
2013-03-05 17:07:09 +01:00
< tr class = "altColor" >
2012-12-10 16:45:24 +01:00
< td class = "colFirst" > < code > static void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#setMinecraftPackage(java.lang.String, java.lang.String)" > setMinecraftPackage< / a > < / strong > (java.lang.String minecraftPackage,
java.lang.String craftBukkitPackage)< / code >
< div class = "block" > Used during debugging and testing.< / 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.Object< / h3 >
< code > clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait< / 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 = "MINECRAFT_OBJECT" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > MINECRAFT_OBJECT< / h4 >
2013-02-05 23:35:15 +01:00
< pre > @Deprecated
public static final java.lang.String MINECRAFT_OBJECT< / pre >
< div class = "block" > < span class = "strong" > Deprecated.< / span > < / div >
< div class = "block" > Regular expression that matches a Minecraft object.
< p >
Replaced by the method < a href = "../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getMinecraftObjectRegex()" > < code > getMinecraftObjectRegex()< / code > < / a > .< / div >
2012-12-10 16:45:24 +01:00
< dl > < dt > < span class = "strong" > See Also:< / span > < / dt > < dd > < a href = "../../../../constant-values.html#com.comphenix.protocol.utility.MinecraftReflection.MINECRAFT_OBJECT" > Constant Field Values< / a > < / dd > < / dl >
< / li >
< / ul >
< / li >
< / ul >
2013-02-05 23:35:15 +01:00
<!-- ============ METHOD DETAIL ========== -->
2012-12-10 16:45:24 +01:00
< ul class = "blockList" >
2013-02-05 23:35:15 +01:00
< li class = "blockList" > < a name = "method_detail" >
2012-12-10 16:45:24 +01:00
<!-- -->
< / a >
2013-02-05 23:35:15 +01:00
< h3 > Method Detail< / h3 >
< a name = "getMinecraftObjectRegex()" >
2012-12-10 16:45:24 +01:00
<!-- -->
< / a >
2013-02-05 23:35:15 +01:00
< ul class = "blockList" >
2012-12-10 16:45:24 +01:00
< li class = "blockList" >
2013-02-05 23:35:15 +01:00
< h4 > getMinecraftObjectRegex< / h4 >
< pre > public static java.lang.String getMinecraftObjectRegex()< / pre >
< div class = "block" > Retrieve a regular expression that can match Minecraft package objects.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Minecraft package matcher.< / dd > < / dl >
2012-12-10 16:45:24 +01:00
< / li >
< / ul >
2013-02-05 23:35:15 +01:00
< a name = "getMinecraftObjectMatcher()" >
2012-12-10 16:45:24 +01:00
<!-- -->
< / a >
2013-02-05 23:35:15 +01:00
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMinecraftObjectMatcher< / h4 >
< pre > public static < a href = "../../../../com/comphenix/protocol/reflect/fuzzy/AbstractFuzzyMatcher.html" title = "class in com.comphenix.protocol.reflect.fuzzy" > AbstractFuzzyMatcher< / a > < java.lang.Class< ?> > getMinecraftObjectMatcher()< / pre >
< div class = "block" > Retrieve a abstract fuzzy class matcher for Minecraft objects.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > A matcher for Minecraft objects.< / dd > < / dl >
< / li >
< / ul >
2012-12-10 16:45:24 +01:00
< a name = "getMinecraftPackage()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMinecraftPackage< / h4 >
< pre > public static java.lang.String getMinecraftPackage()< / pre >
< div class = "block" > Retrieve the name of the Minecraft server package.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Full canonical name of the Minecraft server package.< / dd > < / dl >
< / li >
< / ul >
< a name = "setMinecraftPackage(java.lang.String, java.lang.String)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setMinecraftPackage< / h4 >
< pre > public static void setMinecraftPackage(java.lang.String minecraftPackage,
java.lang.String craftBukkitPackage)< / pre >
< div class = "block" > Used during debugging and testing.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > minecraftPackage< / code > - - the current Minecraft package.< / dd > < dd > < code > craftBukkitPackage< / code > - - the current CraftBukkit package.< / dd > < / dl >
< / li >
< / ul >
< a name = "getCraftBukkitPackage()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getCraftBukkitPackage< / h4 >
< pre > public static java.lang.String getCraftBukkitPackage()< / pre >
< div class = "block" > Retrieve the name of the root CraftBukkit package.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Full canonical name of the root CraftBukkit package.< / dd > < / dl >
< / li >
< / ul >
2012-12-27 17:44:04 +01:00
< a name = "getBukkitEntity(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getBukkitEntity< / h4 >
< pre > public static java.lang.Object getBukkitEntity(java.lang.Object nmsObject)< / pre >
< div class = "block" > Dynamically retrieve the Bukkit entity from a given entity.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > nmsObject< / code > - - the NMS entity.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > A bukkit entity.< / dd >
< dt > < span class = "strong" > Throws:< / span > < / dt >
< dd > < code > java.lang.RuntimeException< / code > - If we were unable to retrieve the Bukkit entity.< / dd > < / dl >
< / li >
< / ul >
2012-12-10 16:45:24 +01:00
< a name = "isMinecraftObject(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isMinecraftObject< / h4 >
< pre > public static boolean isMinecraftObject(@Nonnull
java.lang.Object obj)< / pre >
< div class = "block" > Determine if a given object can be found within the package net.minecraft.server.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > obj< / code > - - the object to test.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it can, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
2013-02-05 23:35:15 +01:00
< a name = "isMinecraftClass(java.lang.Class)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isMinecraftClass< / h4 >
< pre > public static boolean isMinecraftClass(@Nonnull
java.lang.Class< ?> clazz)< / pre >
< div class = "block" > Determine if the given class is found within the package net.minecraft.server, or any equivalent package.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > clazz< / code > - - the class to test.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it can, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
2012-12-10 16:45:24 +01:00
< a name = "isMinecraftObject(java.lang.Object, java.lang.String)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isMinecraftObject< / h4 >
< pre > public static boolean isMinecraftObject(@Nonnull
java.lang.Object obj,
java.lang.String className)< / pre >
< div class = "block" > Determine if a given object is found in net.minecraft.server, and has the given name.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > obj< / code > - - the object to test.< / dd > < dd > < code > className< / code > - - the class name to test.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it can, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
< a name = "isChunkPosition(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isChunkPosition< / h4 >
< pre > public static boolean isChunkPosition(java.lang.Object obj)< / pre >
< div class = "block" > Determine if a given object is a ChunkPosition.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > obj< / code > - - the object to test.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it can, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
< a name = "isChunkCoordinates(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isChunkCoordinates< / h4 >
< pre > public static boolean isChunkCoordinates(java.lang.Object obj)< / pre >
< div class = "block" > Determine if a given object is a ChunkCoordinate.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > obj< / code > - - the object to test.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it can, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
< a name = "isPacketClass(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isPacketClass< / h4 >
< pre > public static boolean isPacketClass(java.lang.Object obj)< / pre >
< div class = "block" > Determine if the given object is actually a Minecraft packet.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > obj< / code > - - the given object.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it is, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
< a name = "isLoginHandler(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isLoginHandler< / h4 >
< pre > public static boolean isLoginHandler(java.lang.Object obj)< / pre >
2013-02-05 23:35:15 +01:00
< div class = "block" > Determine if the given object is a NetLoginHandler (PendingConnection)< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > obj< / code > - - the given object.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it is, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
< a name = "isServerHandler(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isServerHandler< / h4 >
< pre > public static boolean isServerHandler(java.lang.Object obj)< / pre >
< div class = "block" > Determine if the given object is assignable to a NetServerHandler (PlayerConnection)< / div >
2012-12-10 16:45:24 +01:00
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > obj< / code > - - the given object.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it is, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
< a name = "isMinecraftEntity(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isMinecraftEntity< / h4 >
< pre > public static boolean isMinecraftEntity(java.lang.Object obj)< / pre >
< div class = "block" > Determine if the given object is actually a Minecraft packet.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > obj< / code > - - the given object.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it is, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
< a name = "isItemStack(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isItemStack< / h4 >
< pre > public static boolean isItemStack(java.lang.Object value)< / pre >
< div class = "block" > Determine if the given object is a NMS ItemStack.< / div >
2013-02-05 23:35:15 +01:00
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > value< / code > - - the given object.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it is, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
< a name = "isCraftPlayer(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isCraftPlayer< / h4 >
< pre > public static boolean isCraftPlayer(java.lang.Object value)< / pre >
< div class = "block" > Determine if the given object is a CraftPlayer class.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > value< / code > - - the given object.< / dd >
2012-12-10 16:45:24 +01:00
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it is, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
< a name = "isMinecraftPlayer(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isMinecraftPlayer< / h4 >
< pre > public static boolean isMinecraftPlayer(java.lang.Object obj)< / pre >
< div class = "block" > Determine if the given object is a Minecraft player entity.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > obj< / code > - - the given object.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it is, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
< a name = "isWatchableObject(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isWatchableObject< / h4 >
< pre > public static boolean isWatchableObject(java.lang.Object obj)< / pre >
< div class = "block" > Determine if the given object is a watchable object.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > obj< / code > - - the given object.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it is, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
< a name = "isDataWatcher(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isDataWatcher< / h4 >
< pre > public static boolean isDataWatcher(java.lang.Object obj)< / pre >
< div class = "block" > Determine if the given object is a data watcher object.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > obj< / code > - - the given object.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it is, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
< a name = "isCraftItemStack(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isCraftItemStack< / h4 >
< pre > public static boolean isCraftItemStack(java.lang.Object obj)< / pre >
< div class = "block" > Determine if the given object is a CraftItemStack instancey.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > obj< / code > - - the given object.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if it is, FALSE otherwise.< / dd > < / dl >
< / li >
< / ul >
< a name = "getEntityPlayerClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEntityPlayerClass< / h4 >
2012-12-27 17:44:04 +01:00
< pre > public static java.lang.Class< ?> getEntityPlayerClass()< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the EntityPlayer (NMS) class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The entity class.< / dd > < / dl >
< / li >
< / ul >
< a name = "getEntityClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEntityClass< / h4 >
2012-12-27 17:44:04 +01:00
< pre > public static java.lang.Class< ?> getEntityClass()< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the entity (NMS) class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The entity class.< / dd > < / dl >
< / li >
< / ul >
2013-02-05 23:35:15 +01:00
< a name = "getWorldServerClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getWorldServerClass< / h4 >
< pre > public static java.lang.Class< ?> getWorldServerClass()< / pre >
< div class = "block" > Retrieve the WorldServer (NMS) class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The WorldServer class.< / dd > < / dl >
< / li >
< / ul >
2012-12-10 16:45:24 +01:00
< a name = "getPacketClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getPacketClass< / h4 >
2012-12-27 17:44:04 +01:00
< pre > public static java.lang.Class< ?> getPacketClass()< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the packet class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The packet class.< / dd > < / dl >
< / li >
< / ul >
2013-02-05 23:35:15 +01:00
< a name = "getMinecraftServerClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMinecraftServerClass< / h4 >
< pre > public static java.lang.Class< ?> getMinecraftServerClass()< / pre >
< div class = "block" > Retrieve the MinecraftServer class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > MinecraftServer class.< / dd > < / dl >
< / li >
< / ul >
< a name = "getPlayerListClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getPlayerListClass< / h4 >
< pre > public static java.lang.Class< ?> getPlayerListClass()< / pre >
< div class = "block" > Retrieve the player list class (or ServerConfigurationManager),< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The player list class.< / dd > < / dl >
< / li >
< / ul >
2012-12-10 16:45:24 +01:00
< a name = "getNetLoginHandlerClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getNetLoginHandlerClass< / h4 >
2012-12-27 17:44:04 +01:00
< pre > public static java.lang.Class< ?> getNetLoginHandlerClass()< / pre >
2013-02-05 23:35:15 +01:00
< div class = "block" > Retrieve the NetLoginHandler class (or PendingConnection)< / div >
2012-12-10 16:45:24 +01:00
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The NetLoginHandler class.< / dd > < / dl >
< / li >
< / ul >
2012-12-27 17:44:04 +01:00
< a name = "getNetServerHandlerClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getNetServerHandlerClass< / h4 >
< pre > public static java.lang.Class< ?> getNetServerHandlerClass()< / pre >
2013-02-05 23:35:15 +01:00
< div class = "block" > Retrieve the NetServerHandler class (or PlayerConnection)< / div >
2012-12-27 17:44:04 +01:00
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The NetServerHandler class.< / dd > < / dl >
< / li >
< / ul >
< a name = "getNetworkManagerClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getNetworkManagerClass< / h4 >
< pre > public static java.lang.Class< ?> getNetworkManagerClass()< / pre >
2013-02-05 23:35:15 +01:00
< div class = "block" > Retrieve the NetworkManager class or its interface.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The NetworkManager class or its interface.< / dd > < / dl >
2012-12-27 17:44:04 +01:00
< / li >
< / ul >
< a name = "getNetHandlerClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getNetHandlerClass< / h4 >
< pre > public static java.lang.Class< ?> getNetHandlerClass()< / pre >
2013-02-05 23:35:15 +01:00
< div class = "block" > Retrieve the NetHandler class (or Connection)< / div >
2012-12-27 17:44:04 +01:00
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The NetHandler class.< / dd > < / dl >
< / li >
< / ul >
2012-12-10 16:45:24 +01:00
< a name = "getItemStackClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getItemStackClass< / h4 >
2012-12-27 17:44:04 +01:00
< pre > public static java.lang.Class< ?> getItemStackClass()< / pre >
< div class = "block" > Retrieve the NMS ItemStack class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The ItemStack class.< / dd > < / dl >
2012-12-10 16:45:24 +01:00
< / li >
< / ul >
2013-02-05 23:35:15 +01:00
< a name = "getBlockClass()" >
2012-12-10 16:45:24 +01:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
2013-02-05 23:35:15 +01:00
< h4 > getBlockClass< / h4 >
< pre > public static java.lang.Class< ?> getBlockClass()< / pre >
< div class = "block" > Retrieve the Block (NMS) class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Block (NMS) class.< / dd > < / dl >
2012-12-10 16:45:24 +01:00
< / li >
< / ul >
2013-02-05 23:35:15 +01:00
< a name = "getWorldTypeClass()" >
2012-12-27 17:44:04 +01:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
2013-02-05 23:35:15 +01:00
< h4 > getWorldTypeClass< / h4 >
< pre > public static java.lang.Class< ?> getWorldTypeClass()< / pre >
< div class = "block" > Retrieve the WorldType class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The WorldType class.< / dd > < / dl >
2012-12-27 17:44:04 +01:00
< / li >
< / ul >
2012-12-10 16:45:24 +01:00
< a name = "getDataWatcherClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getDataWatcherClass< / h4 >
2012-12-27 17:44:04 +01:00
< pre > public static java.lang.Class< ?> getDataWatcherClass()< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the DataWatcher class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The DataWatcher class.< / dd > < / dl >
< / li >
< / ul >
< a name = "getChunkPositionClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getChunkPositionClass< / h4 >
2012-12-27 17:44:04 +01:00
< pre > public static java.lang.Class< ?> getChunkPositionClass()< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the ChunkPosition class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The ChunkPosition class.< / dd > < / dl >
< / li >
< / ul >
< a name = "getChunkCoordinatesClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getChunkCoordinatesClass< / h4 >
2012-12-27 17:44:04 +01:00
< pre > public static java.lang.Class< ?> getChunkCoordinatesClass()< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the ChunkPosition class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The ChunkPosition class.< / dd > < / dl >
< / li >
< / ul >
< a name = "getWatchableObjectClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getWatchableObjectClass< / h4 >
2012-12-27 17:44:04 +01:00
< pre > public static java.lang.Class< ?> getWatchableObjectClass()< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the WatchableObject class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The WatchableObject class.< / dd > < / dl >
< / li >
< / ul >
2013-02-05 23:35:15 +01:00
< a name = "getServerConnectionClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getServerConnectionClass< / h4 >
< pre > public static java.lang.Class< ?> getServerConnectionClass()< / pre >
< div class = "block" > Retrieve the ServerConnection abstract class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The ServerConnection class.< / dd > < / dl >
< / li >
< / ul >
2013-01-10 00:58:34 +01:00
< a name = "getNBTBaseClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getNBTBaseClass< / h4 >
< pre > public static java.lang.Class< ?> getNBTBaseClass()< / pre >
< div class = "block" > Retrieve the NBT base class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The NBT base class.< / dd > < / dl >
< / li >
< / ul >
2013-02-05 23:35:15 +01:00
< a name = "getEntityTrackerClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getEntityTrackerClass< / h4 >
< pre > public static java.lang.Class< ?> getEntityTrackerClass()< / pre >
< div class = "block" > Retrieve the EntityTracker (NMS) class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > EntityTracker class.< / dd > < / dl >
< / li >
< / ul >
< a name = "getNetworkListenThreadClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getNetworkListenThreadClass< / h4 >
< pre > public static java.lang.Class< ?> getNetworkListenThreadClass()< / pre >
< div class = "block" > Retrieve the NetworkListenThread class (NMS).
< p >
Note that this class was removed after Minecraft 1.3.1.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > NetworkListenThread class.< / dd > < / dl >
< / li >
< / ul >
2012-12-10 16:45:24 +01:00
< a name = "getItemStackArrayClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getItemStackArrayClass< / h4 >
2012-12-27 17:44:04 +01:00
< pre > public static java.lang.Class< ?> getItemStackArrayClass()< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the ItemStack[] class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The ItemStack[] class.< / dd > < / dl >
< / li >
< / ul >
< a name = "getArrayClass(java.lang.Class)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getArrayClass< / h4 >
2012-12-27 17:44:04 +01:00
< pre > public static java.lang.Class< ?> getArrayClass(java.lang.Class< ?> componentType)< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the array class of a given component type.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > componentType< / code > - - type of each element in the array.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The class of the array.< / dd > < / dl >
< / li >
< / ul >
< a name = "getCraftItemStackClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getCraftItemStackClass< / h4 >
2012-12-27 17:44:04 +01:00
< pre > public static java.lang.Class< ?> getCraftItemStackClass()< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the CraftItemStack class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The CraftItemStack class.< / dd > < / dl >
< / li >
< / ul >
2013-02-05 23:35:15 +01:00
< a name = "getCraftPlayerClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getCraftPlayerClass< / h4 >
< pre > public static java.lang.Class< ?> getCraftPlayerClass()< / pre >
< div class = "block" > Retrieve the CraftPlayer class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > CraftPlayer class.< / dd > < / dl >
< / li >
< / ul >
2013-03-05 17:07:09 +01:00
< a name = "getCraftEntityClass()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getCraftEntityClass< / h4 >
< pre > public static java.lang.Class< ?> getCraftEntityClass()< / pre >
< div class = "block" > Retrieve the CraftEntity class.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > CraftEntity class.< / dd > < / dl >
< / li >
< / ul >
2012-12-10 16:45:24 +01:00
< a name = "getBukkitItemStack(org.bukkit.inventory.ItemStack)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getBukkitItemStack< / h4 >
2013-03-05 17:07:09 +01:00
< pre > public static org.bukkit.inventory.ItemStack getBukkitItemStack(org.bukkit.inventory.ItemStack bukkitItemStack)< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve a CraftItemStack from a given ItemStack.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > bukkitItemStack< / code > - - the Bukkit ItemStack to convert.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > A CraftItemStack as an ItemStack.< / dd > < / dl >
< / li >
< / ul >
< a name = "getBukkitItemStack(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getBukkitItemStack< / h4 >
2013-03-05 17:07:09 +01:00
< pre > public static org.bukkit.inventory.ItemStack getBukkitItemStack(java.lang.Object minecraftItemStack)< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the Bukkit ItemStack from a given net.minecraft.server ItemStack.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > minecraftItemStack< / code > - - the NMS ItemStack to wrap.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The wrapped ItemStack.< / dd > < / dl >
< / li >
< / ul >
< a name = "getMinecraftItemStack(org.bukkit.inventory.ItemStack)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMinecraftItemStack< / h4 >
2013-03-05 17:07:09 +01:00
< pre > public static java.lang.Object getMinecraftItemStack(org.bukkit.inventory.ItemStack stack)< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > stack< / code > - - the Bukkit ItemStack to convert.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The NMS ItemStack.< / dd > < / dl >
< / li >
< / ul >
< a name = "getCraftBukkitClass(java.lang.String)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getCraftBukkitClass< / h4 >
< pre > public static java.lang.Class getCraftBukkitClass(java.lang.String className)< / pre >
< div class = "block" > Retrieve the class object of a specific CraftBukkit class.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > className< / code > - - the specific CraftBukkit class.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Class object.< / dd >
< dt > < span class = "strong" > Throws:< / span > < / dt >
< dd > < code > java.lang.RuntimeException< / code > - If we are unable to find the given class.< / dd > < / dl >
< / li >
< / ul >
< a name = "getMinecraftClass(java.lang.String)" >
<!-- -->
< / a >
2012-12-27 17:44:04 +01:00
< ul class = "blockList" >
2012-12-10 16:45:24 +01:00
< li class = "blockList" >
< h4 > getMinecraftClass< / h4 >
2012-12-27 17:44:04 +01:00
< pre > public static java.lang.Class< ?> getMinecraftClass(java.lang.String className)< / pre >
2012-12-10 16:45:24 +01:00
< div class = "block" > Retrieve the class object of a specific Minecraft class.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > className< / code > - - the specific Minecraft class.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Class object.< / dd >
< dt > < span class = "strong" > Throws:< / span > < / dt >
< dd > < code > java.lang.RuntimeException< / code > - If we are unable to find the given class.< / dd > < / dl >
< / li >
< / ul >
2012-12-27 17:44:04 +01:00
< a name = "getMinecraftClass(java.lang.String, java.lang.String...)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMinecraftClass< / h4 >
< pre > public static java.lang.Class< ?> getMinecraftClass(java.lang.String className,
java.lang.String... aliases)< / pre >
< div class = "block" > Retrieve the first class that matches a specified Minecraft name.< / div >
2013-02-05 23:35:15 +01:00
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > className< / code > - - the specific Minecraft class.< / dd > < dd > < code > aliases< / code > - - alternative names for this Minecraft class.< / dd >
2012-12-27 17:44:04 +01:00
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Class object.< / dd >
< dt > < span class = "strong" > Throws:< / span > < / dt >
< dd > < code > java.lang.RuntimeException< / code > - If we are unable to find any of the given classes.< / dd > < / dl >
< / li >
< / ul >
< a name = "getNetworkManagerName()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getNetworkManagerName< / h4 >
< pre > public static java.lang.String getNetworkManagerName()< / pre >
< div class = "block" > Dynamically retrieve the NetworkManager name.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Name of the NetworkManager class.< / dd > < / dl >
< / li >
< / ul >
< a name = "getNetLoginHandlerName()" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > getNetLoginHandlerName< / h4 >
< pre > public static java.lang.String getNetLoginHandlerName()< / pre >
< div class = "block" > Dynamically retrieve the name of the current NetLoginHandler.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Name of the NetLoginHandler class.< / dd > < / dl >
< / li >
< / ul >
2012-12-10 16:45:24 +01:00
< / li >
< / ul >
< / li >
< / ul >
< / div >
< / div >
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
< div class = "bottomNav" > < a name = "navbar_bottom" >
<!-- -->
< / a > < a href = "#skip-navbar_bottom" title = "Skip navigation links" > < / a > < 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/MinecraftReflection.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-files/index-1.html" > Index< / a > < / li >
< li > < a href = "../../../../help-doc.html" > Help< / a > < / li >
< / ul >
< / div >
< div class = "subNav" >
< ul class = "navList" >
2013-03-05 17:07:09 +01:00
< li > < a href = "../../../../com/comphenix/protocol/utility/MinecraftMethods.html" title = "class in com.comphenix.protocol.utility" > < span class = "strong" > Prev Class< / span > < / a > < / li >
2013-05-14 01:29:12 +02:00
< li > < a href = "../../../../com/comphenix/protocol/utility/MinecraftVersion.html" title = "class in com.comphenix.protocol.utility" > < span class = "strong" > Next Class< / span > < / a > < / li >
2012-12-10 16:45:24 +01:00
< / ul >
< ul class = "navList" >
< li > < a href = "../../../../index.html?com/comphenix/protocol/utility/MinecraftReflection.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "MinecraftReflection.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 >
2013-02-05 23:35:15 +01:00
< li > Constr | < / li >
2012-12-10 16:45:24 +01:00
< li > < a href = "#method_summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > < a href = "#field_detail" > Field< / a > | < / li >
2013-02-05 23:35:15 +01:00
< li > Constr | < / li >
2012-12-10 16:45:24 +01:00
< li > < a href = "#method_detail" > Method< / a > < / li >
< / ul >
< / div >
< a name = "skip-navbar_bottom" >
<!-- -->
< / a > < / div >
<!-- ======== END OF BOTTOM NAVBAR ======= -->
< / body >
< / html >