public abstract class SpigotVersionAdapter extends VersionAdapter<org.bukkit.entity.Player>
negativityToPlatform, packetsHandshake, packetsPlayIn, packetsPlayOut, packetsStatus, unknownPacket, version
Constructor and Description |
---|
SpigotVersionAdapter(String version) |
Modifier and Type | Method and Description |
---|---|
abstract float |
cos(float f) |
org.bukkit.inventory.ItemStack |
createSkull(org.bukkit.OfflinePlayer owner) |
abstract double |
getAverageTps() |
abstract BlockPosition |
getBlockPosition(Object obj) |
List<org.bukkit.entity.Entity> |
getEntities(org.bukkit.World w) |
Class<?> |
getEnumPlayerInfoAction() |
List<io.netty.channel.ChannelFuture> |
getFuturChannel() |
protected abstract String |
getOnGroundFieldName() |
List<org.bukkit.entity.Player> |
getOnlinePlayers() |
io.netty.channel.Channel |
getPlayerChannel(org.bukkit.entity.Player p) |
Object |
getPlayerConnection(org.bukkit.entity.Player p) |
abstract int |
getPlayerPing(org.bukkit.entity.Player player) |
double[] |
getTps() |
Vector |
getVectorFromVec3D(Object vec) |
static SpigotVersionAdapter |
getVersionAdapter() |
void |
queuePacket(org.bukkit.entity.Player p,
Object packet) |
void |
sendPacket(org.bukkit.entity.Player p,
Object packet) |
abstract float |
sin(float f) |
callFirstConstructor, get, get, get, getFromMethod, getFromMethod, getNameOfPacket, getPacket, getPacket, getPacket, getPacket, getPacket, getPacket, getSafe, getStr, getVersion, log, queuePacket, sendPacket
public SpigotVersionAdapter(String version)
protected abstract String getOnGroundFieldName()
public abstract double getAverageTps()
public abstract float cos(float f)
public abstract float sin(float f)
public List<org.bukkit.entity.Player> getOnlinePlayers()
public abstract int getPlayerPing(org.bukkit.entity.Player player)
public Class<?> getEnumPlayerInfoAction()
public double[] getTps()
public Object getPlayerConnection(org.bukkit.entity.Player p)
public io.netty.channel.Channel getPlayerChannel(org.bukkit.entity.Player p)
public List<io.netty.channel.ChannelFuture> getFuturChannel()
public List<org.bukkit.entity.Entity> getEntities(org.bukkit.World w)
public abstract BlockPosition getBlockPosition(Object obj)
public org.bukkit.inventory.ItemStack createSkull(org.bukkit.OfflinePlayer owner)
public static SpigotVersionAdapter getVersionAdapter()
public void sendPacket(org.bukkit.entity.Player p, Object packet)
sendPacket
in class VersionAdapter<org.bukkit.entity.Player>
public void queuePacket(org.bukkit.entity.Player p, Object packet)
queuePacket
in class VersionAdapter<org.bukkit.entity.Player>