Move CTM from internal code to CTM-mod.

Currently WIP as not everything is working as before.
This commit is contained in:
Tom Elfring committed 2017-07-20 14:11:48 +02:00
1 parent b3f1a9fee4
commit 122d3d86e0
181 files changed
+562 -2479

No files matched your search

@@ -1,6 +1,5 @@
package mekanism.common.block.states;
import mekanism.client.render.ctm.PropertyCTMRenderContext;
import mekanism.common.Mekanism;
import mekanism.common.MekanismBlocks;
import mekanism.common.Tier.BaseTier;
@@ -45,11 +44,10 @@ public class BlockStateBasic extends ExtendedBlockState
{
public static final PropertyBool activeProperty = PropertyBool.create("active");
public static final PropertyEnum<BaseTier> tierProperty = PropertyEnum.create("tier", BaseTier.class);
public static final PropertyCTMRenderContext ctmProperty = new PropertyCTMRenderContext();
public BlockStateBasic(BlockBasic block, PropertyEnum<BasicBlockType> typeProperty)
{
super(block, new IProperty[] {BlockStateFacing.facingProperty, typeProperty, activeProperty, tierProperty}, new IUnlistedProperty[] {BlockStateBasic.ctmProperty});
super(block, new IProperty[] {BlockStateFacing.facingProperty, typeProperty, activeProperty, tierProperty}, new IUnlistedProperty[] {});
}
public static enum BasicBlock