forked from Rocologo/MobHunting
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixed NPE bug, when a MyPet killed a mob, while checking for grinding.
- Loading branch information
Rocologo
committed
Aug 2, 2017
1 parent
73dc60a
commit 95a3114
Showing
600 changed files
with
168,752 additions
and
284 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,320 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
<!-- NewPage --> | ||
<html lang="en"> | ||
<head> | ||
<!-- Generated by javadoc (1.8.0_144) on Wed Aug 02 21:16:33 CEST 2017 --> | ||
<title>AbstractPacket</title> | ||
<meta name="date" content="2017-08-02"> | ||
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> | ||
<script type="text/javascript" src="../../../script.js"></script> | ||
</head> | ||
<body> | ||
<script type="text/javascript"><!-- | ||
try { | ||
if (location.href.indexOf('is-external=true') == -1) { | ||
parent.document.title="AbstractPacket"; | ||
} | ||
} | ||
catch(err) { | ||
} | ||
//--> | ||
var methods = {"i0":10,"i1":10,"i2":42,"i3":10}; | ||
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; | ||
var altColor = "altColor"; | ||
var rowColor = "rowColor"; | ||
var tableTab = "tableTab"; | ||
var activeTableTab = "activeTableTab"; | ||
</script> | ||
<noscript> | ||
<div>JavaScript is disabled on your browser.</div> | ||
</noscript> | ||
<!-- ========= START OF TOP NAVBAR ======= --> | ||
<div class="topNav"><a name="navbar.top"> | ||
<!-- --> | ||
</a> | ||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> | ||
<a name="navbar.top.firstrow"> | ||
<!-- --> | ||
</a> | ||
<ul class="navList" title="Navigation"> | ||
<li><a href="../../../overview-summary.html">Overview</a></li> | ||
<li><a href="package-summary.html">Package</a></li> | ||
<li class="navBarCell1Rev">Class</li> | ||
<li><a href="class-use/AbstractPacket.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>Prev Class</li> | ||
<li><a href="../../../com/comphenix/packetwrapper/WrapperPlayServerCollect.html" title="class in com.comphenix.packetwrapper"><span class="typeNameLink">Next Class</span></a></li> | ||
</ul> | ||
<ul class="navList"> | ||
<li><a href="../../../index.html?com/comphenix/packetwrapper/AbstractPacket.html" target="_top">Frames</a></li> | ||
<li><a href="AbstractPacket.html" target="_top">No Frames</a></li> | ||
</ul> | ||
<ul class="navList" id="allclasses_navbar_top"> | ||
<li><a href="../../../allclasses-noframe.html">All Classes</a></li> | ||
</ul> | ||
<div> | ||
<script type="text/javascript"><!-- | ||
allClassesLink = document.getElementById("allclasses_navbar_top"); | ||
if(window==top) { | ||
allClassesLink.style.display = "block"; | ||
} | ||
else { | ||
allClassesLink.style.display = "none"; | ||
} | ||
//--> | ||
</script> | ||
</div> | ||
<div> | ||
<ul class="subNavList"> | ||
<li>Summary: </li> | ||
<li>Nested | </li> | ||
<li>Field | </li> | ||
<li>Constr | </li> | ||
<li><a href="#method.summary">Method</a></li> | ||
</ul> | ||
<ul class="subNavList"> | ||
<li>Detail: </li> | ||
<li>Field | </li> | ||
<li>Constr | </li> | ||
<li><a href="#method.detail">Method</a></li> | ||
</ul> | ||
</div> | ||
<a name="skip.navbar.top"> | ||
<!-- --> | ||
</a></div> | ||
<!-- ========= END OF TOP NAVBAR ========= --> | ||
<!-- ======== START OF CLASS DATA ======== --> | ||
<div class="header"> | ||
<div class="subTitle">com.comphenix.packetwrapper</div> | ||
<h2 title="Class AbstractPacket" class="title">Class AbstractPacket</h2> | ||
</div> | ||
<div class="contentContainer"> | ||
<ul class="inheritance"> | ||
<li>java.lang.Object</li> | ||
<li> | ||
<ul class="inheritance"> | ||
<li>com.comphenix.packetwrapper.AbstractPacket</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
<div class="description"> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<dl> | ||
<dt>Direct Known Subclasses:</dt> | ||
<dd><a href="../../../com/comphenix/packetwrapper/WrapperPlayServerCollect.html" title="class in com.comphenix.packetwrapper">WrapperPlayServerCollect</a>, <a href="../../../com/comphenix/packetwrapper/WrapperPlayServerWorldParticles.html" title="class in com.comphenix.packetwrapper">WrapperPlayServerWorldParticles</a></dd> | ||
</dl> | ||
<hr> | ||
<br> | ||
<pre>public abstract class <span class="typeNameLabel">AbstractPacket</span> | ||
extends java.lang.Object</pre> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="summary"> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<!-- ========== METHOD SUMMARY =========== --> | ||
<ul class="blockList"> | ||
<li class="blockList"><a name="method.summary"> | ||
<!-- --> | ||
</a> | ||
<h3>Method Summary</h3> | ||
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> | ||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> | ||
<tr> | ||
<th class="colFirst" scope="col">Modifier and Type</th> | ||
<th class="colLast" scope="col">Method and Description</th> | ||
</tr> | ||
<tr id="i0" class="altColor"> | ||
<td class="colFirst"><code>com.comphenix.protocol.events.PacketContainer</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/comphenix/packetwrapper/AbstractPacket.html#getHandle--">getHandle</a></span>()</code> | ||
<div class="block">Retrieve a handle to the raw packet data.</div> | ||
</td> | ||
</tr> | ||
<tr id="i1" class="rowColor"> | ||
<td class="colFirst"><code>void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/comphenix/packetwrapper/AbstractPacket.html#receivePacket-org.bukkit.entity.Player-">receivePacket</a></span>(org.bukkit.entity.Player sender)</code> | ||
<div class="block">Simulate receiving the current packet from the given sender.</div> | ||
</td> | ||
</tr> | ||
<tr id="i2" class="altColor"> | ||
<td class="colFirst"><code>void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/comphenix/packetwrapper/AbstractPacket.html#recievePacket-org.bukkit.entity.Player-">recievePacket</a></span>(org.bukkit.entity.Player sender)</code> | ||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> | ||
<div class="block"><span class="deprecationComment">Misspelled. recieve -> receive</span></div> | ||
</div> | ||
</td> | ||
</tr> | ||
<tr id="i3" class="rowColor"> | ||
<td class="colFirst"><code>void</code></td> | ||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../com/comphenix/packetwrapper/AbstractPacket.html#sendPacket-org.bukkit.entity.Player-">sendPacket</a></span>(org.bukkit.entity.Player receiver)</code> | ||
<div class="block">Send the current packet to the given receiver.</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>equals, 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"> | ||
<!-- ============ METHOD DETAIL ========== --> | ||
<ul class="blockList"> | ||
<li class="blockList"><a name="method.detail"> | ||
<!-- --> | ||
</a> | ||
<h3>Method Detail</h3> | ||
<a name="getHandle--"> | ||
<!-- --> | ||
</a> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<h4>getHandle</h4> | ||
<pre>public com.comphenix.protocol.events.PacketContainer getHandle()</pre> | ||
<div class="block">Retrieve a handle to the raw packet data.</div> | ||
<dl> | ||
<dt><span class="returnLabel">Returns:</span></dt> | ||
<dd>Raw packet data.</dd> | ||
</dl> | ||
</li> | ||
</ul> | ||
<a name="sendPacket-org.bukkit.entity.Player-"> | ||
<!-- --> | ||
</a> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<h4>sendPacket</h4> | ||
<pre>public void sendPacket(org.bukkit.entity.Player receiver)</pre> | ||
<div class="block">Send the current packet to the given receiver.</div> | ||
<dl> | ||
<dt><span class="paramLabel">Parameters:</span></dt> | ||
<dd><code>receiver</code> - - the receiver.</dd> | ||
<dt><span class="throwsLabel">Throws:</span></dt> | ||
<dd><code>java.lang.RuntimeException</code> - If the packet cannot be sent.</dd> | ||
</dl> | ||
</li> | ||
</ul> | ||
<a name="recievePacket-org.bukkit.entity.Player-"> | ||
<!-- --> | ||
</a> | ||
<ul class="blockList"> | ||
<li class="blockList"> | ||
<h4>recievePacket</h4> | ||
<pre>@Deprecated | ||
public void recievePacket(org.bukkit.entity.Player sender)</pre> | ||
<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Misspelled. recieve -> receive</span></div> | ||
<div class="block">Simulate receiving the current packet from the given sender.</div> | ||
<dl> | ||
<dt><span class="paramLabel">Parameters:</span></dt> | ||
<dd><code>sender</code> - - the sender.</dd> | ||
<dt><span class="throwsLabel">Throws:</span></dt> | ||
<dd><code>java.lang.RuntimeException</code> - If the packet cannot be received.</dd> | ||
<dt><span class="seeLabel">See Also:</span></dt> | ||
<dd><a href="../../../com/comphenix/packetwrapper/AbstractPacket.html#receivePacket-org.bukkit.entity.Player-"><code>receivePacket(Player)</code></a></dd> | ||
</dl> | ||
</li> | ||
</ul> | ||
<a name="receivePacket-org.bukkit.entity.Player-"> | ||
<!-- --> | ||
</a> | ||
<ul class="blockListLast"> | ||
<li class="blockList"> | ||
<h4>receivePacket</h4> | ||
<pre>public void receivePacket(org.bukkit.entity.Player sender)</pre> | ||
<div class="block">Simulate receiving the current packet from the given sender.</div> | ||
<dl> | ||
<dt><span class="paramLabel">Parameters:</span></dt> | ||
<dd><code>sender</code> - - the sender.</dd> | ||
<dt><span class="throwsLabel">Throws:</span></dt> | ||
<dd><code>java.lang.RuntimeException</code> - if the packet cannot be received.</dd> | ||
</dl> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
<!-- ========= END OF CLASS DATA ========= --> | ||
<!-- ======= START OF BOTTOM NAVBAR ====== --> | ||
<div class="bottomNav"><a name="navbar.bottom"> | ||
<!-- --> | ||
</a> | ||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> | ||
<a name="navbar.bottom.firstrow"> | ||
<!-- --> | ||
</a> | ||
<ul class="navList" title="Navigation"> | ||
<li><a href="../../../overview-summary.html">Overview</a></li> | ||
<li><a href="package-summary.html">Package</a></li> | ||
<li class="navBarCell1Rev">Class</li> | ||
<li><a href="class-use/AbstractPacket.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>Prev Class</li> | ||
<li><a href="../../../com/comphenix/packetwrapper/WrapperPlayServerCollect.html" title="class in com.comphenix.packetwrapper"><span class="typeNameLink">Next Class</span></a></li> | ||
</ul> | ||
<ul class="navList"> | ||
<li><a href="../../../index.html?com/comphenix/packetwrapper/AbstractPacket.html" target="_top">Frames</a></li> | ||
<li><a href="AbstractPacket.html" target="_top">No Frames</a></li> | ||
</ul> | ||
<ul class="navList" id="allclasses_navbar_bottom"> | ||
<li><a href="../../../allclasses-noframe.html">All Classes</a></li> | ||
</ul> | ||
<div> | ||
<script type="text/javascript"><!-- | ||
allClassesLink = document.getElementById("allclasses_navbar_bottom"); | ||
if(window==top) { | ||
allClassesLink.style.display = "block"; | ||
} | ||
else { | ||
allClassesLink.style.display = "none"; | ||
} | ||
//--> | ||
</script> | ||
</div> | ||
<div> | ||
<ul class="subNavList"> | ||
<li>Summary: </li> | ||
<li>Nested | </li> | ||
<li>Field | </li> | ||
<li>Constr | </li> | ||
<li><a href="#method.summary">Method</a></li> | ||
</ul> | ||
<ul class="subNavList"> | ||
<li>Detail: </li> | ||
<li>Field | </li> | ||
<li>Constr | </li> | ||
<li><a href="#method.detail">Method</a></li> | ||
</ul> | ||
</div> | ||
<a name="skip.navbar.bottom"> | ||
<!-- --> | ||
</a></div> | ||
<!-- ======== END OF BOTTOM NAVBAR ======= --> | ||
</body> | ||
</html> |
Oops, something went wrong.