public abstract class PacketOutputAdapter extends java.lang.Object implements PacketOutputHandler
Constructor and Description |
---|
PacketOutputAdapter(org.bukkit.plugin.Plugin plugin,
ListenerPriority priority)
Construct a new packet output adapter with the given values.
|
Modifier and Type | Method and Description |
---|---|
org.bukkit.plugin.Plugin |
getPlugin()
The plugin that owns this output handler.
|
ListenerPriority |
getPriority()
Retrieve the priority that decides the order each network handler is allowed to manipulate the output buffer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handle
public PacketOutputAdapter(org.bukkit.plugin.Plugin plugin, ListenerPriority priority)
priority
- - the output handler priority.plugin
- - the owner plugin.public org.bukkit.plugin.Plugin getPlugin()
PacketOutputHandler
getPlugin
in interface PacketOutputHandler
public ListenerPriority getPriority()
PacketOutputHandler
Higher priority is executed before lower.
getPriority
in interface PacketOutputHandler