Class Sponge_1_18_2
java.lang.Object
com.elikill58.negativity.api.packets.nms.VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
com.elikill58.negativity.sponge.nms.SpongeVersionAdapter
com.elikill58.negativity.sponge18.nms.Sponge_1_18_2
public class Sponge_1_18_2
extends com.elikill58.negativity.sponge.nms.SpongeVersionAdapter
-
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 TypeMethodDescriptionprotected <T> T
protected <T> T
protected <T> T
protected <T> T
getFromMethod
(Class<?> clazz, Object obj, String methodName) protected <T> T
getFromMethod
(Object obj, String methodName) protected Object
protected String
void
queuePacket
(org.spongepowered.api.entity.living.player.server.ServerPlayer p, Object basicPacket) void
sendPacket
(org.spongepowered.api.entity.living.player.server.ServerPlayer p, Object basicPacket) Methods inherited from class com.elikill58.negativity.sponge.nms.SpongeVersionAdapter
getNameOfPacket, getParsedName, getVersionAdapter
Methods inherited from class com.elikill58.negativity.api.packets.nms.VersionAdapter
callFirstConstructor, getPacket, getPacket, getPacket, getPacket, getPacket, getPacket, getVersion, log, queuePacket, sendPacket
-
Constructor Details
-
Sponge_1_18_2
public Sponge_1_18_2()
-
-
Method Details
-
get
- Overrides:
get
in classVersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
-
get
- Overrides:
get
in classVersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
-
get
- Overrides:
get
in classVersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
-
getSafe
- Overrides:
getSafe
in classVersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
-
getStr
- Overrides:
getStr
in classVersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
-
getFromMethod
- Overrides:
getFromMethod
in classVersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
-
getFromMethod
- Overrides:
getFromMethod
in classVersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
-
sendPacket
public void sendPacket(org.spongepowered.api.entity.living.player.server.ServerPlayer p, Object basicPacket) - Specified by:
sendPacket
in classVersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
-
queuePacket
public void queuePacket(org.spongepowered.api.entity.living.player.server.ServerPlayer p, Object basicPacket) - Specified by:
queuePacket
in classVersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
-