mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 15:23:16 +00:00
Experimental new MCMultipart rewrite of transmitters.
Less changed code than expected! Nothing renders or works yet though.
This commit is contained in:
1 parent
2e2f4ce390
commit
bebad0c15e
30 files changed
+660
-490
No files matched your search
@@ -1,18 +1,22 @@
|
||||
package mekanism.common.multipart;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import codechicken.microblock.BlockMicroMaterial;
|
||||
import net.minecraft.block.state.IBlockState;
|
||||
|
||||
import mcmultipart.microblock.BlockMicroMaterial;
|
||||
|
||||
public class PlasticMicroMaterial extends BlockMicroMaterial
|
||||
{
|
||||
public PlasticMicroMaterial(Block block, int meta)
|
||||
public PlasticMicroMaterial(IBlockState state, int hardness)
|
||||
{
|
||||
super(block, meta);
|
||||
super(state, hardness);
|
||||
}
|
||||
|
||||
/*
|
||||
@Override
|
||||
public int getColour(int pass)
|
||||
{
|
||||
return block().getRenderColor(meta()) << 8 | 0xFF;
|
||||
}
|
||||
*/
|
||||
}
|
||||
Reference in new issue
Block a user