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