Class Spigot_1_17_R1
java.lang.Object
com.elikill58.negativity.api.packets.nms.VersionAdapter<org.bukkit.entity.Player>
com.elikill58.negativity.spigot.nms.SpigotVersionAdapter
com.elikill58.negativity.spigot17.Spigot_1_17_R1
public class Spigot_1_17_R1
extends com.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
Field Summary
Fields inherited from class com.elikill58.negativity.api.packets.nms.VersionAdapter
negativityToPlatform, packetsHandshake, packetsPlayIn, packetsPlayOut, packetsStatus, unknownPacket, version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
cos(float f)
double
getBlockPosition(Object obj)
getBoundingBox(org.bukkit.entity.Entity et)
List<org.bukkit.entity.Entity>
getEntities(org.bukkit.World w)
Class<?>
List<io.netty.channel.ChannelFuture>
protected String
List<org.bukkit.entity.Player>
io.netty.channel.Channel
getPlayerChannel(org.bukkit.entity.Player p)
net.minecraft.server.network.ServerGamePacketListenerImpl
getPlayerConnection(org.bukkit.entity.Player p)
int
getPlayerPing(org.bukkit.entity.Player player)
double[]
getTps()
void
queuePacket(org.bukkit.entity.Player p, Object packet)
void
sendPacket(org.bukkit.entity.Player p, Object packet)
float
sin(float f)
Methods inherited from class com.elikill58.negativity.spigot.nms.SpigotVersionAdapter
createSkull, getNetworkManager, getVectorFromVec3D, getVersionAdapter
Methods inherited from class com.elikill58.negativity.api.packets.nms.VersionAdapter
callFirstConstructor, get, get, get, getFromMethod, getFromMethod, getNameOfPacket, getPacket, getPacket, getPacket, getSafe, getStr, getVersion, log, queuePacket, sendPacket
-
Constructor Details
-
Spigot_1_17_R1
public Spigot_1_17_R1()
-
-
Method Details
-
getOnGroundFieldName
- Specified by:
getOnGroundFieldName
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
getOnlinePlayers
- Overrides:
getOnlinePlayers
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
getAverageTps
public double getAverageTps()- Specified by:
getAverageTps
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
getPlayerPing
public int getPlayerPing(org.bukkit.entity.Player player)- Specified by:
getPlayerPing
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
getEnumPlayerInfoAction
- Overrides:
getEnumPlayerInfoAction
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
getTps
public double[] getTps()- Overrides:
getTps
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
getPlayerConnection
public net.minecraft.server.network.ServerGamePacketListenerImpl getPlayerConnection(org.bukkit.entity.Player p)- Overrides:
getPlayerConnection
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
sendPacket
- Overrides:
sendPacket
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
queuePacket
- Overrides:
queuePacket
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
getPlayerChannel
public io.netty.channel.Channel getPlayerChannel(org.bukkit.entity.Player p)- Overrides:
getPlayerChannel
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
getEntities
- Overrides:
getEntities
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
getFuturChannel
- Overrides:
getFuturChannel
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
cos
public float cos(float f)- Specified by:
cos
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
sin
public float sin(float f)- Specified by:
sin
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
getBlockPosition
- Specified by:
getBlockPosition
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-
getBoundingBox
- Overrides:
getBoundingBox
in classcom.elikill58.negativity.spigot.nms.SpigotVersionAdapter
-