mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
Lots and lots of fancy rendering!
This commit is contained in:
1 parent
f4023f8baf
commit
8b1017a3a8
65 files changed
+133
-839
No files matched your search
@@ -213,7 +213,7 @@ public class BlockStateMachine extends ExtendedBlockState
|
||||
|
||||
for(MachineType type : MachineType.values())
|
||||
{
|
||||
if(type != QUANTUM_ENTANGLOPORTER && type != AMBIENT_ACCUMULATOR)
|
||||
if(type.isValidMachine())
|
||||
{
|
||||
ret.add(type);
|
||||
}
|
||||
@@ -221,6 +221,11 @@ public class BlockStateMachine extends ExtendedBlockState
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
public boolean isValidMachine()
|
||||
{
|
||||
return this != AMBIENT_ACCUMULATOR;
|
||||
}
|
||||
|
||||
public static MachineType get(Block block, int meta)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user