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
  • Constructor Details

    • Sponge_1_18_2

      public Sponge_1_18_2()
  • Method Details

    • get

      protected <T> T get(Object obj, Class<?> clazz, String name)
      Overrides:
      get in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
    • get

      protected <T> T get(Object obj, String name)
      Overrides:
      get in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
    • get

      protected <T> T get(Class<?> clazz, Object obj, String name)
      Overrides:
      get in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
    • getSafe

      protected Object getSafe(Object obj, String name)
      Overrides:
      getSafe in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
    • getStr

      protected String getStr(Object obj, String name)
      Overrides:
      getStr in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
    • getFromMethod

      protected <T> T getFromMethod(Object obj, String methodName)
      Overrides:
      getFromMethod in class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>
    • getFromMethod

      protected <T> T getFromMethod(Class<?> clazz, Object obj, String methodName)
      Overrides:
      getFromMethod in class VersionAdapter<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 class VersionAdapter<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 class VersionAdapter<org.spongepowered.api.entity.living.player.server.ServerPlayer>