mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-24 05:54:34 +00:00
Render blocks and fluids inside of smelteries according to size (exactly the same behaviour as with the old 3x3 smeltery)
This commit is contained in:
1 parent
13f1b63965
commit
6bbd392c4f
4 files changed
+211
-61
No files matched your search
@@ -16,9 +16,11 @@ import net.minecraft.util.IIcon;
|
||||
import net.minecraft.world.*;
|
||||
import tconstruct.TConstruct;
|
||||
import tconstruct.library.TConstructRegistry;
|
||||
import tconstruct.library.crafting.Smeltery;
|
||||
import tconstruct.smeltery.SmelteryProxyCommon;
|
||||
import tconstruct.smeltery.logic.*;
|
||||
import tconstruct.smeltery.model.SmelteryRender;
|
||||
import tconstruct.smeltery.model.SmelteryRenderOld;
|
||||
import tconstruct.util.config.PHConstruct;
|
||||
|
||||
public class SmelteryBlock extends InventoryBlock
|
||||
@@ -48,6 +50,8 @@ public class SmelteryBlock extends InventoryBlock
|
||||
@Override
|
||||
public int getRenderType ()
|
||||
{
|
||||
if(PHConstruct.oldSmeltery)
|
||||
return SmelteryRenderOld.smelteryModel;
|
||||
return PHConstruct.newSmeltery ? 0 : SmelteryRender.smelteryModel;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user