Class MapDisplay117
java.lang.Object
com.gamersafer.minecraft.auth.paper.map.MapDisplayBase
com.gamersafer.minecraft.auth.paper.map.MapDisplay117
- All Implemented Interfaces:
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 TypeMethodDescriptioncomputeMapLocations
(int width, int height, org.bukkit.Location playerLocation) protected Object
createDestroyEntityPacket
(Object... itemFrames) protected Object
createEntityItemFrame
(org.bukkit.Location l, org.bukkit.block.BlockFace direction) protected Object
createEntitySpawnPacket
(Object itemFrame) protected Object
createMetaDataPacket
(Object itemFrame) protected org.bukkit.block.BlockFace
protected Object
getPlayerConnection
(Object entityPlayer) protected void
boolean
protected void
sendMapView
(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack item) protected void
sendPacket
(Object playerConnection, Object packet) protected void
setEntityItemFrameItem
(Object itemFrame, Object item) Methods inherited from class com.gamersafer.minecraft.auth.paper.map.MapDisplayBase
a, a, a, cb, getEntityPlayer, nmsItemStack, show
-
Constructor Details
-
MapDisplay117
public MapDisplay117()
-
-
Method Details
-
isApplicable
public boolean isApplicable() -
initReflections
protected void initReflections()- Specified by:
initReflections
in classMapDisplayBase
-
createEntityItemFrame
protected Object createEntityItemFrame(org.bukkit.Location l, org.bukkit.block.BlockFace direction) throws Exception - Specified by:
createEntityItemFrame
in classMapDisplayBase
- Throws:
Exception
-
setEntityItemFrameItem
- Specified by:
setEntityItemFrameItem
in classMapDisplayBase
- Throws:
Exception
-
createEntitySpawnPacket
- Specified by:
createEntitySpawnPacket
in classMapDisplayBase
- Throws:
Exception
-
createMetaDataPacket
- Specified by:
createMetaDataPacket
in classMapDisplayBase
- Throws:
Exception
-
getPlayerConnection
- Specified by:
getPlayerConnection
in classMapDisplayBase
- Throws:
Exception
-
sendPacket
- Specified by:
sendPacket
in classMapDisplayBase
- Throws:
Exception
-
createDestroyEntityPacket
- Specified by:
createDestroyEntityPacket
in classMapDisplayBase
- Throws:
Exception
-
sendMapView
protected void sendMapView(org.bukkit.entity.Player player, org.bukkit.inventory.ItemStack item) - Specified by:
sendMapView
in classMapDisplayBase
-
computeMapLocations
protected List<List<org.bukkit.Location>> computeMapLocations(int width, int height, org.bukkit.Location playerLocation) - Specified by:
computeMapLocations
in classMapDisplayBase
-
getMapFacing
protected org.bukkit.block.BlockFace getMapFacing()- Specified by:
getMapFacing
in classMapDisplayBase
-