Fix solderer model
This commit is contained in:
		@@ -5,7 +5,6 @@ import net.minecraft.client.resources.I18n;
 | 
				
			|||||||
import net.minecraft.entity.player.EntityPlayer;
 | 
					import net.minecraft.entity.player.EntityPlayer;
 | 
				
			||||||
import net.minecraft.item.ItemStack;
 | 
					import net.minecraft.item.ItemStack;
 | 
				
			||||||
import net.minecraft.tileentity.TileEntity;
 | 
					import net.minecraft.tileentity.TileEntity;
 | 
				
			||||||
import net.minecraft.util.BlockRenderLayer;
 | 
					 | 
				
			||||||
import net.minecraft.util.EnumFacing;
 | 
					import net.minecraft.util.EnumFacing;
 | 
				
			||||||
import net.minecraft.util.EnumHand;
 | 
					import net.minecraft.util.EnumHand;
 | 
				
			||||||
import net.minecraft.util.math.BlockPos;
 | 
					import net.minecraft.util.math.BlockPos;
 | 
				
			||||||
@@ -59,11 +58,6 @@ public class BlockSolderer extends BlockNode {
 | 
				
			|||||||
        return false;
 | 
					        return false;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @Override
 | 
					 | 
				
			||||||
    public BlockRenderLayer getBlockLayer() {
 | 
					 | 
				
			||||||
        return BlockRenderLayer.TRANSLUCENT;
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    @Override
 | 
					    @Override
 | 
				
			||||||
    public EnumPlacementType getPlacementType() {
 | 
					    public EnumPlacementType getPlacementType() {
 | 
				
			||||||
        return EnumPlacementType.HORIZONTAL;
 | 
					        return EnumPlacementType.HORIZONTAL;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,8 +3,9 @@
 | 
				
			|||||||
  "defaults": {
 | 
					  "defaults": {
 | 
				
			||||||
    "model": "refinedstorage:solderer",
 | 
					    "model": "refinedstorage:solderer",
 | 
				
			||||||
    "textures": {
 | 
					    "textures": {
 | 
				
			||||||
      "particle": "refinedstorage:blocks/solderer_side"
 | 
					      "particle": "refinedstorage:blocks/solderer_top"
 | 
				
			||||||
    }
 | 
					    },
 | 
				
			||||||
 | 
					    "uvlock": false
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "variants": {
 | 
					  "variants": {
 | 
				
			||||||
    "inventory": [
 | 
					    "inventory": [
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,9 +6,7 @@
 | 
				
			|||||||
    "2": "refinedstorage:blocks/solderer_bottom",
 | 
					    "2": "refinedstorage:blocks/solderer_bottom",
 | 
				
			||||||
    "3": "refinedstorage:blocks/solderer_middle",
 | 
					    "3": "refinedstorage:blocks/solderer_middle",
 | 
				
			||||||
    "4": "refinedstorage:blocks/solderer_roof",
 | 
					    "4": "refinedstorage:blocks/solderer_roof",
 | 
				
			||||||
    "5": "refinedstorage:blocks/solderer_elements",
 | 
					    "5": "refinedstorage:blocks/solderer_elements"
 | 
				
			||||||
    "6": "refinedstorage:blocks/solderer_glass",
 | 
					 | 
				
			||||||
    "-1": "refinedstorage:blocks/solderer_glass"
 | 
					 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "elements": [
 | 
					  "elements": [
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
@@ -976,282 +974,6 @@
 | 
				
			|||||||
          ]
 | 
					          ]
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
      "name": "Window1",
 | 
					 | 
				
			||||||
      "from": [
 | 
					 | 
				
			||||||
        2.0,
 | 
					 | 
				
			||||||
        7.0,
 | 
					 | 
				
			||||||
        14.0
 | 
					 | 
				
			||||||
      ],
 | 
					 | 
				
			||||||
      "to": [
 | 
					 | 
				
			||||||
        14.0,
 | 
					 | 
				
			||||||
        13.0,
 | 
					 | 
				
			||||||
        15.0
 | 
					 | 
				
			||||||
      ],
 | 
					 | 
				
			||||||
      "faces": {
 | 
					 | 
				
			||||||
        "north": {
 | 
					 | 
				
			||||||
          "texture": "#6",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            2.0,
 | 
					 | 
				
			||||||
            5.0,
 | 
					 | 
				
			||||||
            14.0,
 | 
					 | 
				
			||||||
            11.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "east": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            1.0,
 | 
					 | 
				
			||||||
            6.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "south": {
 | 
					 | 
				
			||||||
          "texture": "#6",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            2.0,
 | 
					 | 
				
			||||||
            5.0,
 | 
					 | 
				
			||||||
            14.0,
 | 
					 | 
				
			||||||
            11.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "west": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            1.0,
 | 
					 | 
				
			||||||
            6.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "up": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            12.0,
 | 
					 | 
				
			||||||
            1.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "down": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            12.0,
 | 
					 | 
				
			||||||
            1.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
      "name": "Window2",
 | 
					 | 
				
			||||||
      "from": [
 | 
					 | 
				
			||||||
        2.0,
 | 
					 | 
				
			||||||
        7.0,
 | 
					 | 
				
			||||||
        1.0
 | 
					 | 
				
			||||||
      ],
 | 
					 | 
				
			||||||
      "to": [
 | 
					 | 
				
			||||||
        14.0,
 | 
					 | 
				
			||||||
        13.0,
 | 
					 | 
				
			||||||
        2.0
 | 
					 | 
				
			||||||
      ],
 | 
					 | 
				
			||||||
      "faces": {
 | 
					 | 
				
			||||||
        "north": {
 | 
					 | 
				
			||||||
          "texture": "#6",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            2.0,
 | 
					 | 
				
			||||||
            5.0,
 | 
					 | 
				
			||||||
            14.0,
 | 
					 | 
				
			||||||
            11.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "east": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            1.0,
 | 
					 | 
				
			||||||
            6.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "south": {
 | 
					 | 
				
			||||||
          "texture": "#6",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            2.0,
 | 
					 | 
				
			||||||
            5.0,
 | 
					 | 
				
			||||||
            14.0,
 | 
					 | 
				
			||||||
            11.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "west": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            1.0,
 | 
					 | 
				
			||||||
            6.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "up": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            12.0,
 | 
					 | 
				
			||||||
            1.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "down": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            12.0,
 | 
					 | 
				
			||||||
            1.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
      "name": "Window3",
 | 
					 | 
				
			||||||
      "from": [
 | 
					 | 
				
			||||||
        14.0,
 | 
					 | 
				
			||||||
        7.0,
 | 
					 | 
				
			||||||
        2.0
 | 
					 | 
				
			||||||
      ],
 | 
					 | 
				
			||||||
      "to": [
 | 
					 | 
				
			||||||
        15.0,
 | 
					 | 
				
			||||||
        13.0,
 | 
					 | 
				
			||||||
        14.0
 | 
					 | 
				
			||||||
      ],
 | 
					 | 
				
			||||||
      "faces": {
 | 
					 | 
				
			||||||
        "north": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            1.0,
 | 
					 | 
				
			||||||
            6.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "east": {
 | 
					 | 
				
			||||||
          "texture": "#6",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            2.0,
 | 
					 | 
				
			||||||
            5.0,
 | 
					 | 
				
			||||||
            14.0,
 | 
					 | 
				
			||||||
            11.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "south": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            1.0,
 | 
					 | 
				
			||||||
            6.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "west": {
 | 
					 | 
				
			||||||
          "texture": "#6",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            2.0,
 | 
					 | 
				
			||||||
            5.0,
 | 
					 | 
				
			||||||
            14.0,
 | 
					 | 
				
			||||||
            11.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "up": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            1.0,
 | 
					 | 
				
			||||||
            12.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "down": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            1.0,
 | 
					 | 
				
			||||||
            12.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
      "name": "Window4",
 | 
					 | 
				
			||||||
      "from": [
 | 
					 | 
				
			||||||
        1.0,
 | 
					 | 
				
			||||||
        7.0,
 | 
					 | 
				
			||||||
        2.0
 | 
					 | 
				
			||||||
      ],
 | 
					 | 
				
			||||||
      "to": [
 | 
					 | 
				
			||||||
        2.0,
 | 
					 | 
				
			||||||
        13.0,
 | 
					 | 
				
			||||||
        14.0
 | 
					 | 
				
			||||||
      ],
 | 
					 | 
				
			||||||
      "faces": {
 | 
					 | 
				
			||||||
        "north": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            1.0,
 | 
					 | 
				
			||||||
            6.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "east": {
 | 
					 | 
				
			||||||
          "texture": "#6",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            2.0,
 | 
					 | 
				
			||||||
            5.0,
 | 
					 | 
				
			||||||
            14.0,
 | 
					 | 
				
			||||||
            11.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "south": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            1.0,
 | 
					 | 
				
			||||||
            6.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "west": {
 | 
					 | 
				
			||||||
          "texture": "#6",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            2.0,
 | 
					 | 
				
			||||||
            5.0,
 | 
					 | 
				
			||||||
            14.0,
 | 
					 | 
				
			||||||
            11.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "up": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            1.0,
 | 
					 | 
				
			||||||
            12.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        },
 | 
					 | 
				
			||||||
        "down": {
 | 
					 | 
				
			||||||
          "texture": "#-1",
 | 
					 | 
				
			||||||
          "uv": [
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            0.0,
 | 
					 | 
				
			||||||
            1.0,
 | 
					 | 
				
			||||||
            12.0
 | 
					 | 
				
			||||||
          ]
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
      }
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  ]
 | 
					  ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 1.0 KiB  | 
		Reference in New Issue
	
	Block a user