Merge branch 'mc1.18/0.5.1-repolish' of https://github.com/Creators-of-Create/Create-Concealed into mc1.18/0.5.1-repolish

This commit is contained in:
Kryppers 2023-03-30 23:09:50 +01:00
commit 219f39471d
23 changed files with 402 additions and 1056 deletions

View file

@ -1303,7 +1303,6 @@ public class AllBlocks {
.blockstate(BlockStateGen.directionalBlockProvider(true)) .blockstate(BlockStateGen.directionalBlockProvider(true))
.transform(BlockStressDefaults.setImpact(4.0)) .transform(BlockStressDefaults.setImpact(4.0))
.onRegister(movementBehaviour(new DrillMovementBehaviour())) .onRegister(movementBehaviour(new DrillMovementBehaviour()))
.addLayer(() -> RenderType::cutoutMipped)
.item() .item()
.transform(customItemModel()) .transform(customItemModel())
.register(); .register();

View file

@ -45,7 +45,6 @@ public class AllPartialModels {
GAUGE_INDICATOR = block("gauge/indicator"), GAUGE_HEAD_SPEED = block("gauge/speedometer/head"), GAUGE_INDICATOR = block("gauge/indicator"), GAUGE_HEAD_SPEED = block("gauge/speedometer/head"),
GAUGE_HEAD_STRESS = block("gauge/stressometer/head"), BEARING_TOP = block("bearing/top"), GAUGE_HEAD_STRESS = block("gauge/stressometer/head"), BEARING_TOP = block("bearing/top"),
BEARING_TOP_WOODEN = block("bearing/top_wooden"), DRILL_HEAD = block("mechanical_drill/head"), BEARING_TOP_WOODEN = block("bearing/top_wooden"), DRILL_HEAD = block("mechanical_drill/head"),
DRILL_HEAD_2 = block("mechanical_drill/head_2"), DRILL_HEAD_TOP = block("mechanical_drill/head_top"),
HARVESTER_BLADE = block("mechanical_harvester/blade"), DEPLOYER_POLE = block("deployer/pole"), HARVESTER_BLADE = block("mechanical_harvester/blade"), DEPLOYER_POLE = block("deployer/pole"),
DEPLOYER_HAND_POINTING = block("deployer/hand_pointing"), DEPLOYER_HAND_POINTING = block("deployer/hand_pointing"),
DEPLOYER_HAND_PUNCHING = block("deployer/hand_punching"), DEPLOYER_HAND_PUNCHING = block("deployer/hand_punching"),

View file

@ -162,9 +162,6 @@ public class AllShapes {
PLACARD = shape(2, 0, 2, 14, 3, 14).forDirectional(UP), PLACARD = shape(2, 0, 2, 14, 3, 14).forDirectional(UP),
DRILL = shape(0, 0, 0, 16, 8, 16).add(3, 0, 3, 13, 16, 13)
.forDirectional(UP),
TRACK_ORTHO = shape(TrackVoxelShapes.orthogonal()).forHorizontal(NORTH), TRACK_ORTHO = shape(TrackVoxelShapes.orthogonal()).forHorizontal(NORTH),
TRACK_ASC = shape(TrackVoxelShapes.ascending()).forHorizontal(SOUTH), TRACK_ASC = shape(TrackVoxelShapes.ascending()).forHorizontal(SOUTH),
TRACK_DIAG = shape(TrackVoxelShapes.diagonal()).forHorizontal(SOUTH), TRACK_DIAG = shape(TrackVoxelShapes.diagonal()).forHorizontal(SOUTH),

View file

@ -73,11 +73,6 @@ public class AllSpriteShifts {
get("block/elevator_pulley_belt", "block/elevator_pulley_belt_scroll"), get("block/elevator_pulley_belt", "block/elevator_pulley_belt_scroll"),
ELEVATOR_COIL = get("block/elevator_pulley_coil", "block/elevator_pulley_coil_scroll"); ELEVATOR_COIL = get("block/elevator_pulley_coil", "block/elevator_pulley_coil_scroll");
public static final SpriteShiftEntry
DRILL = get("block/mechanical_drill_head", "block/mechanical_drill_animation"),
DRILL_2 = get("block/mechanical_drill_head_2", "block/mechanical_drill_animation_2"),
DRILL_TOP = get("block/mechanical_drill_head_top", "block/mechanical_drill_animation_top");
public static final SpriteShiftEntry BELT = get("block/belt", "block/belt_scroll"), public static final SpriteShiftEntry BELT = get("block/belt", "block/belt_scroll"),
BELT_OFFSET = get("block/belt_offset", "block/belt_scroll"), BELT_OFFSET = get("block/belt_offset", "block/belt_scroll"),
BELT_DIAGONAL = get("block/belt_diagonal", "block/belt_diagonal_scroll"), BELT_DIAGONAL = get("block/belt_diagonal", "block/belt_diagonal_scroll"),

View file

@ -60,7 +60,7 @@ public class DrillBlock extends DirectionalKineticBlock implements IBE<DrillBloc
@Override @Override
public VoxelShape getShape(BlockState state, BlockGetter worldIn, BlockPos pos, CollisionContext context) { public VoxelShape getShape(BlockState state, BlockGetter worldIn, BlockPos pos, CollisionContext context) {
return AllShapes.DRILL.get(state.getValue(FACING)); return AllShapes.CASING_12PX.get(state.getValue(FACING));
} }
@Override @Override

View file

@ -1,16 +1,11 @@
package com.simibubi.create.content.contraptions.components.actors; package com.simibubi.create.content.contraptions.components.actors;
import com.jozufozu.flywheel.backend.Backend;
import com.jozufozu.flywheel.core.PartialModel;
import com.jozufozu.flywheel.core.virtual.VirtualRenderWorld; import com.jozufozu.flywheel.core.virtual.VirtualRenderWorld;
import com.mojang.blaze3d.vertex.PoseStack;
import com.simibubi.create.AllPartialModels; import com.simibubi.create.AllPartialModels;
import com.simibubi.create.AllSpriteShifts;
import com.simibubi.create.content.contraptions.base.KineticBlockEntityRenderer; import com.simibubi.create.content.contraptions.base.KineticBlockEntityRenderer;
import com.simibubi.create.content.contraptions.components.structureMovement.MovementContext; import com.simibubi.create.content.contraptions.components.structureMovement.MovementContext;
import com.simibubi.create.content.contraptions.components.structureMovement.render.ContraptionMatrices; import com.simibubi.create.content.contraptions.components.structureMovement.render.ContraptionMatrices;
import com.simibubi.create.content.contraptions.components.structureMovement.render.ContraptionRenderDispatcher; import com.simibubi.create.content.contraptions.components.structureMovement.render.ContraptionRenderDispatcher;
import com.simibubi.create.foundation.block.render.SpriteShiftEntry;
import com.simibubi.create.foundation.render.CachedBufferer; import com.simibubi.create.foundation.render.CachedBufferer;
import com.simibubi.create.foundation.render.SuperByteBuffer; import com.simibubi.create.foundation.render.SuperByteBuffer;
import com.simibubi.create.foundation.utility.AngleHelper; import com.simibubi.create.foundation.utility.AngleHelper;
@ -21,7 +16,6 @@ import net.minecraft.client.renderer.MultiBufferSource;
import net.minecraft.client.renderer.RenderType; import net.minecraft.client.renderer.RenderType;
import net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider; import net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider;
import net.minecraft.core.Direction; import net.minecraft.core.Direction;
import net.minecraft.world.level.Level;
import net.minecraft.world.level.block.state.BlockState; import net.minecraft.world.level.block.state.BlockState;
public class DrillRenderer extends KineticBlockEntityRenderer<DrillBlockEntity> { public class DrillRenderer extends KineticBlockEntityRenderer<DrillBlockEntity> {
@ -31,86 +25,32 @@ public class DrillRenderer extends KineticBlockEntityRenderer<DrillBlockEntity>
} }
@Override @Override
protected void renderSafe(DrillBlockEntity be, float partialTicks, PoseStack ms, MultiBufferSource buffer, protected SuperByteBuffer getRotatedModel(DrillBlockEntity be, BlockState state) {
int light, int overlay) { return CachedBufferer.partialFacing(AllPartialModels.DRILL_HEAD, state);
super.renderSafe(be, partialTicks, ms, buffer, light, overlay);
if (Backend.canUseInstancing(be.getLevel()))
return;
BlockState blockState = be.getBlockState();
renderStationary(be, ms, buffer, light, blockState, AllPartialModels.DRILL_HEAD, AllSpriteShifts.DRILL);
renderStationary(be, ms, buffer, light, blockState, AllPartialModels.DRILL_HEAD_2, AllSpriteShifts.DRILL_2);
renderStationary(be, ms, buffer, light, blockState, AllPartialModels.DRILL_HEAD_TOP, AllSpriteShifts.DRILL_TOP);
}
protected static void renderStationary(DrillBlockEntity be, PoseStack ms, MultiBufferSource buffer, int light,
BlockState blockState, PartialModel partial, SpriteShiftEntry spriteShift) {
SuperByteBuffer superBuffer =
CachedBufferer.partialFacingVertical(partial, blockState, blockState.getValue(DrillBlock.FACING))
.light(light);
applyScroll(be.getLevel(), Math.abs(be.getSpeed()) / 64, spriteShift, superBuffer);
superBuffer.renderInto(ms, buffer.getBuffer(RenderType.solid()));
} }
public static void renderInContraption(MovementContext context, VirtualRenderWorld renderWorld, public static void renderInContraption(MovementContext context, VirtualRenderWorld renderWorld,
ContraptionMatrices matrices, MultiBufferSource buffer) { ContraptionMatrices matrices, MultiBufferSource buffer) {
BlockState state = context.state; BlockState state = context.state;
SuperByteBuffer superBuffer = CachedBufferer.partial(AllPartialModels.DRILL_HEAD, state);
Direction facing = state.getValue(DrillBlock.FACING); Direction facing = state.getValue(DrillBlock.FACING);
float speed = (float) Math.min(2.5f, Math.abs(
context.contraption.stalled || !VecHelper.isVecPointingTowards(context.relativeMotion, facing.getOpposite())
? context.getAnimationSpeed() / 128
: 0));
float time = AnimationTickHolder.getRenderTime() / 20;
float angle = (float) (((time * speed * 256) % 360));
SuperByteBuffer superBuffer = CachedBufferer.partial(AllPartialModels.SHAFT_HALF, state); float speed = (float) (context.contraption.stalled
superBuffer.transform(matrices.getModel()) || !VecHelper.isVecPointingTowards(context.relativeMotion, facing
.getOpposite()) ? context.getAnimationSpeed() : 0);
float time = AnimationTickHolder.getRenderTime() / 20;
float angle = (float) (((time * speed) % 360));
superBuffer
.transform(matrices.getModel())
.centre() .centre()
.rotateY(AngleHelper.horizontalAngle(facing) + 180) .rotateY(AngleHelper.horizontalAngle(facing))
.rotateX(AngleHelper.verticalAngle(facing)) .rotateX(AngleHelper.verticalAngle(facing))
.rotateZ(angle) .rotateZ(angle)
.unCentre() .unCentre()
.light(matrices.getWorld(), ContraptionRenderDispatcher.getContraptionWorldLight(context, renderWorld)) .light(matrices.getWorld(),
ContraptionRenderDispatcher.getContraptionWorldLight(context, renderWorld))
.renderInto(matrices.getViewProjection(), buffer.getBuffer(RenderType.solid())); .renderInto(matrices.getViewProjection(), buffer.getBuffer(RenderType.solid()));
renderMoving(context, renderWorld, matrices, buffer, state, facing, speed, AllPartialModels.DRILL_HEAD,
AllSpriteShifts.DRILL);
renderMoving(context, renderWorld, matrices, buffer, state, facing, speed, AllPartialModels.DRILL_HEAD_2,
AllSpriteShifts.DRILL_2);
renderMoving(context, renderWorld, matrices, buffer, state, facing, speed, AllPartialModels.DRILL_HEAD_TOP,
AllSpriteShifts.DRILL_TOP);
}
protected static void renderMoving(MovementContext context, VirtualRenderWorld renderWorld,
ContraptionMatrices matrices, MultiBufferSource buffer, BlockState state, Direction facing, float speed,
PartialModel partial, SpriteShiftEntry spriteShift) {
SuperByteBuffer superBuffer = CachedBufferer.partial(partial, state);
superBuffer.transform(matrices.getModel())
.centre()
.rotateY(AngleHelper.horizontalAngle(facing))
.rotateX(AngleHelper.verticalAngle(facing) + 90)
.unCentre()
.light(matrices.getWorld(), ContraptionRenderDispatcher.getContraptionWorldLight(context, renderWorld));
applyScroll(renderWorld, speed, spriteShift, superBuffer);
superBuffer.renderInto(matrices.getViewProjection(), buffer.getBuffer(RenderType.solid()));
}
public static void applyScroll(Level level, float speed, SpriteShiftEntry spriteShift,
SuperByteBuffer superBuffer) {
float spriteSize = spriteShift.getTarget()
.getV1()
- spriteShift.getTarget()
.getV0();
float time = AnimationTickHolder.getRenderTime(level);
int frame = (int) (speed * time);
float scroll = ((frame % 8) / 8f) * spriteSize;
superBuffer.shiftUVScrolling(spriteShift, scroll);
}
@Override
protected SuperByteBuffer getRotatedModel(DrillBlockEntity be, BlockState state) {
return CachedBufferer.partialFacing(AllPartialModels.SHAFT_HALF, state, state.getValue(DrillBlock.FACING)
.getOpposite());
} }
} }

View file

@ -1,81 +1,77 @@
{ {
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"parent": "block/block",
"textures": { "textures": {
"0": "create:block/funnel/andesite_funnel_frame", "10": "create:block/andesite_casing_very_short",
"1": "create:block/gearbox", "gearbox_top": "create:block/gearbox_top",
"2": "create:block/mechanical_drill_side", "particle": "create:block/gearbox",
"3": "create:block/mechanical_drill_top", "gearbox": "create:block/gearbox",
"particle": "create:block/gearbox" "andesite_casing_short": "create:block/andesite_casing_short"
}, },
"elements": [ "elements": [
{ {
"name": "drill casing", "name": "Body",
"from": [0, 0, 0], "from": [2, 1, 2],
"to": [16, 8, 16], "to": [14, 9, 14],
"faces": { "faces": {
"north": {"uv": [0, 8, 16, 16], "texture": "#2"}, "up": {"uv": [2, 2, 14, 14], "texture": "#gearbox"},
"east": {"uv": [0, 8, 16, 16], "texture": "#2"}, "down": {"uv": [2, 2, 14, 14], "rotation": 180, "texture": "#gearbox"}
"south": {"uv": [0, 8, 16, 16], "texture": "#2"},
"west": {"uv": [0, 8, 16, 16], "texture": "#2"},
"up": {"uv": [0, 0, 16, 16], "texture": "#3"},
"down": {"uv": [0, 0, 16, 16], "texture": "#0"}
} }
}, },
{ {
"name": "drill casing insert", "name": "Bottom",
"from": [2, 1, 2], "from": [0, 0, 14],
"to": [14, 0, 14], "to": [16, 10, 16],
"faces": { "faces": {
"north": {"uv": [2, 14, 14, 15], "texture": "#0"}, "north": {"uv": [0, 4, 16, 16], "rotation": 180, "texture": "#andesite_casing_short"},
"east": {"uv": [14, 2, 15, 14], "rotation": 270, "texture": "#0"}, "east": {"uv": [14, 6, 16, 16], "rotation": 180, "texture": "#10"},
"south": {"uv": [2, 1, 14, 2], "texture": "#0"}, "south": {"uv": [0, 6, 16, 16], "texture": "#10"},
"west": {"uv": [1, 2, 2, 14], "rotation": 90, "texture": "#0"}, "west": {"uv": [14, 6, 16, 16], "texture": "#10"},
"down": {"uv": [2, 2, 14, 14], "texture": "#1"} "up": {"uv": [0, 14, 16, 16], "texture": "#gearbox_top"},
"down": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#gearbox_top"}
}
},
{
"name": "Top",
"from": [0, 0, 0],
"to": [16, 10, 2],
"faces": {
"north": {"uv": [0, 6, 16, 16], "rotation": 180, "texture": "#10"},
"east": {"uv": [0, 6, 2, 16], "rotation": 180, "texture": "#10"},
"south": {"uv": [0, 4, 16, 16], "texture": "#andesite_casing_short"},
"west": {"uv": [0, 6, 2, 16], "texture": "#10"},
"up": {"uv": [0, 0, 16, 2], "texture": "#gearbox_top"},
"down": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#gearbox_top"}
}
},
{
"name": "Side",
"from": [0, 0, 2],
"to": [2, 10, 14],
"faces": {
"east": {"uv": [2, 4, 14, 16], "rotation": 180, "texture": "#andesite_casing_short"},
"west": {"uv": [2, 6, 14, 16], "texture": "#10"},
"up": {"uv": [0, 2, 2, 14], "texture": "#gearbox_top"},
"down": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#gearbox_top"}
}
},
{
"name": "Side",
"from": [14, 0, 2],
"to": [16, 10, 14],
"faces": {
"east": {"uv": [2, 6, 14, 16], "rotation": 180, "texture": "#10"},
"west": {"uv": [2, 4, 14, 16], "rotation": 180, "texture": "#andesite_casing_short"},
"up": {"uv": [14, 2, 16, 14], "texture": "#gearbox_top"},
"down": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#gearbox_top"}
} }
} }
], ],
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 135, 90],
"translation": [-0.75, 0, 0],
"scale": [0.625, 0.625, 0.625]
},
"head": {
"rotation": [0, 180, 0],
"translation": [0, 13, 7]
},
"fixed": {
"scale": [0.5, 0.5, 0.5]
}
},
"groups": [ "groups": [
{ {
"name": "casing", "name": "casing",
"origin": [0, 0, 0], "origin": [8, 8, 8],
"color": 0, "children": [0, 1, 2, 3, 4]
"children": [0, 1]
} }
] ]
} }

