public class EntityHook extends com.bergerkiller.mountiplex.reflection.ClassHook<EntityHook>
com.bergerkiller.mountiplex.reflection.ClassHook.HookMethod
com.bergerkiller.mountiplex.reflection.ClassInterceptor.EnhancedClass, com.bergerkiller.mountiplex.reflection.ClassInterceptor.EnhancedObject, com.bergerkiller.mountiplex.reflection.ClassInterceptor.MethodInvokable, com.bergerkiller.mountiplex.reflection.ClassInterceptor.NullInvokable
Constructor and Description |
---|
EntityHook() |
Modifier and Type | Method and Description |
---|---|
boolean |
base_onInteractBy(org.bukkit.entity.HumanEntity humanEntity,
HumanHand humanHand) |
boolean |
c(Object tag) |
void |
collide(Object entity) |
boolean |
d(Object tag) |
void |
die() |
EntityController<?> |
getController() |
String |
getName_base()
Because the entity type is not registered, there are some issues with the base getName().
|
String |
getName() |
boolean |
hasController() |
void |
onBurn(float damage) |
boolean |
onDamageEntity(Object damageSource,
float damage) |
boolean |
onInteractBy_1_10_2(Object entityHuman,
Object itemstack,
Object enumHand)
Deprecated.
|
boolean |
onInteractBy_1_11_2(Object entityHuman,
Object enumHand)
Deprecated.
|
boolean |
onInteractBy_1_8_8(Object entityHuman)
Deprecated.
|
boolean |
onInteractBy(org.bukkit.entity.HumanEntity humanEntity,
HumanHand humanHand) |
void |
onMove_old(double dx,
double dy,
double dz)
Deprecated.
|
void |
onMove(Object enumMoveType,
double dx,
double dy,
double dz) |
void |
onPush(double dx,
double dy,
double dz) |
void |
onTick() |
void |
setController(EntityController<?> controller) |
void |
setInventoryItem(int i,
Object itemstack) |
void |
setStack(Throwable t) |
getCallback, onClassGenerated
public void setStack(Throwable t)
public boolean hasController()
public EntityController<?> getController()
public void setController(EntityController<?> controller)
public boolean base_onInteractBy(org.bukkit.entity.HumanEntity humanEntity, HumanHand humanHand)
@Deprecated public boolean onInteractBy_1_8_8(Object entityHuman)
@Deprecated public boolean onInteractBy_1_10_2(Object entityHuman, Object itemstack, Object enumHand)
@Deprecated public boolean onInteractBy_1_11_2(Object entityHuman, Object enumHand)
public boolean onInteractBy(org.bukkit.entity.HumanEntity humanEntity, HumanHand humanHand)
public boolean onDamageEntity(Object damageSource, float damage)
public void onTick()
public void onBurn(float damage)
public void onPush(double dx, double dy, double dz)
public void onMove(Object enumMoveType, double dx, double dy, double dz)
@Deprecated public void onMove_old(double dx, double dy, double dz)
public void die()
public String getName()
public String getName_base()
public boolean c(Object tag)
public boolean d(Object tag)
public void collide(Object entity)
public void setInventoryItem(int i, Object itemstack)
Copyright © 2019. All rights reserved.