From ff1f7bd207ee40df6c994471ce450e0bfdbec692 Mon Sep 17 00:00:00 2001 From: simibubi <31564874+simibubi@users.noreply.github.com> Date: Tue, 19 May 2020 01:07:45 +0200 Subject: [PATCH] Spiffy creative motor - Motors can now face any direction - Reworked motor model - Ported motor to registrate --- src/generated/resources/.cache/cache | 6 +- .../create/blockstates/creative_motor.json | 28 +++ .../resources/assets/create/lang/en_ud.json | 1 + .../resources/assets/create/lang/en_us.json | 1 + .../create/models/item/creative_motor.json | 3 + .../java/com/simibubi/create/AllBlocks.java | 3 +- .../com/simibubi/create/AllBlocksNew.java | 10 + .../com/simibubi/create/AllTileEntities.java | 2 +- .../create/config/StressConfigDefaults.java | 4 +- .../create/foundation/utility/AllShapes.java | 3 +- .../components/motor/MotorBlock.java | 19 +- .../components/motor/MotorGenerator.java | 38 ++++ .../components/motor/MotorTileEntity.java | 5 +- .../motor/MotorTileEntityRenderer.java | 2 +- .../create/blockstates/creative_motor.json | 8 - .../models/block/creative_motor/block.json | 144 +++++++++++++++ .../block/creative_motor/block_vertical.json | 173 ++++++++++++++++++ .../models/block/creative_motor/item.json | 168 +++++++++++++++++ .../assets/create/models/block/motor.json | 142 -------------- .../create/models/item/creative_motor.json | 10 - .../create/textures/block/creative_casing.png | Bin 0 -> 437 bytes .../create/textures/block/creative_motor.png | Bin 0 -> 583 bytes 22 files changed, 587 insertions(+), 183 deletions(-) create mode 100644 src/generated/resources/assets/create/blockstates/creative_motor.json create mode 100644 src/generated/resources/assets/create/models/item/creative_motor.json create mode 100644 src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorGenerator.java delete mode 100644 src/main/resources/assets/create/blockstates/creative_motor.json create mode 100644 src/main/resources/assets/create/models/block/creative_motor/block.json create mode 100644 src/main/resources/assets/create/models/block/creative_motor/block_vertical.json create mode 100644 src/main/resources/assets/create/models/block/creative_motor/item.json delete mode 100644 src/main/resources/assets/create/models/block/motor.json delete mode 100644 src/main/resources/assets/create/models/item/creative_motor.json create mode 100644 src/main/resources/assets/create/textures/block/creative_casing.png create mode 100644 src/main/resources/assets/create/textures/block/creative_motor.png diff --git a/src/generated/resources/.cache/cache b/src/generated/resources/.cache/cache index a12122db8..4eed594dd 100644 --- a/src/generated/resources/.cache/cache +++ b/src/generated/resources/.cache/cache @@ -24,6 +24,7 @@ cbcdab42d01f8085db9e5f8db884f8adf7f17625 assets\create\blockstates\chiseled_scor f8eff64c75fc599e9a44a003f54ae9931cd8ce7c assets\create\blockstates\copper_block.json 3355a852cdc717e257ca19b3db836068964733e3 assets\create\blockstates\copper_ore.json dc76bca1fdd41c8e6ada27fd59a2b73d7adc9596 assets\create\blockstates\copper_shingles.json +03349490d40b9e354c71f9c8b2f8c2873ddea01f assets\create\blockstates\creative_motor.json 1726b1b9e04a0634e7e1fdcf1cf4cc898efc5c2f assets\create\blockstates\dark_oak_window.json 50d4627d8e8b5adade12de764ab528ddacfa9ea5 assets\create\blockstates\dark_oak_window_pane.json 21e435ad3baf69970446b0acd3db0d6d02dc9fcb assets\create\blockstates\dark_scoria.json @@ -255,8 +256,8 @@ c60c3115fd6eeaa3a696428a87a74d184ab7d62d assets\create\blockstates\weathered_lim 7e2476ffff93d0eedee5314e5692fcbf5692bffc assets\create\blockstates\weathered_limestone_pillar.json 7f39521b211441f5c3e06d60c5978cebe16cacfb assets\create\blockstates\zinc_block.json b7181bcd8182b2f17088e5aa881f374c9c65470c assets\create\blockstates\zinc_ore.json -5987ff1a91023708bca1878a8a576f2f1b6a53f0 assets\create\lang\en_ud.json -b511c344b44c62444a9c096b30bcac77fe5b8382 assets\create\lang\en_us.json +8ae19fa33cb60bde40f4d00e77c15fcc4fab72ea assets\create\lang\en_ud.json +b152dfe5a4402988dc53481e0b867ba108630856 assets\create\lang\en_us.json 846200eb548d3bfa2e77b41039de159b4b6cfb45 assets\create\models\block\acacia_window.json 1930fa3a3c98d53dd19e4ee7f55bc27fd47aa281 assets\create\models\block\acacia_window_pane_noside.json 1763ea2c9b981d187f5031ba608f3d5d3be3986a assets\create\models\block\acacia_window_pane_noside_alt.json @@ -787,6 +788,7 @@ dcb09deae110077bcddf090996b51cc66e9a7de3 assets\create\models\item\cogwheel.json 965a90a882d85dba93b30af9bce7ecf8e68ce747 assets\create\models\item\copper_block.json 51be7da59368681522de870f1e09036dac55aa77 assets\create\models\item\copper_ore.json d7cb2f7bac8fae893fc5179af8140786a908f3f5 assets\create\models\item\copper_shingles.json +5b39403f6c81f05e566b621b62e267267de47c41 assets\create\models\item\creative_motor.json f786a43e296d9f10d7c302fe3ae9cddf4ba9984e assets\create\models\item\dark_oak_window.json e3e9ebbc694edad1f473e5c3a897d95cc87528ae assets\create\models\item\dark_oak_window_pane.json f0e98871e4bb68c29954f2de24566a6404f21d9c assets\create\models\item\dark_scoria.json diff --git a/src/generated/resources/assets/create/blockstates/creative_motor.json b/src/generated/resources/assets/create/blockstates/creative_motor.json new file mode 100644 index 000000000..6fdae17ee --- /dev/null +++ b/src/generated/resources/assets/create/blockstates/creative_motor.json @@ -0,0 +1,28 @@ +{ + "variants": { + "facing=down": { + "model": "create:block/creative_motor/block_vertical", + "x": 180, + "y": 270 + }, + "facing=up": { + "model": "create:block/creative_motor/block_vertical", + "y": 270 + }, + "facing=north": { + "model": "create:block/creative_motor/block", + "y": 180 + }, + "facing=south": { + "model": "create:block/creative_motor/block" + }, + "facing=west": { + "model": "create:block/creative_motor/block", + "y": 90 + }, + "facing=east": { + "model": "create:block/creative_motor/block", + "y": 270 + } + } +} \ No newline at end of file diff --git a/src/generated/resources/assets/create/lang/en_ud.json b/src/generated/resources/assets/create/lang/en_ud.json index 468d8564b..ce8c4d7ab 100644 --- a/src/generated/resources/assets/create/lang/en_ud.json +++ b/src/generated/resources/assets/create/lang/en_ud.json @@ -25,6 +25,7 @@ "block.create.copper_block": "\u029E\u0254o\u05DF\u15FA \u0279\u01DDddo\u0186", "block.create.copper_ore": "\u01DD\u0279O \u0279\u01DDddo\u0186", "block.create.copper_shingles": "s\u01DD\u05DFbu\u0131\u0265S \u0279\u01DDddo\u0186", + "block.create.creative_motor": "\u0279o\u0287oW \u01DD\u028C\u0131\u0287\u0250\u01DD\u0279\u0186", "block.create.dark_oak_window": "\u028Dopu\u0131M \u029E\u0250O \u029E\u0279\u0250\u15E1", "block.create.dark_oak_window_pane": "\u01DDu\u0250\u0500 \u028Dopu\u0131M \u029E\u0250O \u029E\u0279\u0250\u15E1", "block.create.dark_scoria": "\u0250\u0131\u0279o\u0254S \u029E\u0279\u0250\u15E1", diff --git a/src/generated/resources/assets/create/lang/en_us.json b/src/generated/resources/assets/create/lang/en_us.json index c1b23be69..4fa65e610 100644 --- a/src/generated/resources/assets/create/lang/en_us.json +++ b/src/generated/resources/assets/create/lang/en_us.json @@ -25,6 +25,7 @@ "block.create.copper_block": "Copper Block", "block.create.copper_ore": "Copper Ore", "block.create.copper_shingles": "Copper Shingles", + "block.create.creative_motor": "Creative Motor", "block.create.dark_oak_window": "Dark Oak Window", "block.create.dark_oak_window_pane": "Dark Oak Window Pane", "block.create.dark_scoria": "Dark Scoria", diff --git a/src/generated/resources/assets/create/models/item/creative_motor.json b/src/generated/resources/assets/create/models/item/creative_motor.json new file mode 100644 index 000000000..c86d7f07c --- /dev/null +++ b/src/generated/resources/assets/create/models/item/creative_motor.json @@ -0,0 +1,3 @@ +{ + "parent": "create:block/creative_motor/item" +} \ No newline at end of file diff --git a/src/main/java/com/simibubi/create/AllBlocks.java b/src/main/java/com/simibubi/create/AllBlocks.java index 725de7c6c..50ded1176 100644 --- a/src/main/java/com/simibubi/create/AllBlocks.java +++ b/src/main/java/com/simibubi/create/AllBlocks.java @@ -38,7 +38,6 @@ import com.simibubi.create.modules.contraptions.components.flywheel.engine.Furna import com.simibubi.create.modules.contraptions.components.millstone.MillstoneBlock; import com.simibubi.create.modules.contraptions.components.mixer.BasinOperatorBlockItem; import com.simibubi.create.modules.contraptions.components.mixer.MechanicalMixerBlock; -import com.simibubi.create.modules.contraptions.components.motor.MotorBlock; import com.simibubi.create.modules.contraptions.components.press.MechanicalPressBlock; import com.simibubi.create.modules.contraptions.components.saw.SawBlock; import com.simibubi.create.modules.contraptions.components.turntable.TurntableBlock; @@ -108,7 +107,7 @@ public enum AllBlocks implements NonNullSupplier { // ENCASED_BELT(EncasedBeltBlock::new), // ADJUSTABLE_PULLEY(AdjustablePulleyBlock::new), BELT(BeltBlock::new, ComesWith.NO_BLOCKITEM), - CREATIVE_MOTOR(MotorBlock::new), +// CREATIVE_MOTOR(MotorBlock::new), WATER_WHEEL(WaterWheelBlock::new), ENCASED_FAN(EncasedFanBlock::new), NOZZLE(NozzleBlock::new), diff --git a/src/main/java/com/simibubi/create/AllBlocksNew.java b/src/main/java/com/simibubi/create/AllBlocksNew.java index 2275d0fe3..1171973ae 100644 --- a/src/main/java/com/simibubi/create/AllBlocksNew.java +++ b/src/main/java/com/simibubi/create/AllBlocksNew.java @@ -9,6 +9,8 @@ import com.simibubi.create.foundation.utility.data.AssetLookup; import com.simibubi.create.foundation.utility.data.BlockStateGen; import com.simibubi.create.foundation.world.OxidizingBlock; import com.simibubi.create.modules.Sections; +import com.simibubi.create.modules.contraptions.components.motor.MotorBlock; +import com.simibubi.create.modules.contraptions.components.motor.MotorGenerator; import com.simibubi.create.modules.contraptions.relays.elementary.CogWheelBlock; import com.simibubi.create.modules.contraptions.relays.elementary.CogwheelBlockItem; import com.simibubi.create.modules.contraptions.relays.elementary.ShaftBlock; @@ -154,6 +156,14 @@ public class AllBlocksNew { .build() .register(); + public static final BlockEntry CREATIVE_MOTOR = REGISTRATE.block("creative_motor", MotorBlock::new) + .initialProperties(SharedProperties::kinetic) + .blockstate(new MotorGenerator()::generate) + .item() + .model(AssetLookup::customItemModel) + .build() + .register(); + // Materials static { diff --git a/src/main/java/com/simibubi/create/AllTileEntities.java b/src/main/java/com/simibubi/create/AllTileEntities.java index 769d77e7a..10d57d118 100644 --- a/src/main/java/com/simibubi/create/AllTileEntities.java +++ b/src/main/java/com/simibubi/create/AllTileEntities.java @@ -109,7 +109,7 @@ public enum AllTileEntities { // Kinetics SHAFT(ShaftTileEntity::new, AllBlocksNew.SHAFT, AllBlocksNew.COGWHEEL, AllBlocksNew.LARGE_COGWHEEL, AllBlocksNew.ENCASED_SHAFT), - MOTOR(MotorTileEntity::new, AllBlocks.CREATIVE_MOTOR), + MOTOR(MotorTileEntity::new, AllBlocksNew.CREATIVE_MOTOR), GEARBOX(GearboxTileEntity::new, AllBlocksNew.GEARBOX), TURNTABLE(TurntableTileEntity::new, AllBlocks.TURNTABLE), ENCASED_SHAFT(EncasedShaftTileEntity::new, AllBlocksNew.ENCASED_SHAFT, AllBlocksNew.ENCASED_BELT), diff --git a/src/main/java/com/simibubi/create/config/StressConfigDefaults.java b/src/main/java/com/simibubi/create/config/StressConfigDefaults.java index 9887d95dc..611c5322a 100644 --- a/src/main/java/com/simibubi/create/config/StressConfigDefaults.java +++ b/src/main/java/com/simibubi/create/config/StressConfigDefaults.java @@ -13,8 +13,8 @@ public class StressConfigDefaults { public static double getDefaultStressCapacity(AllBlocks block) { switch (block) { - case CREATIVE_MOTOR: - return 2048; +// case CREATIVE_MOTOR: TODO add a builder transform to register default capacities +// return 2048; case FURNACE_ENGINE: return 1024; case MECHANICAL_BEARING: diff --git a/src/main/java/com/simibubi/create/foundation/utility/AllShapes.java b/src/main/java/com/simibubi/create/foundation/utility/AllShapes.java index ed2d7f670..a465ce060 100644 --- a/src/main/java/com/simibubi/create/foundation/utility/AllShapes.java +++ b/src/main/java/com/simibubi/create/foundation/utility/AllShapes.java @@ -1,6 +1,5 @@ package com.simibubi.create.foundation.utility; -import static net.minecraft.util.Direction.EAST; import static net.minecraft.util.Direction.SOUTH; import static net.minecraft.util.Direction.UP; @@ -24,7 +23,7 @@ public class AllShapes { CASING_14PX = shape(0, 0, 0, 16, 14, 16).forDirectional(), CASING_12PX = shape(0, 0, 0, 16, 12, 16).forDirectional(), CASING_11PX = shape(0, 0, 0, 16, 11, 16).forDirectional(), - MOTOR_BLOCK = shape(0, 3, 3, 16, 13, 13).forHorizontal(EAST), + MOTOR_BLOCK = shape(3, 0, 3, 13, 14, 13).forDirectional(), FOUR_VOXEL_POLE = shape(6, 0, 6, 10, 16, 10).forAxis(), SIX_VOXEL_POLE = shape(5, 0, 5, 11, 16, 11).forAxis(), BELT_FUNNEL = shape(3, -4, 11, 13, 8, 17).forHorizontal(SOUTH), diff --git a/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorBlock.java b/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorBlock.java index d3fb1a016..e64dd9922 100644 --- a/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorBlock.java +++ b/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorBlock.java @@ -1,10 +1,9 @@ package com.simibubi.create.modules.contraptions.components.motor; import com.simibubi.create.foundation.utility.AllShapes; -import com.simibubi.create.modules.contraptions.base.HorizontalKineticBlock; +import com.simibubi.create.modules.contraptions.base.DirectionalKineticBlock; import net.minecraft.block.BlockState; -import net.minecraft.block.Blocks; import net.minecraft.item.BlockItemUseContext; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.Direction; @@ -15,15 +14,15 @@ import net.minecraft.util.math.shapes.VoxelShape; import net.minecraft.world.IBlockReader; import net.minecraft.world.IWorldReader; -public class MotorBlock extends HorizontalKineticBlock { +public class MotorBlock extends DirectionalKineticBlock { - public MotorBlock() { - super(Properties.from(Blocks.IRON_BLOCK)); + public MotorBlock(Properties properties) { + super(properties); } @Override public VoxelShape getShape(BlockState state, IBlockReader worldIn, BlockPos pos, ISelectionContext context) { - return AllShapes.MOTOR_BLOCK.get(state.get(HORIZONTAL_FACING)); + return AllShapes.MOTOR_BLOCK.get(state.get(FACING)); } @Override @@ -33,22 +32,22 @@ public class MotorBlock extends HorizontalKineticBlock { @Override public BlockState getStateForPlacement(BlockItemUseContext context) { - Direction preferred = getPreferredHorizontalFacing(context); + Direction preferred = getPreferredFacing(context); if (context.getPlayer().isSneaking() || preferred == null) return super.getStateForPlacement(context); - return getDefaultState().with(HORIZONTAL_FACING, preferred); + return getDefaultState().with(FACING, preferred); } // IRotate: @Override public boolean hasShaftTowards(IWorldReader world, BlockPos pos, BlockState state, Direction face) { - return face == state.get(HORIZONTAL_FACING); + return face == state.get(FACING); } @Override public Axis getRotationAxis(BlockState state) { - return state.get(HORIZONTAL_FACING).getAxis(); + return state.get(FACING).getAxis(); } @Override diff --git a/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorGenerator.java b/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorGenerator.java new file mode 100644 index 000000000..ef09f0533 --- /dev/null +++ b/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorGenerator.java @@ -0,0 +1,38 @@ +package com.simibubi.create.modules.contraptions.components.motor; + +import com.simibubi.create.foundation.utility.data.AssetLookup; +import com.simibubi.create.foundation.utility.data.SpecialBlockStateGen; +import com.tterrag.registrate.providers.DataGenContext; +import com.tterrag.registrate.providers.RegistrateBlockstateProvider; + +import net.minecraft.block.Block; +import net.minecraft.block.BlockState; +import net.minecraft.util.Direction; +import net.minecraftforge.client.model.generators.ModelFile; + +public class MotorGenerator extends SpecialBlockStateGen { + + @Override + protected int getXRotation(BlockState state) { + return state.get(MotorBlock.FACING) == Direction.DOWN ? 180 : 0; + } + + @Override + protected int getYRotation(BlockState state) { + return state.get(MotorBlock.FACING) + .getAxis() + .isVertical() ? 0 + : (int) state.get(MotorBlock.FACING) + .getHorizontalAngle(); + } + + @Override + public ModelFile getModel(DataGenContext ctx, RegistrateBlockstateProvider prov, + BlockState state) { + return state.get(MotorBlock.FACING) + .getAxis() + .isVertical() ? AssetLookup.partialBaseModel(ctx, prov, "vertical") + : AssetLookup.partialBaseModel(ctx, prov); + } + +} diff --git a/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorTileEntity.java b/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorTileEntity.java index 06ee179ee..b7b682c9e 100644 --- a/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorTileEntity.java +++ b/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorTileEntity.java @@ -25,9 +25,8 @@ public class MotorTileEntity extends GeneratingKineticTileEntity { super.addBehaviours(behaviours); Integer max = AllConfigs.SERVER.kinetics.maxMotorSpeed.get(); - CenteredSideValueBoxTransform slot = new CenteredSideValueBoxTransform((motor, side) -> { - return motor.get(MotorBlock.HORIZONTAL_FACING) == side.getOpposite(); - }); + CenteredSideValueBoxTransform slot = + new CenteredSideValueBoxTransform((motor, side) -> motor.get(MotorBlock.FACING) == side.getOpposite()); generatedSpeed = new ScrollValueBehaviour(Lang.translate("generic.speed"), this, slot); generatedSpeed.between(-max, max); diff --git a/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorTileEntityRenderer.java b/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorTileEntityRenderer.java index 44cf94442..7ae4c5e88 100644 --- a/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorTileEntityRenderer.java +++ b/src/main/java/com/simibubi/create/modules/contraptions/components/motor/MotorTileEntityRenderer.java @@ -15,7 +15,7 @@ public class MotorTileEntityRenderer extends KineticTileEntityRenderer { @Override protected SuperByteBuffer getRotatedModel(KineticTileEntity te) { - return AllBlockPartials.SHAFT_HALF.renderOnHorizontal(te.getBlockState()); + return AllBlockPartials.SHAFT_HALF.renderOnDirectional(te.getBlockState()); } } diff --git a/src/main/resources/assets/create/blockstates/creative_motor.json b/src/main/resources/assets/create/blockstates/creative_motor.json deleted file mode 100644 index ef19a1ae8..000000000 --- a/src/main/resources/assets/create/blockstates/creative_motor.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "variants": { - "facing=north": { "model": "create:block/motor", "y": 180 }, - "facing=south": { "model": "create:block/motor" }, - "facing=east": { "model": "create:block/motor", "y": 270 }, - "facing=west": { "model": "create:block/motor", "y": 90 } - } -} \ No newline at end of file diff --git a/src/main/resources/assets/create/models/block/creative_motor/block.json b/src/main/resources/assets/create/models/block/creative_motor/block.json new file mode 100644 index 000000000..c331a7455 --- /dev/null +++ b/src/main/resources/assets/create/models/block/creative_motor/block.json @@ -0,0 +1,144 @@ +{ + "credit": "Made with Blockbench", + "parent": "block/block", + "textures": { + "5": "create:block/creative_casing", + "6": "create:block/creative_motor", + "7": "create:block/gearbox", + "8": "block/polished_andesite", + "9": "create:block/andesite_bricks", + "particle": "#5" + }, + "elements": [ + { + "name": "Back", + "from": [3, 3, 0.1], + "to": [13, 13, 2.1], + "faces": { + "north": {"uv": [0, 0, 10, 10], "texture": "#6"}, + "east": {"uv": [3, 0, 13, 2], "rotation": 90, "texture": "#5"}, + "south": {"uv": [0, 0, 10, 10], "texture": "#6"}, + "west": {"uv": [3, 0, 13, 2], "rotation": 270, "texture": "#5"}, + "up": {"uv": [3, 0, 13, 2], "texture": "#5"}, + "down": {"uv": [3, 0, 13, 2], "rotation": 180, "texture": "#5"} + } + }, + { + "name": "Back", + "from": [3, 3, 12], + "to": [13, 13, 14], + "faces": { + "north": {"uv": [10, 0, 0, 10], "texture": "#6"}, + "east": {"uv": [3, 2, 13, 0], "rotation": 90, "texture": "#5"}, + "south": {"uv": [10, 0, 0, 10], "texture": "#6"}, + "west": {"uv": [3, 2, 13, 0], "rotation": 270, "texture": "#5"}, + "up": {"uv": [3, 2, 13, 0], "texture": "#5"}, + "down": {"uv": [3, 2, 13, 0], "rotation": 180, "texture": "#5"} + } + }, + { + "name": "Between Rims", + "from": [5, 5, 9], + "to": [11, 11, 13], + "faces": { + "north": {"uv": [14, 4, 20, 10], "texture": "#6"}, + "east": {"uv": [10, 6, 16, 10], "rotation": 90, "texture": "#6"}, + "south": {"uv": [10, 0, 16, 6], "texture": "#6"}, + "west": {"uv": [10, 6, 16, 10], "rotation": 270, "texture": "#6"}, + "up": {"uv": [10, 6, 16, 10], "texture": "#6"}, + "down": {"uv": [10, 6, 16, 10], "rotation": 180, "texture": "#6"} + } + }, + { + "name": "Between Rims", + "from": [3.5, 3.5, 3], + "to": [12.5, 12.5, 6], + "faces": { + "east": {"uv": [3, 10, 12, 13], "rotation": 270, "texture": "#6"}, + "west": {"uv": [3, 10, 12, 13], "rotation": 90, "texture": "#6"}, + "up": {"uv": [3, 10, 12, 13], "rotation": 180, "texture": "#6"}, + "down": {"uv": [3, 10, 12, 13], "texture": "#6"} + } + }, + { + "name": "Body", + "from": [4, 4, 2], + "to": [12, 12, 10], + "faces": { + "north": {"uv": [0, 4, 8, 14], "rotation": 180, "texture": "#5"}, + "east": {"uv": [4, 3, 12, 13], "rotation": 180, "texture": "#5"}, + "south": {"uv": [3, 3, 11, 11], "rotation": 180, "texture": "#5"}, + "west": {"uv": [4, 3, 12, 13], "rotation": 180, "texture": "#5"}, + "up": {"uv": [4, 3, 12, 13], "rotation": 180, "texture": "#5"}, + "down": {"uv": [4, 3, 12, 13], "rotation": 180, "texture": "#5"} + } + }, + { + "from": [2, 12, 0], + "to": [4, 14, 15], + "faces": { + "north": {"uv": [14, 10, 16, 12], "texture": "#6"}, + "east": {"uv": [14, 0, 16, 15], "rotation": 270, "texture": "#7"}, + "south": {"uv": [14, 10, 16, 12], "rotation": 90, "texture": "#6"}, + "west": {"uv": [0, 1, 2, 16], "rotation": 270, "texture": "#7"}, + "up": {"uv": [1, 0, 16, 2], "rotation": 90, "texture": "#7"}, + "down": {"uv": [0, 14, 15, 16], "rotation": 90, "texture": "#7"} + } + }, + { + "from": [2, 2, 0], + "to": [4, 4, 15], + "faces": { + "north": {"uv": [14, 12, 16, 10], "texture": "#6"}, + "east": {"uv": [16, 0, 14, 15], "rotation": 270, "texture": "#7"}, + "south": {"uv": [16, 10, 14, 12], "rotation": 90, "texture": "#6"}, + "west": {"uv": [2, 1, 0, 16], "rotation": 270, "texture": "#7"}, + "up": {"uv": [15, 14, 0, 16], "rotation": 90, "texture": "#7"}, + "down": {"uv": [16, 0, 1, 2], "rotation": 90, "texture": "#7"} + } + }, + { + "from": [12, 12, 0], + "to": [14, 14, 15], + "faces": { + "north": {"uv": [16, 10, 14, 12], "texture": "#6"}, + "east": {"uv": [0, 16, 2, 1], "rotation": 270, "texture": "#7"}, + "south": {"uv": [14, 12, 16, 10], "rotation": 90, "texture": "#6"}, + "west": {"uv": [14, 15, 16, 0], "rotation": 270, "texture": "#7"}, + "up": {"uv": [1, 2, 16, 0], "rotation": 90, "texture": "#7"}, + "down": {"uv": [0, 16, 15, 14], "rotation": 90, "texture": "#7"} + } + }, + { + "from": [12, 2, 0], + "to": [14, 4, 15], + "faces": { + "north": {"uv": [16, 12, 14, 10], "texture": "#6"}, + "east": {"uv": [2, 16, 0, 1], "rotation": 270, "texture": "#7"}, + "south": {"uv": [16, 12, 14, 10], "rotation": 90, "texture": "#6"}, + "west": {"uv": [16, 15, 14, 0], "rotation": 270, "texture": "#7"}, + "up": {"uv": [15, 16, 0, 14], "rotation": 90, "texture": "#7"}, + "down": {"uv": [16, 2, 1, 0], "rotation": 90, "texture": "#7"} + } + }, + { + "from": [1, 0, 3], + "to": [15, 3, 10], + "faces": { + "north": {"uv": [0, 0, 14, 3], "texture": "#9"}, + "east": {"uv": [8, 0, 15, 3], "texture": "#9"}, + "south": {"uv": [1, 0, 15, 3], "texture": "#9"}, + "west": {"uv": [8, 0, 15, 3], "texture": "#9"}, + "up": {"uv": [1, 4, 15, 11], "texture": "#8"}, + "down": {"uv": [1, 4, 15, 11], "texture": "#8"} + } + } + ], + "groups": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + { + "name": "shaft", + "origin": [8, 8, 8], + "children": [] + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/create/models/block/creative_motor/block_vertical.json b/src/main/resources/assets/create/models/block/creative_motor/block_vertical.json new file mode 100644 index 000000000..a1924a082 --- /dev/null +++ b/src/main/resources/assets/create/models/block/creative_motor/block_vertical.json @@ -0,0 +1,173 @@ +{ + "credit": "Made with Blockbench", + "parent": "block/block", + "textures": { + "5": "create:block/creative_casing", + "6": "create:block/creative_motor", + "7": "create:block/gearbox", + "8": "block/polished_andesite", + "9": "create:block/andesite_bricks", + "particle": "#5" + }, + "elements": [ + { + "name": "Back", + "from": [3, 0.1, 3], + "to": [13, 2.1, 13], + "faces": { + "north": {"uv": [3, 0, 13, 2], "rotation": 180, "texture": "#5"}, + "east": {"uv": [3, 0, 13, 2], "rotation": 180, "texture": "#5"}, + "south": {"uv": [3, 0, 13, 2], "rotation": 180, "texture": "#5"}, + "west": {"uv": [3, 0, 13, 2], "rotation": 180, "texture": "#5"}, + "up": {"uv": [0, 0, 10, 10], "texture": "#6"}, + "down": {"uv": [0, 0, 10, 10], "rotation": 180, "texture": "#6"} + } + }, + { + "name": "Back", + "from": [3, 12, 3], + "to": [13, 14, 13], + "faces": { + "north": {"uv": [3, 2, 13, 0], "rotation": 180, "texture": "#5"}, + "east": {"uv": [3, 2, 13, 0], "rotation": 180, "texture": "#5"}, + "south": {"uv": [3, 2, 13, 0], "rotation": 180, "texture": "#5"}, + "west": {"uv": [3, 2, 13, 0], "rotation": 180, "texture": "#5"}, + "up": {"uv": [10, 0, 0, 10], "texture": "#6"}, + "down": {"uv": [10, 0, 0, 10], "rotation": 180, "texture": "#6"} + } + }, + { + "name": "Between Rims", + "from": [5, 9, 5], + "to": [11, 13, 11], + "faces": { + "north": {"uv": [10, 6, 16, 10], "rotation": 180, "texture": "#6"}, + "east": {"uv": [10, 6, 16, 10], "rotation": 180, "texture": "#6"}, + "south": {"uv": [10, 6, 16, 10], "rotation": 180, "texture": "#6"}, + "west": {"uv": [10, 6, 16, 10], "rotation": 180, "texture": "#6"}, + "up": {"uv": [10, 0, 16, 6], "texture": "#6"}, + "down": {"uv": [14, 4, 20, 10], "rotation": 180, "texture": "#6"} + } + }, + { + "name": "Between Rims", + "from": [3.5, 3, 3.5], + "to": [12.5, 6, 12.5], + "faces": { + "north": {"uv": [3, 10, 12, 13], "texture": "#6"}, + "east": {"uv": [3, 10, 12, 13], "texture": "#6"}, + "south": {"uv": [3, 10, 12, 13], "texture": "#6"}, + "west": {"uv": [3, 10, 12, 13], "texture": "#6"} + } + }, + { + "name": "Body", + "from": [4, 2, 4], + "to": [12, 10, 12], + "faces": { + "north": {"uv": [4, 3, 12, 13], "texture": "#5"}, + "east": {"uv": [4, 3, 12, 13], "rotation": 270, "texture": "#5"}, + "south": {"uv": [4, 3, 12, 13], "rotation": 180, "texture": "#5"}, + "west": {"uv": [4, 3, 12, 13], "rotation": 90, "texture": "#5"}, + "up": {"uv": [3, 3, 11, 11], "rotation": 180, "texture": "#5"}, + "down": {"uv": [0, 4, 8, 14], "texture": "#5"} + } + }, + { + "from": [12, 1, 2], + "to": [14, 15, 4], + "faces": { + "north": {"uv": [1, 0, 15, 2], "rotation": 270, "texture": "#7"}, + "east": {"uv": [14, 1, 16, 15], "texture": "#7"}, + "south": {"uv": [1, 14, 15, 16], "rotation": 90, "texture": "#7"}, + "west": {"uv": [0, 1, 2, 15], "rotation": 180, "texture": "#7"}, + "up": {"uv": [14, 10, 16, 12], "texture": "#6"}, + "down": {"uv": [14, 10, 16, 12], "rotation": 270, "texture": "#6"} + } + }, + { + "from": [12, 1, 12], + "to": [14, 15, 14], + "faces": { + "north": {"uv": [1, 16, 15, 14], "rotation": 90, "texture": "#7"}, + "east": {"uv": [16, 1, 14, 15], "texture": "#7"}, + "south": {"uv": [1, 2, 15, 0], "rotation": 270, "texture": "#7"}, + "west": {"uv": [2, 1, 0, 15], "rotation": 180, "texture": "#7"}, + "up": {"uv": [14, 12, 16, 10], "texture": "#6"}, + "down": {"uv": [16, 10, 14, 12], "rotation": 270, "texture": "#6"} + } + }, + { + "from": [2, 1, 2], + "to": [4, 15, 4], + "faces": { + "north": {"uv": [1, 2, 15, 0], "rotation": 270, "texture": "#7"}, + "east": {"uv": [2, 1, 0, 15], "rotation": 180, "texture": "#7"}, + "south": {"uv": [1, 16, 15, 14], "rotation": 90, "texture": "#7"}, + "west": {"uv": [16, 1, 14, 15], "texture": "#7"}, + "up": {"uv": [16, 10, 14, 12], "texture": "#6"}, + "down": {"uv": [14, 12, 16, 10], "rotation": 270, "texture": "#6"} + } + }, + { + "from": [2, 1, 12], + "to": [4, 15, 14], + "faces": { + "north": {"uv": [1, 14, 15, 16], "rotation": 90, "texture": "#7"}, + "east": {"uv": [0, 1, 2, 15], "rotation": 180, "texture": "#7"}, + "south": {"uv": [1, 0, 15, 2], "rotation": 270, "texture": "#7"}, + "west": {"uv": [14, 1, 16, 15], "texture": "#7"}, + "up": {"uv": [16, 12, 14, 10], "texture": "#6"}, + "down": {"uv": [16, 12, 14, 10], "rotation": 270, "texture": "#6"} + } + }, + { + "from": [11, 0, 11], + "to": [15, 4, 15], + "faces": { + "north": {"uv": [8, 0, 12, 4], "texture": "#9"}, + "east": {"uv": [0, 0, 4, 4], "texture": "#9"}, + "south": {"uv": [8, 0, 12, 4], "texture": "#9"}, + "west": {"uv": [1, 0, 5, 4], "texture": "#9"}, + "up": {"uv": [1, 4, 5, 8], "rotation": 90, "texture": "#8"}, + "down": {"uv": [3, 3, 7, 7], "rotation": 180, "texture": "#8"} + } + }, + { + "from": [11, 0, 1], + "to": [15, 4, 5], + "faces": { + "north": {"uv": [12, 0, 8, 4], "texture": "#9"}, + "east": {"uv": [4, 0, 0, 4], "texture": "#9"}, + "south": {"uv": [12, 0, 8, 4], "texture": "#9"}, + "west": {"uv": [5, 0, 1, 4], "texture": "#9"}, + "up": {"uv": [5, 4, 1, 8], "rotation": 90, "texture": "#8"}, + "down": {"uv": [3, 7, 7, 3], "rotation": 180, "texture": "#8"} + } + }, + { + "from": [1, 0, 11], + "to": [5, 4, 15], + "faces": { + "north": {"uv": [12, 0, 8, 4], "texture": "#9"}, + "east": {"uv": [5, 0, 1, 4], "texture": "#9"}, + "south": {"uv": [12, 0, 8, 4], "texture": "#9"}, + "west": {"uv": [4, 0, 0, 4], "texture": "#9"}, + "up": {"uv": [1, 8, 5, 4], "rotation": 90, "texture": "#8"}, + "down": {"uv": [7, 3, 3, 7], "rotation": 180, "texture": "#8"} + } + }, + { + "from": [1, 0, 1], + "to": [5, 4, 5], + "faces": { + "north": {"uv": [8, 0, 12, 4], "texture": "#9"}, + "east": {"uv": [1, 0, 5, 4], "texture": "#9"}, + "south": {"uv": [8, 0, 12, 4], "texture": "#9"}, + "west": {"uv": [0, 0, 4, 4], "texture": "#9"}, + "up": {"uv": [5, 8, 1, 4], "rotation": 90, "texture": "#8"}, + "down": {"uv": [7, 7, 3, 3], "rotation": 180, "texture": "#8"} + } + } + ] +} \ No newline at end of file diff --git a/src/main/resources/assets/create/models/block/creative_motor/item.json b/src/main/resources/assets/create/models/block/creative_motor/item.json new file mode 100644 index 000000000..903ee9ec5 --- /dev/null +++ b/src/main/resources/assets/create/models/block/creative_motor/item.json @@ -0,0 +1,168 @@ +{ + "credit": "Made with Blockbench", + "parent": "block/block", + "textures": { + "5": "create:block/creative_casing", + "6": "create:block/creative_motor", + "7": "create:block/gearbox", + "8": "block/polished_andesite", + "9": "create:block/andesite_bricks", + "1_0": "create:block/axis", + "1_1": "create:block/axis_top", + "particle": "#5" + }, + "elements": [ + { + "name": "Back", + "from": [3, 3, 0.1], + "to": [13, 13, 2.1], + "faces": { + "north": {"uv": [0, 0, 10, 10], "texture": "#6"}, + "east": {"uv": [3, 0, 13, 2], "rotation": 90, "texture": "#5"}, + "south": {"uv": [0, 0, 10, 10], "texture": "#6"}, + "west": {"uv": [3, 0, 13, 2], "rotation": 270, "texture": "#5"}, + "up": {"uv": [3, 0, 13, 2], "texture": "#5"}, + "down": {"uv": [3, 0, 13, 2], "rotation": 180, "texture": "#5"} + } + }, + { + "name": "Back", + "from": [3, 3, 12], + "to": [13, 13, 14], + "faces": { + "north": {"uv": [10, 0, 0, 10], "texture": "#6"}, + "east": {"uv": [3, 2, 13, 0], "rotation": 90, "texture": "#5"}, + "south": {"uv": [10, 0, 0, 10], "texture": "#6"}, + "west": {"uv": [3, 2, 13, 0], "rotation": 270, "texture": "#5"}, + "up": {"uv": [3, 2, 13, 0], "texture": "#5"}, + "down": {"uv": [3, 2, 13, 0], "rotation": 180, "texture": "#5"} + } + }, + { + "name": "Between Rims", + "from": [5, 5, 9], + "to": [11, 11, 13], + "faces": { + "north": {"uv": [14, 4, 20, 10], "texture": "#6"}, + "east": {"uv": [10, 6, 16, 10], "rotation": 90, "texture": "#6"}, + "south": {"uv": [10, 0, 16, 6], "texture": "#6"}, + "west": {"uv": [10, 6, 16, 10], "rotation": 270, "texture": "#6"}, + "up": {"uv": [10, 6, 16, 10], "texture": "#6"}, + "down": {"uv": [10, 6, 16, 10], "rotation": 180, "texture": "#6"} + } + }, + { + "name": "Between Rims", + "from": [3.5, 3.5, 3], + "to": [12.5, 12.5, 6], + "faces": { + "east": {"uv": [3, 10, 12, 13], "rotation": 270, "texture": "#6"}, + "west": {"uv": [3, 10, 12, 13], "rotation": 90, "texture": "#6"}, + "up": {"uv": [3, 10, 12, 13], "rotation": 180, "texture": "#6"}, + "down": {"uv": [3, 10, 12, 13], "texture": "#6"} + } + }, + { + "name": "Body", + "from": [4, 4, 2], + "to": [12, 12, 10], + "faces": { + "north": {"uv": [0, 4, 8, 14], "rotation": 180, "texture": "#5"}, + "east": {"uv": [4, 3, 12, 13], "rotation": 180, "texture": "#5"}, + "south": {"uv": [3, 3, 11, 11], "rotation": 180, "texture": "#5"}, + "west": {"uv": [4, 3, 12, 13], "rotation": 180, "texture": "#5"}, + "up": {"uv": [4, 3, 12, 13], "rotation": 180, "texture": "#5"}, + "down": {"uv": [4, 3, 12, 13], "rotation": 180, "texture": "#5"} + } + }, + { + "from": [2, 12, 0], + "to": [4, 14, 15], + "faces": { + "north": {"uv": [14, 10, 16, 12], "texture": "#6"}, + "east": {"uv": [14, 1, 16, 16], "rotation": 270, "texture": "#7"}, + "south": {"uv": [14, 10, 16, 12], "rotation": 90, "texture": "#6"}, + "west": {"uv": [0, 0, 2, 15], "rotation": 270, "texture": "#7"}, + "up": {"uv": [0, 0, 15, 2], "rotation": 90, "texture": "#7"}, + "down": {"uv": [1, 14, 16, 16], "rotation": 90, "texture": "#7"} + } + }, + { + "from": [2, 2, 0], + "to": [4, 4, 15], + "faces": { + "north": {"uv": [14, 12, 16, 10], "texture": "#6"}, + "east": {"uv": [16, 1, 14, 16], "rotation": 270, "texture": "#7"}, + "south": {"uv": [16, 10, 14, 12], "rotation": 90, "texture": "#6"}, + "west": {"uv": [2, 0, 0, 15], "rotation": 270, "texture": "#7"}, + "up": {"uv": [16, 14, 1, 16], "rotation": 90, "texture": "#7"}, + "down": {"uv": [15, 0, 0, 2], "rotation": 90, "texture": "#7"} + } + }, + { + "from": [12, 12, 0], + "to": [14, 14, 15], + "faces": { + "north": {"uv": [16, 10, 14, 12], "texture": "#6"}, + "east": {"uv": [0, 15, 2, 0], "rotation": 270, "texture": "#7"}, + "south": {"uv": [14, 12, 16, 10], "rotation": 90, "texture": "#6"}, + "west": {"uv": [14, 16, 16, 1], "rotation": 270, "texture": "#7"}, + "up": {"uv": [0, 2, 15, 0], "rotation": 90, "texture": "#7"}, + "down": {"uv": [1, 16, 16, 14], "rotation": 90, "texture": "#7"} + } + }, + { + "from": [12, 2, 0], + "to": [14, 4, 15], + "faces": { + "north": {"uv": [16, 12, 14, 10], "texture": "#6"}, + "east": {"uv": [2, 15, 0, 0], "rotation": 270, "texture": "#7"}, + "south": {"uv": [16, 12, 14, 10], "rotation": 90, "texture": "#6"}, + "west": {"uv": [16, 16, 14, 1], "rotation": 270, "texture": "#7"}, + "up": {"uv": [16, 16, 1, 14], "rotation": 90, "texture": "#7"}, + "down": {"uv": [15, 2, 0, 0], "rotation": 90, "texture": "#7"} + } + }, + { + "from": [1, 0, 3], + "to": [15, 3, 10], + "faces": { + "north": {"uv": [0, 0, 14, 3], "texture": "#9"}, + "east": {"uv": [8, 0, 15, 3], "texture": "#9"}, + "south": {"uv": [1, 0, 15, 3], "texture": "#9"}, + "west": {"uv": [8, 0, 15, 3], "texture": "#9"}, + "up": {"uv": [1, 4, 15, 11], "texture": "#8"}, + "down": {"uv": [1, 4, 15, 11], "texture": "#8"} + } + }, + { + "name": "Axis", + "from": [6, 6, 6], + "to": [10, 10, 16], + "shade": false, + "rotation": {"angle": 22.5, "axis": "z", "origin": [8, 8, 8]}, + "faces": { + "north": {"uv": [6, 6, 10, 10], "rotation": 180, "texture": "#1_1"}, + "east": {"uv": [6, 0, 10, 10], "rotation": 270, "texture": "#1_0"}, + "south": {"uv": [6, 6, 10, 10], "texture": "#1_1"}, + "west": {"uv": [6, 0, 10, 10], "rotation": 90, "texture": "#1_0"}, + "up": {"uv": [6, 0, 10, 10], "rotation": 180, "texture": "#1_0"}, + "down": {"uv": [6, 0, 10, 10], "texture": "#1_0"} + } + } + ], + "groups": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, + { + "name": "shaft", + "origin": [8, 8, 8], + "children": [10] + } + ], + "display": { + "gui": { + "rotation": [ 30, 45, 0 ], + "translation": [ 0, 0, 0], + "scale":[ 0.625, 0.625, 0.625 ] + } + } +} \ No newline at end of file diff --git a/src/main/resources/assets/create/models/block/motor.json b/src/main/resources/assets/create/models/block/motor.json deleted file mode 100644 index 6624e6d77..000000000 --- a/src/main/resources/assets/create/models/block/motor.json +++ /dev/null @@ -1,142 +0,0 @@ -{ - "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)", - "parent": "block/block", - "textures": { - "particle": "block/iron_block", - "0": "block/chiseled_stone_bricks", - "1": "block/stone_bricks", - "2": "block/anvil", - "3": "block/iron_block", - "4": "block/stone" - }, - "elements": [ - { - "name": "Base", - "from": [ 1.0, 0.0, 2.0 ], - "to": [ 15.0, 1.0, 10.0 ], - "faces": { - "north": { "texture": "#0", "uv": [ 0.0, 4.0, 14.0, 5.0 ] }, - "east": { "texture": "#0", "uv": [ 4.0, 12.0, 12.0, 13.0 ] }, - "south": { "texture": "#0", "uv": [ 1.0, 10.0, 15.0, 11.0 ] }, - "west": { "texture": "#0", "uv": [ 3.0, 15.0, 11.0, 16.0 ] }, - "up": { "texture": "#0", "uv": [ 1.0, 3.0, 15.0, 11.0 ] }, - "down": { "texture": "#1", "uv": [ 1.0, 0.0, 15.0, 8.0 ], "rotation": 180 } - } - }, - { - "name": "BaseTop", - "from": [ 4.0, 1.0, 2.0 ], - "to": [ 12.0, 4.0, 10.0 ], - "faces": { - "north": { "texture": "#0", "uv": [ 4.0, 0.0, 12.0, 3.0 ] }, - "east": { "texture": "#0", "uv": [ 4.0, 0.0, 12.0, 3.0 ] }, - "south": { "texture": "#0", "uv": [ 4.0, 0.0, 12.0, 3.0 ] }, - "west": { "texture": "#0", "uv": [ 4.0, 0.0, 12.0, 3.0 ] } - } - }, - { - "name": "Back", - "from": [ 3.0, 3.0, 0.0 ], - "to": [ 13.0, 13.0, 2.0 ], - "faces": { - "north": { "texture": "#2", "uv": [ 3.0, 3.0, 13.0, 13.0 ] }, - "east": { "texture": "#2", "uv": [ 1.0, 3.0, 3.0, 13.0 ] }, - "south": { "texture": "#2", "uv": [ 3.0, 3.0, 13.0, 13.0 ] }, - "west": { "texture": "#2", "uv": [ 13.0, 3.0, 15.0, 13.0 ] }, - "up": { "texture": "#2", "uv": [ 3.0, 1.0, 13.0, 3.0 ] }, - "down": { "texture": "#2", "uv": [ 3.0, 13.0, 13.0, 15.0 ] } - } - }, - { - "name": "Front Rim", - "from": [ 3.0, 3.0, 13.0 ], - "to": [ 13.0, 13.0, 14.0 ], - "faces": { - "north": { "texture": "#0", "uv": [ 3.0, 3.0, 13.0, 13.0 ] }, - "east": { "texture": "#0", "uv": [ 12.0, 3.0, 13.0, 13.0 ] }, - "south": { "texture": "#0", "uv": [ 3.0, 3.0, 13.0, 13.0 ] }, - "west": { "texture": "#0", "uv": [ 3.0, 3.0, 4.0, 13.0 ] }, - "up": { "texture": "#0", "uv": [ 3.0, 3.0, 13.0, 4.0 ] }, - "down": { "texture": "#0", "uv": [ 3.0, 12.0, 13.0, 13.0 ] } - } - }, - { - "name": "Back Rim", - "from": [ 3.0, 3.0, 10.0 ], - "to": [ 13.0, 13.0, 11.0 ], - "faces": { - "north": { "texture": "#0", "uv": [ 3.0, 3.0, 13.0, 13.0 ] }, - "east": { "texture": "#0", "uv": [ 12.0, 3.0, 13.0, 13.0 ] }, - "south": { "texture": "#0", "uv": [ 3.0, 3.0, 13.0, 13.0 ] }, - "west": { "texture": "#0", "uv": [ 3.0, 3.0, 4.0, 13.0 ] }, - "up": { "texture": "#0", "uv": [ 3.0, 3.0, 13.0, 4.0 ] }, - "down": { "texture": "#0", "uv": [ 3.0, 12.0, 13.0, 13.0 ] } - } - }, - { - "name": "Between Rims", - "from": [ 5.0, 5.0, 11.0 ], - "to": [ 11.0, 11.0, 13.0 ], - "faces": { - "east": { "texture": "#2", "uv": [ 0.0, 4.0, 2.0, 10.0 ] }, - "west": { "texture": "#2", "uv": [ 14.0, 4.0, 16.0, 10.0 ] }, - "up": { "texture": "#2", "uv": [ 4.0, 0.0, 10.0, 2.0 ] }, - "down": { "texture": "#2", "uv": [ 4.0, 14.0, 10.0, 16.0 ] } - } - }, - { - "name": "Body", - "from": [ 4.0, 4.0, 2.0 ], - "to": [ 12.0, 12.0, 10.0 ], - "faces": { - "east": { "texture": "#3", "uv": [ 0.0, 4.0, 8.0, 12.0 ] }, - "west": { "texture": "#3", "uv": [ 0.0, 4.0, 8.0, 12.0 ], "rotation": 180 }, - "up": { "texture": "#3", "uv": [ 0.0, 4.0, 8.0, 12.0 ], "rotation": 270 } - } - }, - { - "name": "Corner Top Left", - "from": [ 3.5, 11.5, 2.0 ], - "to": [ 4.5, 12.5, 13.0 ], - "rotation": { "origin": [ 4.0, 12.0, 8.0 ], "axis": "z", "angle": 45.0 }, - "faces": { - "east": { "texture": "#4", "uv": [ 2.0, 3.0, 13.0, 4.0 ] }, - "west": { "texture": "#4", "uv": [ 2.0, 2.0, 9.0, 1.0 ] }, - "up": { "texture": "#4", "uv": [ 2.0, 8.0, 13.0, 9.0 ], "rotation": 90 } - } - }, - { - "name": "Corner Top Right", - "from": [ 11.5, 11.5, 2.0 ], - "to": [ 12.5, 12.5, 13.0 ], - "rotation": { "origin": [ 12.0, 12.0, 8.0 ], "axis": "z", "angle": 45.0 }, - "faces": { - "east": { "texture": "#4", "uv": [ 2.0, 8.0, 13.0, 9.0 ] }, - "up": { "texture": "#4", "uv": [ 3.0, 3.0, 14.0, 4.0 ], "rotation": 90 }, - "down": { "texture": "#4", "uv": [ 3.0, 6.0, 14.0, 7.0 ], "rotation": 90 } - } - }, - { - "name": "Corner Bottom Right", - "from": [ 11.5, 3.5, 2.0 ], - "to": [ 12.5, 4.5, 13.0 ], - "rotation": { "origin": [ 12.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 }, - "faces": { - "east": { "texture": "#4", "uv": [ 3.0, 6.0, 14.0, 7.0 ] }, - "west": { "texture": "#4", "uv": [ 3.0, 4.0, 14.0, 5.0 ] }, - "down": { "texture": "#4", "uv": [ 3.0, 5.0, 14.0, 6.0 ], "rotation": 90 } - } - }, - { - "name": "Corner Bottom Left", - "from": [ 3.5, 3.5, 2.0 ], - "to": [ 4.5, 4.5, 13.0 ], - "rotation": { "origin": [ 4.0, 4.0, 8.0 ], "axis": "z", "angle": 45.0 }, - "faces": { - "west": { "texture": "#4", "uv": [ 2.0, 5.0, 13.0, 6.0 ] }, - "up": { "texture": "#4", "uv": [ 2.0, 3.0, 13.0, 4.0 ], "rotation": 90 }, - "down": { "texture": "#4", "uv": [ 2.0, 7.0, 13.0, 8.0 ], "rotation": 90 } - } - } - ] -} \ No newline at end of file diff --git a/src/main/resources/assets/create/models/item/creative_motor.json b/src/main/resources/assets/create/models/item/creative_motor.json deleted file mode 100644 index 34c207eec..000000000 --- a/src/main/resources/assets/create/models/item/creative_motor.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "parent": "create:block/motor", - "display": { - "fixed": { - "rotation": [ 0, 90, 0 ], - "translation": [ 0, 0, 0], - "scale":[ 0.5, 0.5, 0.5 ] - } - } -} \ No newline at end of file diff --git a/src/main/resources/assets/create/textures/block/creative_casing.png b/src/main/resources/assets/create/textures/block/creative_casing.png new file mode 100644 index 0000000000000000000000000000000000000000..7ce4d7a7441e9551054e6aebb9e56cb2dc261639 GIT binary patch literal 437 zcmV;m0ZRUfP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0ZK_kK~y+Tl~P?x z!!Q(0ySB4Uo20432St1reD~cqUj)H_Ac8+be};d?;iGR8L>W^AWsGSbM0DNQ@U%CC zAS!wxCnw?Fb3YPqXM2BrV~sKP_WBOAR+gpK+8iA74t5VWSGW9DYcZdjJI3Pn(nmEh z2gfe1&I4@lJ~=yG=@jGVva_s5;}^?aJlZ?1ow1-DMd8zMB$b4Bo-50N;6+h94)3Uh zIsleSA*IwxW@!ri!bQfzK*DV?@q9D~1_2})+&=_iaN8eP4iqWJP27$eW#-c;An>g` zFiGNEDIqcwfQ6Yr5;7#|a!Lq932-w3nBea{08s)B+BEI<;3feQ2a=}=aC_jK15vk& zD1kivR3zBkx?N65fGEKP&=>kk4<>*zKwvhT-t@1lX$5R}ui-u7wuk?HzV2nW4xq<| f;pK_^XpDUVysN+JimdS?00000NkvXXu0mjfWkIl6 literal 0 HcmV?d00001 diff --git a/src/main/resources/assets/create/textures/block/creative_motor.png b/src/main/resources/assets/create/textures/block/creative_motor.png new file mode 100644 index 0000000000000000000000000000000000000000..897bf9e1ddff0e17a99957700e74115af66ad956 GIT binary patch literal 583 zcmV-N0=WH&P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D0o+MMK~y+Tol{Fo z8(|bZ^DyJsBooKxF=m=(p)^gQU{?y+q_`+_*NPj#UH?PZU3H@ie?WD~sY#gHBu$=V>CIBn*B_+4#68EL_B97Li~ zXqtvjRfjbD{*(7A{Ti~O;Jnwn3crc9?<{lx6OT^=Np2hvwvsIK8llXgCak}rHHyVc&&kzu(|v2aEw`h zH^{MjtrGM9r+&~GSJzkjPawbrd>u%v+mOwrnFAB7eOUH>R7#l0yusGircgSCKYve< z%jL20b3Nc6AA7;}_RKyGtA~)=oem_?xZCY;MO9Vdx~{OhxA-q@O14HVNK4jNuc@?< z45iULu3<~TmWS@ V-uXru1F8T3002ovPDHLkV1l}z0+#>) literal 0 HcmV?d00001