public enum FacadeStateManager extends java.lang.Enum<FacadeStateManager> implements IFacadeRegistry
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG |
static FacadeBlockStateInfo |
defaultState |
static FacadeBlockStateInfo |
previewState |
static java.util.Map<ItemStackKey,java.util.List<FacadeBlockStateInfo>> |
stackFacades |
static java.util.SortedMap<net.minecraft.block.state.IBlockState,FacadeBlockStateInfo> |
validFacadeStates |
| Modifier and Type | Method and Description |
|---|---|
IFacade |
createPhasedFacade(IFacadePhasedState[] states,
boolean isHollow) |
IFacadePhasedState |
createPhasedState(IFacadeState state,
net.minecraft.item.EnumDyeColor activeColor) |
static FacadeBlockStateInfo |
getInfoForBlock(net.minecraft.block.Block block) |
java.util.Collection<? extends IFacadeState> |
getValidFacades() |
static void |
init() |
static void |
receiveInterModComms(net.minecraftforge.fml.common.event.FMLInterModComms.IMCMessage message) |
static FacadeStateManager |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FacadeStateManager[] |
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, valueOfcreateBasicFacadepublic static final FacadeStateManager INSTANCE
public static final boolean DEBUG
public static final java.util.SortedMap<net.minecraft.block.state.IBlockState,FacadeBlockStateInfo> validFacadeStates
public static final java.util.Map<ItemStackKey,java.util.List<FacadeBlockStateInfo>> stackFacades
public static FacadeBlockStateInfo defaultState
public static FacadeBlockStateInfo previewState
public static FacadeStateManager[] values()
for (FacadeStateManager c : FacadeStateManager.values()) System.out.println(c);
public static FacadeStateManager 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 FacadeBlockStateInfo getInfoForBlock(net.minecraft.block.Block block)
public static void receiveInterModComms(net.minecraftforge.fml.common.event.FMLInterModComms.IMCMessage message)
public static void init()
public java.util.Collection<? extends IFacadeState> getValidFacades()
getValidFacades in interface IFacadeRegistrypublic IFacadePhasedState createPhasedState(IFacadeState state, net.minecraft.item.EnumDyeColor activeColor)
createPhasedState in interface IFacadeRegistrypublic IFacade createPhasedFacade(IFacadePhasedState[] states, boolean isHollow)
createPhasedFacade in interface IFacadeRegistry