View file

@ -1,89 +1,160 @@
{ {
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"parent": "block/block",
"textures": { "textures": {
"4": "create:block/mechanical_drill_head", "0": "create:block/axis_top",
"particle": "create:block/funnel/andesite_funnel_frame" "1": "create:block/axis",
"2": "block/anvil",
"7": "block/polished_andesite",
"10": "create:block/andesite_casing_very_short",
"particle": "block/anvil"
}, },
"elements": [ "elements": [
{ {
"name": "Drill head 1", "name": "Axle",
"from": [2, 8, 2], "from": [6, 6, 0],
"to": [14, 12, 14], "to": [10, 10, 4],
"faces": { "faces": {
"north": {"uv": [2, 12, 14, 16], "texture": "#4"}, "north": {"uv": [6, 6, 10, 10], "texture": "#0"},
"south": {"uv": [2, 12, 14, 16], "texture": "#4"} "east": {"uv": [6, 12, 10, 16], "rotation": 90, "texture": "#1"},
"west": {"uv": [6, 0, 10, 4], "rotation": 270, "texture": "#1"},
"up": {"uv": [6, 12, 10, 16], "texture": "#1"},
"down": {"uv": [6, 0, 10, 4], "rotation": 180, "texture": "#1"}
} }
}, },
{ {
"name": "Drill head 2", "name": "Core",
"from": [3, 12, 3], "from": [5, 5, 9],
"to": [13, 16, 13], "to": [11, 11, 12],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 8]},
"faces": { "faces": {
"north": {"uv": [3, 8, 13, 12], "texture": "#4"}, "north": {"uv": [0, 0, 6, 6], "texture": "#7"},
"south": {"uv": [3, 8, 13, 12], "texture": "#4"} "east": {"uv": [0, 2, 6, 5], "rotation": 270, "texture": "#10"},
"south": {"uv": [5, 0, 11, 6], "texture": "#2"},
"west": {"uv": [0, 2, 6, 5], "rotation": 90, "texture": "#10"},
"up": {"uv": [0, 2, 6, 5], "rotation": 180, "texture": "#10"},
"down": {"uv": [0, 2, 6, 5], "texture": "#10"}
} }
}, },
{ {
"name": "Drill head 3", "name": "Top",
"from": [4, 16, 4], "from": [6, 11, 9],
"to": [12, 20, 12], "to": [10, 13, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": { "faces": {
"north": {"uv": [4, 4, 12, 8], "texture": "#4"}, "north": {"uv": [0, 0, 4, 2], "texture": "#10"},
"south": {"uv": [4, 4, 12, 8], "texture": "#4"} "east": {"uv": [0, 1, 4, 3], "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "rotation": 90, "texture": "#10"},
"west": {"uv": [0, 1, 4, 3], "texture": "#10"},
"up": {"uv": [0, 0, 4, 4], "rotation": 90, "texture": "#10"},
"down": {"uv": [0, 0, 4, 4], "texture": "#10"}
} }
}, },
{ {
"name": "Drill head 4", "name": "Bottom",
"from": [5, 20, 5], "from": [6, 3, 9],
"to": [11, 24, 11], "to": [10, 5, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": { "faces": {
"north": {"uv": [5, 0, 11, 4], "texture": "#4"}, "north": {"uv": [0, 0, 4, 2], "texture": "#10"},
"south": {"uv": [5, 0, 11, 4], "texture": "#4"} "east": {"uv": [0, 1, 4, 3], "rotation": 180, "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "rotation": 90, "texture": "#10"},
"west": {"uv": [0, 1, 4, 3], "rotation": 180, "texture": "#10"},
"up": {"uv": [0, 0, 4, 4], "texture": "#10"},
"down": {"uv": [0, 0, 4, 4], "rotation": 90, "texture": "#10"}
}
},
{
"name": "Left",
"from": [3, 6, 9],
"to": [5, 10, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 2, 4], "texture": "#10"},
"east": {"uv": [0, 0, 4, 4], "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "texture": "#10"},
"west": {"uv": [0, 0, 4, 4], "texture": "#10"},
"up": {"uv": [0, 1, 4, 3], "rotation": 270, "texture": "#10"},
"down": {"uv": [0, 1, 4, 3], "rotation": 270, "texture": "#10"}
}
},
{
"name": "Right",
"from": [11, 6, 9],
"to": [13, 10, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 2, 4], "texture": "#10"},
"east": {"uv": [0, 0, 4, 4], "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "texture": "#10"},
"west": {"uv": [0, 0, 4, 4], "texture": "#10"},
"up": {"uv": [0, 1, 4, 3], "rotation": 90, "texture": "#10"},
"down": {"uv": [0, 1, 4, 3], "rotation": 90, "texture": "#10"}
}
},
{
"name": "Bit1",
"from": [5.5, 5.5, 12],
"to": [10.5, 10.5, 14],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 5, 5], "texture": "#2"},
"east": {"uv": [0, 0, 5, 2], "rotation": 90, "texture": "#2"},
"south": {"uv": [1, 2, 6, 7], "texture": "#2"},
"west": {"uv": [0, 0, 5, 2], "rotation": 270, "texture": "#2"},
"up": {"uv": [0, 0, 5, 2], "texture": "#2"},
"down": {"uv": [0, 0, 5, 2], "texture": "#2"}
}
},
{
"name": "Bit2",
"from": [6, 6, 14],
"to": [10, 10, 16],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 7]},
"faces": {
"north": {"uv": [0, 0, 4, 4], "texture": "#2"},
"east": {"uv": [0, 0, 4, 2], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 0, 4, 4], "texture": "#2"},
"west": {"uv": [0, 0, 4, 2], "rotation": 270, "texture": "#2"},
"up": {"uv": [0, 0, 4, 2], "texture": "#2"},
"down": {"uv": [0, 0, 4, 2], "rotation": 180, "texture": "#2"}
}
},
{
"name": "Bit3",
"from": [6.5, 6.5, 16],
"to": [9.5, 9.5, 18],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 7]},
"faces": {
"north": {"uv": [0, 0, 3, 3], "texture": "#2"},
"east": {"uv": [0, 0, 2, 3], "texture": "#2"},
"south": {"uv": [0, 0, 3, 3], "texture": "#2"},
"west": {"uv": [0, 0, 3, 2], "rotation": 270, "texture": "#2"},
"up": {"uv": [0, 0, 3, 2], "texture": "#2"},
"down": {"uv": [0, 0, 3, 2], "texture": "#2"}
}
},
{
"name": "Bit4",
"from": [7, 7, 18],
"to": [9, 9, 20],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 7]},
"faces": {
"north": {"uv": [0, 0, 2, 2], "texture": "#2"},
"east": {"uv": [0, 0, 2, 2], "texture": "#2"},
"south": {"uv": [5, 5, 7, 7], "texture": "#2"},
"west": {"uv": [0, 0, 2, 2], "texture": "#2"},
"up": {"uv": [0, 0, 2, 2], "texture": "#2"},
"down": {"uv": [0, 0, 2, 2], "texture": "#2"}
} }
} }
], ],
"display": { "display": {},
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 135, 90],
"translation": [-0.75, 0, 0],
"scale": [0.625, 0.625, 0.625]
},
"head": {
"rotation": [0, 180, 0],
"translation": [0, 13, 7]
},
"fixed": {
"scale": [0.5, 0.5, 0.5]
}
},
"groups": [ "groups": [
{ {
"name": "drill head", "name": "head",
"origin": [8, 8, 8], "origin": [8, 8, 8],
"color": 0, "children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
"children": [0, 1, 2, 3]
} }
] ]
} }

