Solderer has a direction again

This commit is contained in:
Raoul Van den Berge
2016-07-10 14:10:01 +02:00
parent 70fb56af01
commit 11cbfadbe8
4 changed files with 24 additions and 2 deletions

View File

@@ -69,6 +69,6 @@ public class BlockSolderer extends BlockNode {
@Override
public EnumPlacementType getPlacementType() {
return null;
return EnumPlacementType.ANY;
}
}

View File

@@ -104,7 +104,8 @@ public class ClientProxy extends CommonProxy {
// Blocks
ModelLoader.setCustomStateMapper(RefinedStorageBlocks.GRID, (new StateMap.Builder())
.ignore(RefinedStorageBlocks.GRID.TYPE)
.build());
.build()
);
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(RefinedStorageBlocks.CABLE), 0, new ModelResourceLocation("refinedstorage:cable", "inventory"));
ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(RefinedStorageBlocks.GRID), EnumGridType.NORMAL.getId(), new ModelResourceLocation("refinedstorage:grid", "inventory"));