public enum PipeFlowRendererItems extends java.lang.Enum<PipeFlowRendererItems> implements IPipeFlowRenderer<PipeFlowItems>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static void |
onModelBake() |
void |
render(PipeFlowItems flow,
double x,
double y,
double z,
float partialTicks,
net.minecraft.client.renderer.BufferBuilder bb) |
static PipeFlowRendererItems |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PipeFlowRendererItems[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PipeFlowRendererItems INSTANCE
public static PipeFlowRendererItems[] values()
for (PipeFlowRendererItems c : PipeFlowRendererItems.values()) System.out.println(c);
public static PipeFlowRendererItems 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 onModelBake()
public void render(PipeFlowItems flow, double x, double y, double z, float partialTicks, net.minecraft.client.renderer.BufferBuilder bb)
render
in interface IPipeFlowRenderer<PipeFlowItems>
flow
- The flow to renderbb
- The (optional) vertex buffer that you can render into. Note that you can still do GL stuff.