mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 03:39:09 +00:00
Clean Up and Bug Fixes
This commit is contained in:
1 parent
6390a0cd11
commit
02ec97b031
56 files changed
+538
-451
No files matched your search
@@ -128,6 +128,7 @@ public class BlockCandle extends BlockTorch implements IItemModelRegister {
|
||||
@Override
|
||||
public void registerModel(Item item, IModelManager manager) {
|
||||
manager.registerItemModel(item, 0, "candle");
|
||||
manager.registerItemModel(item, 1, "candle");
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -141,10 +142,7 @@ public class BlockCandle extends BlockTorch implements IItemModelRegister {
|
||||
|
||||
@Override
|
||||
public int colorMultiplier(IBlockAccess worldIn, BlockPos pos, int renderPass) {
|
||||
if(renderPass < 3){
|
||||
return ((TileCandle)worldIn.getTileEntity(pos)).getColour();
|
||||
}
|
||||
return 16777215;
|
||||
return ((TileCandle)worldIn.getTileEntity(pos)).getColour();
|
||||
}
|
||||
|
||||
@SuppressWarnings({"rawtypes", "unchecked"})
|
||||
|
||||
Reference in new issue
Block a user