public class LootingUtil extends Object
Constructor and Description |
---|
LootingUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
and(boolean a,
boolean b) |
static boolean |
conditionValue(GlowLivingEntity entity,
String condition)
Evaluates a condition for an entity.
|
static boolean |
is(Object a,
Object b) |
static boolean |
isNot(Object a,
Object b) |
static boolean |
not(boolean b) |
static boolean |
or(boolean a,
boolean b) |
static Object |
process(org.bukkit.entity.LivingEntity entity,
String line) |
static long |
randomFishType() |
public static boolean and(boolean a, boolean b)
public static boolean or(boolean a, boolean b)
public static boolean not(boolean b)
public static boolean conditionValue(GlowLivingEntity entity, String condition)
entity
- the entitycondition
- the condition string to evaluatepublic static long randomFishType()
Copyright © 2021. All rights reserved.