public enum PipeBaseModelGenConnected extends java.lang.Enum<PipeBaseModelGenConnected> implements IPipeBaseModelGen
Enum Constant and Description |
---|
INSTANCE |
OPTION_INSIDE_COLOUR_MULT
Modifier and Type | Method and Description |
---|---|
java.util.List<net.minecraft.client.renderer.block.model.BakedQuad> |
generateCutout(PipeModelCacheBase.PipeBaseCutoutKey key) |
java.util.List<net.minecraft.client.renderer.block.model.BakedQuad> |
generateTranslucent(PipeModelCacheBase.PipeBaseTranslucentKey key) |
net.minecraft.client.renderer.texture.TextureAtlasSprite |
getItemSprite(PipeDefinition def,
int index)
Gets a sprite that can be baked into the item model.
|
void |
onTextureStitchPre(net.minecraft.client.renderer.texture.TextureMap map) |
static PipeBaseModelGenConnected |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PipeBaseModelGenConnected[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PipeBaseModelGenConnected INSTANCE
public static PipeBaseModelGenConnected[] values()
for (PipeBaseModelGenConnected c : PipeBaseModelGenConnected.values()) System.out.println(c);
public static PipeBaseModelGenConnected 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 onTextureStitchPre(net.minecraft.client.renderer.texture.TextureMap map)
onTextureStitchPre
in interface IPipeBaseModelGen
public net.minecraft.client.renderer.texture.TextureAtlasSprite getItemSprite(PipeDefinition def, int index)
IPipeBaseModelGen
getItemSprite
in interface IPipeBaseModelGen
public java.util.List<net.minecraft.client.renderer.block.model.BakedQuad> generateTranslucent(PipeModelCacheBase.PipeBaseTranslucentKey key)
generateTranslucent
in interface IPipeBaseModelGen
public java.util.List<net.minecraft.client.renderer.block.model.BakedQuad> generateCutout(PipeModelCacheBase.PipeBaseCutoutKey key)
generateCutout
in interface IPipeBaseModelGen