mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Gas Tank and Fluid Tank state management & renders, along with tier colors. I'm getting the hang of this!
This commit is contained in:
1 parent
4ecde79334
commit
b3b714cd36
28 files changed
+188
-162
No files matched your search
@@ -10,6 +10,7 @@ import mekanism.api.MekanismConfig.machines;
|
||||
import mekanism.api.MekanismConfig.usage;
|
||||
import mekanism.common.Mekanism;
|
||||
import mekanism.common.MekanismBlocks;
|
||||
import mekanism.common.Tier.BaseTier;
|
||||
import mekanism.common.block.BlockMachine;
|
||||
import mekanism.common.recipe.ShapedMekanismRecipe;
|
||||
import mekanism.common.tile.TileEntityAdvancedFactory;
|
||||
@@ -71,10 +72,11 @@ import com.google.common.base.Predicates;
|
||||
public class BlockStateMachine extends BlockStateFacing
|
||||
{
|
||||
public static final PropertyBool activeProperty = PropertyBool.create("active");
|
||||
public static final PropertyEnum<BaseTier> tierProperty = PropertyEnum.create("tier", BaseTier.class);
|
||||
|
||||
public BlockStateMachine(BlockMachine block, PropertyEnum typeProperty)
|
||||
{
|
||||
super(block, typeProperty, activeProperty);
|
||||
super(block, typeProperty, activeProperty, tierProperty);
|
||||
}
|
||||
|
||||
public static final Predicate<EnumFacing> never = Predicates.<EnumFacing>alwaysFalse();
|
||||
|
||||
Reference in new issue
Block a user