public class CraftReflection
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static MethodInvoker |
blockInstance |
static WrappedMethod |
bukkitEntity |
static java.lang.Class<?> |
craftBlock |
static java.lang.Class<?> |
craftEntity |
static java.lang.Class<?> |
craftHumanEntity |
static java.lang.Class<?> |
craftItemStack |
static java.lang.Class<?> |
craftWorld |
static MethodInvoker |
entityInstance |
static MethodInvoker |
humanEntityInstance |
static MethodInvoker |
itemStackInstance |
static MethodInvoker |
worldInstance |
Constructor and Description |
---|
CraftReflection() |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.entity.Entity |
getBukkitEntity(java.lang.Object vanillaEntity) |
static java.lang.Object |
getEntity(org.bukkit.entity.Entity entity) |
static java.lang.Object |
getEntityHuman(org.bukkit.entity.HumanEntity entity) |
static java.lang.Object |
getVanillaBlock(org.bukkit.block.Block block) |
static java.lang.Object |
getVanillaItemStack(org.bukkit.inventory.ItemStack stack) |
static java.lang.Object |
getVanillaWorld(org.bukkit.World world) |
public static java.lang.Class<?> craftHumanEntity
public static java.lang.Class<?> craftEntity
public static java.lang.Class<?> craftItemStack
public static java.lang.Class<?> craftBlock
public static java.lang.Class<?> craftWorld
public static MethodInvoker itemStackInstance
public static MethodInvoker humanEntityInstance
public static MethodInvoker entityInstance
public static MethodInvoker blockInstance
public static MethodInvoker worldInstance
public static WrappedMethod bukkitEntity
public static java.lang.Object getVanillaItemStack(org.bukkit.inventory.ItemStack stack)
public static java.lang.Object getEntityHuman(org.bukkit.entity.HumanEntity entity)
public static java.lang.Object getEntity(org.bukkit.entity.Entity entity)
public static java.lang.Object getVanillaBlock(org.bukkit.block.Block block)
public static java.lang.Object getVanillaWorld(org.bukkit.World world)
public static org.bukkit.entity.Entity getBukkitEntity(java.lang.Object vanillaEntity)