public class VolatileEntityHandler_v1_16_R2 extends Object implements VolatileEntityHandler
Constructor and Description |
---|
VolatileEntityHandler_v1_16_R2(VolatileCodeHandler handler) |
Modifier and Type | Method and Description |
---|---|
AbstractEntity |
addNBTData(AbstractEntity entity,
String key,
Tag value) |
void |
forceCloseWindow(AbstractPlayer target) |
void |
forcePlayCredits(AbstractPlayer target,
float f) |
float |
getEntityAbsorptionHearts(AbstractEntity entity) |
CompoundTag |
getNBTData(AbstractEntity entity) |
void |
hideEntityModel(AbstractEntity target) |
boolean |
isEntityInMotion(AbstractEntity entity,
boolean exact) |
void |
sendActionBarMessageToPlayer(AbstractPlayer target,
String message) |
void |
sendEntityTeleportPacket(AbstractEntity target) |
void |
sendPlayerFakeInventoryItem(AbstractPlayer target,
org.bukkit.inventory.ItemStack stack,
int slot) |
void |
setArmorStandNoGravity(AbstractEntity target) |
void |
setEntityAbsorptionHearts(AbstractEntity entity,
float value) |
void |
setEntityRotation(AbstractEntity target,
float pitch,
float yaw) |
void |
setEntitySpawnReason(AbstractEntity target,
org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason) |
void |
setHitBox(AbstractEntity target,
double a0,
double a1,
double a2) |
void |
setItemPosition(AbstractEntity target,
AbstractLocation ol) |
void |
setLocation(AbstractEntity entity,
AbstractLocation location) |
void |
setLocation(AbstractEntity entity,
double x,
double y,
double z,
float yaw,
float pitch) |
void |
setLocation(AbstractEntity entity,
double x,
double y,
double z,
float yaw,
float pitch,
boolean noRotation,
boolean noGravity) |
AbstractEntity |
setNBTData(AbstractEntity entity,
CompoundTag compoundTag) |
void |
setPlayerRotation(AbstractPlayer entity,
float yaw,
float pitch) |
void |
setPlayerWorldBorder(AbstractPlayer target,
AbstractLocation center,
int radius) |
void |
setSkybox(AbstractPlayer target,
int skybox) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEntityPitch
public VolatileEntityHandler_v1_16_R2(VolatileCodeHandler handler)
public float getEntityAbsorptionHearts(AbstractEntity entity)
getEntityAbsorptionHearts
in interface VolatileEntityHandler
public void setEntityAbsorptionHearts(AbstractEntity entity, float value)
setEntityAbsorptionHearts
in interface VolatileEntityHandler
public void setLocation(AbstractEntity entity, AbstractLocation location)
setLocation
in interface VolatileEntityHandler
public void setLocation(AbstractEntity entity, double x, double y, double z, float yaw, float pitch)
setLocation
in interface VolatileEntityHandler
public void setLocation(AbstractEntity entity, double x, double y, double z, float yaw, float pitch, boolean noRotation, boolean noGravity)
setLocation
in interface VolatileEntityHandler
public void setPlayerRotation(AbstractPlayer entity, float yaw, float pitch)
setPlayerRotation
in interface VolatileEntityHandler
public boolean isEntityInMotion(AbstractEntity entity, boolean exact)
isEntityInMotion
in interface VolatileEntityHandler
public void setHitBox(AbstractEntity target, double a0, double a1, double a2)
setHitBox
in interface VolatileEntityHandler
public void setItemPosition(AbstractEntity target, AbstractLocation ol)
setItemPosition
in interface VolatileEntityHandler
public void sendEntityTeleportPacket(AbstractEntity target)
sendEntityTeleportPacket
in interface VolatileEntityHandler
public void setEntityRotation(AbstractEntity target, float pitch, float yaw)
setEntityRotation
in interface VolatileEntityHandler
public void setArmorStandNoGravity(AbstractEntity target)
setArmorStandNoGravity
in interface VolatileEntityHandler
public void setSkybox(AbstractPlayer target, int skybox)
setSkybox
in interface VolatileEntityHandler
public void forcePlayCredits(AbstractPlayer target, float f)
forcePlayCredits
in interface VolatileEntityHandler
public void forceCloseWindow(AbstractPlayer target)
forceCloseWindow
in interface VolatileEntityHandler
public void setPlayerWorldBorder(AbstractPlayer target, AbstractLocation center, int radius)
setPlayerWorldBorder
in interface VolatileEntityHandler
public void sendPlayerFakeInventoryItem(AbstractPlayer target, org.bukkit.inventory.ItemStack stack, int slot)
sendPlayerFakeInventoryItem
in interface VolatileEntityHandler
public void hideEntityModel(AbstractEntity target)
public void setEntitySpawnReason(AbstractEntity target, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason)
setEntitySpawnReason
in interface VolatileEntityHandler
public AbstractEntity addNBTData(AbstractEntity entity, String key, Tag value)
addNBTData
in interface VolatileEntityHandler
public CompoundTag getNBTData(AbstractEntity entity)
getNBTData
in interface VolatileEntityHandler
public AbstractEntity setNBTData(AbstractEntity entity, CompoundTag compoundTag)
setNBTData
in interface VolatileEntityHandler
public void sendActionBarMessageToPlayer(AbstractPlayer target, String message)
sendActionBarMessageToPlayer
in interface VolatileEntityHandler
Copyright © 2020. All rights reserved.