mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-18 19:39:12 +00:00
manual merges of up to 9a578fc
This commit is contained in:
1 parent
655780cc0c
commit
0c9c8100ad
21 files changed
+218
-56
No files matched your search
@@ -29,6 +29,7 @@ import mantle.blocks.iface.IServantLogic;
|
||||
public class LavaTankBlock extends BlockContainer
|
||||
{
|
||||
public Icon[] icons;
|
||||
String texturePrefix = "";
|
||||
|
||||
public LavaTankBlock(int id)
|
||||
{
|
||||
@@ -40,10 +41,20 @@ public class LavaTankBlock extends BlockContainer
|
||||
setStepSound(Block.soundGlassFootstep);
|
||||
}
|
||||
|
||||
public LavaTankBlock(int id, String prefix)
|
||||
{
|
||||
this(id);
|
||||
texturePrefix = prefix;
|
||||
}
|
||||
|
||||
public String[] getTextureNames ()
|
||||
{
|
||||
String[] textureNames = { "lavatank_side", "lavatank_top", "searedgague_top", "searedgague_side", "searedgague_bottom", "searedwindow_top", "searedwindow_side", "searedwindow_bottom" };
|
||||
|
||||
if (!texturePrefix.equals(""))
|
||||
for (int i = 0; i < textureNames.length; i++)
|
||||
textureNames[i] = texturePrefix + "_" + textureNames[i];
|
||||
|
||||
return textureNames;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user