From 82d78be1d39c524f01a2fd839740f89187067bc9 Mon Sep 17 00:00:00 2001 From: Mohammad-Ali Minaie Date: Fri, 27 Jan 2017 05:43:05 -0500 Subject: [PATCH] Adding blockstates to empty crucible for hot, hot cracked, and cracked. need textures --- .../forgecraft/blocks/EmptyCrucible.java | 62 ++++++++ .../forgecraft/crafting/BloomeryCrafting.java | 4 +- .../primal/forgecraft/init/ModCrafting.java | 20 ++- .../primal/forgecraft/tiles/TileBloomery.java | 29 ++-- .../forgecraft/blockstates/emptycrucible.json | 5 +- .../models/block/emptycruciblecracked.json | 144 +++++++++++++++++ .../models/block/emptycruciblecrackedhot.json | 144 +++++++++++++++++ .../models/block/emptycruciblehot.json | 145 ++++++++++++++++++ 8 files changed, 532 insertions(+), 21 deletions(-) create mode 100644 1.11/src/main/resources/assets/forgecraft/models/block/emptycruciblecracked.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/block/emptycruciblecrackedhot.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/block/emptycruciblehot.json diff --git a/1.11/src/main/java/nmd/primal/forgecraft/blocks/EmptyCrucible.java b/1.11/src/main/java/nmd/primal/forgecraft/blocks/EmptyCrucible.java index 2a8a0eed..54101a1d 100644 --- a/1.11/src/main/java/nmd/primal/forgecraft/blocks/EmptyCrucible.java +++ b/1.11/src/main/java/nmd/primal/forgecraft/blocks/EmptyCrucible.java @@ -2,12 +2,18 @@ package nmd.primal.forgecraft.blocks; import net.minecraft.block.Block; import net.minecraft.block.material.Material; +import net.minecraft.block.properties.IProperty; +import net.minecraft.block.properties.PropertyDirection; +import net.minecraft.block.properties.PropertyInteger; +import net.minecraft.block.state.BlockStateContainer; import net.minecraft.block.state.IBlockState; +import net.minecraft.entity.EntityLivingBase; import net.minecraft.util.EnumBlockRenderType; import net.minecraft.util.EnumFacing; import net.minecraft.util.math.AxisAlignedBB; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IBlockAccess; +import net.minecraft.world.World; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; import nmd.primal.forgecraft.ModInfo; @@ -19,6 +25,8 @@ public class EmptyCrucible extends Block { protected static final AxisAlignedBB boundBox = new AxisAlignedBB(4/16D, 0.0D, 4/16D, 12/16D, 7/16D, 12/16D); + public static final PropertyInteger SIZE = PropertyInteger.create("size", 0, 3); + public EmptyCrucible(Material material, String registryName) { super(material); setUnlocalizedName(ModInfo.ForgecraftBlocks.EMPTYCRUCIBLE.getUnlocalizedName()); @@ -26,6 +34,60 @@ public class EmptyCrucible extends Block { //setRegistryName(ModInfo.ForgecraftBlocks.FIREBOX.getRegistryName()); setCreativeTab(ModInfo.TAB_FORGECRAFT); setHardness(3.0f); + this.blockState.getBaseState().withProperty(SIZE, Integer.valueOf(0)); + } + + // ***************************************************************************** // + // BlockState + // ***************************************************************************** // + @Override + public IBlockState getStateForPlacement(World worldIn, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer) + { + return this.getStateFromMeta(meta).withProperty(SIZE, 0); + } + + @Override + protected BlockStateContainer createBlockState() { + return new BlockStateContainer(this, new IProperty[] {SIZE}); + } + + @Override + public IBlockState getStateFromMeta(int meta) + { + IBlockState iblockstate = this.getDefaultState(); + + if (meta == 0){ + iblockstate = iblockstate.withProperty(SIZE, 0); + } else if (meta == 1){ + iblockstate = iblockstate.withProperty(SIZE, 1); + } else if (meta == 2){ + iblockstate = iblockstate.withProperty(SIZE, 2); + } else if (meta == 3){ + iblockstate = iblockstate.withProperty(SIZE, 3); + } + + return iblockstate; + } + + @Override + public int getMetaFromState(IBlockState state) + { + int i = 0; + //switch state.getValue(LOG_AXIS); + if(state.getValue(SIZE) == 0) { + i = 0; + return i; + } else if(state.getValue(SIZE) == 1){ + i = 1; + return i; + } else if(state.getValue(SIZE) == 2){ + i = 2; + return i; + }else if(state.getValue(SIZE) == 3){ + i = 3; + return i; + } + return i; } @Override diff --git a/1.11/src/main/java/nmd/primal/forgecraft/crafting/BloomeryCrafting.java b/1.11/src/main/java/nmd/primal/forgecraft/crafting/BloomeryCrafting.java index 8c9a0499..5ce0195b 100644 --- a/1.11/src/main/java/nmd/primal/forgecraft/crafting/BloomeryCrafting.java +++ b/1.11/src/main/java/nmd/primal/forgecraft/crafting/BloomeryCrafting.java @@ -38,9 +38,9 @@ public class BloomeryCrafting { // ***************************************************************************** // // Recipe Methods // ***************************************************************************** // - public static void addRecipe(ItemStack input, ItemStack output, ItemStack output_failed, int heat_threshold, int ideal_time, float heat_variance, float time_variance) + public static void addRecipe(ItemStack input, ItemStack output, ItemStack failed, int heat_threshold, int ideal_time, float heat_variance, float time_variance) { - bloomeryRecipes.add(new BloomeryCrafting(input, output, output_failed, heat_threshold, ideal_time, heat_variance, time_variance)); + bloomeryRecipes.add(new BloomeryCrafting(input, output, failed, heat_threshold, ideal_time, heat_variance, time_variance)); } public static boolean isRecipeItem(ItemStack stack) diff --git a/1.11/src/main/java/nmd/primal/forgecraft/init/ModCrafting.java b/1.11/src/main/java/nmd/primal/forgecraft/init/ModCrafting.java index 18658238..2cdcf3f6 100644 --- a/1.11/src/main/java/nmd/primal/forgecraft/init/ModCrafting.java +++ b/1.11/src/main/java/nmd/primal/forgecraft/init/ModCrafting.java @@ -38,12 +38,20 @@ public class ModCrafting { //DryingRecipe.addRecipe(new ItemStack(Items.FISH, 1, 0), new ItemStack(PrimalItems.FISH_COD_DRIED), new ItemStack(PrimalItems.FISH_COD_ROTTEN), 25, 0.006F); BloomeryCrafting.addRecipe( new ItemStack(ModItems.softcrucible, 1), - new ItemStack(Item.getItemFromBlock(ModBlocks.emptycrucible), 1), - //new ItemStack(ModItems.crackedcrucible, 1), + new ItemStack(ModBlocks.emptycrucible, 1), new ItemStack(Items.STICK, 1), - 500, - 500, - 1.25f, - 1.0f); + 2100, + 2400, + 0.25f, + 0.25f); + + BloomeryCrafting.addRecipe( + new ItemStack(ModBlocks.emptycrucible, 1), + new ItemStack(Items.STICK, 1), + new ItemStack(Items.STICK, 1), + 2700, + 9000, + 0.0f, + 0.0f); } } diff --git a/1.11/src/main/java/nmd/primal/forgecraft/tiles/TileBloomery.java b/1.11/src/main/java/nmd/primal/forgecraft/tiles/TileBloomery.java index 0cdec0e4..56d03080 100644 --- a/1.11/src/main/java/nmd/primal/forgecraft/tiles/TileBloomery.java +++ b/1.11/src/main/java/nmd/primal/forgecraft/tiles/TileBloomery.java @@ -30,12 +30,18 @@ public class TileBloomery extends TileBaseSlot implements ITickable { @Override public void update () { + World world = this.getWorld(); if(!world.isRemote){ - World world = this.getWorld(); + IBlockState state = world.getBlockState(this.pos); + if(state.getValue(Bloomery.ACTIVE) == true){ + if(this.getHeat() < 400){ + this.setHeat(400); + } + } this.iteration ++; if(this.iteration == 300 ) { this.iteration = 0; - IBlockState state = world.getBlockState(this.pos); + //IBlockState state = world.getBlockState(this.pos); BlockPos abovePos = new BlockPos(this.getPos().getX(), this.getPos().getY()+1, this.getPos().getZ()); if (world.getBlockState(this.getPos()).getValue(Bloomery.ACTIVE)) { if (this.getSlotStack(0) == ItemStack.EMPTY) { @@ -44,7 +50,6 @@ public class TileBloomery extends TileBaseSlot implements ITickable { world.notifyBlockUpdate(pos, state, state, 2); } slotZeroManager(world); - } this.heatManager(this.getHeat(), state, this.getSlotStack(0)); } @@ -55,21 +60,22 @@ public class TileBloomery extends TileBaseSlot implements ITickable { private void slotOneManager(){ BloomeryCrafting recipe = BloomeryCrafting.getRecipe(this.getSlotStack(1)); if(recipe != null){ - System.out.println(recipe.getInput() + " : " + recipe.getOutput() + " : " + recipe.getIdealTime() + " : " + recipe.getHeatThreshold()); - System.out.println(this.getSlotStack(1) + " : " + this.cookCounter + " : " + this.getHeat()); + System.out.println(recipe.getIdealTime() + " : " + recipe.getHeatThreshold()); + System.out.println(this.cookCounter + " : " + this.getHeat()); + System.out.println("===================="); if(this.getHeat() >= recipe.getHeatThreshold()){ cookCounter++; - //System.out.println(cookCounter); } - if(cookCounter >= recipe.getIdealTime()){ - if(this.getSlotStack(1) == recipe.getInput()) { + if(cookCounter >= recipe.getIdealTime() ){ + if(this.getSlotStack(1).getItem() == recipe.getInput().getItem()) { this.setSlotStack(1, recipe.getOutput()); + this.cookCounter = 0; System.out.print(" :Success: " + this.getSlotStack(1)); this.updateBlock(); this.markDirty(); } } - if( cookCounter > recipe.getIdealTime() + (recipe.getIdealTime() * recipe.getTimeVariance())){ + if(cookCounter > recipe.getIdealTime() + (recipe.getIdealTime() * recipe.getTimeVariance())){ if(this.getSlotStack(1) == recipe.getInput()) { this.setSlotStack(1, recipe.getOutputFailed()); this.cookCounter = 0; @@ -77,7 +83,6 @@ public class TileBloomery extends TileBaseSlot implements ITickable { this.updateBlock(); this.markDirty(); } - } if(this.getHeat() > recipe.getHeatThreshold() + (recipe.getHeatThreshold() * recipe.getHeatVariance())){ this.setSlotStack(1, recipe.getOutputFailed()); @@ -129,9 +134,9 @@ public class TileBloomery extends TileBaseSlot implements ITickable { if(h > 400) { this.setHeat(h - 25); } - if(h < 400){ + /*if(h < 400){ this.setHeat(400); - } + }*/ } if(stack.isEmpty()){ if(h > 50){ diff --git a/1.11/src/main/resources/assets/forgecraft/blockstates/emptycrucible.json b/1.11/src/main/resources/assets/forgecraft/blockstates/emptycrucible.json index d42f0e0b..b3b043ae 100644 --- a/1.11/src/main/resources/assets/forgecraft/blockstates/emptycrucible.json +++ b/1.11/src/main/resources/assets/forgecraft/blockstates/emptycrucible.json @@ -1,5 +1,8 @@ { "variants": { - "normal": { "model": "forgecraft:emptycrucible" } + "size=0": { "model": "forgecraft:emptycrucible" }, + "size=1": { "model": "forgecraft:emptycruciblehot" }, + "size=2": { "model": "forgecraft:emptycruciblecracked" } + "size=3": { "model": "forgecraft:emptycruciblecrackedhot" } } } \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/block/emptycruciblecracked.json b/1.11/src/main/resources/assets/forgecraft/models/block/emptycruciblecracked.json new file mode 100644 index 00000000..b538fc80 --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/block/emptycruciblecracked.json @@ -0,0 +1,144 @@ +{ + "__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "forgecraft:blocks/stone_slab", + "texture": "forgecraft:blocks/stone_slab_cracked" + }, + "elements": [ + { + "__comment": "Cube1", + "from": [ 5, 0, 5 ], + "to": [ 11, 1, 11 ], + "faces": { + "down": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "north": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }, + "south": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }, + "east": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube11", + "from": [ 5, 1, 5 ], + "to": [ 11, 7, 6 ], + "faces": { + "down": { "uv": [ 5, 10, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 11, 6 ], "texture": "#texture" }, + "north": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" }, + "south": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" }, + "west": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" }, + "east": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube11", + "from": [ 5, 1, 10 ], + "to": [ 11, 7, 11 ], + "faces": { + "down": { "uv": [ 5, 10, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 11, 6 ], "texture": "#texture" }, + "north": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" }, + "south": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" }, + "west": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" }, + "east": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube13", + "from": [ 5, 1, 6 ], + "to": [ 6, 7, 10 ], + "faces": { + "down": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" }, + "up": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" }, + "north": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" }, + "south": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" }, + "west": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" }, + "east": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube13", + "from": [ 10, 1, 6 ], + "to": [ 11, 7, 10 ], + "faces": { + "down": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" }, + "up": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" }, + "north": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" }, + "south": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" }, + "west": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" }, + "east": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube15", + "from": [ 4, 5, 6 ], + "to": [ 5, 6, 10 ], + "faces": { + "down": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" }, + "up": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" }, + "north": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" }, + "south": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" }, + "west": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "east": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube15", + "from": [ 11, 5, 6 ], + "to": [ 12, 6, 10 ], + "faces": { + "down": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" }, + "up": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" }, + "north": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" }, + "south": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" }, + "west": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "east": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube17", + "from": [ 6, 5, 4 ], + "to": [ 10, 6, 5 ], + "faces": { + "down": { "uv": [ 6, 11, 10, 12 ], "texture": "#texture" }, + "up": { "uv": [ 6, 4, 10, 5 ], "texture": "#texture" }, + "north": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "south": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "west": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" }, + "east": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube18", + "from": [ 6, 5, 11 ], + "to": [ 10, 6, 12 ], + "faces": { + "down": { "uv": [ 6, 4, 10, 5 ], "texture": "#texture" }, + "up": { "uv": [ 6, 11, 10, 12 ], "texture": "#texture" }, + "north": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "south": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "west": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" }, + "east": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" } + } + } + ], + "display": { + "thirdperson_righthand": { + "translation": [ 0.1, 1.1, -2.35 ] + }, + "firstperson_righthand": { + "translation": [ 0, 4, 0 ] + }, + "gui": { + "translation": [ 0, 4, 0 ] + }, + "ground": { + "translation": [ 0, 4, 0 ] + }, + "fixed": { + "rotation": [ 45, 45, 0 ], + "translation": [ 0, 4, 0 ] + } + } +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/block/emptycruciblecrackedhot.json b/1.11/src/main/resources/assets/forgecraft/models/block/emptycruciblecrackedhot.json new file mode 100644 index 00000000..ed8550e2 --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/block/emptycruciblecrackedhot.json @@ -0,0 +1,144 @@ +{ + "__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "forgecraft:blocks/stone_slab", + "texture": "forgecraft:blocks/stone_slab_cracked_hot" + }, + "elements": [ + { + "__comment": "Cube1", + "from": [ 5, 0, 5 ], + "to": [ 11, 1, 11 ], + "faces": { + "down": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "north": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }, + "south": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }, + "east": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube11", + "from": [ 5, 1, 5 ], + "to": [ 11, 7, 6 ], + "faces": { + "down": { "uv": [ 5, 10, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 11, 6 ], "texture": "#texture" }, + "north": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" }, + "south": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" }, + "west": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" }, + "east": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube11", + "from": [ 5, 1, 10 ], + "to": [ 11, 7, 11 ], + "faces": { + "down": { "uv": [ 5, 10, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 11, 6 ], "texture": "#texture" }, + "north": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" }, + "south": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" }, + "west": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" }, + "east": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube13", + "from": [ 5, 1, 6 ], + "to": [ 6, 7, 10 ], + "faces": { + "down": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" }, + "up": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" }, + "north": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" }, + "south": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" }, + "west": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" }, + "east": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube13", + "from": [ 10, 1, 6 ], + "to": [ 11, 7, 10 ], + "faces": { + "down": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" }, + "up": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" }, + "north": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" }, + "south": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" }, + "west": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" }, + "east": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube15", + "from": [ 4, 5, 6 ], + "to": [ 5, 6, 10 ], + "faces": { + "down": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" }, + "up": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" }, + "north": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" }, + "south": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" }, + "west": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "east": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube15", + "from": [ 11, 5, 6 ], + "to": [ 12, 6, 10 ], + "faces": { + "down": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" }, + "up": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" }, + "north": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" }, + "south": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" }, + "west": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "east": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube17", + "from": [ 6, 5, 4 ], + "to": [ 10, 6, 5 ], + "faces": { + "down": { "uv": [ 6, 11, 10, 12 ], "texture": "#texture" }, + "up": { "uv": [ 6, 4, 10, 5 ], "texture": "#texture" }, + "north": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "south": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "west": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" }, + "east": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube18", + "from": [ 6, 5, 11 ], + "to": [ 10, 6, 12 ], + "faces": { + "down": { "uv": [ 6, 4, 10, 5 ], "texture": "#texture" }, + "up": { "uv": [ 6, 11, 10, 12 ], "texture": "#texture" }, + "north": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "south": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "west": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" }, + "east": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" } + } + } + ], + "display": { + "thirdperson_righthand": { + "translation": [ 0.1, 1.1, -2.35 ] + }, + "firstperson_righthand": { + "translation": [ 0, 4, 0 ] + }, + "gui": { + "translation": [ 0, 4, 0 ] + }, + "ground": { + "translation": [ 0, 4, 0 ] + }, + "fixed": { + "rotation": [ 45, 45, 0 ], + "translation": [ 0, 4, 0 ] + } + } +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/block/emptycruciblehot.json b/1.11/src/main/resources/assets/forgecraft/models/block/emptycruciblehot.json new file mode 100644 index 00000000..e6f7335e --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/block/emptycruciblehot.json @@ -0,0 +1,145 @@ +{ + "__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "forgecraft:blocks/stone_slab", + "texture1": "forgecraft:blocks/stone_slab", + "texture": "forgecraft:blocks/stone_slab_hot" + }, + "elements": [ + { + "__comment": "Cube1", + "from": [ 5, 0, 5 ], + "to": [ 11, 1, 11 ], + "faces": { + "down": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 11, 11 ], "texture": "#texture" }, + "north": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }, + "south": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" }, + "east": { "uv": [ 5, 15, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube11", + "from": [ 5, 1, 5 ], + "to": [ 11, 7, 6 ], + "faces": { + "down": { "uv": [ 5, 10, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 11, 6 ], "texture": "#texture" }, + "north": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" }, + "south": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" }, + "west": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" }, + "east": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube11", + "from": [ 5, 1, 10 ], + "to": [ 11, 7, 11 ], + "faces": { + "down": { "uv": [ 5, 10, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 11, 6 ], "texture": "#texture" }, + "north": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" }, + "south": { "uv": [ 5, 9, 11, 15 ], "texture": "#texture" }, + "west": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" }, + "east": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube13", + "from": [ 5, 1, 6 ], + "to": [ 6, 7, 10 ], + "faces": { + "down": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" }, + "up": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" }, + "north": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" }, + "south": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" }, + "west": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" }, + "east": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube13", + "from": [ 10, 1, 6 ], + "to": [ 11, 7, 10 ], + "faces": { + "down": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" }, + "up": { "uv": [ 5, 6, 6, 10 ], "texture": "#texture" }, + "north": { "uv": [ 10, 9, 11, 15 ], "texture": "#texture" }, + "south": { "uv": [ 5, 9, 6, 15 ], "texture": "#texture" }, + "west": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" }, + "east": { "uv": [ 6, 9, 10, 15 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube15", + "from": [ 4, 5, 6 ], + "to": [ 5, 6, 10 ], + "faces": { + "down": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" }, + "up": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" }, + "north": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" }, + "south": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" }, + "west": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "east": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube15", + "from": [ 11, 5, 6 ], + "to": [ 12, 6, 10 ], + "faces": { + "down": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" }, + "up": { "uv": [ 4, 6, 5, 10 ], "texture": "#texture" }, + "north": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" }, + "south": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" }, + "west": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "east": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube17", + "from": [ 6, 5, 4 ], + "to": [ 10, 6, 5 ], + "faces": { + "down": { "uv": [ 6, 11, 10, 12 ], "texture": "#texture" }, + "up": { "uv": [ 6, 4, 10, 5 ], "texture": "#texture" }, + "north": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "south": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "west": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" }, + "east": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube18", + "from": [ 6, 5, 11 ], + "to": [ 10, 6, 12 ], + "faces": { + "down": { "uv": [ 6, 4, 10, 5 ], "texture": "#texture" }, + "up": { "uv": [ 6, 11, 10, 12 ], "texture": "#texture" }, + "north": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "south": { "uv": [ 6, 10, 10, 11 ], "texture": "#texture" }, + "west": { "uv": [ 11, 10, 12, 11 ], "texture": "#texture" }, + "east": { "uv": [ 4, 10, 5, 11 ], "texture": "#texture" } + } + } + ], + "display": { + "thirdperson_righthand": { + "translation": [ 0.1, 1.1, -2.35 ] + }, + "firstperson_righthand": { + "translation": [ 0, 4, 0 ] + }, + "gui": { + "translation": [ 0, 4, 0 ] + }, + "ground": { + "translation": [ 0, 4, 0 ] + }, + "fixed": { + "rotation": [ 45, 45, 0 ], + "translation": [ 0, 4, 0 ] + } + } +} \ No newline at end of file