public enum PlugGateRenderer extends java.lang.Enum<PlugGateRenderer> implements IPlugDynamicRenderer<PluggableGate>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static void |
onModelBake() |
void |
render(PluggableGate gate,
double x,
double y,
double z,
float partialTicks,
net.minecraft.client.renderer.BufferBuilder vb) |
static PlugGateRenderer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PlugGateRenderer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlugGateRenderer INSTANCE
public static PlugGateRenderer[] values()
for (PlugGateRenderer c : PlugGateRenderer.values()) System.out.println(c);
public static PlugGateRenderer 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(PluggableGate gate, double x, double y, double z, float partialTicks, net.minecraft.client.renderer.BufferBuilder vb)
render
in interface IPlugDynamicRenderer<PluggableGate>