public final class BukkitAdapter extends Object
Constructor and Description |
---|
BukkitAdapter() |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.entity.Entity |
adapt(AbstractEntity entity)
Convert a MythicMobs AbstractEntity to a Bukkit Entity
|
static org.bukkit.inventory.ItemStack |
adapt(AbstractItemStack item)
Convert a MythicMobs AbstractPlayer to a Bukkit Player
|
static org.bukkit.Location |
adapt(AbstractLocation location)
Convert a MythicMobs AbstractLocation to a Bukkit Location
|
static org.bukkit.entity.Player |
adapt(AbstractPlayer player)
Convert a MythicMobs AbstractPlayer to a Bukkit Player
|
static org.bukkit.util.Vector |
adapt(AbstractVector vector)
Convert a MythicMobs AbstractVector to a Bukkit Vector
|
static org.bukkit.World |
adapt(AbstractWorld world)
Convert a MythicMobs AbstractWorld to a Bukkit World
|
static AbstractBiome |
adapt(org.bukkit.block.Biome b)
Deprecated.
|
static AbstractEntity |
adapt(org.bukkit.entity.Entity entity)
Convert an Bukkit Entity to a MythicMobs AbstractEntity
|
static AbstractItemStack |
adapt(org.bukkit.inventory.ItemStack item)
Convert a Bukkit ItemStack to a MythicMobs AbstractItemStack
|
static AbstractLocation |
adapt(org.bukkit.Location location)
Convert a Bukkit Location to a MythicMob AbstractLocation
|
static AbstractPlayer |
adapt(org.bukkit.entity.Player player)
Convert a Bukkit Player to a MythicMobs AbstractPlayer
|
static AbstractVector |
adapt(org.bukkit.util.Vector vector)
Convert a Bukkit Vector to a MythicMob AbstractVector
|
static AbstractWorld |
adapt(org.bukkit.World world)
Convert a Bukkit World to a MythicMob AbstractWorld
|
public static AbstractEntity adapt(org.bukkit.entity.Entity entity)
entity
- the Bukkit Entitypublic static org.bukkit.entity.Entity adapt(AbstractEntity entity)
entity
- the AbstractEntitypublic static AbstractPlayer adapt(org.bukkit.entity.Player player)
player
- the Bukkit Playerpublic static org.bukkit.inventory.ItemStack adapt(AbstractItemStack item)
item
- the Bukkit Playerpublic static AbstractItemStack adapt(org.bukkit.inventory.ItemStack item)
item
- the Bukkit ItemStackpublic static org.bukkit.entity.Player adapt(AbstractPlayer player)
player
- the Bukkit Playerpublic static AbstractWorld adapt(org.bukkit.World world)
world
- the Bukkit worldpublic static org.bukkit.World adapt(AbstractWorld world)
world
- the MythicMobs AbstractWorldpublic static AbstractLocation adapt(org.bukkit.Location location)
location
- the Bukkit Locationpublic static org.bukkit.Location adapt(AbstractLocation location)
location
- the MythicMobs AbstractLocationpublic static AbstractVector adapt(org.bukkit.util.Vector vector)
vector
- the Bukkit Vectorpublic static org.bukkit.util.Vector adapt(AbstractVector vector)
vector
- the MythicMobs AbstractVector@Deprecated public static AbstractBiome adapt(org.bukkit.block.Biome b)
Copyright © 2020. All rights reserved.