mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 15:23:16 +00:00
Microblock-enable our blocks.
Use IMC where custom materials aren't necessary to leave as much as possible up to CB.
This commit is contained in:
1 parent
9f91e0886e
commit
ddc67b475a
2 files changed
+53
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package mekanism.common.multipart;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
||||
import codechicken.microblock.BlockMicroMaterial;
|
||||
|
||||
public class PlasticMicroMaterial extends BlockMicroMaterial
|
||||
{
|
||||
public PlasticMicroMaterial(Block block, int meta)
|
||||
{
|
||||
super(block, meta);
|
||||
}
|
||||
|
||||
public int getColour(int pass)
|
||||
{
|
||||
return block().getRenderColor(meta())<<8|0xFF;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user