View file

@ -1,89 +0,0 @@
{
"credit": "Made with Blockbench",
"textures": {
"5": "create:block/mechanical_drill_head_2",
"particle": "create:block/funnel/andesite_funnel_frame"
},
"elements": [
{
"name": "Drill head 1",
"from": [2, 8, 2],
"to": [14, 12, 14],
"faces": {
"east": {"uv": [2, 12, 14, 16], "texture": "#5"},
"west": {"uv": [2, 12, 14, 16], "texture": "#5"}
}
},
{
"name": "Drill head 2",
"from": [3, 12, 3],
"to": [13, 16, 13],
"faces": {
"east": {"uv": [3, 8, 13, 12], "texture": "#5"},
"west": {"uv": [3, 8, 13, 12], "texture": "#5"}
}
},
{
"name": "Drill head 3",
"from": [4, 16, 4],
"to": [12, 20, 12],
"faces": {
"east": {"uv": [4, 4, 12, 8], "texture": "#5"},
"west": {"uv": [4, 4, 12, 8], "texture": "#5"}
}
},
{
"name": "Drill head 4",
"from": [5, 20, 5],
"to": [11, 24, 11],
"faces": {
"east": {"uv": [5, 0, 11, 4], "texture": "#5"},
"west": {"uv": [5, 0, 11, 4], "texture": "#5"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 135, 90],
"translation": [-0.75, 0, 0],
"scale": [0.625, 0.625, 0.625]
},
"head": {
"rotation": [0, 180, 0],
"translation": [0, 13, 7]
},
"fixed": {
"scale": [0.5, 0.5, 0.5]
}
},
"groups": [
{
"name": "drill head",
"origin": [8, 8, 8],
"color": 0,
"children": [0, 1, 2, 3]
}
]
}

View file

@ -1,85 +0,0 @@
{
"credit": "Made with Blockbench",
"textures": {
"6": "create:block/mechanical_drill_head_top",
"particle": "create:block/funnel/andesite_funnel_frame"
},
"elements": [
{
"name": "Drill head 1",
"from": [2, 8, 2],
"to": [14, 12, 14],
"faces": {
"up": {"uv": [2, 2, 14, 14], "texture": "#6"}
}
},
{
"name": "Drill head 2",
"from": [3, 12, 3],
"to": [13, 16, 13],
"faces": {
"up": {"uv": [3, 3, 13, 13], "texture": "#6"}
}
},
{
"name": "Drill head 3",
"from": [4, 16, 4],
"to": [12, 20, 12],
"faces": {
"up": {"uv": [4, 4, 12, 12], "texture": "#6"}
}
},
{
"name": "Drill head 4",
"from": [5, 20, 5],
"to": [11, 24, 11],
"faces": {
"up": {"uv": [5, 5, 11, 11], "texture": "#6"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 135, 90],
"translation": [-0.75, 0, 0],
"scale": [0.625, 0.625, 0.625]
},
"head": {
"rotation": [0, 180, 0],
"translation": [0, 13, 7]
},
"fixed": {
"scale": [0.5, 0.5, 0.5]
}
},
"groups": [
{
"name": "drill head",
"origin": [8, 8, 8],
"color": 0,
"children": [0, 1, 2, 3]
}
]
}

View file

@ -1,138 +1,233 @@
{ {
"credit": "Made with Blockbench", "credit": "Made with Blockbench",
"parent": "create:block/block",
"textures": { "textures": {
"0": "create:block/funnel/andesite_funnel_frame", "0": "create:block/axis_top",
"1": "create:block/gearbox", "1": "create:block/axis",
"2": "create:block/mechanical_drill_side", "2": "block/anvil",
"3": "create:block/mechanical_drill_top", "7": "block/polished_andesite",
"4": "create:block/mechanical_drill_head", "10": "create:block/andesite_casing_very_short",
"5": "create:block/mechanical_drill_head_2", "particle": "block/anvil",
"6": "create:block/mechanical_drill_head_top", "gearbox_top": "create:block/gearbox_top",
"particle": "create:block/funnel/andesite_funnel_frame" "gearbox": "create:block/gearbox",
"andesite_casing_short": "create:block/andesite_casing_short"
}, },
"elements": [ "elements": [
{ {
"name": "drill casing", "name": "Axle",
"from": [6, 6, 0],
"to": [10, 10, 4],
"faces": {
"north": {"uv": [6, 6, 10, 10], "texture": "#0"},
"east": {"uv": [6, 12, 10, 16], "rotation": 90, "texture": "#1"},
"west": {"uv": [6, 0, 10, 4], "rotation": 270, "texture": "#1"},
"up": {"uv": [6, 12, 10, 16], "texture": "#1"},
"down": {"uv": [6, 0, 10, 4], "rotation": 180, "texture": "#1"}
}
},
{
"name": "Core",
"from": [5, 5, 9],
"to": [11, 11, 12],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 6, 6], "texture": "#7"},
"east": {"uv": [0, 2, 6, 5], "rotation": 270, "texture": "#10"},
"south": {"uv": [5, 0, 11, 6], "texture": "#2"},
"west": {"uv": [0, 2, 6, 5], "rotation": 90, "texture": "#10"},
"up": {"uv": [0, 2, 6, 5], "rotation": 180, "texture": "#10"},
"down": {"uv": [0, 2, 6, 5], "texture": "#10"}
}
},
{
"name": "Top",
"from": [6, 11, 9],
"to": [10, 13, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 4, 2], "texture": "#10"},
"east": {"uv": [0, 1, 4, 3], "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "rotation": 90, "texture": "#10"},
"west": {"uv": [0, 1, 4, 3], "texture": "#10"},
"up": {"uv": [0, 0, 4, 4], "rotation": 90, "texture": "#10"},
"down": {"uv": [0, 0, 4, 4], "texture": "#10"}
}
},
{
"name": "Bottom",
"from": [6, 3, 9],
"to": [10, 5, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 4, 2], "texture": "#10"},
"east": {"uv": [0, 1, 4, 3], "rotation": 180, "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "rotation": 90, "texture": "#10"},
"west": {"uv": [0, 1, 4, 3], "rotation": 180, "texture": "#10"},
"up": {"uv": [0, 0, 4, 4], "texture": "#10"},
"down": {"uv": [0, 0, 4, 4], "rotation": 90, "texture": "#10"}
}
},
{
"name": "Left",
"from": [3, 6, 9],
"to": [5, 10, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 2, 4], "texture": "#10"},
"east": {"uv": [0, 0, 4, 4], "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "texture": "#10"},
"west": {"uv": [0, 0, 4, 4], "texture": "#10"},
"up": {"uv": [0, 1, 4, 3], "rotation": 270, "texture": "#10"},
"down": {"uv": [0, 1, 4, 3], "rotation": 270, "texture": "#10"}
}
},
{
"name": "Right",
"from": [11, 6, 9],
"to": [13, 10, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 2, 4], "texture": "#10"},
"east": {"uv": [0, 0, 4, 4], "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "texture": "#10"},
"west": {"uv": [0, 0, 4, 4], "texture": "#10"},
"up": {"uv": [0, 1, 4, 3], "rotation": 90, "texture": "#10"},
"down": {"uv": [0, 1, 4, 3], "rotation": 90, "texture": "#10"}
}
},
{
"name": "Bit1",
"from": [5.5, 5.5, 12],
"to": [10.5, 10.5, 14],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 5, 5], "texture": "#2"},
"east": {"uv": [0, 0, 5, 2], "rotation": 90, "texture": "#2"},
"south": {"uv": [1, 2, 6, 7], "texture": "#2"},
"west": {"uv": [0, 0, 5, 2], "rotation": 270, "texture": "#2"},
"up": {"uv": [0, 0, 5, 2], "texture": "#2"},
"down": {"uv": [0, 0, 5, 2], "texture": "#2"}
}
},
{
"name": "Bit2",
"from": [6, 6, 14],
"to": [10, 10, 16],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 7]},
"faces": {
"north": {"uv": [0, 0, 4, 4], "texture": "#2"},
"east": {"uv": [0, 0, 4, 2], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 0, 4, 4], "texture": "#2"},
"west": {"uv": [0, 0, 4, 2], "rotation": 270, "texture": "#2"},
"up": {"uv": [0, 0, 4, 2], "texture": "#2"},
"down": {"uv": [0, 0, 4, 2], "rotation": 180, "texture": "#2"}
}
},
{
"name": "Bit3",
"from": [6.5, 6.5, 16],
"to": [9.5, 9.5, 18],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 7]},
"faces": {
"north": {"uv": [0, 0, 3, 3], "texture": "#2"},
"east": {"uv": [0, 0, 2, 3], "texture": "#2"},
"south": {"uv": [0, 0, 3, 3], "texture": "#2"},
"west": {"uv": [0, 0, 3, 2], "rotation": 270, "texture": "#2"},
"up": {"uv": [0, 0, 3, 2], "texture": "#2"},
"down": {"uv": [0, 0, 3, 2], "texture": "#2"}
}
},
{
"name": "Bit4",
"from": [7, 7, 18],
"to": [9, 9, 20],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 7]},
"faces": {
"north": {"uv": [0, 0, 2, 2], "texture": "#2"},
"east": {"uv": [0, 0, 2, 2], "texture": "#2"},
"south": {"uv": [5, 5, 7, 7], "texture": "#2"},
"west": {"uv": [0, 0, 2, 2], "texture": "#2"},
"up": {"uv": [0, 0, 2, 2], "texture": "#2"},
"down": {"uv": [0, 0, 2, 2], "texture": "#2"}
}
},
{
"name": "Body",
"from": [2, 2, 1],
"to": [14, 14, 9],
"faces": {
"north": {"uv": [2, 2, 14, 14], "texture": "#gearbox"},
"south": {"uv": [2, 2, 14, 14], "texture": "#gearbox"}
}
},
{
"name": "Bottom",
"from": [0, 0, 0], "from": [0, 0, 0],
"to": [16, 8, 16], "to": [16, 2, 10],
"faces": { "faces": {
"north": {"uv": [0, 8, 16, 16], "texture": "#2"}, "north": {"uv": [0, 14, 16, 16], "texture": "#gearbox_top"},
"east": {"uv": [0, 8, 16, 16], "texture": "#2"}, "east": {"uv": [14, 6, 16, 16], "rotation": 90, "texture": "#10"},
"south": {"uv": [0, 8, 16, 16], "texture": "#2"}, "south": {"uv": [0, 14, 16, 16], "texture": "#gearbox_top"},
"west": {"uv": [0, 8, 16, 16], "texture": "#2"}, "west": {"uv": [14, 6, 16, 16], "rotation": 90, "texture": "#10"},
"up": {"uv": [0, 0, 16, 16], "texture": "#3"}, "up": {"uv": [0, 4, 16, 16], "texture": "#andesite_casing_short"},
"down": {"uv": [0, 0, 16, 16], "texture": "#0"} "down": {"uv": [0, 6, 16, 16], "texture": "#10"}
} }
}, },
{ {
"name": "drill casing insert", "name": "Top",
"from": [2, 1, 2], "from": [0, 14, 0],
"to": [14, 0, 14], "to": [16, 16, 10],
"faces": { "faces": {
"north": {"uv": [2, 14, 14, 15], "texture": "#0"}, "north": {"uv": [0, 0, 16, 2], "texture": "#gearbox_top"},
"east": {"uv": [14, 2, 15, 14], "rotation": 270, "texture": "#0"}, "east": {"uv": [0, 6, 2, 16], "rotation": 90, "texture": "#10"},
"south": {"uv": [2, 1, 14, 2], "texture": "#0"}, "south": {"uv": [0, 0, 16, 2], "texture": "#gearbox_top"},
"west": {"uv": [1, 2, 2, 14], "rotation": 90, "texture": "#0"}, "west": {"uv": [0, 6, 2, 16], "rotation": 90, "texture": "#10"},
"down": {"uv": [2, 2, 14, 14], "texture": "#1"} "up": {"uv": [0, 6, 16, 16], "texture": "#10"},
"down": {"uv": [0, 4, 16, 16], "texture": "#andesite_casing_short"}
} }
}, },
{ {
"name": "Drill head 1", "name": "Side",
"from": [2, 8, 2], "from": [0, 2, 0],
"to": [14, 12, 14], "to": [2, 14, 10],
"faces": { "faces": {
"north": {"uv": [2, 12, 14, 16], "texture": "#4"}, "north": {"uv": [14, 2, 16, 14], "texture": "#gearbox_top"},
"east": {"uv": [2, 12, 14, 16], "texture": "#5"}, "east": {"uv": [2, 4, 14, 16], "rotation": 90, "texture": "#andesite_casing_short"},
"south": {"uv": [2, 12, 14, 16], "texture": "#4"}, "south": {"uv": [0, 2, 2, 14], "texture": "#gearbox_top"},
"west": {"uv": [2, 12, 14, 16], "texture": "#5"}, "west": {"uv": [2, 6, 14, 16], "rotation": 90, "texture": "#10"}
"up": {"uv": [2, 2, 14, 14], "texture": "#6"}
} }
}, },
{ {
"name": "Drill head 2", "name": "Side",
"from": [3, 12, 3], "from": [14, 2, 0],
"to": [13, 16, 13], "to": [16, 14, 10],
"faces": { "faces": {
"north": {"uv": [3, 8, 13, 12], "texture": "#4"}, "north": {"uv": [0, 2, 2, 14], "texture": "#gearbox_top"},
"east": {"uv": [3, 8, 13, 12], "texture": "#5"}, "east": {"uv": [2, 6, 14, 16], "rotation": 90, "texture": "#10"},
"south": {"uv": [3, 8, 13, 12], "texture": "#4"}, "south": {"uv": [14, 2, 16, 14], "texture": "#gearbox_top"},
"west": {"uv": [3, 8, 13, 12], "texture": "#5"}, "west": {"uv": [2, 4, 14, 16], "rotation": 270, "texture": "#andesite_casing_short"}
"up": {"uv": [3, 3, 13, 13], "texture": "#6"}
}
},
{
"name": "Drill head 3",
"from": [4, 16, 4],
"to": [12, 20, 12],
"faces": {
"north": {"uv": [4, 4, 12, 8], "texture": "#4"},
"east": {"uv": [4, 4, 12, 8], "texture": "#5"},
"south": {"uv": [4, 4, 12, 8], "texture": "#4"},
"west": {"uv": [4, 4, 12, 8], "texture": "#5"},
"up": {"uv": [4, 4, 12, 12], "texture": "#6"}
}
},
{
"name": "Drill head 4",
"from": [5, 20, 5],
"to": [11, 24, 11],
"faces": {
"north": {"uv": [5, 0, 11, 4], "texture": "#4"},
"east": {"uv": [5, 0, 11, 4], "texture": "#5"},
"south": {"uv": [5, 0, 11, 4], "texture": "#4"},
"west": {"uv": [5, 0, 11, 4], "texture": "#5"},
"up": {"uv": [5, 5, 11, 11], "texture": "#6"}
} }
} }
], ],
"display": { "display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 135, 90],
"translation": [-0.75, 0, 0],
"scale": [0.625, 0.625, 0.625]
},
"head": {
"rotation": [0, 180, 0],
"translation": [0, 13, 7]
},
"fixed": { "fixed": {
"rotation": [0, 180, 0],
"translation": [0, 0, -1.75],
"scale": [0.5, 0.5, 0.5] "scale": [0.5, 0.5, 0.5]
} }
}, },
"groups": [ "groups": [
{ {
"name": "casing", "name": "head",
"origin": [0, 0, 0],
"color": 0,
"children": [0, 1]
},
{
"name": "drill head",
"origin": [8, 8, 8], "origin": [8, 8, 8],
"color": 0, "color": 0,
"children": [2, 3, 4, 5] "children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
},
{
"name": "casing",
"origin": [8, 8, 8],
"color": 0,
"children": [10, 11, 12, 13, 14]
} }
] ]
} }

