896 Zeilen
38 KiB
HTML
896 Zeilen
38 KiB
HTML
|
<!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 (version 1.7.0_07) on Mon Dec 10 16:44:13 CET 2012 -->
|
||
|
<title>MinecraftReflection</title>
|
||
|
<meta name="date" content="2012-12-10">
|
||
|
<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">
|
||
|
<li><a href="../../../../com/comphenix/protocol/utility/ChatExtensions.html" title="class in com.comphenix.protocol.utility"><span class="strong">Prev Class</span></a></li>
|
||
|
<li>Next Class</li>
|
||
|
</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>
|
||
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
||
|
<li><a href="#method_summary">Method</a></li>
|
||
|
</ul>
|
||
|
<ul class="subNavList">
|
||
|
<li>Detail: </li>
|
||
|
<li><a href="#field_detail">Field</a> | </li>
|
||
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
||
|
<li><a href="#method_detail">Method</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<a name="skip-navbar_top">
|
||
|
<!-- -->
|
||
|
</a></div>
|
||
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
||
|
<!-- ======== START OF CLASS DATA ======== -->
|
||
|
<div class="header">
|
||
|
<div class="subTitle">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>
|
||
|
<div class="block">Regular expression that matches a Minecraft object.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="constructor_summary">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Constructor Summary</h3>
|
||
|
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
||
|
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||
|
<tr>
|
||
|
<th class="colOne" scope="col">Constructor and Description</th>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colOne"><code><strong><a href="../../../../com/comphenix/protocol/utility/MinecraftReflection.html#MinecraftReflection()">MinecraftReflection</a></strong>()</code> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<!-- ========== METHOD SUMMARY =========== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="method_summary">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Method Summary</h3>
|
||
|
<table class="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">
|
||
|
<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>
|
||
|
<div class="block">Retrieve the array class of a given component type.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<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>
|
||
|
<tr class="altColor">
|
||
|
<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>
|
||
|
<div class="block">Retrieve a CraftItemStack from a given ItemStack.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<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(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>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>static java.lang.Class</code></td>
|
||
|
<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>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>static java.lang.Class</code></td>
|
||
|
<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>
|
||
|
<tr class="altColor">
|
||
|
<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>
|
||
|
<tr class="rowColor">
|
||
|
<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>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>static java.lang.Class</code></td>
|
||
|
<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>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>static java.lang.Class</code></td>
|
||
|
<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>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>static java.lang.Class</code></td>
|
||
|
<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>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>static java.lang.Class</code></td>
|
||
|
<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>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>static java.lang.Class</code></td>
|
||
|
<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>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>static java.lang.Class</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getItemStackClass()">getItemStackClass</a></strong>()</code>
|
||
|
<div class="block">Retrieve the NetLoginHandler class.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<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)">getMinecraftClass</a></strong>(java.lang.String className)</code>
|
||
|
<div class="block">Retrieve the class object of a specific Minecraft class.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>static java.lang.Object</code></td>
|
||
|
<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>
|
||
|
<div class="block">Retrieve the net.minecraft.server ItemStack from a Bukkit ItemStack.</div>
|
||
|
</td>
|
||
|
</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#getMinecraftPackage()">getMinecraftPackage</a></strong>()</code>
|
||
|
<div class="block">Retrieve the name of the Minecraft server package.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>static java.lang.Class</code></td>
|
||
|
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/utility/MinecraftReflection.html#getNetLoginHandlerClass()">getNetLoginHandlerClass</a></strong>()</code>
|
||
|
<div class="block">Retrieve the NetLoginHandler class.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>static java.lang.Class</code></td>
|
||
|
<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>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>static java.lang.Class</code></td>
|
||
|
<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>
|
||
|
<tr class="altColor">
|
||
|
<td class="colFirst"><code>static java.lang.Class</code></td>
|
||
|
<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>
|
||
|
<tr class="rowColor">
|
||
|
<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>
|
||
|
<tr class="altColor">
|
||
|
<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>
|
||
|
<tr class="rowColor">
|
||
|
<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>
|
||
|
<tr class="altColor">
|
||
|
<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>
|
||
|
<tr class="rowColor">
|
||
|
<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>
|
||
|
<tr class="altColor">
|
||
|
<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>
|
||
|
<div class="block">Determine if the given object is a NetLoginHandler.</div>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr class="rowColor">
|
||
|
<td class="colFirst"><code>static boolean</code></td>
|
||
|
<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>
|
||
|
<tr class="altColor">
|
||
|
<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>
|
||
|
<tr class="rowColor">
|
||
|
<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>
|
||
|
<tr class="altColor">
|
||
|
<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>
|
||
|
<tr class="rowColor">
|
||
|
<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>
|
||
|
<tr class="altColor">
|
||
|
<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>
|
||
|
<tr class="rowColor">
|
||
|
<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>
|
||
|
<pre>public static final java.lang.String MINECRAFT_OBJECT</pre>
|
||
|
<div class="block">Regular expression that matches a Minecraft object.</div>
|
||
|
<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>
|
||
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="constructor_detail">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Constructor Detail</h3>
|
||
|
<a name="MinecraftReflection()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockListLast">
|
||
|
<li class="blockList">
|
||
|
<h4>MinecraftReflection</h4>
|
||
|
<pre>public MinecraftReflection()</pre>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<!-- ============ METHOD DETAIL ========== -->
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList"><a name="method_detail">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<h3>Method Detail</h3>
|
||
|
<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>
|
||
|
<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>
|
||
|
<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="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>
|
||
|
<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>
|
||
|
<div class="block">Determine if the given object is a NetLoginHandler.</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="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>
|
||
|
<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="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>
|
||
|
<pre>public static java.lang.Class getEntityPlayerClass()</pre>
|
||
|
<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>
|
||
|
<pre>public static java.lang.Class getEntityClass()</pre>
|
||
|
<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>
|
||
|
<a name="getPacketClass()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getPacketClass</h4>
|
||
|
<pre>public static java.lang.Class getPacketClass()</pre>
|
||
|
<div class="block">Retrieve the packet class.</div>
|
||
|
<dl><dt><span class="strong">Returns:</span></dt><dd>The packet class.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getNetLoginHandlerClass()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getNetLoginHandlerClass</h4>
|
||
|
<pre>public static java.lang.Class getNetLoginHandlerClass()</pre>
|
||
|
<div class="block">Retrieve the NetLoginHandler class.</div>
|
||
|
<dl><dt><span class="strong">Returns:</span></dt><dd>The NetLoginHandler class.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getItemStackClass()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getItemStackClass</h4>
|
||
|
<pre>public static java.lang.Class getItemStackClass()</pre>
|
||
|
<div class="block">Retrieve the NetLoginHandler class.</div>
|
||
|
<dl><dt><span class="strong">Returns:</span></dt><dd>The NetLoginHandler class.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getWorldTypeClass()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<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>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getDataWatcherClass()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getDataWatcherClass</h4>
|
||
|
<pre>public static java.lang.Class getDataWatcherClass()</pre>
|
||
|
<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>
|
||
|
<pre>public static java.lang.Class getChunkPositionClass()</pre>
|
||
|
<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>
|
||
|
<pre>public static java.lang.Class getChunkCoordinatesClass()</pre>
|
||
|
<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>
|
||
|
<pre>public static java.lang.Class getWatchableObjectClass()</pre>
|
||
|
<div class="block">Retrieve the WatchableObject class.</div>
|
||
|
<dl><dt><span class="strong">Returns:</span></dt><dd>The WatchableObject class.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getItemStackArrayClass()">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getItemStackArrayClass</h4>
|
||
|
<pre>public static java.lang.Class getItemStackArrayClass()</pre>
|
||
|
<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>
|
||
|
<pre>public static java.lang.Class getArrayClass(java.lang.Class componentType)</pre>
|
||
|
<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>
|
||
|
<pre>public static java.lang.Class getCraftItemStackClass()</pre>
|
||
|
<div class="block">Retrieve the CraftItemStack class.</div>
|
||
|
<dl><dt><span class="strong">Returns:</span></dt><dd>The CraftItemStack class.</dd></dl>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<a name="getBukkitItemStack(org.bukkit.inventory.ItemStack)">
|
||
|
<!-- -->
|
||
|
</a>
|
||
|
<ul class="blockList">
|
||
|
<li class="blockList">
|
||
|
<h4>getBukkitItemStack</h4>
|
||
|
<pre>public static org.bukkit.inventory.ItemStack getBukkitItemStack(org.bukkit.inventory.ItemStack bukkitItemStack)</pre>
|
||
|
<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>
|
||
|
<pre>public static org.bukkit.inventory.ItemStack getBukkitItemStack(java.lang.Object minecraftItemStack)</pre>
|
||
|
<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>
|
||
|
<pre>public static java.lang.Object getMinecraftItemStack(org.bukkit.inventory.ItemStack stack)</pre>
|
||
|
<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>
|
||
|
<ul class="blockListLast">
|
||
|
<li class="blockList">
|
||
|
<h4>getMinecraftClass</h4>
|
||
|
<pre>public static java.lang.Class getMinecraftClass(java.lang.String className)</pre>
|
||
|
<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>
|
||
|
</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">
|
||
|
<li><a href="../../../../com/comphenix/protocol/utility/ChatExtensions.html" title="class in com.comphenix.protocol.utility"><span class="strong">Prev Class</span></a></li>
|
||
|
<li>Next Class</li>
|
||
|
</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>
|
||
|
<li><a href="#constructor_summary">Constr</a> | </li>
|
||
|
<li><a href="#method_summary">Method</a></li>
|
||
|
</ul>
|
||
|
<ul class="subNavList">
|
||
|
<li>Detail: </li>
|
||
|
<li><a href="#field_detail">Field</a> | </li>
|
||
|
<li><a href="#constructor_detail">Constr</a> | </li>
|
||
|
<li><a href="#method_detail">Method</a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<a name="skip-navbar_bottom">
|
||
|
<!-- -->
|
||
|
</a></div>
|
||
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||
|
</body>
|
||
|
</html>
|