Class MapDisplayBase

java.lang.Object
com.gamersafer.minecraft.auth.paper.map.MapDisplayBase
All Implemented Interfaces:
com.gamersafer.minecraft.auth.common.map.IMapDisplay
Direct Known Subclasses:
MapDisplay112To116, MapDisplay117, MapDisplay118, MapDisplay119Plus, MapDisplay1To112

public abstract class MapDisplayBase extends Object implements com.gamersafer.minecraft.auth.common.map.IMapDisplay
  • Constructor Details

    • MapDisplayBase

      public MapDisplayBase()
  • Method Details

    • getEntityPlayer

      protected Object getEntityPlayer(org.bukkit.entity.Player player) throws Exception
      Throws:
      Exception
    • nmsItemStack

      protected Object nmsItemStack(org.bukkit.inventory.ItemStack item) throws Exception
      Throws:
      Exception
    • initReflections

      protected abstract void initReflections()
    • createEntityItemFrame

      protected abstract Object createEntityItemFrame(org.bukkit.Location l, org.bukkit.block.BlockFace direction) throws Exception
      Throws:
      Exception
    • setEntityItemFrameItem

      protected abstract void setEntityItemFrameItem(Object itemFrame, Object item) throws Exception
      Throws:
      Exception
    • createEntitySpawnPacket

      protected abstract Object createEntitySpawnPacket(Object itemFrame) throws Exception
      Throws:
      Exception
    • createMetaDataPacket

      protected abstract Object createMetaDataPacket(Object itemFrame) throws Exception
      Throws:
      Exception
    • getPlayerConnection

      protected abstract Object getPlayerConnection(Object entityPlayer) throws Exception
      Throws:
      Exception
    • sendPacket

      protected abstract void sendPacket(Object playerConnection, Object packet) throws Exception
      Throws:
      Exception
    • createDestroyEntityPacket

      protected abstract Object createDestroyEntityPacket(Object... itemFrames) throws Exception
      Throws:
      Exception
    • sendMapView

      protected abstract void sendMapView(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack item)
    • getMapFacing

      protected abstract org.bukkit.block.BlockFace getMapFacing()
    • computeMapLocations

      protected abstract List<List<org.bukkit.Location>> computeMapLocations(int width, int height, org.bukkit.Location playerLocation)
    • show

      public com.gamersafer.minecraft.auth.common.map.IMapDisplay.DisplayCompleter show(com.gamersafer.minecraft.auth.common.abstraction.IPlayer iplayer, String qr, boolean forceLookQR)
      Specified by:
      show in interface com.gamersafer.minecraft.auth.common.map.IMapDisplay
    • cb

      protected final Class cb(String name) throws ClassNotFoundException
      Throws:
      ClassNotFoundException
    • a

      protected final Field a(Field f)
    • a

      protected final Method a(Method f)
    • a

      protected final Constructor a(Constructor f)