View file

@ -1,102 +0,0 @@
{
"credit": "Made with Blockbench",
"textures": {
"0": "create:block/funnel/andesite_funnel_frame",
"1": "create:block/gearbox",
"2": "mechanical_drill_side",
"3": "mechanical_drill_top",
"4": "mechanical_drill_animation",
"5": "mechanical_drill_animation_2",
"6": "mechanical_drill_animation_top",
"particle": "create:block/funnel/andesite_funnel_frame"
},
"elements": [
{
"name": "drill casing",
"from": [0, 0, 0],
"to": [16, 8, 16],
"faces": {
"north": {"uv": [0, 8, 16, 16], "texture": "#2"},
"east": {"uv": [0, 8, 16, 16], "texture": "#2"},
"south": {"uv": [0, 8, 16, 16], "texture": "#2"},
"west": {"uv": [0, 8, 16, 16], "texture": "#2"},
"up": {"uv": [0, 0, 16, 16], "texture": "#3"},
"down": {"uv": [0, 0, 16, 16], "texture": "#0"}
}
},
{
"name": "drill casing insert",
"from": [2, 1, 2],
"to": [14, 0, 14],
"faces": {
"north": {"uv": [2, 14, 14, 15], "texture": "#0"},
"east": {"uv": [14, 2, 15, 14], "rotation": 270, "texture": "#0"},
"south": {"uv": [2, 1, 14, 2], "texture": "#0"},
"west": {"uv": [1, 2, 2, 14], "rotation": 90, "texture": "#0"},
"down": {"uv": [2, 2, 14, 14], "texture": "#1"}
}
},
{
"name": "Drill head 1",
"from": [2, 8, 2],
"to": [14, 12, 14],
"faces": {
"north": {"uv": [2, 12, 14, 16], "texture": "#4"},
"east": {"uv": [2, 12, 14, 16], "texture": "#5"},
"south": {"uv": [2, 12, 14, 16], "texture": "#4"},
"west": {"uv": [2, 12, 14, 16], "texture": "#5"},
"up": {"uv": [2, 2, 14, 14], "texture": "#6"}
}
},
{
"name": "Drill head 2",
"from": [3, 12, 3],
"to": [13, 16, 13],
"faces": {
"north": {"uv": [3, 8, 13, 12], "texture": "#4"},
"east": {"uv": [3, 8, 13, 12], "texture": "#5"},
"south": {"uv": [3, 8, 13, 12], "texture": "#4"},
"west": {"uv": [3, 8, 13, 12], "texture": "#5"},
"up": {"uv": [3, 3, 13, 13], "texture": "#6"}
}
},
{
"name": "Drill head 3",
"from": [4, 16, 4],
"to": [12, 20, 12],
"faces": {
"north": {"uv": [4, 4, 12, 8], "texture": "#4"},
"east": {"uv": [4, 4, 12, 8], "texture": "#5"},
"south": {"uv": [4, 4, 12, 8], "texture": "#4"},
"west": {"uv": [4, 4, 12, 8], "texture": "#5"},
"up": {"uv": [4, 4, 12, 12], "texture": "#6"}
}
},
{
"name": "Drill head 4",
"from": [5, 20, 5],
"to": [11, 24, 11],
"faces": {
"north": {"uv": [5, 0, 11, 4], "texture": "#4"},
"east": {"uv": [5, 0, 11, 4], "texture": "#5"},
"south": {"uv": [5, 0, 11, 4], "texture": "#4"},
"west": {"uv": [5, 0, 11, 4], "texture": "#5"},
"up": {"uv": [5, 5, 11, 11], "texture": "#6"}
}
}
],
"groups": [
{
"name": "casing",
"origin": [0, 0, 0],
"color": 0,
"children": [0, 1]
},
{
"name": "drill head",
"origin": [8, 8, 8],
"color": 0,
"children": [2, 3, 4, 5]
}
]
}

