public class Reflection extends Object
Modifier and Type | Field and Description |
---|---|
static org.inventivetalent.reflection.resolver.ClassResolver |
classResolver |
static boolean |
is1_7 |
static boolean |
is1_8 |
static boolean |
is1_9 |
static org.inventivetalent.reflection.resolver.minecraft.NMSClassResolver |
nmsClassResolver |
static org.inventivetalent.reflection.resolver.minecraft.OBCClassResolver |
obcClassResolver |
Constructor and Description |
---|
Reflection() |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.entity.EntityDamageEvent.DamageCause |
damageSourceToCause(String damageName) |
static boolean |
doesClassExist(String name) |
static String |
getDamageSourceName(Object damageSource) |
static Object |
getDataWatcher(org.bukkit.entity.Entity ent) |
static org.bukkit.entity.Entity |
getEntityById(org.bukkit.World world,
int id) |
static org.bukkit.entity.Entity |
getEntityFromDamageSource(Object damageSource) |
static String |
getMethodSignature(Method method) |
static void |
mergeNBTCompound(Object originalTag,
Object toMerge) |
public static final boolean is1_9
public static final boolean is1_8
public static final boolean is1_7
public static final org.inventivetalent.reflection.resolver.ClassResolver classResolver
public static final org.inventivetalent.reflection.resolver.minecraft.NMSClassResolver nmsClassResolver
public static final org.inventivetalent.reflection.resolver.minecraft.OBCClassResolver obcClassResolver
public static boolean doesClassExist(String name)
public static org.bukkit.event.entity.EntityDamageEvent.DamageCause damageSourceToCause(String damageName)
public static org.bukkit.entity.Entity getEntityFromDamageSource(Object damageSource)
public static org.bukkit.entity.Entity getEntityById(org.bukkit.World world, int id)
public static Object getDataWatcher(org.bukkit.entity.Entity ent)
Copyright © 2018. All rights reserved.