public class MiscUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.Map<org.bukkit.entity.EntityType,org.bukkit.util.Vector> |
entityDimensions |
Constructor and Description |
---|
MiscUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
containsIgnoreCase(java.lang.String toCheck,
java.lang.String contains) |
static long |
copy(java.io.InputStream from,
java.io.OutputStream to) |
static org.bukkit.inventory.ItemStack |
createItem(org.bukkit.Material material,
int amount,
java.lang.String name,
java.lang.String... lore) |
static void |
createParticlesForBoundingBox(org.bukkit.entity.Player player,
BoundingBox box) |
static void |
createParticlesForBoundingBox(org.bukkit.entity.Player player,
BoundingBox box,
WrappedEnumParticle type) |
static void |
createParticlesForBoundingBox(org.bukkit.entity.Player player,
BoundingBox box,
WrappedEnumParticle type,
float accuracy) |
static java.util.List<java.io.File> |
getAtlasDependingPlugins() |
static BoundingBox |
getEntityBoundingBox(org.bukkit.entity.LivingEntity entity) |
static java.lang.String |
line() |
static java.lang.String |
line(java.lang.String color) |
static java.lang.String |
lineNoStrike() |
static java.lang.String |
lineNoStrike(java.lang.String color) |
static void |
loadPlugin(java.lang.String pl) |
static <T> T |
parseObjectFromString(java.lang.String s,
java.lang.Class<T> clazz) |
static void |
printToConsole(java.lang.String string) |
static void |
registerCommand(java.lang.String name,
org.bukkit.plugin.java.JavaPlugin plugin) |
static java.lang.String |
unloadPlugin(java.lang.String pl) |
public static java.util.Map<org.bukkit.entity.EntityType,org.bukkit.util.Vector> entityDimensions
public static boolean containsIgnoreCase(java.lang.String toCheck, java.lang.String contains)
public static java.lang.String line(java.lang.String color)
public static java.lang.String line()
public static java.lang.String lineNoStrike(java.lang.String color)
public static long copy(java.io.InputStream from, java.io.OutputStream to) throws java.io.IOException
java.io.IOException
public static java.lang.String lineNoStrike()
public static void createParticlesForBoundingBox(org.bukkit.entity.Player player, BoundingBox box)
public static void createParticlesForBoundingBox(org.bukkit.entity.Player player, BoundingBox box, WrappedEnumParticle type)
public static void createParticlesForBoundingBox(org.bukkit.entity.Player player, BoundingBox box, WrappedEnumParticle type, float accuracy)
public static java.lang.String unloadPlugin(java.lang.String pl)
public static <T> T parseObjectFromString(java.lang.String s, java.lang.Class<T> clazz) throws java.lang.Exception
java.lang.Exception
public static BoundingBox getEntityBoundingBox(org.bukkit.entity.LivingEntity entity)
public static void registerCommand(java.lang.String name, org.bukkit.plugin.java.JavaPlugin plugin)
public static org.bukkit.inventory.ItemStack createItem(org.bukkit.Material material, int amount, java.lang.String name, java.lang.String... lore)
public static java.util.List<java.io.File> getAtlasDependingPlugins()
public static void loadPlugin(java.lang.String pl)
public static void printToConsole(java.lang.String string)