mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 20:52:26 +00:00
Fix Faucet pouring rendering with nether smeltery stuff
This commit is contained in:
1 parent
3f4e2706a3
commit
bdce6310ae
1 file changed
+3
-3
@@ -254,15 +254,15 @@ public class CastingBlockRender implements ISimpleBlockRenderingHandler
|
||||
float yMin = 0F;
|
||||
Block uBlock = world.getBlock(x, y - 1, z);
|
||||
int uMeta = world.getBlockMetadata(x, y - 1, z);
|
||||
if (uBlock == TinkerSmeltery.searedBlock && uMeta == 0)
|
||||
if ((uBlock == TinkerSmeltery.searedBlock || uBlock == TinkerSmeltery.searedBlockNether) && uMeta == 0)
|
||||
{
|
||||
yMin = -0.125F;
|
||||
}
|
||||
else if (uBlock == TinkerSmeltery.searedBlock && uMeta == 2)
|
||||
else if ((uBlock == TinkerSmeltery.searedBlock || uBlock == TinkerSmeltery.searedBlockNether) && uMeta == 2)
|
||||
{
|
||||
yMin = -0.75F;
|
||||
}
|
||||
else if (uBlock == TinkerSmeltery.lavaTank)
|
||||
else if (uBlock == TinkerSmeltery.lavaTank || uBlock == TinkerSmeltery.lavaTankNether)
|
||||
{
|
||||
yMin = -1F;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user