public enum StripesRegistry extends java.lang.Enum<StripesRegistry> implements IStripesRegistry
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(IStripesHandlerBlock handler,
EnumHandlerPriority priority) |
void |
addHandler(IStripesHandlerItem handler,
EnumHandlerPriority priority) |
boolean |
handleBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing direction,
net.minecraft.entity.player.EntityPlayer player,
IStripesActivator activator) |
boolean |
handleItem(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing direction,
net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
IStripesActivator activator) |
static StripesRegistry |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StripesRegistry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfaddHandler, addHandlerpublic static final StripesRegistry INSTANCE
public static StripesRegistry[] values()
for (StripesRegistry c : StripesRegistry.values()) System.out.println(c);
public static StripesRegistry 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 void addHandler(IStripesHandlerItem handler, EnumHandlerPriority priority)
addHandler in interface IStripesRegistrypublic void addHandler(IStripesHandlerBlock handler, EnumHandlerPriority priority)
addHandler in interface IStripesRegistrypublic boolean handleItem(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing direction,
net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
IStripesActivator activator)
handleItem in interface IStripesRegistrypos - The position of the stripes pipe.public boolean handleBlock(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing direction,
net.minecraft.entity.player.EntityPlayer player,
IStripesActivator activator)
handleBlock in interface IStripesRegistry