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
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.gamersafer.minecraft.auth.common.map.IMapDisplay
com.gamersafer.minecraft.auth.common.map.IMapDisplay.DisplayCompleter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final Constructora(Constructor f) protected final Fieldprotected final Methodprotected final ClasscomputeMapLocations(int width, int height, org.bukkit.Location playerLocation) protected abstract ObjectcreateDestroyEntityPacket(Object... itemFrames) protected abstract ObjectcreateEntityItemFrame(org.bukkit.Location l, org.bukkit.block.BlockFace direction) protected abstract ObjectcreateEntitySpawnPacket(Object itemFrame) protected abstract ObjectcreateMetaDataPacket(Object itemFrame) protected ObjectgetEntityPlayer(org.bukkit.entity.Player player) protected abstract org.bukkit.block.BlockFaceprotected abstract ObjectgetPlayerConnection(Object entityPlayer) protected abstract voidprotected ObjectnmsItemStack(org.bukkit.inventory.ItemStack item) protected abstract voidsendMapView(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack item) protected abstract voidsendPacket(Object playerConnection, Object packet) protected abstract voidsetEntityItemFrameItem(Object itemFrame, Object item) com.gamersafer.minecraft.auth.common.map.IMapDisplay.DisplayCompletershow(com.gamersafer.minecraft.auth.common.abstraction.IPlayer iplayer, String qr, boolean forceLookQR) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gamersafer.minecraft.auth.common.map.IMapDisplay
isApplicable
-
Constructor Details
-
MapDisplayBase
public MapDisplayBase()
-
-
Method Details
-
getEntityPlayer
- Throws:
Exception
-
nmsItemStack
- 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
- Throws:
Exception
-
createEntitySpawnPacket
- Throws:
Exception
-
createMetaDataPacket
- Throws:
Exception
-
getPlayerConnection
- Throws:
Exception
-
sendPacket
- Throws:
Exception
-
createDestroyEntityPacket
- 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
-
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:
showin interfacecom.gamersafer.minecraft.auth.common.map.IMapDisplay
-
cb
- Throws:
ClassNotFoundException
-
a
-
a
-
a
-