View file

@ -1,77 +0,0 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"10": "create:block/andesite_casing_very_short",
"gearbox_top": "create:block/gearbox_top",
"particle": "create:block/gearbox",
"gearbox": "create:block/gearbox",
"andesite_casing_short": "create:block/andesite_casing_short"
},
"elements": [
{
"name": "Body",
"from": [2, 1, 2],
"to": [14, 9, 14],
"faces": {
"up": {"uv": [2, 2, 14, 14], "texture": "#gearbox"},
"down": {"uv": [2, 2, 14, 14], "rotation": 180, "texture": "#gearbox"}
}
},
{
"name": "Bottom",
"from": [0, 0, 14],
"to": [16, 10, 16],
"faces": {
"north": {"uv": [0, 4, 16, 16], "rotation": 180, "texture": "#andesite_casing_short"},
"east": {"uv": [14, 6, 16, 16], "rotation": 180, "texture": "#10"},
"south": {"uv": [0, 6, 16, 16], "texture": "#10"},
"west": {"uv": [14, 6, 16, 16], "texture": "#10"},
"up": {"uv": [0, 14, 16, 16], "texture": "#gearbox_top"},
"down": {"uv": [0, 14, 16, 16], "rotation": 180, "texture": "#gearbox_top"}
}
},
{
"name": "Top",
"from": [0, 0, 0],
"to": [16, 10, 2],
"faces": {
"north": {"uv": [0, 6, 16, 16], "rotation": 180, "texture": "#10"},
"east": {"uv": [0, 6, 2, 16], "rotation": 180, "texture": "#10"},
"south": {"uv": [0, 4, 16, 16], "texture": "#andesite_casing_short"},
"west": {"uv": [0, 6, 2, 16], "texture": "#10"},
"up": {"uv": [0, 0, 16, 2], "texture": "#gearbox_top"},
"down": {"uv": [0, 0, 16, 2], "rotation": 180, "texture": "#gearbox_top"}
}
},
{
"name": "Side",
"from": [0, 0, 2],
"to": [2, 10, 14],
"faces": {
"east": {"uv": [2, 4, 14, 16], "rotation": 180, "texture": "#andesite_casing_short"},
"west": {"uv": [2, 6, 14, 16], "texture": "#10"},
"up": {"uv": [0, 2, 2, 14], "texture": "#gearbox_top"},
"down": {"uv": [14, 2, 16, 14], "rotation": 180, "texture": "#gearbox_top"}
}
},
{
"name": "Side",
"from": [14, 0, 2],
"to": [16, 10, 14],
"faces": {
"east": {"uv": [2, 6, 14, 16], "rotation": 180, "texture": "#10"},
"west": {"uv": [2, 4, 14, 16], "rotation": 180, "texture": "#andesite_casing_short"},
"up": {"uv": [14, 2, 16, 14], "texture": "#gearbox_top"},
"down": {"uv": [0, 2, 2, 14], "rotation": 180, "texture": "#gearbox_top"}
}
}
],
"groups": [
{
"name": "casing",
"origin": [8, 8, 8],
"children": [0, 1, 2, 3, 4]
}
]
}

