diff --git a/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockDownEntity.java b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockDownEntity.java new file mode 100644 index 0000000..6c9026a --- /dev/null +++ b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockDownEntity.java @@ -0,0 +1,54 @@ +package de.jottyfan.minecraft.quickiefabric.blockentity; + +import de.jottyfan.minecraft.quickiefabric.blocks.QuickieBlocks; +import net.minecraft.block.BlockState; +import net.minecraft.block.Blocks; +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.util.Tickable; +import net.minecraft.util.math.BlockPos; +import net.minecraft.world.World; + +/** + * + * @author jotty + * + */ +public class DrillBlockDownEntity extends BlockEntity implements Tickable { + + private static final Integer MAXDRILLSTEP = 20; + private Integer drillstep; + + public DrillBlockDownEntity() { + super(QuickieFabricBlockEntity.DRILL_DOWN); + } + + protected static final void moveBlockWithEntity(BlockPos from, BlockPos to, World world) { + BlockEntity be = world.getBlockEntity(from); + BlockState bs = world.getBlockState(from); + if (be != null) { + world.setBlockState(from, Blocks.AIR.getDefaultState()); + world.setBlockState(to, bs); + world.removeBlockEntity(from); + world.setBlockEntity(to, be); + } + } + + protected static final void drill(BlockPos pos, BlockPos to, World world) { + if (!world.getBlockState(to).isOf(Blocks.BEDROCK) && !world.getBlockState(to).isOf(QuickieBlocks.DRILLSTOP)) { + world.breakBlock(to, true); + if (pos.down() != to) { // no need for the falling one + moveBlockWithEntity(pos, to, world); + } + } + } + + + @Override + public void tick() { + drillstep = drillstep == null ? MAXDRILLSTEP : drillstep - 1; + if (drillstep < 1) { + drillstep = MAXDRILLSTEP; + drill(getPos(), getPos().down(), getWorld()); + } + } +} diff --git a/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockEastEntity.java b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockEastEntity.java new file mode 100644 index 0000000..3cba65c --- /dev/null +++ b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockEastEntity.java @@ -0,0 +1,28 @@ +package de.jottyfan.minecraft.quickiefabric.blockentity; + +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.util.Tickable; + +/** + * + * @author jotty + * + */ +public class DrillBlockEastEntity extends BlockEntity implements Tickable { + + private static final Integer MAXDRILLSTEP = 24; + private Integer drillstep; + + public DrillBlockEastEntity() { + super(QuickieFabricBlockEntity.DRILL_EAST); + } + + @Override + public void tick() { + drillstep = drillstep == null ? MAXDRILLSTEP : drillstep - 1; + if (drillstep < 1) { + drillstep = MAXDRILLSTEP; + DrillBlockDownEntity.drill(getPos(), getPos().east().down(), getWorld()); + } + } +} diff --git a/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockNorthEntity.java b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockNorthEntity.java new file mode 100644 index 0000000..5380e24 --- /dev/null +++ b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockNorthEntity.java @@ -0,0 +1,28 @@ +package de.jottyfan.minecraft.quickiefabric.blockentity; + +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.util.Tickable; + +/** + * + * @author jotty + * + */ +public class DrillBlockNorthEntity extends BlockEntity implements Tickable { + + private static final Integer MAXDRILLSTEP = 24; + private Integer drillstep; + + public DrillBlockNorthEntity() { + super(QuickieFabricBlockEntity.DRILL_NORTH); + } + + @Override + public void tick() { + drillstep = drillstep == null ? MAXDRILLSTEP : drillstep - 1; + if (drillstep < 1) { + drillstep = MAXDRILLSTEP; + DrillBlockDownEntity.drill(getPos(), getPos().north().down(), getWorld()); + } + } +} diff --git a/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockSouthEntity.java b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockSouthEntity.java new file mode 100644 index 0000000..b512581 --- /dev/null +++ b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockSouthEntity.java @@ -0,0 +1,28 @@ +package de.jottyfan.minecraft.quickiefabric.blockentity; + +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.util.Tickable; + +/** + * + * @author jotty + * + */ +public class DrillBlockSouthEntity extends BlockEntity implements Tickable { + + private static final Integer MAXDRILLSTEP = 24; + private Integer drillstep; + + public DrillBlockSouthEntity() { + super(QuickieFabricBlockEntity.DRILL_SOUTH); + } + + @Override + public void tick() { + drillstep = drillstep == null ? MAXDRILLSTEP : drillstep - 1; + if (drillstep < 1) { + drillstep = MAXDRILLSTEP; + DrillBlockDownEntity.drill(getPos(), getPos().south().down(), getWorld()); + } + } +} diff --git a/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockWestEntity.java b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockWestEntity.java new file mode 100644 index 0000000..1c81c08 --- /dev/null +++ b/src/main/java/de/jottyfan/minecraft/quickiefabric/blockentity/DrillBlockWestEntity.java @@ -0,0 +1,28 @@ +package de.jottyfan.minecraft.quickiefabric.blockentity; + +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.util.Tickable; + +/** + * + * @author jotty + * + */ +public class DrillBlockWestEntity extends BlockEntity implements Tickable { + + private static final Integer MAXDRILLSTEP = 24; + private Integer drillstep; + + public DrillBlockWestEntity() { + super(QuickieFabricBlockEntity.DRILL_WEST); + } + + @Override + public void tick() { + drillstep = drillstep == null ? MAXDRILLSTEP : drillstep - 1; + if (drillstep < 1) { + drillstep = MAXDRILLSTEP; + DrillBlockDownEntity.drill(getPos(), getPos().west().down(), getWorld()); + } + } +} diff --git a/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/BlockDrillEast.java b/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/BlockDrillEast.java new file mode 100644 index 0000000..ce7a72c --- /dev/null +++ b/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/BlockDrillEast.java @@ -0,0 +1,39 @@ +package de.jottyfan.minecraft.quickiefabric.blocks; + +import java.util.ArrayList; +import java.util.List; + +import de.jottyfan.minecraft.quickiefabric.blockentity.DrillBlockEastEntity; +import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; +import net.minecraft.block.BlockEntityProvider; +import net.minecraft.block.BlockState; +import net.minecraft.block.FallingBlock; +import net.minecraft.block.Material; +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.item.ItemStack; +import net.minecraft.loot.context.LootContext.Builder; +import net.minecraft.world.BlockView; + +/** + * + * @author jotty + * + */ +public class BlockDrillEast extends FallingBlock implements BlockEntityProvider { + + public BlockDrillEast() { + super(FabricBlockSettings.of(Material.STONE).hardness(2.5f)); + } + + @Override + public BlockEntity createBlockEntity(BlockView world) { + return new DrillBlockEastEntity(); + } + + @Override + public List getDroppedStacks(BlockState state, Builder builder) { + List list = new ArrayList<>(); + list.add(new ItemStack(QuickieBlocks.DRILL_EAST)); + return list; + } +} diff --git a/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/BlockDrillNorth.java b/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/BlockDrillNorth.java new file mode 100644 index 0000000..5a4725f --- /dev/null +++ b/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/BlockDrillNorth.java @@ -0,0 +1,39 @@ +package de.jottyfan.minecraft.quickiefabric.blocks; + +import java.util.ArrayList; +import java.util.List; + +import de.jottyfan.minecraft.quickiefabric.blockentity.DrillBlockNorthEntity; +import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; +import net.minecraft.block.BlockEntityProvider; +import net.minecraft.block.BlockState; +import net.minecraft.block.FallingBlock; +import net.minecraft.block.Material; +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.item.ItemStack; +import net.minecraft.loot.context.LootContext.Builder; +import net.minecraft.world.BlockView; + +/** + * + * @author jotty + * + */ +public class BlockDrillNorth extends FallingBlock implements BlockEntityProvider { + + public BlockDrillNorth() { + super(FabricBlockSettings.of(Material.STONE).hardness(2.5f)); + } + + @Override + public BlockEntity createBlockEntity(BlockView world) { + return new DrillBlockNorthEntity(); + } + + @Override + public List getDroppedStacks(BlockState state, Builder builder) { + List list = new ArrayList<>(); + list.add(new ItemStack(QuickieBlocks.DRILL_NORTH)); + return list; + } +} diff --git a/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/BlockDrillSouth.java b/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/BlockDrillSouth.java new file mode 100644 index 0000000..5784471 --- /dev/null +++ b/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/BlockDrillSouth.java @@ -0,0 +1,39 @@ +package de.jottyfan.minecraft.quickiefabric.blocks; + +import java.util.ArrayList; +import java.util.List; + +import de.jottyfan.minecraft.quickiefabric.blockentity.DrillBlockSouthEntity; +import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; +import net.minecraft.block.BlockEntityProvider; +import net.minecraft.block.BlockState; +import net.minecraft.block.FallingBlock; +import net.minecraft.block.Material; +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.item.ItemStack; +import net.minecraft.loot.context.LootContext.Builder; +import net.minecraft.world.BlockView; + +/** + * + * @author jotty + * + */ +public class BlockDrillSouth extends FallingBlock implements BlockEntityProvider { + + public BlockDrillSouth() { + super(FabricBlockSettings.of(Material.STONE).hardness(2.5f)); + } + + @Override + public BlockEntity createBlockEntity(BlockView world) { + return new DrillBlockSouthEntity(); + } + + @Override + public List getDroppedStacks(BlockState state, Builder builder) { + List list = new ArrayList<>(); + list.add(new ItemStack(QuickieBlocks.DRILL_SOUTH)); + return list; + } +} diff --git a/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/BlockDrillWest.java b/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/BlockDrillWest.java new file mode 100644 index 0000000..3e18516 --- /dev/null +++ b/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/BlockDrillWest.java @@ -0,0 +1,39 @@ +package de.jottyfan.minecraft.quickiefabric.blocks; + +import java.util.ArrayList; +import java.util.List; + +import de.jottyfan.minecraft.quickiefabric.blockentity.DrillBlockWestEntity; +import net.fabricmc.fabric.api.object.builder.v1.block.FabricBlockSettings; +import net.minecraft.block.BlockEntityProvider; +import net.minecraft.block.BlockState; +import net.minecraft.block.FallingBlock; +import net.minecraft.block.Material; +import net.minecraft.block.entity.BlockEntity; +import net.minecraft.item.ItemStack; +import net.minecraft.loot.context.LootContext.Builder; +import net.minecraft.world.BlockView; + +/** + * + * @author jotty + * + */ +public class BlockDrillWest extends FallingBlock implements BlockEntityProvider { + + public BlockDrillWest() { + super(FabricBlockSettings.of(Material.STONE).hardness(2.5f)); + } + + @Override + public BlockEntity createBlockEntity(BlockView world) { + return new DrillBlockWestEntity(); + } + + @Override + public List getDroppedStacks(BlockState state, Builder builder) { + List list = new ArrayList<>(); + list.add(new ItemStack(QuickieBlocks.DRILL_WEST)); + return list; + } +} diff --git a/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/help/NWSE.java b/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/help/NWSE.java new file mode 100644 index 0000000..c64b98b --- /dev/null +++ b/src/main/java/de/jottyfan/minecraft/quickiefabric/blocks/help/NWSE.java @@ -0,0 +1,10 @@ +package de.jottyfan.minecraft.quickiefabric.blocks.help; + +/** + * + * @author jotty + * + */ +public enum NWSE { + NORTH, SOUTH, EAST, WEST, NONE; +} diff --git a/src/main/resources/assets/quickiefabric/blockstates/drilleast.json b/src/main/resources/assets/quickiefabric/blockstates/drilleast.json new file mode 100644 index 0000000..b8c916c --- /dev/null +++ b/src/main/resources/assets/quickiefabric/blockstates/drilleast.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "quickiefabric:block/drilleast" + } + } +} diff --git a/src/main/resources/assets/quickiefabric/blockstates/drillnorth.json b/src/main/resources/assets/quickiefabric/blockstates/drillnorth.json new file mode 100644 index 0000000..d392777 --- /dev/null +++ b/src/main/resources/assets/quickiefabric/blockstates/drillnorth.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "quickiefabric:block/drillnorth" + } + } +} diff --git a/src/main/resources/assets/quickiefabric/blockstates/drillsouth.json b/src/main/resources/assets/quickiefabric/blockstates/drillsouth.json new file mode 100644 index 0000000..f701e3d --- /dev/null +++ b/src/main/resources/assets/quickiefabric/blockstates/drillsouth.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "quickiefabric:block/drillsouth" + } + } +} diff --git a/src/main/resources/assets/quickiefabric/blockstates/drillwest.json b/src/main/resources/assets/quickiefabric/blockstates/drillwest.json new file mode 100644 index 0000000..e9f9922 --- /dev/null +++ b/src/main/resources/assets/quickiefabric/blockstates/drillwest.json @@ -0,0 +1,7 @@ +{ + "variants": { + "": { + "model": "quickiefabric:block/drillwest" + } + } +} diff --git a/src/main/resources/assets/quickiefabric/models/block/drilleast.json b/src/main/resources/assets/quickiefabric/models/block/drilleast.json new file mode 100644 index 0000000..28affe2 --- /dev/null +++ b/src/main/resources/assets/quickiefabric/models/block/drilleast.json @@ -0,0 +1,45 @@ +{ + "parent": "block/cube", + "textures": { + "bottom": "quickiefabric:block/drilleast", + "all": "quickiefabric:block/drill" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "faces": { + "down": { + "uv": [0, 0, 16, 16], + "texture": "#bottom", + "cullface": "down" + }, + "up": { + "uv": [0, 0, 16, 16], + "texture": "#bottom", + "cullface": "up" + }, + "north": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "north" + }, + "south": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "south" + }, + "east": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "east" + }, + "west": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "west" + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/quickiefabric/models/block/drillnorth.json b/src/main/resources/assets/quickiefabric/models/block/drillnorth.json new file mode 100644 index 0000000..55c20a0 --- /dev/null +++ b/src/main/resources/assets/quickiefabric/models/block/drillnorth.json @@ -0,0 +1,45 @@ +{ + "parent": "block/cube", + "textures": { + "bottom": "quickiefabric:block/drillnorth", + "all": "quickiefabric:block/drill" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "faces": { + "down": { + "uv": [0, 0, 16, 16], + "texture": "#bottom", + "cullface": "down" + }, + "up": { + "uv": [0, 0, 16, 16], + "texture": "#bottom", + "cullface": "up" + }, + "north": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "north" + }, + "south": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "south" + }, + "east": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "east" + }, + "west": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "west" + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/quickiefabric/models/block/drillsouth.json b/src/main/resources/assets/quickiefabric/models/block/drillsouth.json new file mode 100644 index 0000000..97a7af5 --- /dev/null +++ b/src/main/resources/assets/quickiefabric/models/block/drillsouth.json @@ -0,0 +1,45 @@ +{ + "parent": "block/cube", + "textures": { + "bottom": "quickiefabric:block/drillsouth", + "all": "quickiefabric:block/drill" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "faces": { + "down": { + "uv": [0, 0, 16, 16], + "texture": "#bottom", + "cullface": "down" + }, + "up": { + "uv": [0, 0, 16, 16], + "texture": "#bottom", + "cullface": "up" + }, + "north": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "north" + }, + "south": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "south" + }, + "east": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "east" + }, + "west": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "west" + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/quickiefabric/models/block/drillwest.json b/src/main/resources/assets/quickiefabric/models/block/drillwest.json new file mode 100644 index 0000000..cefe8de --- /dev/null +++ b/src/main/resources/assets/quickiefabric/models/block/drillwest.json @@ -0,0 +1,45 @@ +{ + "parent": "block/cube", + "textures": { + "bottom": "quickiefabric:block/drillwest", + "all": "quickiefabric:block/drill" + }, + "elements": [ + { + "from": [0, 0, 0], + "to": [16, 16, 16], + "faces": { + "down": { + "uv": [0, 0, 16, 16], + "texture": "#bottom", + "cullface": "down" + }, + "up": { + "uv": [0, 0, 16, 16], + "texture": "#bottom", + "cullface": "up" + }, + "north": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "north" + }, + "south": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "south" + }, + "east": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "east" + }, + "west": { + "uv": [0, 0, 16, 16], + "texture": "#all", + "cullface": "west" + } + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/quickiefabric/models/item/drilleast.json b/src/main/resources/assets/quickiefabric/models/item/drilleast.json new file mode 100644 index 0000000..2eef6c8 --- /dev/null +++ b/src/main/resources/assets/quickiefabric/models/item/drilleast.json @@ -0,0 +1,10 @@ +{ + "parent": "quickiefabric:block/drilleast", + "display": { + "thirdperson": { + "rotation": [ 10, -45, 170 ], + "translation": [ 0, 1.5, -2.75 ], + "scale": [ 0.375, 0.375, 0.375 ] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/quickiefabric/models/item/drillnorth.json b/src/main/resources/assets/quickiefabric/models/item/drillnorth.json new file mode 100644 index 0000000..ff0a0a6 --- /dev/null +++ b/src/main/resources/assets/quickiefabric/models/item/drillnorth.json @@ -0,0 +1,10 @@ +{ + "parent": "quickiefabric:block/drillnorth", + "display": { + "thirdperson": { + "rotation": [ 10, -45, 170 ], + "translation": [ 0, 1.5, -2.75 ], + "scale": [ 0.375, 0.375, 0.375 ] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/quickiefabric/models/item/drillsouth.json b/src/main/resources/assets/quickiefabric/models/item/drillsouth.json new file mode 100644 index 0000000..fcd3598 --- /dev/null +++ b/src/main/resources/assets/quickiefabric/models/item/drillsouth.json @@ -0,0 +1,10 @@ +{ + "parent": "quickiefabric:block/drillsouth", + "display": { + "thirdperson": { + "rotation": [ 10, -45, 170 ], + "translation": [ 0, 1.5, -2.75 ], + "scale": [ 0.375, 0.375, 0.375 ] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/quickiefabric/models/item/drillwest.json b/src/main/resources/assets/quickiefabric/models/item/drillwest.json new file mode 100644 index 0000000..0b7606b --- /dev/null +++ b/src/main/resources/assets/quickiefabric/models/item/drillwest.json @@ -0,0 +1,10 @@ +{ + "parent": "quickiefabric:block/drillwest", + "display": { + "thirdperson": { + "rotation": [ 10, -45, 170 ], + "translation": [ 0, 1.5, -2.75 ], + "scale": [ 0.375, 0.375, 0.375 ] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/quickiefabric/textures/block/drilleast.png b/src/main/resources/assets/quickiefabric/textures/block/drilleast.png new file mode 100644 index 0000000..f77028a Binary files /dev/null and b/src/main/resources/assets/quickiefabric/textures/block/drilleast.png differ diff --git a/src/main/resources/assets/quickiefabric/textures/block/drillnorth.png b/src/main/resources/assets/quickiefabric/textures/block/drillnorth.png new file mode 100644 index 0000000..1ef9142 Binary files /dev/null and b/src/main/resources/assets/quickiefabric/textures/block/drillnorth.png differ diff --git a/src/main/resources/assets/quickiefabric/textures/block/drillsouth.png b/src/main/resources/assets/quickiefabric/textures/block/drillsouth.png new file mode 100644 index 0000000..ab34e2b Binary files /dev/null and b/src/main/resources/assets/quickiefabric/textures/block/drillsouth.png differ diff --git a/src/main/resources/assets/quickiefabric/textures/block/drillwest.png b/src/main/resources/assets/quickiefabric/textures/block/drillwest.png new file mode 100644 index 0000000..b51bb8a Binary files /dev/null and b/src/main/resources/assets/quickiefabric/textures/block/drillwest.png differ diff --git a/src/main/resources/data/quickiefabric/recipes/drill_fromdrillnorth.json b/src/main/resources/data/quickiefabric/recipes/drill_fromdrillnorth.json new file mode 100644 index 0000000..965fd42 --- /dev/null +++ b/src/main/resources/data/quickiefabric/recipes/drill_fromdrillnorth.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "quickiefabric:drillwest" + } + ], + "result": { + "item": "quickiefabric:drillnorth", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/quickiefabric/recipes/drilleast_fromdrill.json b/src/main/resources/data/quickiefabric/recipes/drilleast_fromdrill.json new file mode 100644 index 0000000..2aa08f4 --- /dev/null +++ b/src/main/resources/data/quickiefabric/recipes/drilleast_fromdrill.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "quickiefabric:drill" + } + ], + "result": { + "item": "quickiefabric:drilleast", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/quickiefabric/recipes/drillnorth_fromdrillwest.json b/src/main/resources/data/quickiefabric/recipes/drillnorth_fromdrillwest.json new file mode 100644 index 0000000..1f70a05 --- /dev/null +++ b/src/main/resources/data/quickiefabric/recipes/drillnorth_fromdrillwest.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "quickiefabric:drillnorth" + } + ], + "result": { + "item": "quickiefabric:drill", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/quickiefabric/recipes/drillsouth_fromdrilleast.json b/src/main/resources/data/quickiefabric/recipes/drillsouth_fromdrilleast.json new file mode 100644 index 0000000..013612c --- /dev/null +++ b/src/main/resources/data/quickiefabric/recipes/drillsouth_fromdrilleast.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "quickiefabric:drilleast" + } + ], + "result": { + "item": "quickiefabric:drillsouth", + "count": 1 + } +} \ No newline at end of file diff --git a/src/main/resources/data/quickiefabric/recipes/drillwest_fromdrillsouth.json b/src/main/resources/data/quickiefabric/recipes/drillwest_fromdrillsouth.json new file mode 100644 index 0000000..bfc9704 --- /dev/null +++ b/src/main/resources/data/quickiefabric/recipes/drillwest_fromdrillsouth.json @@ -0,0 +1,12 @@ +{ + "type": "minecraft:crafting_shapeless", + "ingredients": [ + { + "item": "quickiefabric:drillsouth" + } + ], + "result": { + "item": "quickiefabric:drillwest", + "count": 1 + } +} \ No newline at end of file