public final class PetBlockHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
PetBlockHelper.TickCallBack |
| Modifier and Type | Method and Description |
|---|---|
static int |
afraidWaterEffect(org.bukkit.entity.Entity entity,
int counter) |
static int |
doTick(int counter,
com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
PetBlockHelper.TickCallBack callBack) |
static void |
eject(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.entity.Player player,
PetBlockHelper.TickCallBack callBack) |
static long |
executeMovingSound(org.bukkit.entity.Entity entity,
org.bukkit.entity.Player owner,
com.github.shynixn.petblocks.api.persistence.entity.PetMeta petMeta,
long previous) |
static boolean |
isDead(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock) |
static int |
isNegative(Random rand) |
static void |
jump(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock) |
static void |
launch(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.util.Vector vector) |
static void |
refreshHeadItemMeta(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.inventory.ItemStack itemStack) |
static void |
remove(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock) |
static void |
respawn(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
PetBlockHelper.TickCallBack callBack) |
static double |
setDamage(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
double health,
double damage,
PetBlockHelper.TickCallBack callBack) |
static boolean |
setDieing(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock) |
static void |
setDisplayName(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
String name) |
static void |
setItemConsideringAge(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock) |
static void |
setRiding(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.entity.Player player) |
static void |
setSkin(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.Material material,
byte data) |
static void |
setSkin(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
String skin) |
static void |
teleport(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.Location location) |
static void |
wear(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.entity.Player player,
PetBlockHelper.TickCallBack callBack) |
public static int afraidWaterEffect(org.bukkit.entity.Entity entity,
int counter)
public static int isNegative(Random rand)
public static void setSkin(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
String skin)
public static long executeMovingSound(org.bukkit.entity.Entity entity,
org.bukkit.entity.Player owner,
com.github.shynixn.petblocks.api.persistence.entity.PetMeta petMeta,
long previous)
public static void setSkin(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.Material material,
byte data)
public static int doTick(int counter,
com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
PetBlockHelper.TickCallBack callBack)
public static void refreshHeadItemMeta(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.inventory.ItemStack itemStack)
public static void setItemConsideringAge(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock)
public static void setRiding(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.entity.Player player)
public static boolean setDieing(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock)
public static double setDamage(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
double health,
double damage,
PetBlockHelper.TickCallBack callBack)
public static void launch(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.util.Vector vector)
public static void wear(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.entity.Player player,
PetBlockHelper.TickCallBack callBack)
public static void jump(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock)
public static void teleport(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.Location location)
public static boolean isDead(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock)
public static void setDisplayName(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
String name)
public static void eject(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
org.bukkit.entity.Player player,
PetBlockHelper.TickCallBack callBack)
public static void respawn(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock,
PetBlockHelper.TickCallBack callBack)
public static void remove(com.github.shynixn.petblocks.api.business.entity.PetBlock petBlock)
Copyright © 2017. All rights reserved.