View file

@ -1,160 +0,0 @@
{
"credit": "Made with Blockbench",
"parent": "block/block",
"textures": {
"0": "create:block/axis_top",
"1": "create:block/axis",
"2": "block/anvil",
"7": "block/polished_andesite",
"10": "create:block/andesite_casing_very_short",
"particle": "block/anvil"
},
"elements": [
{
"name": "Axle",
"from": [6, 6, 0],
"to": [10, 10, 4],
"faces": {
"north": {"uv": [6, 6, 10, 10], "texture": "#0"},
"east": {"uv": [6, 12, 10, 16], "rotation": 90, "texture": "#1"},
"west": {"uv": [6, 0, 10, 4], "rotation": 270, "texture": "#1"},
"up": {"uv": [6, 12, 10, 16], "texture": "#1"},
"down": {"uv": [6, 0, 10, 4], "rotation": 180, "texture": "#1"}
}
},
{
"name": "Core",
"from": [5, 5, 9],
"to": [11, 11, 12],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 6, 6], "texture": "#7"},
"east": {"uv": [0, 2, 6, 5], "rotation": 270, "texture": "#10"},
"south": {"uv": [5, 0, 11, 6], "texture": "#2"},
"west": {"uv": [0, 2, 6, 5], "rotation": 90, "texture": "#10"},
"up": {"uv": [0, 2, 6, 5], "rotation": 180, "texture": "#10"},
"down": {"uv": [0, 2, 6, 5], "texture": "#10"}
}
},
{
"name": "Top",
"from": [6, 11, 9],
"to": [10, 13, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 4, 2], "texture": "#10"},
"east": {"uv": [0, 1, 4, 3], "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "rotation": 90, "texture": "#10"},
"west": {"uv": [0, 1, 4, 3], "texture": "#10"},
"up": {"uv": [0, 0, 4, 4], "rotation": 90, "texture": "#10"},
"down": {"uv": [0, 0, 4, 4], "texture": "#10"}
}
},
{
"name": "Bottom",
"from": [6, 3, 9],
"to": [10, 5, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 4, 2], "texture": "#10"},
"east": {"uv": [0, 1, 4, 3], "rotation": 180, "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "rotation": 90, "texture": "#10"},
"west": {"uv": [0, 1, 4, 3], "rotation": 180, "texture": "#10"},
"up": {"uv": [0, 0, 4, 4], "texture": "#10"},
"down": {"uv": [0, 0, 4, 4], "rotation": 90, "texture": "#10"}
}
},
{
"name": "Left",
"from": [3, 6, 9],
"to": [5, 10, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 2, 4], "texture": "#10"},
"east": {"uv": [0, 0, 4, 4], "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "texture": "#10"},
"west": {"uv": [0, 0, 4, 4], "texture": "#10"},
"up": {"uv": [0, 1, 4, 3], "rotation": 270, "texture": "#10"},
"down": {"uv": [0, 1, 4, 3], "rotation": 270, "texture": "#10"}
}
},
{
"name": "Right",
"from": [11, 6, 9],
"to": [13, 10, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 2, 4], "texture": "#10"},
"east": {"uv": [0, 0, 4, 4], "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "texture": "#10"},
"west": {"uv": [0, 0, 4, 4], "texture": "#10"},
"up": {"uv": [0, 1, 4, 3], "rotation": 90, "texture": "#10"},
"down": {"uv": [0, 1, 4, 3], "rotation": 90, "texture": "#10"}
}
},
{
"name": "Bit1",
"from": [5.5, 5.5, 12],
"to": [10.5, 10.5, 14],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 5, 5], "texture": "#2"},
"east": {"uv": [0, 0, 5, 2], "rotation": 90, "texture": "#2"},
"south": {"uv": [1, 2, 6, 7], "texture": "#2"},
"west": {"uv": [0, 0, 5, 2], "rotation": 270, "texture": "#2"},
"up": {"uv": [0, 0, 5, 2], "texture": "#2"},
"down": {"uv": [0, 0, 5, 2], "texture": "#2"}
}
},
{
"name": "Bit2",
"from": [6, 6, 14],
"to": [10, 10, 16],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 7]},
"faces": {
"north": {"uv": [0, 0, 4, 4], "texture": "#2"},
"east": {"uv": [0, 0, 4, 2], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 0, 4, 4], "texture": "#2"},
"west": {"uv": [0, 0, 4, 2], "rotation": 270, "texture": "#2"},
"up": {"uv": [0, 0, 4, 2], "texture": "#2"},
"down": {"uv": [0, 0, 4, 2], "rotation": 180, "texture": "#2"}
}
},
{
"name": "Bit3",
"from": [6.5, 6.5, 16],
"to": [9.5, 9.5, 18],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 7]},
"faces": {
"north": {"uv": [0, 0, 3, 3], "texture": "#2"},
"east": {"uv": [0, 0, 2, 3], "texture": "#2"},
"south": {"uv": [0, 0, 3, 3], "texture": "#2"},
"west": {"uv": [0, 0, 3, 2], "rotation": 270, "texture": "#2"},
"up": {"uv": [0, 0, 3, 2], "texture": "#2"},
"down": {"uv": [0, 0, 3, 2], "texture": "#2"}
}
},
{
"name": "Bit4",
"from": [7, 7, 18],
"to": [9, 9, 20],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 7]},
"faces": {
"north": {"uv": [0, 0, 2, 2], "texture": "#2"},
"east": {"uv": [0, 0, 2, 2], "texture": "#2"},
"south": {"uv": [5, 5, 7, 7], "texture": "#2"},
"west": {"uv": [0, 0, 2, 2], "texture": "#2"},
"up": {"uv": [0, 0, 2, 2], "texture": "#2"},
"down": {"uv": [0, 0, 2, 2], "texture": "#2"}
}
}
],
"display": {},
"groups": [
{
"name": "head",
"origin": [8, 8, 8],
"children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
}
]
}

