add color modulation
This commit is contained in:
parent
f3eee1c800
commit
57c483db88
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,7 @@ import gregtech.api.objects.GT_CopiedBlockTexture;
|
||||||
import gregtech.api.util.GT_LanguageManager;
|
import gregtech.api.util.GT_LanguageManager;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.IIcon;
|
import net.minecraft.util.IIcon;
|
||||||
|
import net.minecraft.world.IBlockAccess;
|
||||||
|
|
||||||
public class GT_Block_Casings6
|
public class GT_Block_Casings6
|
||||||
extends GT_Block_Casings_Abstract {
|
extends GT_Block_Casings_Abstract {
|
||||||
|
@ -92,4 +93,8 @@ public class GT_Block_Casings6
|
||||||
return Textures.BlockIcons.MACHINE_CASING_TANK_0.getIcon();
|
return Textures.BlockIcons.MACHINE_CASING_TANK_0.getIcon();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int colorMultiplier(IBlockAccess aWorld, int aX, int aY, int aZ) {
|
||||||
|
return gregtech.api.enums.Dyes.MACHINE_METAL.mRGBa[0] << 16 | gregtech.api.enums.Dyes.MACHINE_METAL.mRGBa[1] << 8 | gregtech.api.enums.Dyes.MACHINE_METAL.mRGBa[2];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue