public enum ApicultureFilterRule extends java.lang.Enum<ApicultureFilterRule> implements IFilterRule
| Enum Constant and Description |
|---|
CAVE |
FLYER |
NOCTURNAL |
PURE_BREED |
PURE_CAVE |
PURE_FLYER |
PURE_NOCTURNAL |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getRootUID()
If a root with this uid is registered, the filter will only get stack with individuals from this root.
|
static void |
init() |
protected boolean |
isValid(IBee bee) |
boolean |
isValid(net.minecraft.item.ItemStack itemStack,
IFilterData data) |
static ApicultureFilterRule |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApicultureFilterRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApicultureFilterRule PURE_BREED
public static final ApicultureFilterRule NOCTURNAL
public static final ApicultureFilterRule PURE_NOCTURNAL
public static final ApicultureFilterRule FLYER
public static final ApicultureFilterRule PURE_FLYER
public static final ApicultureFilterRule CAVE
public static final ApicultureFilterRule PURE_CAVE
public static ApicultureFilterRule[] values()
for (ApicultureFilterRule c : ApicultureFilterRule.values()) System.out.println(c);
public static ApicultureFilterRule valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static void init()
public boolean isValid(net.minecraft.item.ItemStack itemStack,
IFilterData data)
isValid in interface IFilterRuleprotected boolean isValid(IBee bee)
public java.lang.String getRootUID()
IFilterRulegetRootUID in interface IFilterRule