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
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Constructor
a
(Constructor f) protected final Field
protected final Method
protected final Class
computeMapLocations
(int width, int height, org.bukkit.Location playerLocation) protected abstract Object
createDestroyEntityPacket
(Object... itemFrames) protected abstract Object
createEntityItemFrame
(org.bukkit.Location l, org.bukkit.block.BlockFace direction) protected abstract Object
createEntitySpawnPacket
(Object itemFrame) protected abstract Object
createMetaDataPacket
(Object itemFrame) protected Object
getEntityPlayer
(org.bukkit.entity.Player player) protected abstract org.bukkit.block.BlockFace
protected abstract Object
getPlayerConnection
(Object entityPlayer) protected abstract void
protected Object
nmsItemStack
(org.bukkit.inventory.ItemStack item) protected abstract void
sendMapView
(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack item) protected abstract void
sendPacket
(Object playerConnection, Object packet) protected abstract void
setEntityItemFrameItem
(Object itemFrame, Object item) com.gamersafer.minecraft.auth.common.map.IMapDisplay.DisplayCompleter
show
(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, wait
Methods 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:
show
in interfacecom.gamersafer.minecraft.auth.common.map.IMapDisplay
-
cb
- Throws:
ClassNotFoundException
-
a
-
a
-
a
-