textures + casting basin rendering
@@ -4,6 +4,8 @@ package com.drmangotea.createindustry.blocks.machines.metal_processing.casting_b
|
||||
import com.drmangotea.createindustry.blocks.machines.metal_processing.coke_oven.CokeOvenBlock;
|
||||
import com.drmangotea.createindustry.registry.TFMGBlockEntities;
|
||||
import com.drmangotea.createindustry.registry.TFMGItems;
|
||||
import com.drmangotea.createindustry.registry.TFMGShapes;
|
||||
import com.simibubi.create.AllShapes;
|
||||
import com.simibubi.create.content.equipment.wrench.IWrenchable;
|
||||
import com.simibubi.create.foundation.block.IBE;
|
||||
import net.minecraft.core.BlockPos;
|
||||
@@ -12,6 +14,7 @@ import net.minecraft.world.InteractionResult;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.item.Items;
|
||||
import net.minecraft.world.level.BlockGetter;
|
||||
import net.minecraft.world.level.Level;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.entity.BlockEntityType;
|
||||
@@ -19,6 +22,8 @@ import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.level.block.state.StateDefinition;
|
||||
import net.minecraft.world.level.block.state.properties.EnumProperty;
|
||||
import net.minecraft.world.phys.BlockHitResult;
|
||||
import net.minecraft.world.phys.shapes.CollisionContext;
|
||||
import net.minecraft.world.phys.shapes.VoxelShape;
|
||||
|
||||
public class CastingBasinBlock extends Block implements IBE<CastingBasinBlockEntity>, IWrenchable {
|
||||
|
||||
@@ -28,7 +33,11 @@ public class CastingBasinBlock extends Block implements IBE<CastingBasinBlockEnt
|
||||
super(p_49795_);
|
||||
registerDefaultState(defaultBlockState().setValue(MOLD_TYPE, CastingBasinBlockEntity.MoldType.NONE));
|
||||
}
|
||||
@Override
|
||||
public VoxelShape getShape(BlockState pState, BlockGetter worldIn, BlockPos pos, CollisionContext context) {
|
||||
|
||||
return AllShapes.BASIN_BLOCK_SHAPE;
|
||||
}
|
||||
@Override
|
||||
public InteractionResult use(BlockState state, Level level, BlockPos pos, Player player, InteractionHand interactionHand, BlockHitResult blockHitResult) {
|
||||
CastingBasinBlockEntity be;
|
||||
@@ -50,7 +59,7 @@ public class CastingBasinBlock extends Block implements IBE<CastingBasinBlockEnt
|
||||
player.setItemInHand(interactionHand,new ItemStack(be.moldInventory.getStackInSlot(0).getItem(),1));
|
||||
((CastingBasinBlockEntity) level.getBlockEntity(pos)).moldInventory.getStackInSlot(0).shrink(1);
|
||||
|
||||
|
||||
level.setBlock(pos,state.setValue(MOLD_TYPE, CastingBasinBlockEntity.MoldType.NONE),2);
|
||||
return InteractionResult.SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,56 @@
|
||||
package com.drmangotea.createindustry.blocks.machines.metal_processing.casting_basin;
|
||||
|
||||
public class CastingBasinRenderer {
|
||||
}
|
||||
|
||||
import com.drmangotea.createindustry.registry.TFMGPartialModels;
|
||||
import com.jozufozu.flywheel.core.PartialModel;
|
||||
import com.mojang.blaze3d.vertex.PoseStack;
|
||||
import com.mojang.blaze3d.vertex.VertexConsumer;
|
||||
import com.simibubi.create.foundation.blockEntity.behaviour.fluid.SmartFluidTankBehaviour;
|
||||
import com.simibubi.create.foundation.blockEntity.renderer.SafeBlockEntityRenderer;
|
||||
import com.simibubi.create.foundation.fluid.FluidRenderer;
|
||||
import com.simibubi.create.foundation.render.CachedBufferer;
|
||||
import net.minecraft.client.renderer.MultiBufferSource;
|
||||
import net.minecraft.client.renderer.RenderType;
|
||||
import net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider;
|
||||
import net.minecraft.util.Mth;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
|
||||
import static com.drmangotea.createindustry.blocks.machines.metal_processing.casting_basin.CastingBasinBlock.MOLD_TYPE;
|
||||
|
||||
public class CastingBasinRenderer extends SafeBlockEntityRenderer<CastingBasinBlockEntity> {
|
||||
|
||||
public CastingBasinRenderer(BlockEntityRendererProvider.Context context) {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void renderSafe(CastingBasinBlockEntity be, float partialTicks, PoseStack ms, MultiBufferSource buffer,
|
||||
int light, int overlay) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ms.pushPose();
|
||||
BlockState blockState = be.getBlockState();
|
||||
VertexConsumer vb = buffer.getBuffer(RenderType.solid());
|
||||
|
||||
|
||||
|
||||
if(be.getBlockState().getValue(MOLD_TYPE)== CastingBasinBlockEntity.MoldType.INGOT)
|
||||
CachedBufferer.partial(TFMGPartialModels.INGOT_MOLD, blockState)
|
||||
.light(light)
|
||||
.renderInto(ms, vb);
|
||||
|
||||
if(be.getBlockState().getValue(MOLD_TYPE)== CastingBasinBlockEntity.MoldType.BLOCK)
|
||||
CachedBufferer.partial(TFMGPartialModels.BlOCK_MOLD, blockState)
|
||||
.light(light)
|
||||
.renderInto(ms, vb);
|
||||
|
||||
ms.popPose();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2,9 +2,15 @@ package com.drmangotea.createindustry.blocks.machines.metal_processing.casting_s
|
||||
|
||||
|
||||
import com.drmangotea.createindustry.registry.TFMGBlockEntities;
|
||||
import com.drmangotea.createindustry.registry.TFMGShapes;
|
||||
import com.simibubi.create.foundation.block.IBE;
|
||||
import net.minecraft.core.BlockPos;
|
||||
import net.minecraft.world.level.BlockGetter;
|
||||
import net.minecraft.world.level.block.Block;
|
||||
import net.minecraft.world.level.block.entity.BlockEntityType;
|
||||
import net.minecraft.world.level.block.state.BlockState;
|
||||
import net.minecraft.world.phys.shapes.CollisionContext;
|
||||
import net.minecraft.world.phys.shapes.VoxelShape;
|
||||
|
||||
public class CastingSpoutBlock extends Block implements IBE<CastingSpoutBlockEntity> {
|
||||
public CastingSpoutBlock(Properties p_49795_) {
|
||||
@@ -15,7 +21,11 @@ public class CastingSpoutBlock extends Block implements IBE<CastingSpoutBlockEnt
|
||||
public Class<CastingSpoutBlockEntity> getBlockEntityClass() {
|
||||
return CastingSpoutBlockEntity.class;
|
||||
}
|
||||
@Override
|
||||
public VoxelShape getShape(BlockState pState, BlockGetter worldIn, BlockPos pos, CollisionContext context) {
|
||||
|
||||
return TFMGShapes.CASTING_SPOUT;
|
||||
}
|
||||
@Override
|
||||
public BlockEntityType<? extends CastingSpoutBlockEntity> getBlockEntityType() {
|
||||
return TFMGBlockEntities.CASTING_SPOUT.get();
|
||||
|
||||
@@ -63,10 +63,11 @@ public class DistillationControllerBlockEntity extends DistilleryControllerBlock
|
||||
towerLevel = 0;
|
||||
return;
|
||||
}
|
||||
hasTank = true;
|
||||
hasTank = true;
|
||||
|
||||
towerLevel = tank.tower.towerLevel;
|
||||
|
||||
|
||||
towerLevel = tank.tower.towerLevel;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@ package com.drmangotea.createindustry.blocks.machines.oil_processing.distillatio
|
||||
|
||||
|
||||
|
||||
import com.drmangotea.createindustry.CreateTFMG;
|
||||
import com.drmangotea.createindustry.blocks.machines.oil_processing.distillation.distillery.DistilleryOutputBlockEntity;
|
||||
import com.drmangotea.createindustry.recipes.distillation.DistillationRecipe;
|
||||
import com.drmangotea.createindustry.recipes.distillation.AbstractDistillationRecipe;
|
||||
@@ -179,7 +180,6 @@ public class DistillationOutputBlockEntity extends DistilleryOutputBlockEntity i
|
||||
|
||||
|
||||
|
||||
|
||||
if(!hasIndustrialPipes(foundOutputs))
|
||||
return;
|
||||
|
||||
@@ -251,11 +251,16 @@ if(fluidInRecipe2!=null)
|
||||
|
||||
|
||||
if (!controller.getTanks().get(true).isEmpty()) {
|
||||
if(!level.isClientSide) {
|
||||
|
||||
|
||||
// if(((AdvancedDistillationRecipe)currentRecipe).getInputFluid().getMatchingFluidStacks().get(0).getFluid() != TFMGFluids.HEAVY_OIL.get())
|
||||
// return;
|
||||
|
||||
|
||||
if(!controller.hasTank)
|
||||
return;
|
||||
|
||||
|
||||
if(controller.towerLevel<4)
|
||||
return;
|
||||
|
||||
@@ -274,10 +279,10 @@ if(fluidInRecipe2!=null)
|
||||
if(controller.getTank().height<desiredHeight)
|
||||
return;
|
||||
|
||||
|
||||
if(!level.isClientSide) {
|
||||
controller.getTanks().get(true).getPrimaryHandler().drain(((AdvancedDistillationRecipe) recipe).getFluidIngredients().get(0).getRequiredAmount(), IFluidHandler.FluidAction.EXECUTE);
|
||||
|
||||
|
||||
|
||||
tankInventory.setFluid(new FluidStack(((AdvancedDistillationRecipe) recipe).getFirstFluidResult().getFluid(), ((AdvancedDistillationRecipe) recipe).getFirstFluidResult().getAmount() + this.tankInventory.getFluidAmount()));
|
||||
if(above1 instanceof DistillationOutputBlockEntity)
|
||||
if(foundOutputs>=2)
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.drmangotea.createindustry.blocks.machines.oil_processing.distillation.distillation_tower;
|
||||
|
||||
|
||||
import com.drmangotea.createindustry.CreateTFMG;
|
||||
import com.drmangotea.createindustry.blocks.tanks.SteelTankBlock;
|
||||
import com.drmangotea.createindustry.blocks.tanks.SteelTankBlockEntity;
|
||||
import com.drmangotea.createindustry.registry.TFMGBlocks;
|
||||
@@ -68,7 +69,9 @@ public class DistillationTowerData {
|
||||
public LerpedFloat gauge = LerpedFloat.linear();
|
||||
|
||||
public void tick(SteelTankBlockEntity controller) {
|
||||
towerLevel = Math.min(activeHeat, maxHeatForSize);
|
||||
|
||||
|
||||
towerLevel = activeHeat;
|
||||
tank=controller;
|
||||
// tank.tankInventory.drain(2, IFluidHandler.FluidAction.EXECUTE);
|
||||
|
||||
@@ -77,7 +80,7 @@ public class DistillationTowerData {
|
||||
float current = gauge.getValue(1);
|
||||
if (current > 1 && Create.RANDOM.nextFloat() < 1 / 2f)
|
||||
gauge.setValueNoUpdate(current + Math.min(-(current - 1) * Create.RANDOM.nextFloat(), 0));
|
||||
return;
|
||||
// return;
|
||||
}
|
||||
|
||||
if (needsHeatLevelUpdate && updateTemperature(controller))
|
||||
|
||||
@@ -30,6 +30,7 @@ import com.drmangotea.createindustry.blocks.machines.metal_processing.blast_furn
|
||||
import com.drmangotea.createindustry.blocks.machines.metal_processing.blast_furnace.BlastFurnaceRenderer;
|
||||
import com.drmangotea.createindustry.blocks.machines.metal_processing.blast_furnace.MoltenMetalBlockEntity;
|
||||
import com.drmangotea.createindustry.blocks.machines.metal_processing.casting_basin.CastingBasinBlockEntity;
|
||||
import com.drmangotea.createindustry.blocks.machines.metal_processing.casting_basin.CastingBasinRenderer;
|
||||
import com.drmangotea.createindustry.blocks.machines.metal_processing.casting_spout.CastingSpoutBlockEntity;
|
||||
import com.drmangotea.createindustry.blocks.machines.metal_processing.casting_spout.CastingSpoutRenderer;
|
||||
import com.drmangotea.createindustry.blocks.machines.metal_processing.coke_oven.CokeOvenBlockEntity;
|
||||
@@ -184,6 +185,7 @@ public class TFMGBlockEntities {
|
||||
|
||||
public static final BlockEntityEntry<CastingBasinBlockEntity> CASTING_BASIN = REGISTRATE
|
||||
.blockEntity("casting_basin", CastingBasinBlockEntity::new)
|
||||
.renderer(()-> CastingBasinRenderer::new)
|
||||
.validBlocks(TFMGBlocks.CASTING_BASIN)
|
||||
.register();
|
||||
|
||||
|
||||
@@ -607,8 +607,7 @@ public static final BlockEntry<DistillationOutputBlock> STEEL_DISTILLATION_OUTPU
|
||||
.properties(p -> p.noOcclusion()
|
||||
.noLootTable()
|
||||
.air())
|
||||
.blockstate((c, p) -> p.getVariantBuilder(c.get())
|
||||
.forAllStatesExcept(BlockStateGen.mapToAir(p)))
|
||||
|
||||
.register();
|
||||
|
||||
//--Casting Basin
|
||||
@@ -634,7 +633,7 @@ public static final BlockEntry<DistillationOutputBlock> STEEL_DISTILLATION_OUTPU
|
||||
.blockstate((ctx, prov) -> prov.simpleBlock(ctx.getEntry(), AssetLookup.partialBaseModel(ctx, prov)))
|
||||
.addLayer(() -> RenderType::cutoutMipped)
|
||||
.item()
|
||||
.build()
|
||||
.transform(customItemModel())
|
||||
.lang("Casting Spout")
|
||||
.register();
|
||||
|
||||
|
||||
@@ -49,7 +49,10 @@ public class TFMGPartialModels {
|
||||
CAST_IRON_FLUID_PIPE_CASING = block("cast_iron_pipe/casing"),
|
||||
BRASS_FLUID_PIPE_CASING = block("brass_pipe/casing"),
|
||||
PLASTIC_FLUID_PIPE_CASING = block("plastic_pipe/casing"),
|
||||
ALUMINUM_FLUID_PIPE_CASING = block("aluminum_pipe/casing")
|
||||
ALUMINUM_FLUID_PIPE_CASING = block("aluminum_pipe/casing"),
|
||||
|
||||
INGOT_MOLD = block("casting_basin/mold_base"),
|
||||
BlOCK_MOLD = block("casting_basin/block_mold")
|
||||
|
||||
|
||||
;
|
||||
|
||||
@@ -27,6 +27,9 @@ public class TFMGShapes {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
;
|
||||
public static final VoxelShape
|
||||
|
||||
@@ -36,6 +39,9 @@ public class TFMGShapes {
|
||||
INDUSTRIAL_PIPE = shape(4, 0, 4, 12, 16, 12).build(),
|
||||
FLARESTACK = shape(3, 0, 3, 13, 14, 14).build(),
|
||||
PUMPJACK_BASE = shape(3, 0, 3, 13, 16, 13).build(),
|
||||
|
||||
CASTING_SPOUT = shape(1, 2, 1, 15, 14, 15)
|
||||
.build(),
|
||||
SURFACE_SCANNER = shape(2, 0, 2, 14, 14, 14).build();
|
||||
;
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"credit": "Made with Blockbench",
|
||||
"parent": "block/block",
|
||||
"textures": {
|
||||
"12": "create:block/basin",
|
||||
"particle": "create:block/industrial_iron_block"
|
||||
"12": "createindustry:block/casting_basin",
|
||||
"particle": "createindustry:block/industrial_iron_block"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"1": "createindustry:item/block_mold"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [0, 15, 0],
|
||||
"to": [16, 15, 16],
|
||||
"color": 2,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 16, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 16, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 16, 0], "texture": "#1"},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#1"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"1": "createindustry:item/ingot_mold"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [0, 15, 0],
|
||||
"to": [16, 15, 16],
|
||||
"color": 2,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 16, 0], "texture": "#1"},
|
||||
"east": {"uv": [0, 0, 16, 0], "texture": "#1"},
|
||||
"south": {"uv": [0, 0, 16, 0], "texture": "#1"},
|
||||
"west": {"uv": [0, 0, 16, 0], "texture": "#1"},
|
||||
"up": {"uv": [0, 0, 16, 16], "texture": "#1"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,43 +1,46 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"parent": "block/block",
|
||||
"texture_size": [32, 32],
|
||||
"textures": {
|
||||
"1": "createindustry:block/casting_spout",
|
||||
"particle": "createindustry:block/industrial_iron_block"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [1, 2, 1],
|
||||
"to": [15, 14, 15],
|
||||
"color": 2,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 14, 12], "texture": "#missing"},
|
||||
"east": {"uv": [0, 0, 14, 12], "texture": "#missing"},
|
||||
"south": {"uv": [0, 0, 14, 12], "texture": "#missing"},
|
||||
"west": {"uv": [0, 0, 14, 12], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 14, 14], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 14, 14], "texture": "#missing"}
|
||||
"north": {"uv": [0, 1, 7, 7], "texture": "#1"},
|
||||
"east": {"uv": [0, 1, 7, 7], "texture": "#1"},
|
||||
"south": {"uv": [0, 1, 7, 7], "texture": "#1"},
|
||||
"west": {"uv": [0, 1, 7, 7], "texture": "#1"},
|
||||
"up": {"uv": [0, 8.5, 7, 15.5], "texture": "#1"},
|
||||
"down": {"uv": [8, 8.5, 15, 15.5], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 0, 2],
|
||||
"to": [14, 2, 14],
|
||||
"color": 7,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"east": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"south": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"west": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 12, 12], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 12, 12], "texture": "#missing"}
|
||||
"north": {"uv": [0.5, 7, 6.5, 8], "texture": "#1"},
|
||||
"east": {"uv": [0.5, 7, 6.5, 8], "texture": "#1"},
|
||||
"south": {"uv": [0.5, 7, 6.5, 8], "texture": "#1"},
|
||||
"west": {"uv": [0.5, 7, 6.5, 8], "texture": "#1"},
|
||||
"up": {"uv": [8.5, 9, 14.5, 15], "texture": "#1"},
|
||||
"down": {"uv": [8.5, 9, 14.5, 15], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 14, 2],
|
||||
"to": [14, 16, 14],
|
||||
"color": 7,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"east": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"south": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"west": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 12, 12], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 12, 12], "texture": "#missing"}
|
||||
"north": {"uv": [0.5, 0, 6.5, 1], "texture": "#1"},
|
||||
"east": {"uv": [0.5, 0, 6.5, 1], "texture": "#1"},
|
||||
"south": {"uv": [0.5, 0, 6.5, 1], "texture": "#1"},
|
||||
"west": {"uv": [0.5, 0, 6.5, 1], "texture": "#1"},
|
||||
"up": {"uv": [0.5, 9, 6.5, 15], "texture": "#1"},
|
||||
"down": {"uv": [0.5, 9, 6.5, 15], "texture": "#1"}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,30 +1,34 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"parent": "block/block",
|
||||
"texture_size": [32, 32],
|
||||
"textures": {
|
||||
"1": "createindustry:block/casting_spout"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [6, -5, 6],
|
||||
"to": [10, -2, 10],
|
||||
"color": 5,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 4, 3], "texture": "#missing"},
|
||||
"east": {"uv": [0, 0, 4, 3], "texture": "#missing"},
|
||||
"south": {"uv": [0, 0, 4, 3], "texture": "#missing"},
|
||||
"west": {"uv": [0, 0, 4, 3], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 4, 4], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 4, 4], "texture": "#missing"}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"from": [5, -7, 5],
|
||||
"to": [11, -5, 11],
|
||||
"color": 5,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 2], "texture": "#missing"},
|
||||
"east": {"uv": [0, 0, 6, 2], "texture": "#missing"},
|
||||
"south": {"uv": [0, 0, 6, 2], "texture": "#missing"},
|
||||
"west": {"uv": [0, 0, 6, 2], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 6, 6], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 6, 6], "texture": "#missing"}
|
||||
"north": {"uv": [8, 4.5, 11, 5.5], "texture": "#1"},
|
||||
"east": {"uv": [8, 4.5, 11, 5.5], "texture": "#1"},
|
||||
"south": {"uv": [8, 4.5, 11, 5.5], "texture": "#1"},
|
||||
"west": {"uv": [8, 4.5, 11, 5.5], "texture": "#1"},
|
||||
"up": {"uv": [8, 5.5, 11, 8.5], "texture": "#1"},
|
||||
"down": {"uv": [8, 5.5, 11, 8.5], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [6, -5, 6],
|
||||
"to": [10, -2, 10],
|
||||
"faces": {
|
||||
"north": {"uv": [11.5, 0.5, 13.5, 2], "texture": "#1"},
|
||||
"east": {"uv": [11.5, 0.5, 13.5, 2], "texture": "#1"},
|
||||
"south": {"uv": [11.5, 0.5, 13.5, 2], "texture": "#1"},
|
||||
"west": {"uv": [11.5, 0.5, 13.5, 2], "texture": "#1"},
|
||||
"up": {"uv": [13.5, 0, 15.5, 2], "texture": "#1"},
|
||||
"down": {"uv": [13.5, 0, 15.5, 2], "texture": "#1"}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,17 +1,22 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"parent": "block/block",
|
||||
"texture_size": [32, 32],
|
||||
"textures": {
|
||||
"1": "createindustry:block/casting_spout"
|
||||
},
|
||||
"elements": [
|
||||
|
||||
{
|
||||
"from": [4, -2, 4],
|
||||
"to": [12, 0, 12],
|
||||
"color": 5,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 8, 2], "texture": "#missing"},
|
||||
"east": {"uv": [0, 0, 8, 2], "texture": "#missing"},
|
||||
"south": {"uv": [0, 0, 8, 2], "texture": "#missing"},
|
||||
"west": {"uv": [0, 0, 8, 2], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 8, 8], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 8, 8], "texture": "#missing"}
|
||||
"north": {"uv": [11.5, 6, 15.5, 7], "texture": "#1"},
|
||||
"east": {"uv": [11.5, 6, 15.5, 7], "texture": "#1"},
|
||||
"south": {"uv": [11.5, 6, 15.5, 7], "texture": "#1"},
|
||||
"west": {"uv": [11.5, 6, 15.5, 7], "texture": "#1"},
|
||||
"up": {"uv": [9.5, 10, 13.5, 14], "texture": "#1"},
|
||||
"down": {"uv": [11.5, 2, 15.5, 6], "texture": "#1"}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,82 +1,81 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"parent": "block/block",
|
||||
"texture_size": [32, 32],
|
||||
"textures": {
|
||||
"1": "createindustry:block/casting_spout"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"from": [1, 2, 1],
|
||||
"to": [15, 14, 15],
|
||||
"color": 2,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 14, 12], "texture": "#missing"},
|
||||
"east": {"uv": [0, 0, 14, 12], "texture": "#missing"},
|
||||
"south": {"uv": [0, 0, 14, 12], "texture": "#missing"},
|
||||
"west": {"uv": [0, 0, 14, 12], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 14, 14], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 14, 14], "texture": "#missing"}
|
||||
"north": {"uv": [0, 1, 7, 7], "texture": "#1"},
|
||||
"east": {"uv": [0, 1, 7, 7], "texture": "#1"},
|
||||
"south": {"uv": [0, 1, 7, 7], "texture": "#1"},
|
||||
"west": {"uv": [0, 1, 7, 7], "texture": "#1"},
|
||||
"up": {"uv": [0, 8.5, 7, 15.5], "texture": "#1"},
|
||||
"down": {"uv": [8, 8.5, 15, 15.5], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 0, 2],
|
||||
"to": [14, 2, 14],
|
||||
"color": 7,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"east": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"south": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"west": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 12, 12], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 12, 12], "texture": "#missing"}
|
||||
"north": {"uv": [0.5, 7, 6.5, 8], "texture": "#1"},
|
||||
"east": {"uv": [0.5, 7, 6.5, 8], "texture": "#1"},
|
||||
"south": {"uv": [0.5, 7, 6.5, 8], "texture": "#1"},
|
||||
"west": {"uv": [0.5, 7, 6.5, 8], "texture": "#1"},
|
||||
"up": {"uv": [8.5, 9, 14.5, 15], "texture": "#1"},
|
||||
"down": {"uv": [8.5, 9, 14.5, 15], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [2, 14, 2],
|
||||
"to": [14, 16, 14],
|
||||
"color": 7,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"east": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"south": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"west": {"uv": [0, 0, 12, 2], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 12, 12], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 12, 12], "texture": "#missing"}
|
||||
"north": {"uv": [0.5, 0, 6.5, 1], "texture": "#1"},
|
||||
"east": {"uv": [0.5, 0, 6.5, 1], "texture": "#1"},
|
||||
"south": {"uv": [0.5, 0, 6.5, 1], "texture": "#1"},
|
||||
"west": {"uv": [0.5, 0, 6.5, 1], "texture": "#1"},
|
||||
"up": {"uv": [0.5, 9, 6.5, 15], "texture": "#1"},
|
||||
"down": {"uv": [0.5, 9, 6.5, 15], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [4, -2, 4],
|
||||
"to": [12, 0, 12],
|
||||
"color": 5,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 8, 2], "texture": "#missing"},
|
||||
"east": {"uv": [0, 0, 8, 2], "texture": "#missing"},
|
||||
"south": {"uv": [0, 0, 8, 2], "texture": "#missing"},
|
||||
"west": {"uv": [0, 0, 8, 2], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 8, 8], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 8, 8], "texture": "#missing"}
|
||||
"north": {"uv": [11.5, 6, 15.5, 7], "texture": "#1"},
|
||||
"east": {"uv": [11.5, 6, 15.5, 7], "texture": "#1"},
|
||||
"south": {"uv": [11.5, 6, 15.5, 7], "texture": "#1"},
|
||||
"west": {"uv": [11.5, 6, 15.5, 7], "texture": "#1"},
|
||||
"up": {"uv": [9.5, 10, 13.5, 14], "texture": "#1"},
|
||||
"down": {"uv": [11.5, 2, 15.5, 6], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [5, -7, 5],
|
||||
"to": [11, -5, 11],
|
||||
"color": 5,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 6, 2], "texture": "#missing"},
|
||||
"east": {"uv": [0, 0, 6, 2], "texture": "#missing"},
|
||||
"south": {"uv": [0, 0, 6, 2], "texture": "#missing"},
|
||||
"west": {"uv": [0, 0, 6, 2], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 6, 6], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 6, 6], "texture": "#missing"}
|
||||
"north": {"uv": [8, 4.5, 11, 5.5], "texture": "#1"},
|
||||
"east": {"uv": [8, 4.5, 11, 5.5], "texture": "#1"},
|
||||
"south": {"uv": [8, 4.5, 11, 5.5], "texture": "#1"},
|
||||
"west": {"uv": [8, 4.5, 11, 5.5], "texture": "#1"},
|
||||
"up": {"uv": [8, 5.5, 11, 8.5], "texture": "#1"},
|
||||
"down": {"uv": [8, 5.5, 11, 8.5], "texture": "#1"}
|
||||
}
|
||||
},
|
||||
{
|
||||
"from": [6, -5, 6],
|
||||
"to": [10, -2, 10],
|
||||
"color": 5,
|
||||
"faces": {
|
||||
"north": {"uv": [0, 0, 4, 3], "texture": "#missing"},
|
||||
"east": {"uv": [0, 0, 4, 3], "texture": "#missing"},
|
||||
"south": {"uv": [0, 0, 4, 3], "texture": "#missing"},
|
||||
"west": {"uv": [0, 0, 4, 3], "texture": "#missing"},
|
||||
"up": {"uv": [0, 0, 4, 4], "texture": "#missing"},
|
||||
"down": {"uv": [0, 0, 4, 4], "texture": "#missing"}
|
||||
"north": {"uv": [11.5, 0.5, 13.5, 2], "texture": "#1"},
|
||||
"east": {"uv": [11.5, 0.5, 13.5, 2], "texture": "#1"},
|
||||
"south": {"uv": [11.5, 0.5, 13.5, 2], "texture": "#1"},
|
||||
"west": {"uv": [11.5, 0.5, 13.5, 2], "texture": "#1"},
|
||||
"up": {"uv": [13.5, 0, 15.5, 2], "texture": "#1"},
|
||||
"down": {"uv": [13.5, 0, 15.5, 2], "texture": "#1"}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"credit": "Made with Blockbench",
|
||||
"textures": {
|
||||
"0": "createindustry:block/steel_block",
|
||||
"particle": "createindustry:block/steel_block"
|
||||
"0": "createindustry:block/coal_coke_dust",
|
||||
"particle": "createindustry:block/coal_coke_dust"
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
|
||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 214 B |
|
After Width: | Height: | Size: 575 B |
|
After Width: | Height: | Size: 691 B |
|
After Width: | Height: | Size: 244 B |
|
After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 214 B |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 305 B |