public class VersionMediator extends Object
Constructor and Description |
---|
VersionMediator() |
Modifier and Type | Method and Description |
---|---|
static void |
changeItemFrameVisibility(org.bukkit.entity.ItemFrame itemFrame,
boolean visible) |
static Object |
getEmptyMapIcon() |
static org.bukkit.Material |
getFilledMap() |
static org.bukkit.inventory.ItemStack |
getItemInHand(org.bukkit.entity.Player player) |
static byte[] |
getMapColors() |
static Object |
getMapIcon(byte x,
byte y) |
static int |
getMapID(org.bukkit.inventory.ItemStack item) |
static int |
getMapViewID(org.bukkit.map.MapView view) |
static boolean |
hasOnlyOneHand() |
static boolean |
hasTabCompleteEvent() |
static boolean |
isItemFrame(org.bukkit.entity.Entity entity) |
static void |
reload() |
static void |
setMapID(org.bukkit.inventory.ItemStack item,
int id) |
static void |
setup(String version) |
static boolean |
supportEntityFacing() |
static void |
writeMapPacket(com.comphenix.protocol.events.PacketContainer mapPacket,
int mapID,
Object pointers,
byte[] renderData) |
public static void setup(String version)
public static Object getEmptyMapIcon()
public static Object getMapIcon(byte x, byte y)
public static int getMapID(org.bukkit.inventory.ItemStack item)
public static void setMapID(org.bukkit.inventory.ItemStack item, int id)
public static int getMapViewID(org.bukkit.map.MapView view)
public static org.bukkit.Material getFilledMap()
public static org.bukkit.inventory.ItemStack getItemInHand(org.bukkit.entity.Player player)
public static void changeItemFrameVisibility(org.bukkit.entity.ItemFrame itemFrame, boolean visible)
public static byte[] getMapColors()
public static void writeMapPacket(com.comphenix.protocol.events.PacketContainer mapPacket, int mapID, Object pointers, byte[] renderData)
public static boolean isItemFrame(org.bukkit.entity.Entity entity)
public static boolean supportEntityFacing()
public static boolean hasOnlyOneHand()
public static boolean hasTabCompleteEvent()
public static void reload()
Copyright © 2021. All rights reserved.