View file

@ -1,233 +0,0 @@
{
"credit": "Made with Blockbench",
"parent": "create:block/block",
"textures": {
"0": "create:block/axis_top",
"1": "create:block/axis",
"2": "block/anvil",
"7": "block/polished_andesite",
"10": "create:block/andesite_casing_very_short",
"particle": "block/anvil",
"gearbox_top": "create:block/gearbox_top",
"gearbox": "create:block/gearbox",
"andesite_casing_short": "create:block/andesite_casing_short"
},
"elements": [
{
"name": "Axle",
"from": [6, 6, 0],
"to": [10, 10, 4],
"faces": {
"north": {"uv": [6, 6, 10, 10], "texture": "#0"},
"east": {"uv": [6, 12, 10, 16], "rotation": 90, "texture": "#1"},
"west": {"uv": [6, 0, 10, 4], "rotation": 270, "texture": "#1"},
"up": {"uv": [6, 12, 10, 16], "texture": "#1"},
"down": {"uv": [6, 0, 10, 4], "rotation": 180, "texture": "#1"}
}
},
{
"name": "Core",
"from": [5, 5, 9],
"to": [11, 11, 12],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 6, 6], "texture": "#7"},
"east": {"uv": [0, 2, 6, 5], "rotation": 270, "texture": "#10"},
"south": {"uv": [5, 0, 11, 6], "texture": "#2"},
"west": {"uv": [0, 2, 6, 5], "rotation": 90, "texture": "#10"},
"up": {"uv": [0, 2, 6, 5], "rotation": 180, "texture": "#10"},
"down": {"uv": [0, 2, 6, 5], "texture": "#10"}
}
},
{
"name": "Top",
"from": [6, 11, 9],
"to": [10, 13, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 4, 2], "texture": "#10"},
"east": {"uv": [0, 1, 4, 3], "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "rotation": 90, "texture": "#10"},
"west": {"uv": [0, 1, 4, 3], "texture": "#10"},
"up": {"uv": [0, 0, 4, 4], "rotation": 90, "texture": "#10"},
"down": {"uv": [0, 0, 4, 4], "texture": "#10"}
}
},
{
"name": "Bottom",
"from": [6, 3, 9],
"to": [10, 5, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 4, 2], "texture": "#10"},
"east": {"uv": [0, 1, 4, 3], "rotation": 180, "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "rotation": 90, "texture": "#10"},
"west": {"uv": [0, 1, 4, 3], "rotation": 180, "texture": "#10"},
"up": {"uv": [0, 0, 4, 4], "texture": "#10"},
"down": {"uv": [0, 0, 4, 4], "rotation": 90, "texture": "#10"}
}
},
{
"name": "Left",
"from": [3, 6, 9],
"to": [5, 10, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 2, 4], "texture": "#10"},
"east": {"uv": [0, 0, 4, 4], "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "texture": "#10"},
"west": {"uv": [0, 0, 4, 4], "texture": "#10"},
"up": {"uv": [0, 1, 4, 3], "rotation": 270, "texture": "#10"},
"down": {"uv": [0, 1, 4, 3], "rotation": 270, "texture": "#10"}
}
},
{
"name": "Right",
"from": [11, 6, 9],
"to": [13, 10, 13],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 2, 4], "texture": "#10"},
"east": {"uv": [0, 0, 4, 4], "texture": "#10"},
"south": {"uv": [0, 0, 2, 4], "texture": "#10"},
"west": {"uv": [0, 0, 4, 4], "texture": "#10"},
"up": {"uv": [0, 1, 4, 3], "rotation": 90, "texture": "#10"},
"down": {"uv": [0, 1, 4, 3], "rotation": 90, "texture": "#10"}
}
},
{
"name": "Bit1",
"from": [5.5, 5.5, 12],
"to": [10.5, 10.5, 14],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 8]},
"faces": {
"north": {"uv": [0, 0, 5, 5], "texture": "#2"},
"east": {"uv": [0, 0, 5, 2], "rotation": 90, "texture": "#2"},
"south": {"uv": [1, 2, 6, 7], "texture": "#2"},
"west": {"uv": [0, 0, 5, 2], "rotation": 270, "texture": "#2"},
"up": {"uv": [0, 0, 5, 2], "texture": "#2"},
"down": {"uv": [0, 0, 5, 2], "texture": "#2"}
}
},
{
"name": "Bit2",
"from": [6, 6, 14],
"to": [10, 10, 16],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 7]},
"faces": {
"north": {"uv": [0, 0, 4, 4], "texture": "#2"},
"east": {"uv": [0, 0, 4, 2], "rotation": 90, "texture": "#2"},
"south": {"uv": [0, 0, 4, 4], "texture": "#2"},
"west": {"uv": [0, 0, 4, 2], "rotation": 270, "texture": "#2"},
"up": {"uv": [0, 0, 4, 2], "texture": "#2"},
"down": {"uv": [0, 0, 4, 2], "rotation": 180, "texture": "#2"}
}
},
{
"name": "Bit3",
"from": [6.5, 6.5, 16],
"to": [9.5, 9.5, 18],
"rotation": {"angle": -45, "axis": "z", "origin": [8, 8, 7]},
"faces": {
"north": {"uv": [0, 0, 3, 3], "texture": "#2"},
"east": {"uv": [0, 0, 2, 3], "texture": "#2"},
"south": {"uv": [0, 0, 3, 3], "texture": "#2"},
"west": {"uv": [0, 0, 3, 2], "rotation": 270, "texture": "#2"},
"up": {"uv": [0, 0, 3, 2], "texture": "#2"},
"down": {"uv": [0, 0, 3, 2], "texture": "#2"}
}
},
{
"name": "Bit4",
"from": [7, 7, 18],
"to": [9, 9, 20],
"rotation": {"angle": 45, "axis": "z", "origin": [8, 8, 7]},
"faces": {
"north": {"uv": [0, 0, 2, 2], "texture": "#2"},
"east": {"uv": [0, 0, 2, 2], "texture": "#2"},
"south": {"uv": [5, 5, 7, 7], "texture": "#2"},
"west": {"uv": [0, 0, 2, 2], "texture": "#2"},
"up": {"uv": [0, 0, 2, 2], "texture": "#2"},
"down": {"uv": [0, 0, 2, 2], "texture": "#2"}
}
},
{
"name": "Body",
"from": [2, 2, 1],
"to": [14, 14, 9],
"faces": {
"north": {"uv": [2, 2, 14, 14], "texture": "#gearbox"},
"south": {"uv": [2, 2, 14, 14], "texture": "#gearbox"}
}
},
{
"name": "Bottom",
"from": [0, 0, 0],
"to": [16, 2, 10],
"faces": {
"north": {"uv": [0, 14, 16, 16], "texture": "#gearbox_top"},
"east": {"uv": [14, 6, 16, 16], "rotation": 90, "texture": "#10"},
"south": {"uv": [0, 14, 16, 16], "texture": "#gearbox_top"},
"west": {"uv": [14, 6, 16, 16], "rotation": 90, "texture": "#10"},
"up": {"uv": [0, 4, 16, 16], "texture": "#andesite_casing_short"},
"down": {"uv": [0, 6, 16, 16], "texture": "#10"}
}
},
{
"name": "Top",
"from": [0, 14, 0],
"to": [16, 16, 10],
"faces": {
"north": {"uv": [0, 0, 16, 2], "texture": "#gearbox_top"},
"east": {"uv": [0, 6, 2, 16], "rotation": 90, "texture": "#10"},
"south": {"uv": [0, 0, 16, 2], "texture": "#gearbox_top"},
"west": {"uv": [0, 6, 2, 16], "rotation": 90, "texture": "#10"},
"up": {"uv": [0, 6, 16, 16], "texture": "#10"},
"down": {"uv": [0, 4, 16, 16], "texture": "#andesite_casing_short"}
}
},
{
"name": "Side",
"from": [0, 2, 0],
"to": [2, 14, 10],
"faces": {
"north": {"uv": [14, 2, 16, 14], "texture": "#gearbox_top"},
"east": {"uv": [2, 4, 14, 16], "rotation": 90, "texture": "#andesite_casing_short"},
"south": {"uv": [0, 2, 2, 14], "texture": "#gearbox_top"},
"west": {"uv": [2, 6, 14, 16], "rotation": 90, "texture": "#10"}
}
},
{
"name": "Side",
"from": [14, 2, 0],
"to": [16, 14, 10],
"faces": {
"north": {"uv": [0, 2, 2, 14], "texture": "#gearbox_top"},
"east": {"uv": [2, 6, 14, 16], "rotation": 90, "texture": "#10"},
"south": {"uv": [14, 2, 16, 14], "texture": "#gearbox_top"},
"west": {"uv": [2, 4, 14, 16], "rotation": 270, "texture": "#andesite_casing_short"}
}
}
],
"display": {
"fixed": {
"rotation": [0, 180, 0],
"translation": [0, 0, -1.75],
"scale": [0.5, 0.5, 0.5]
}
},
"groups": [
{
"name": "head",
"origin": [8, 8, 8],
"color": 0,
"children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
},
{
"name": "casing",
"origin": [8, 8, 8],
"color": 0,
"children": [10, 11, 12, 13, 14]
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 333 B