mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-18 11:19:28 +00:00
1 parent
9d2a5f5407
commit
0ac108ced1
4 files changed
+11
-2
No files matched your search
@@ -147,6 +147,8 @@ public class BlockAlveary extends BlockStructure {
|
||||
return icons[BOTTOM];
|
||||
|
||||
switch (metadata) {
|
||||
case TileAlvearyPlain.BLOCK_META:
|
||||
return icons[PLAIN];
|
||||
case 1:
|
||||
return icons[ENTRANCE];
|
||||
case TileAlvearySwarmer.BLOCK_META:
|
||||
@@ -162,7 +164,7 @@ public class BlockAlveary extends BlockStructure {
|
||||
case TileAlvearySieve.BLOCK_META:
|
||||
return icons[SIEVE];
|
||||
default:
|
||||
return icons[PLAIN];
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -155,6 +155,9 @@ public class BlockBeehives extends BlockContainer {
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public IIcon getIcon(int i, int j) {
|
||||
if (j == 0 || j >= 8)
|
||||
return null;
|
||||
|
||||
if (i == 0 || i == 1) {
|
||||
if (j * 2 < icons.length && icons[j * 2] != null)
|
||||
return icons[j * 2];
|
||||
|
||||
@@ -54,6 +54,8 @@ public class TileAlvearyPlain extends TileAlveary implements ISidedInventory, IS
|
||||
public static final int SLOT_DRONE = 1;
|
||||
public static final int SLOT_PRODUCT_1 = 2;
|
||||
public static final int SLOT_PRODUCTION_COUNT = 7;
|
||||
public static final int BLOCK_META = 0;
|
||||
|
||||
// / MEMBERS
|
||||
protected IBeekeepingLogic beekeepingLogic;
|
||||
protected int biomeId;
|
||||
|
||||
@@ -101,8 +101,10 @@ public class BlockResource extends Block {
|
||||
return iconApatite;
|
||||
else if (j == 1)
|
||||
return iconCopper;
|
||||
else
|
||||
else if (j == 2)
|
||||
return iconTin;
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user