From f4023f8baf2d98be48979752c1a6ede69b3e89d0 Mon Sep 17 00:00:00 2001 From: aidancbrady Date: Wed, 11 May 2016 07:29:43 -0400 Subject: [PATCH] Item and Block render of Personal Chest and Solar Neutron Activator --- .../java/mekanism/client/ClientProxy.java | 8 +- .../render/item/BakedCustomItemModel.java | 27 + .../mekanism/blockstates/personal_chest.json | 10 +- .../blockstates/solar_neutron_activator.json | 2 +- .../models/block/solar_neutron_activator.json | 619 ------------------ 5 files changed, 34 insertions(+), 632 deletions(-) delete mode 100644 src/main/resources/assets/mekanism/models/block/solar_neutron_activator.json diff --git a/src/main/java/mekanism/client/ClientProxy.java b/src/main/java/mekanism/client/ClientProxy.java index 6d23144c4..81506be17 100644 --- a/src/main/java/mekanism/client/ClientProxy.java +++ b/src/main/java/mekanism/client/ClientProxy.java @@ -101,6 +101,7 @@ import mekanism.client.render.tileentity.RenderQuantumEntangloporter; import mekanism.client.render.tileentity.RenderResistiveHeater; import mekanism.client.render.tileentity.RenderSecurityDesk; import mekanism.client.render.tileentity.RenderSeismicVibrator; +import mekanism.client.render.tileentity.RenderSolarNeutronActivator; import mekanism.client.render.tileentity.RenderTeleporter; import mekanism.client.render.tileentity.RenderThermalEvaporationController; import mekanism.client.render.tileentity.RenderThermoelectricBoiler; @@ -234,7 +235,8 @@ public class ClientProxy extends CommonProxy public static Map basicResources = new HashMap(); public static final String[] CUSTOM_RENDERS = new String[] {"fluid_tank", "bin_basic", "bin_advanced", "bin_elite", "bin_ultimate", - "Jetpack", "FreeRunners", "AtomicDisassembler", "ScubaTank", "GasMask", "ArmoredJetpack", "Flamethrower"}; + "Jetpack", "FreeRunners", "AtomicDisassembler", "ScubaTank", "GasMask", "ArmoredJetpack", "Flamethrower", "personal_chest", + "solar_neutron_activator"}; @Override public void loadConfiguration() @@ -327,7 +329,7 @@ public class ClientProxy extends CommonProxy //ClientRegistry.registerTileEntity(TileEntityLaser.class, "Laser", new RenderLaser()); ClientRegistry.registerTileEntity(TileEntityLaserAmplifier.class, "LaserAmplifier", new RenderLaserAmplifier()); ClientRegistry.registerTileEntity(TileEntityLaserTractorBeam.class, "LaserTractorBeam", new RenderLaserTractorBeam()); - GameRegistry.registerTileEntity(TileEntitySolarNeutronActivator.class, "SolarNeutronActivator"); + ClientRegistry.registerTileEntity(TileEntitySolarNeutronActivator.class, "SolarNeutronActivator", new RenderSolarNeutronActivator()); GameRegistry.registerTileEntity(TileEntityAmbientAccumulator.class, "AmbientAccumulator"); GameRegistry.registerTileEntity(TileEntityInductionCasing.class, "InductionCasing"); GameRegistry.registerTileEntity(TileEntityInductionPort.class, "InductionPort"); @@ -460,7 +462,7 @@ public class ClientProxy extends CommonProxy } } - if(type == MachineType.FLUID_TANK) + if(type == MachineType.FLUID_TANK || type == MachineType.PERSONAL_CHEST || type == MachineType.SOLAR_NEUTRON_ACTIVATOR) { properties = "inventory"; } diff --git a/src/main/java/mekanism/client/render/item/BakedCustomItemModel.java b/src/main/java/mekanism/client/render/item/BakedCustomItemModel.java index d0a04dd72..79ea89ba6 100644 --- a/src/main/java/mekanism/client/render/item/BakedCustomItemModel.java +++ b/src/main/java/mekanism/client/render/item/BakedCustomItemModel.java @@ -12,6 +12,7 @@ import mekanism.client.model.ModelFreeRunners; import mekanism.client.model.ModelGasMask; import mekanism.client.model.ModelJetpack; import mekanism.client.model.ModelScubaTank; +import mekanism.client.model.ModelSolarNeutronActivator; import mekanism.client.render.ctm.ModelChiselBlock; import mekanism.client.render.tileentity.RenderBin; import mekanism.client.render.tileentity.RenderFluidTank; @@ -33,6 +34,7 @@ import mekanism.common.util.MekanismUtils; import mekanism.common.util.MekanismUtils.ResourceType; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; +import net.minecraft.client.model.ModelChest; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.client.renderer.RenderHelper; import net.minecraft.client.renderer.block.model.BakedQuad; @@ -52,6 +54,7 @@ import net.minecraftforge.client.model.IPerspectiveAwareModel; import net.minecraftforge.fluids.Fluid; import org.apache.commons.lang3.tuple.Pair; +import org.lwjgl.opengl.GL11; public class BakedCustomItemModel implements IBakedModel, IPerspectiveAwareModel { @@ -70,6 +73,8 @@ public class BakedCustomItemModel implements IBakedModel, IPerspectiveAwareModel public static ModelFreeRunners freeRunners = new ModelFreeRunners(); public static ModelAtomicDisassembler atomicDisassembler = new ModelAtomicDisassembler(); public static ModelFlamethrower flamethrower = new ModelFlamethrower(); + public static ModelChest personalChest = new ModelChest(); + public static ModelSolarNeutronActivator solarNeutronActivator = new ModelSolarNeutronActivator(); public BakedCustomItemModel(IBakedModel model, ItemStack s) { @@ -116,6 +121,28 @@ public class BakedCustomItemModel implements IBakedModel, IPerspectiveAwareModel fluidTankRenderer.render(tier, fluid, targetScale, false, null, -0.5, -0.5, -0.5); GlStateManager.popMatrix(); } + else if(machineType == MachineType.PERSONAL_CHEST) + { + GlStateManager.pushMatrix(); + + GlStateManager.rotate(180F, 0.0F, 1.0F, 0.0F); + GlStateManager.translate(-0.5F, -0.5F, -0.5F); + GlStateManager.translate(0, 1.0F, 1.0F); + GlStateManager.scale(1.0F, -1F, -1F); + + mc.renderEngine.bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "PersonalChest.png")); + + personalChest.renderAll(); + GlStateManager.popMatrix(); + } + else if(machineType == MachineType.SOLAR_NEUTRON_ACTIVATOR) + { + GL11.glRotatef(180F, 0.0F, 0.0F, 1.0F); + GL11.glScalef(0.6F, 0.6F, 0.6F); + GL11.glTranslatef(0.0F, -0.55F, 0.0F); + mc.renderEngine.bindTexture(MekanismUtils.getResource(ResourceType.RENDER, "SolarNeutronActivator.png")); + solarNeutronActivator.render(0.0625F); + } return; } diff --git a/src/main/resources/assets/mekanism/blockstates/personal_chest.json b/src/main/resources/assets/mekanism/blockstates/personal_chest.json index 60646b0da..b27ef28bf 100644 --- a/src/main/resources/assets/mekanism/blockstates/personal_chest.json +++ b/src/main/resources/assets/mekanism/blockstates/personal_chest.json @@ -1,15 +1,7 @@ { "forge_marker": 1, "defaults": { - "model": "mekanism:nothing", - "textures": { - "front": "mekanism:blocks/fuelwood_heater/FuelwoodHeaterFront", - "west": "mekanism:blocks/fuelwood_heater/FuelwoodHeaterRight", - "east": "mekanism:blocks/fuelwood_heater/FuelwoodHeaterLeft", - "south": "mekanism:blocks/fuelwood_heater/FuelwoodHeaterBack", - "up": "mekanism:blocks/fuelwood_heater/FuelwoodHeaterTop", - "down": "mekanism:blocks/fuelwood_heater/FuelwoodHeaterBottom" - } + "model": "mekanism:nothing" }, "variants": { "facing": { diff --git a/src/main/resources/assets/mekanism/blockstates/solar_neutron_activator.json b/src/main/resources/assets/mekanism/blockstates/solar_neutron_activator.json index 136868436..591d119c5 100644 --- a/src/main/resources/assets/mekanism/blockstates/solar_neutron_activator.json +++ b/src/main/resources/assets/mekanism/blockstates/solar_neutron_activator.json @@ -1,7 +1,7 @@ { "forge_marker": 1, "defaults": { - "model": "mekanism:solar_neutron_activator" + "model": "mekanism:nothing" }, "variants": { "facing": { diff --git a/src/main/resources/assets/mekanism/models/block/solar_neutron_activator.json b/src/main/resources/assets/mekanism/models/block/solar_neutron_activator.json deleted file mode 100644 index a64483144..000000000 --- a/src/main/resources/assets/mekanism/models/block/solar_neutron_activator.json +++ /dev/null @@ -1,619 +0,0 @@ -{ - "elements": [ - { - "__comment": "support5", - "from": [0.5, 4, 6.5], - "to": [1.5, 5, 7.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "tube2c", - "from": [5, 14, 12], - "to": [6, 15, 13], - "faces": { - "down": {"uv": [0.375, 1.125, 0.25, 1.25], "texture": "#all"}, - "up": {"uv": [0.25, 1.25, 0.125, 1.125], "texture": "#all"}, - "north": {"uv": [0.125, 1.25, 0.25, 1.375], "texture": "#all"}, - "south": {"uv": [0.375, 1.25, 0.5, 1.375], "texture": "#all"}, - "west": {"uv": [0.25, 1.25, 0.375, 1.375], "texture": "#all"}, - "east": {"uv": [0, 1.25, 0.125, 1.375], "texture": "#all"} - } - }, - { - "__comment": "panelBraceRight2", - "from": [1, 27.5, 12], - "to": [6, 28.5, 14], - "faces": { - "down": {"uv": [9.5, 1.875, 8.875, 2.125], "texture": "#all"}, - "up": {"uv": [8.875, 2.125, 8.25, 1.875], "texture": "#all"}, - "north": {"uv": [8.25, 2.125, 8.875, 2.25], "texture": "#all"}, - "south": {"uv": [9.125, 2.125, 9.75, 2.25], "texture": "#all"}, - "west": {"uv": [8.875, 2.125, 9.125, 2.25], "texture": "#all"}, - "east": {"uv": [8, 2.125, 8.25, 2.25], "texture": "#all"} - } - }, - { - "__comment": "support7", - "from": [0.5, 4, 10.5], - "to": [1.5, 5, 11.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "support12", - "from": [14.5, 4, 8.5], - "to": [15.5, 5, 9.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "panelBraceLeft2", - "from": [10, 27.5, 12], - "to": [15, 28.5, 14], - "faces": { - "down": {"uv": [9.5, 1.875, 8.875, 2.125], "texture": "#all"}, - "up": {"uv": [8.875, 2.125, 8.25, 1.875], "texture": "#all"}, - "north": {"uv": [8.25, 2.125, 8.875, 2.25], "texture": "#all"}, - "south": {"uv": [9.125, 2.125, 9.75, 2.25], "texture": "#all"}, - "west": {"uv": [8.875, 2.125, 9.125, 2.25], "texture": "#all"}, - "east": {"uv": [8, 2.125, 8.25, 2.25], "texture": "#all"} - } - }, - { - "__comment": "tube2a", - "from": [10, 14, 12], - "to": [11, 15, 13], - "faces": { - "down": {"uv": [0.375, 1.125, 0.25, 1.25], "texture": "#all"}, - "up": {"uv": [0.25, 1.25, 0.125, 1.125], "texture": "#all"}, - "north": {"uv": [0.125, 1.25, 0.25, 1.375], "texture": "#all"}, - "south": {"uv": [0.375, 1.25, 0.5, 1.375], "texture": "#all"}, - "west": {"uv": [0.25, 1.25, 0.375, 1.375], "texture": "#all"}, - "east": {"uv": [0, 1.25, 0.125, 1.375], "texture": "#all"} - } - }, - { - "__comment": "panel3", - "from": [10.75, 27.95, 0], - "to": [16.75, 28.95, 16], - "faces": { - "down": {"uv": [14, 4, 13.25, 6], "texture": "#all"}, - "up": {"uv": [13.25, 6, 12.5, 4], "texture": "#all"}, - "north": {"uv": [12.5, 6, 13.25, 6.125], "texture": "#all"}, - "south": {"uv": [15.25, 6, 16, 6.125], "texture": "#all"}, - "west": {"uv": [13.25, 6, 15.25, 6.125], "texture": "#all"}, - "east": {"uv": [10.5, 6, 12.5, 6.125], "texture": "#all"} - } - }, - { - "__comment": "support13", - "from": [14.5, 4, 6.5], - "to": [15.5, 5, 7.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "panelBraceRight1", - "from": [1, 27.5, 2], - "to": [6, 28.5, 4], - "faces": { - "down": {"uv": [9.5, 1.875, 8.875, 2.125], "texture": "#all"}, - "up": {"uv": [8.875, 2.125, 8.25, 1.875], "texture": "#all"}, - "north": {"uv": [8.25, 2.125, 8.875, 2.25], "texture": "#all"}, - "south": {"uv": [9.125, 2.125, 9.75, 2.25], "texture": "#all"}, - "west": {"uv": [8.875, 2.125, 9.125, 2.25], "texture": "#all"}, - "east": {"uv": [8, 2.125, 8.25, 2.25], "texture": "#all"} - } - }, - { - "__comment": "tank", - "from": [0, 5, 0], - "to": [16, 14, 16], - "faces": { - "down": {"uv": [6, 0, 4, 2], "texture": "#all"}, - "up": {"uv": [4, 2, 2, 0], "texture": "#all"}, - "north": {"uv": [2, 2, 4, 3.125], "texture": "#all"}, - "south": {"uv": [6, 2, 8, 3.125], "texture": "#all"}, - "west": {"uv": [4, 2, 6, 3.125], "texture": "#all"}, - "east": {"uv": [0, 2, 2, 3.125], "texture": "#all"} - } - }, - { - "__comment": "panelBrace", - "from": [7, 25.8, 6], - "to": [9, 27.8, 15], - "faces": { - "down": {"uv": [8.625, 2.25, 8.375, 3.375], "texture": "#all"}, - "up": {"uv": [8.375, 3.375, 8.125, 2.25], "texture": "#all"}, - "north": {"uv": [8.125, 3.375, 8.375, 3.625], "texture": "#all"}, - "south": {"uv": [9.5, 3.375, 9.75, 3.625], "texture": "#all"}, - "west": {"uv": [8.375, 3.375, 9.5, 3.625], "texture": "#all"}, - "east": {"uv": [7, 3.375, 8.125, 3.625], "texture": "#all"} - } - }, - { - "__comment": "support4", - "from": [0.5, 4, 4.5], - "to": [1.5, 5, 5.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "laser", - "from": [7.5, 24.9, 7], - "to": [8.5, 26.9, 8], - "faces": { - "down": {"uv": [0.875, 0, 0.75, 0.125], "texture": "#all"}, - "up": {"uv": [0.75, 0.125, 0.625, 0], "texture": "#all"}, - "north": {"uv": [0.625, 0.125, 0.75, 0.375], "texture": "#all"}, - "south": {"uv": [0.875, 0.125, 1, 0.375], "texture": "#all"}, - "west": {"uv": [0.75, 0.125, 0.875, 0.375], "texture": "#all"}, - "east": {"uv": [0.5, 0.125, 0.625, 0.375], "texture": "#all"} - } - }, - { - "__comment": "panel1", - "from": [-0.75, 27.95, 0], - "to": [5.25, 28.95, 16], - "faces": { - "down": {"uv": [14, 4, 13.25, 6], "texture": "#all"}, - "up": {"uv": [13.25, 6, 12.5, 4], "texture": "#all"}, - "north": {"uv": [12.5, 6, 13.25, 6.125], "texture": "#all"}, - "south": {"uv": [15.25, 6, 16, 6.125], "texture": "#all"}, - "west": {"uv": [13.25, 6, 15.25, 6.125], "texture": "#all"}, - "east": {"uv": [10.5, 6, 12.5, 6.125], "texture": "#all"} - } - }, - { - "__comment": "support15", - "from": [14.5, 4, 2.5], - "to": [15.5, 5, 3.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "support8", - "from": [0.5, 4, 12.5], - "to": [1.5, 5, 13.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "laserBeamToggle", - "from": [7.5, 13.9, 7], - "to": [8.5, 24.9, 8], - "faces": { - "down": {"uv": [1.875, 0, 1.75, 0.125], "texture": "#all"}, - "up": {"uv": [1.75, 0.125, 1.625, 0], "texture": "#all"}, - "north": {"uv": [1.625, 0.125, 1.75, 1.5], "texture": "#all"}, - "south": {"uv": [1.875, 0.125, 2, 1.5], "texture": "#all"}, - "west": {"uv": [1.75, 0.125, 1.875, 1.5], "texture": "#all"}, - "east": {"uv": [1.5, 0.125, 1.625, 1.5], "texture": "#all"} - } - }, - { - "__comment": "brace2", - "from": [6, 13.5, 0.9], - "to": [7, 14.5, 2.9], - "faces": { - "down": {"uv": [0.5, 1.375, 0.375, 1.625], "texture": "#all"}, - "up": {"uv": [0.375, 1.625, 0.25, 1.375], "texture": "#all"}, - "north": {"uv": [0.25, 1.625, 0.375, 1.75], "texture": "#all"}, - "south": {"uv": [0.625, 1.625, 0.75, 1.75], "texture": "#all"}, - "west": {"uv": [0.375, 1.625, 0.625, 1.75], "texture": "#all"}, - "east": {"uv": [0, 1.625, 0.25, 1.75], "texture": "#all"} - } - }, - { - "__comment": "support9", - "from": [14.5, 4, 14.5], - "to": [15.5, 5, 15.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "hole2", - "from": [6.5, 14, 5.5], - "to": [7.5, 16, 6.5], - "faces": { - "down": {"uv": [0.375, 0.75, 0.25, 0.875], "texture": "#all"}, - "up": {"uv": [0.25, 0.875, 0.125, 0.75], "texture": "#all"}, - "north": {"uv": [0.125, 0.875, 0.25, 1.125], "texture": "#all"}, - "south": {"uv": [0.375, 0.875, 0.5, 1.125], "texture": "#all"}, - "west": {"uv": [0.25, 0.875, 0.375, 1.125], "texture": "#all"}, - "east": {"uv": [0, 0.875, 0.125, 1.125], "texture": "#all"} - } - }, - { - "__comment": "panel2", - "from": [5, 28, 0], - "to": [11, 29, 16], - "faces": { - "down": {"uv": [14, 1.875, 13.25, 3.875], "texture": "#all"}, - "up": {"uv": [13.25, 3.875, 12.5, 1.875], "texture": "#all"}, - "north": {"uv": [12.5, 3.875, 13.25, 4], "texture": "#all"}, - "south": {"uv": [15.25, 3.875, 16, 4], "texture": "#all"}, - "west": {"uv": [13.25, 3.875, 15.25, 4], "texture": "#all"}, - "east": {"uv": [10.5, 3.875, 12.5, 4], "texture": "#all"} - } - }, - { - "__comment": "port", - "from": [4, 4, -0.00999999999999979], - "to": [12, 12, 0.99], - "faces": { - "down": {"uv": [2.125, 5.625, 1.125, 5.75], "texture": "#all"}, - "up": {"uv": [1.125, 5.75, 0.125, 5.625], "texture": "#all"}, - "north": {"uv": [0.125, 5.75, 1.125, 6.75], "texture": "#all"}, - "south": {"uv": [1.25, 5.75, 2.25, 6.75], "texture": "#all"}, - "west": {"uv": [1.125, 5.75, 1.25, 6.75], "texture": "#all"}, - "east": {"uv": [0, 5.75, 0.125, 6.75], "texture": "#all"} - } - }, - { - "__comment": "support16", - "from": [14.5, 4, 0.5], - "to": [15.5, 5, 1.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "portConnector", - "from": [5, 4, 0.99], - "to": [11, 5, 1.99], - "faces": { - "down": {"uv": [1.625, 1.75, 0.875, 1.875], "texture": "#all"}, - "up": {"uv": [0.875, 1.875, 0.125, 1.75], "texture": "#all"}, - "north": {"uv": [0.125, 1.875, 0.875, 2], "texture": "#all"}, - "south": {"uv": [1, 1.875, 1.75, 2], "texture": "#all"}, - "west": {"uv": [0.875, 1.875, 1, 2], "texture": "#all"}, - "east": {"uv": [0, 1.875, 0.125, 2], "texture": "#all"} - } - }, - { - "__comment": "support10", - "from": [14.5, 4, 12.5], - "to": [15.5, 5, 13.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "support14", - "from": [14.5, 4, 4.5], - "to": [15.5, 5, 5.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "support1", - "from": [0.5, 4, 0.5], - "to": [1.5, 5, 1.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "support11", - "from": [14.5, 4, 10.5], - "to": [15.5, 5, 11.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "support6", - "from": [0.5, 4, 8.5], - "to": [1.5, 5, 9.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "support2", - "from": [0.5, 4, 14.5], - "to": [1.5, 5, 15.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "tube1a", - "from": [10, 14, 10], - "to": [11, 15, 11], - "faces": { - "down": {"uv": [0.375, 1.125, 0.25, 1.25], "texture": "#all"}, - "up": {"uv": [0.25, 1.25, 0.125, 1.125], "texture": "#all"}, - "north": {"uv": [0.125, 1.25, 0.25, 1.375], "texture": "#all"}, - "south": {"uv": [0.375, 1.25, 0.5, 1.375], "texture": "#all"}, - "west": {"uv": [0.25, 1.25, 0.375, 1.375], "texture": "#all"}, - "east": {"uv": [0, 1.25, 0.125, 1.375], "texture": "#all"} - } - }, - { - "__comment": "tube2b", - "from": [5, 15, 12], - "to": [11, 16, 13], - "faces": { - "down": {"uv": [1.625, 1.75, 0.875, 1.875], "texture": "#all"}, - "up": {"uv": [0.875, 1.875, 0.125, 1.75], "texture": "#all"}, - "north": {"uv": [0.125, 1.875, 0.875, 2], "texture": "#all"}, - "south": {"uv": [1, 1.875, 1.75, 2], "texture": "#all"}, - "west": {"uv": [0.875, 1.875, 1, 2], "texture": "#all"}, - "east": {"uv": [0, 1.875, 0.125, 2], "texture": "#all"} - } - }, - { - "__comment": "base", - "from": [0, 0, 0], - "to": [16, 4, 16], - "faces": { - "down": {"uv": [6, 3.125, 4, 5.125], "texture": "#all"}, - "up": {"uv": [4, 5.125, 2, 3.125], "texture": "#all"}, - "north": {"uv": [2, 5.125, 4, 5.625], "texture": "#all"}, - "south": {"uv": [6, 5.125, 8, 5.625], "texture": "#all"}, - "west": {"uv": [4, 5.125, 6, 5.625], "texture": "#all"}, - "east": {"uv": [0, 5.125, 2, 5.625], "texture": "#all"} - } - }, - { - "__comment": "tube1b", - "from": [5, 15, 10], - "to": [11, 16, 11], - "faces": { - "down": {"uv": [1.625, 1.75, 0.875, 1.875], "texture": "#all"}, - "up": {"uv": [0.875, 1.875, 0.125, 1.75], "texture": "#all"}, - "north": {"uv": [0.125, 1.875, 0.875, 2], "texture": "#all"}, - "south": {"uv": [1, 1.875, 1.75, 2], "texture": "#all"}, - "west": {"uv": [0.875, 1.875, 1, 2], "texture": "#all"}, - "east": {"uv": [0, 1.875, 0.125, 2], "texture": "#all"} - } - }, - { - "__comment": "support3", - "from": [0.5, 4, 2.5], - "to": [1.5, 5, 3.5], - "faces": { - "down": {"uv": [0.375, 0, 0.25, 0.125], "texture": "#all"}, - "up": {"uv": [0.25, 0.125, 0.125, 0], "texture": "#all"}, - "north": {"uv": [0.125, 0.125, 0.25, 0.25], "texture": "#all"}, - "south": {"uv": [0.375, 0.125, 0.5, 0.25], "texture": "#all"}, - "west": {"uv": [0.25, 0.125, 0.375, 0.25], "texture": "#all"}, - "east": {"uv": [0, 0.125, 0.125, 0.25], "texture": "#all"} - } - }, - { - "__comment": "hole4", - "from": [6.5, 14, 6.5], - "to": [9.5, 16, 7.5], - "faces": { - "down": {"uv": [0.875, 0.375, 0.5, 0.5], "texture": "#all"}, - "up": {"uv": [0.5, 0.5, 0.125, 0.375], "texture": "#all"}, - "north": {"uv": [0.125, 0.5, 0.5, 0.75], "texture": "#all"}, - "south": {"uv": [0.625, 0.5, 1, 0.75], "texture": "#all"}, - "west": {"uv": [0.5, 0.5, 0.625, 0.75], "texture": "#all"}, - "east": {"uv": [0, 0.5, 0.125, 0.75], "texture": "#all"} - } - }, - { - "__comment": "conduit", - "from": [7, 13.5, 7], - "to": [9, 14.5, 14], - "faces": { - "down": {"uv": [7.375, 0, 7.125, 0.875], "texture": "#all"}, - "up": {"uv": [7.125, 0.875, 6.875, 0], "texture": "#all"}, - "north": {"uv": [6.875, 0.875, 7.125, 1], "texture": "#all"}, - "south": {"uv": [8, 0.875, 8.25, 1], "texture": "#all"}, - "west": {"uv": [7.125, 0.875, 8, 1], "texture": "#all"}, - "east": {"uv": [6, 0.875, 6.875, 1], "texture": "#all"} - } - }, - { - "__comment": "hole1", - "from": [6.5, 14, 4.5], - "to": [9.5, 16, 5.5], - "faces": { - "down": {"uv": [0.875, 0.375, 0.5, 0.5], "texture": "#all"}, - "up": {"uv": [0.5, 0.5, 0.125, 0.375], "texture": "#all"}, - "north": {"uv": [0.125, 0.5, 0.5, 0.75], "texture": "#all"}, - "south": {"uv": [0.625, 0.5, 1, 0.75], "texture": "#all"}, - "west": {"uv": [0.5, 0.5, 0.625, 0.75], "texture": "#all"}, - "east": {"uv": [0, 0.5, 0.125, 0.75], "texture": "#all"} - } - }, - { - "__comment": "platform", - "from": [5, 12, 3], - "to": [11, 15, 9], - "faces": { - "down": {"uv": [4.5, 5.625, 3.75, 6.375], "texture": "#all"}, - "up": {"uv": [3.75, 6.375, 3, 5.625], "texture": "#all"}, - "north": {"uv": [3, 6.375, 3.75, 6.75], "texture": "#all"}, - "south": {"uv": [4.5, 6.375, 5.25, 6.75], "texture": "#all"}, - "west": {"uv": [3.75, 6.375, 4.5, 6.75], "texture": "#all"}, - "east": {"uv": [2.25, 6.375, 3, 6.75], "texture": "#all"} - } - }, - { - "__comment": "bridge", - "from": [2, 4, 2], - "to": [14, 5, 15], - "faces": { - "down": {"uv": [12.75, 0.125, 11.25, 1.75], "texture": "#all"}, - "up": {"uv": [11.25, 1.75, 9.75, 0.125], "texture": "#all"}, - "north": {"uv": [9.75, 1.75, 11.25, 1.875], "texture": "#all"}, - "south": {"uv": [12.875, 1.75, 14.375, 1.875], "texture": "#all"}, - "west": {"uv": [11.25, 1.75, 12.875, 1.875], "texture": "#all"}, - "east": {"uv": [8.125, 1.75, 9.75, 1.875], "texture": "#all"} - } - }, - { - "__comment": "pole", - "from": [6, 14, 14], - "to": [10, 29, 16], - "faces": { - "down": {"uv": [15.75, 0, 15.25, 0.25], "texture": "#all"}, - "up": {"uv": [15.25, 0.25, 14.75, 0], "texture": "#all"}, - "north": {"uv": [14.75, 0.25, 15.25, 2.125], "texture": "#all"}, - "south": {"uv": [15.5, 0.25, 16, 2.125], "texture": "#all"}, - "west": {"uv": [15.25, 0.25, 15.5, 2.125], "texture": "#all"}, - "east": {"uv": [14.5, 0.25, 14.75, 2.125], "texture": "#all"} - } - }, - { - "__comment": "panelBraceLeft1", - "from": [10, 27.5, 2], - "to": [15, 28.5, 4], - "faces": { - "down": {"uv": [9.5, 1.875, 8.875, 2.125], "texture": "#all"}, - "up": {"uv": [8.875, 2.125, 8.25, 1.875], "texture": "#all"}, - "north": {"uv": [8.25, 2.125, 8.875, 2.25], "texture": "#all"}, - "south": {"uv": [9.125, 2.125, 9.75, 2.25], "texture": "#all"}, - "west": {"uv": [8.875, 2.125, 9.125, 2.25], "texture": "#all"}, - "east": {"uv": [8, 2.125, 8.25, 2.25], "texture": "#all"} - } - }, - { - "__comment": "brace1", - "from": [9, 13.5, 0.9], - "to": [10, 14.5, 2.9], - "faces": { - "down": {"uv": [0.5, 1.375, 0.375, 1.625], "texture": "#all"}, - "up": {"uv": [0.375, 1.625, 0.25, 1.375], "texture": "#all"}, - "north": {"uv": [0.25, 1.625, 0.375, 1.75], "texture": "#all"}, - "south": {"uv": [0.625, 1.625, 0.75, 1.75], "texture": "#all"}, - "west": {"uv": [0.375, 1.625, 0.625, 1.75], "texture": "#all"}, - "east": {"uv": [0, 1.625, 0.25, 1.75], "texture": "#all"} - } - }, - { - "__comment": "tube1c", - "from": [5, 14, 10], - "to": [6, 15, 11], - "faces": { - "down": {"uv": [0.375, 1.125, 0.25, 1.25], "texture": "#all"}, - "up": {"uv": [0.25, 1.25, 0.125, 1.125], "texture": "#all"}, - "north": {"uv": [0.125, 1.25, 0.25, 1.375], "texture": "#all"}, - "south": {"uv": [0.375, 1.25, 0.5, 1.375], "texture": "#all"}, - "west": {"uv": [0.25, 1.25, 0.375, 1.375], "texture": "#all"}, - "east": {"uv": [0, 1.25, 0.125, 1.375], "texture": "#all"} - } - }, - { - "__comment": "panelBase", - "from": [5, 27, 1], - "to": [11, 28, 15], - "faces": { - "down": {"uv": [6.75, 5.625, 6, 7.375], "texture": "#all"}, - "up": {"uv": [6, 7.375, 5.25, 5.625], "texture": "#all"}, - "north": {"uv": [5.25, 7.375, 6, 7.5], "texture": "#all"}, - "south": {"uv": [7.75, 7.375, 8.5, 7.5], "texture": "#all"}, - "west": {"uv": [6, 7.375, 7.75, 7.5], "texture": "#all"}, - "east": {"uv": [3.5, 7.375, 5.25, 7.5], "texture": "#all"} - } - }, - { - "__comment": "hole3", - "from": [8.5, 14, 5.5], - "to": [9.5, 16, 6.5], - "faces": { - "down": {"uv": [0.375, 0.75, 0.25, 0.875], "texture": "#all"}, - "up": {"uv": [0.25, 0.875, 0.125, 0.75], "texture": "#all"}, - "north": {"uv": [0.125, 0.875, 0.25, 1.125], "texture": "#all"}, - "south": {"uv": [0.375, 0.875, 0.5, 1.125], "texture": "#all"}, - "west": {"uv": [0.25, 0.875, 0.375, 1.125], "texture": "#all"}, - "east": {"uv": [0, 0.875, 0.125, 1.125], "texture": "#all"} - } - } - ], - "textures": { - "all": "mekanism:blocks/models/solar_neutron_activator", - "particle": "..." - } -}