<li><ahref="../../../../com/comphenix/protocol/events/PacketAdapter.html"title="class in com.comphenix.protocol.events"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events"><spanclass="strong">Next Class</span></a></li>
<tdclass="colFirst"><code>protected <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object></code></td>
<ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object> structure)</code>
<divclass="block">Creates a packet container for an existing packet.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method_summary">
<!---->
</a>
<h3>Method Summary</h3>
<tableclass="overviewSummary"border="0"cellpadding="3"cellspacing="0"summary="Method Summary table, listing methods, and an explanation">
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.entity.Entity></code></td>
<divclass="block">Retrieves the ID of this packet.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.inventory.ItemStack[]></code></td>
<divclass="block">Retrieves a read/write structure for arrays of ItemStacks.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.inventory.ItemStack></code></td>
<divclass="block">Retrieves a read/write structure for ItemStack.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object></code></td>
<divclass="block">Retrieves the generic structure modifier for this packet.</div>
</td>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code><T> <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><T></code></td>
<divclass="block">Retrieves a read/write structure for every field with the given type.</div>
</td>
</tr>
<trclass="rowColor">
<tdclass="colFirst"><code><ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.WorldType></code></td>
<pre>protected transient <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object> structureModifier</pre>
<divclass="block">Creates a packet container for an existing packet.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>id</code> - - ID of the given packet.</dd><dd><code>handle</code> - - contained packet.</dd></dl>
<ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object> structure)</pre>
<divclass="block">Creates a packet container for an existing packet.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>id</code> - - ID of the given packet.</dd><dd><code>handle</code> - - contained packet.</dd><dd><code>structure</code> - - structure modifier.</dd></dl>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><java.lang.Object> getModifier()</pre>
<divclass="block">Retrieves the generic structure modifier for this packet.</div>
<pre>public <T> <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><T> getSpecificModifier(java.lang.Class<T> primitiveType)</pre>
<divclass="block">Retrieves a read/write structure for every field with the given type.</div>
<dl><dt><spanclass="strong">Parameters:</span></dt><dd><code>primitiveType</code> - - the type to find.</dd>
<dt><spanclass="strong">Returns:</span></dt><dd>A modifier for this specific type.</dd></dl>
</li>
</ul>
<aname="getItemModifier()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getItemModifier</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.inventory.ItemStack> getItemModifier()</pre>
<divclass="block">Retrieves a read/write structure for ItemStack.
<p>
This modifier will automatically marshall between the Bukkit ItemStack and the
internal Minecraft ItemStack.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for ItemStack fields.</dd></dl>
</li>
</ul>
<aname="getItemArrayModifier()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getItemArrayModifier</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.inventory.ItemStack[]> getItemArrayModifier()</pre>
<divclass="block">Retrieves a read/write structure for arrays of ItemStacks.
<p>
This modifier will automatically marshall between the Bukkit ItemStack and the
internal Minecraft ItemStack.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for ItemStack array fields.</dd></dl>
</li>
</ul>
<aname="getWorldTypeModifier()">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getWorldTypeModifier</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.WorldType> getWorldTypeModifier()</pre>
<divclass="block">Retrieves a read/write structure for the world type enum.
<p>
This modifier will automatically marshall between the Bukkit world type and the
internal Minecraft world type.</div>
<dl><dt><spanclass="strong">Returns:</span></dt><dd>A modifier for world type fields.</dd></dl>
</li>
</ul>
<aname="getEntityModifier(org.bukkit.World)">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getEntityModifier</h4>
<pre>public <ahref="../../../../com/comphenix/protocol/reflect/StructureModifier.html"title="class in com.comphenix.protocol.reflect">StructureModifier</a><org.bukkit.entity.Entity> getEntityModifier(org.bukkit.World world)</pre>
<divclass="block">Retrieves a read/write structure for entity objects.
<p>
Note that entities are transmitted by integer ID, and the type may not be enough
to distinguish between entities and other values. Thus, this structure modifier
MAY return null or invalid entities for certain fields. Using the correct index
<li><ahref="../../../../com/comphenix/protocol/events/PacketAdapter.html"title="class in com.comphenix.protocol.events"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../../com/comphenix/protocol/events/PacketEvent.html"title="class in com.comphenix.protocol.events"><spanclass="strong">Next Class</span></a></li>