From 240c1b9626afd1290615d368ecb5afcdfafbc846 Mon Sep 17 00:00:00 2001 From: Mohammad-Ali Minaie Date: Sun, 5 Mar 2017 02:58:08 -0500 Subject: [PATCH] Anvil now has inventory that rotates slots with direction and consumes the tongs item into inventory --- 1.11/To-Dos | 13 +- 1.11/e_particle.png | Bin 159 -> 0 bytes 1.11/e_texture.png | Bin 141 -> 0 bytes .../nmd/primal/forgecraft/CommonUtils.java | 4 + .../nmd/primal/forgecraft/blocks/Anvil.java | 255 ++++++++++++++++++ .../forgecraft/blocks/CustomContainer.java | 22 ++ .../nmd/primal/forgecraft/init/ModBlocks.java | 12 + .../nmd/primal/forgecraft/init/ModTiles.java | 6 +- .../forgecraft/items/ItemStoneTongs.java | 2 +- .../primal/forgecraft/tiles/TileAnvil.java | 13 + .../forgecraft/blockstates/ironchunk.json | 26 ++ .../forgecraft/blockstates/stoneanvil.json | 18 ++ .../forgecraft/models/block/ironball.json | 16 +- .../forgecraft/models/block/ironchunk.json | 40 +++ .../forgecraft/models/block/stoneanvil.json | 60 +++++ .../forgecraft/models/item/ironchunk.json | 8 + .../models/item/stonetongs_chunk.json | 10 + .../models/item/stonetongs_chunk_default.json | 124 +++++++++ .../models/item/stonetongs_ingot_default.json | 68 ++--- .../forgecraft/textures/blocks/anvil_base.png | Bin 0 -> 376 bytes .../textures/blocks/anvil_base_top.png | Bin 0 -> 660 bytes .../forgecraft/textures/blocks/stone.png | Bin 0 -> 223 bytes 22 files changed, 649 insertions(+), 48 deletions(-) delete mode 100644 1.11/e_particle.png delete mode 100644 1.11/e_texture.png create mode 100644 1.11/src/main/java/nmd/primal/forgecraft/blocks/Anvil.java create mode 100644 1.11/src/main/java/nmd/primal/forgecraft/blocks/CustomContainer.java create mode 100644 1.11/src/main/java/nmd/primal/forgecraft/tiles/TileAnvil.java create mode 100644 1.11/src/main/resources/assets/forgecraft/blockstates/ironchunk.json create mode 100644 1.11/src/main/resources/assets/forgecraft/blockstates/stoneanvil.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/block/ironchunk.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/block/stoneanvil.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/item/ironchunk.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/item/stonetongs_chunk.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/item/stonetongs_chunk_default.json create mode 100644 1.11/src/main/resources/assets/forgecraft/textures/blocks/anvil_base.png create mode 100644 1.11/src/main/resources/assets/forgecraft/textures/blocks/anvil_base_top.png create mode 100644 1.11/src/main/resources/assets/forgecraft/textures/blocks/stone.png diff --git a/1.11/To-Dos b/1.11/To-Dos index fd05b347..68784ae7 100644 --- a/1.11/To-Dos +++ b/1.11/To-Dos @@ -1,7 +1,18 @@ To-Dos *** Priority *** -- [ ] Stone Anvil +- [x] Stone Anvil + - [x] Stone Anvil Inventory + - [x] Stone Anvil Tile + - [ ] Stone Anvil Crafting + - [ ] Stone Anvil Bounding Box + +- [ ] StoneTongs Iron Chunks + +- [ ] Hammer Crafting +- [ ] Iron Chunking + + *** Backlog *** - [ ] Anvil diff --git a/1.11/e_particle.png b/1.11/e_particle.png deleted file mode 100644 index e557878f9b0081df0e6c571ed915f4780bf1a2fc..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 159 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|X`U{QAsV7vCj@daC~~-LPd)$i z?$?xTj^-IIp9ACFK7V={aJAiXe!J@v0mIGT4Z3dBCY+nlAN}mLRowa~J3GYg{eRVX zXUUaN&3PXSznt{pUt?*oMTj?KX|GSjMcIr5t;EiVqsx9UI;{|T9DHPlG0;W^Pgg&e IbxsLQ03WwL?f?J) diff --git a/1.11/e_texture.png b/1.11/e_texture.png deleted file mode 100644 index 7291f2ea2b524eccecb6678f7bd40262c849bf2f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 141 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61SBU+%rFB|A)YRdAsV8|HWeQfm^B+%SKK&v zuFpfaoliDNDM&L$@~vsZp9Y?WbuQ1CZf4l2-1K~5=5VI@Msu3kk+ey<5-m~}Y= (double)i/16.0) { + if(hitx <= (double)(i+3)/16.0){ + for(int a = 1; a < 15; a+=3) { + if(hitz >= (double)a/16.0) { + if(hitz <= (double)(a+3)/16.0) { + int row = (int)(((i-1.0)/3.0)); + int column = (int)(((a-1.0)/3.0)*5); + //System.out.println(row+column); + tile.setSlotStack((row+column), new ItemStack(ModItems.ironingotballhot, 1)); + pItem.getTagCompound().setInteger("type", 0); + System.out.println(tile.getSlotStack(row+column)); + return true; + } + } + } + } + } + } + } + if(state.getValue(FACING) == EnumFacing.SOUTH){ + for(int i = 1; i < 15; i+=3){ + if(hitx >= (double)i/16.0) { + if(hitx <= (double)(i+3)/16.0){ + for(int a = 1; a < 15; a+=3) { + if(hitz >= (double)a/16.0) { + if(hitz <= (double)(a+3)/16.0) { + int row = (int)(((i-1.0)/3.0)); + int column = (int)(((a-1.0)/3.0)*5); + System.out.println((int)Math.abs(24-(row+column))); + return true; + } + } + } + } + } + } + } + if(state.getValue(FACING) == EnumFacing.WEST){ + for(int i = 1; i < 15; i+=3){ + if(hitz >= (double)i/16.0) { + if(hitz <= (double)(i+3)/16.0){ + for(int a = 1; a < 15; a+=3) { + if(hitx >= (double)a/16.0) { + if(hitx <= (double)(a+3)/16.0) { + int row = (int)Math.abs(((i-1.0)/3.0)-4); + int column = (int)(((a-1.0)/3.0)*5); + System.out.println("Row: " + row + " | Column: " + column); + System.out.println(row+column); + return true; + } + } + } + } + } + } + } + if(state.getValue(FACING) == EnumFacing.EAST){ + for(int i = 1; i < 15; i+=3){ + if(hitz >= (double)i/16.0) { + if(hitz <= (double)(i+3)/16.0){ + for(int a = 1; a < 15; a+=3) { + if(hitx >= (double)a/16.0) { + if(hitx <= (double)(a+3)/16.0) { + int row = (int)(((i-1.0)/3.0)); + int column = (int)(Math.abs(((a-1.0)/3.0)-4)*5); + System.out.println("Row: " + row + " | Column: " + column); + System.out.println(row+column); + return true; + } + } + } + } + } + } + } + } + } + return false; + } + } + + return false; + } + + @Override + public void breakBlock(World world, BlockPos pos, IBlockState state) + { + if (!world.isRemote && world.getGameRules().getBoolean("doTileDrops")) + { + TileAnvil tile = (TileAnvil) world.getTileEntity(pos); + if (tile !=null) + { + for (ItemStack stack : tile.getSlotList()) + { + if (stack != null) { + float offset = 0.7F; + double offsetX = world.rand.nextFloat() * offset + (1.0F - offset) * 0.5D; + double offsetY = world.rand.nextFloat() * offset + (1.0F - offset) * 0.5D; + double offsetZ = world.rand.nextFloat() * offset + (1.0F - offset) * 0.5D; + EntityItem item = new EntityItem(world, pos.getX() + offsetX, pos.getY() + offsetY, pos.getZ() + offsetZ, stack); + item.setDefaultPickupDelay(); + world.spawnEntity(item); + } + } + } + } + + super.breakBlock(world, pos, state); + } + + @Override + public TileEntity createNewTileEntity(World worldIn, int meta) + { + return new TileAnvil(); + } + + @Override + public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack) + { + worldIn.setBlockState(pos, state.withProperty(FACING, placer.getHorizontalFacing()),2); + } + + @Override + public int getMetaFromState(IBlockState state) { + int i = 0; + + if( state.getValue(FACING) == EnumFacing.EAST) { + i = 0; + return i; + } + if( state.getValue(FACING) == EnumFacing.WEST) { + i = 1; + return i; + } + if( state.getValue(FACING) == EnumFacing.SOUTH){ + i = 2; + return i; + } + if( state.getValue(FACING) == EnumFacing.NORTH){ + i = 3; + return i; + } + return i; + } + + @Override + public IBlockState getStateFromMeta(int meta) + { + IBlockState iblockstate = this.getDefaultState(); + + if (meta == 0){ + iblockstate = iblockstate.withProperty(FACING, EnumFacing.EAST); + } + if (meta == 1) { + iblockstate = iblockstate.withProperty(FACING, EnumFacing.WEST); + } + if (meta == 2) { + iblockstate = iblockstate.withProperty(FACING, EnumFacing.SOUTH); + } + if (meta == 3) { + iblockstate = iblockstate.withProperty(FACING, EnumFacing.NORTH); + } + return iblockstate; + } + + @Override + protected BlockStateContainer createBlockState() { + return new BlockStateContainer(this, new IProperty[] {FACING}); + } + + @Override + public boolean isFullCube(IBlockState state) + { + return false; + } + + @Override + public boolean isFullyOpaque(IBlockState state) + { + return false; + } + + @Override + public boolean isOpaqueCube(IBlockState state) + { + return false; + } + + @Override + @SideOnly(Side.CLIENT) + public boolean shouldSideBeRendered(IBlockState blockState, IBlockAccess blockAccess, BlockPos pos, EnumFacing side) + { + return true; + } + + @Override + public EnumBlockRenderType getRenderType(IBlockState state) + { + return EnumBlockRenderType.MODEL; + } + +} diff --git a/1.11/src/main/java/nmd/primal/forgecraft/blocks/CustomContainer.java b/1.11/src/main/java/nmd/primal/forgecraft/blocks/CustomContainer.java new file mode 100644 index 00000000..5284302d --- /dev/null +++ b/1.11/src/main/java/nmd/primal/forgecraft/blocks/CustomContainer.java @@ -0,0 +1,22 @@ +package nmd.primal.forgecraft.blocks; + +import net.minecraft.block.BlockContainer; +import net.minecraft.block.material.MapColor; +import net.minecraft.block.material.Material; + +/** + * Created by mminaie on 3/4/17. + */ +public abstract class CustomContainer extends BlockContainer{ + + protected CustomContainer(Material material) + { + super(material); + } + + protected CustomContainer(Material material, MapColor color) + { + super(material, color); + } + +} diff --git a/1.11/src/main/java/nmd/primal/forgecraft/init/ModBlocks.java b/1.11/src/main/java/nmd/primal/forgecraft/init/ModBlocks.java index 27676b5e..7508267b 100644 --- a/1.11/src/main/java/nmd/primal/forgecraft/init/ModBlocks.java +++ b/1.11/src/main/java/nmd/primal/forgecraft/init/ModBlocks.java @@ -39,9 +39,12 @@ public class ModBlocks { public static Block failedironcruciblehot; public static Block ironball; + public static Block ironchunk; //public static ItemBlock ironballitemcool; //public static ItemBlock ironballitemhot; + public static Block stoneanvil; + public static void init() { @@ -69,6 +72,9 @@ public class ModBlocks { failedironcruciblehot = new CrucibleHot(Material.ROCK, "failedironcruciblehot"); ironball = new IngotBall(Material.IRON, "ironball", 5.0F); + ironchunk = new IngotBall(Material.IRON, "ironchunk", 5.0F); + + stoneanvil = new Anvil(Material.ROCK, "stoneanvil", 5.0f); //ironballitemcool = new ItemBlockIngotBall(ironball); //ironballitemhot = new ItemBlockIngotBall(ironball); @@ -99,8 +105,11 @@ public class ModBlocks { registerBlock(failedironcruciblehot); registerBlock(ironball); + registerBlock(ironchunk); //registerBlockSubType(ironball, ironballitemcool, "ironcool"); //registerBlockSubType(ironball, ironballitemhot, "ironhot"); + + registerBlock(stoneanvil); } @SideOnly(Side.CLIENT) @@ -126,9 +135,12 @@ public class ModBlocks { registerRender(failedironcruciblehot); registerRender(ironball); + registerRender(ironchunk); //registerRenderCustom(ironballitemcool, 0, new ModelResourceLocation(ironballitemcool.getUnlocalizedName())); //registerRenderCustom(ironballitemhot, 1, new ModelResourceLocation(ironballitemhot.getUnlocalizedName())); + registerRender(stoneanvil); + } private static void registerBlock(Block block) { diff --git a/1.11/src/main/java/nmd/primal/forgecraft/init/ModTiles.java b/1.11/src/main/java/nmd/primal/forgecraft/init/ModTiles.java index 2b21db79..3dd8973b 100644 --- a/1.11/src/main/java/nmd/primal/forgecraft/init/ModTiles.java +++ b/1.11/src/main/java/nmd/primal/forgecraft/init/ModTiles.java @@ -2,10 +2,7 @@ package nmd.primal.forgecraft.init; import net.minecraft.tileentity.TileEntity; import net.minecraftforge.fml.common.registry.GameRegistry; -import nmd.primal.forgecraft.tiles.TileBaseCrucible; -import nmd.primal.forgecraft.tiles.TileBloomery; -import nmd.primal.forgecraft.tiles.TileForge; -import nmd.primal.forgecraft.tiles.TilePistonBellows; +import nmd.primal.forgecraft.tiles.*; /** * Created by kitsu on 12/2/2016. @@ -17,6 +14,7 @@ public class ModTiles { registerTileEntity(TilePistonBellows.class, "pistonbellows"); registerTileEntity(TileBloomery.class, "bloomery"); registerTileEntity(TileBaseCrucible.class, "basecrucible"); + registerTileEntity(TileAnvil.class, "anvil"); } private static void registerTileEntity(Class tile_class, String baseName) { diff --git a/1.11/src/main/java/nmd/primal/forgecraft/items/ItemStoneTongs.java b/1.11/src/main/java/nmd/primal/forgecraft/items/ItemStoneTongs.java index cb636696..cbea7bed 100644 --- a/1.11/src/main/java/nmd/primal/forgecraft/items/ItemStoneTongs.java +++ b/1.11/src/main/java/nmd/primal/forgecraft/items/ItemStoneTongs.java @@ -71,7 +71,7 @@ public class ItemStoneTongs extends Item { itemstack.getTagCompound().setInteger("type", 6); //itemstack.getTagCompound().setInteger("cooldown", tileCrucible.countdown); world.setBlockToAir(pos); - System.out.println(itemstack.getTagCompound().getInteger("type")); + //System.out.println(itemstack.getTagCompound().getInteger("type")); return EnumActionResult.SUCCESS; } } diff --git a/1.11/src/main/java/nmd/primal/forgecraft/tiles/TileAnvil.java b/1.11/src/main/java/nmd/primal/forgecraft/tiles/TileAnvil.java new file mode 100644 index 00000000..c698cdec --- /dev/null +++ b/1.11/src/main/java/nmd/primal/forgecraft/tiles/TileAnvil.java @@ -0,0 +1,13 @@ +package nmd.primal.forgecraft.tiles; + +import net.minecraft.item.ItemStack; +import net.minecraft.util.NonNullList; + +/** + * Created by mminaie on 3/4/17. + */ +public class TileAnvil extends TileBaseSlot { + + private NonNullList slotList = NonNullList.withSize(25, ItemStack.EMPTY); + +} diff --git a/1.11/src/main/resources/assets/forgecraft/blockstates/ironchunk.json b/1.11/src/main/resources/assets/forgecraft/blockstates/ironchunk.json new file mode 100644 index 00000000..9b73dae5 --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/blockstates/ironchunk.json @@ -0,0 +1,26 @@ +{ + "forge_marker":1, + "defaults": { + "textures": { + "particle": "forgecraft:blocks/iron_ingot", + "texture": "forgecraft:blocks/iron_ingot" + }, + "parent": "forgecraft:ironchunk" + }, + "variants": { + "active=false": { + "model": "forgecraft:ironchunk", + "textures": { + "particle": "forgecraft:blocks/iron_ingot", + "texture": "forgecraft:blocks/iron_ingot" + } + }, + "active=true": { + "model": "forgecraft:ironchunk", + "textures": { + "particle": "forgecraft:blocks/iron_ingot_hot", + "texture": "forgecraft:blocks/iron_ingot_hot" + } + } + } +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/blockstates/stoneanvil.json b/1.11/src/main/resources/assets/forgecraft/blockstates/stoneanvil.json new file mode 100644 index 00000000..dad37d67 --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/blockstates/stoneanvil.json @@ -0,0 +1,18 @@ +{ + "forge_marker":1, + "defaults": { + "textures": { + "particle": "forgecraft:blocks/stone", + "texture": "forgecraft:blocks/stone", + "texture1": "forgecraft:blocks/anvil_base", + "texture2": "forgecraft:blocks/anvil_base_top" + }, + "parent": "forgecraft:stoneanvil" + }, + "variants": { + "facing=north": { "model": "forgecraft:stoneanvil" }, + "facing=east": { "model": "forgecraft:stoneanvil", "y": 90 }, + "facing=south": { "model": "forgecraft:stoneanvil", "y": 180 }, + "facing=west": { "model": "forgecraft:stoneanvil", "y": 270 } + } +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/block/ironball.json b/1.11/src/main/resources/assets/forgecraft/models/block/ironball.json index f899f75e..15e1fc02 100644 --- a/1.11/src/main/resources/assets/forgecraft/models/block/ironball.json +++ b/1.11/src/main/resources/assets/forgecraft/models/block/ironball.json @@ -7,15 +7,15 @@ "elements": [ { "__comment": "Cube1", - "from": [ 7, 0, 7 ], - "to": [ 9, 2, 9 ], + "from": [ 6, 0, 6 ], + "to": [ 10, 4, 10 ], "faces": { - "down": { "uv": [ 7, 5, 9, 7 ], "texture": "#texture" }, - "up": { "uv": [ 7, 7, 9, 9 ], "texture": "#texture" }, - "north": { "uv": [ 7, 12, 9, 14 ], "texture": "#texture" }, - "south": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" }, - "west": { "uv": [ 5, 8, 7, 10 ], "texture": "#texture" }, - "east": { "uv": [ 5, 10, 7, 12 ], "texture": "#texture" } + "down": { "uv": [ 6, 4, 10, 8 ], "texture": "#texture" }, + "up": { "uv": [ 6, 6, 10, 10 ], "texture": "#texture" }, + "north": { "uv": [ 6, 11, 10, 15 ], "texture": "#texture" }, + "south": { "uv": [ 6, 12, 10, 16 ], "texture": "#texture" }, + "west": { "uv": [ 4, 7, 8, 11 ], "texture": "#texture" }, + "east": { "uv": [ 4, 9, 8, 13 ], "texture": "#texture" } } } ], diff --git a/1.11/src/main/resources/assets/forgecraft/models/block/ironchunk.json b/1.11/src/main/resources/assets/forgecraft/models/block/ironchunk.json new file mode 100644 index 00000000..e0569bed --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/block/ironchunk.json @@ -0,0 +1,40 @@ +{ + "__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "forgecraft:blocks/iron_ingot", + "texture": "forgecraft:blocks/iron_ingot" + }, + "elements": [ + { + "__comment": "Cube1", + "from": [ 7, 0, 7 ], + "to": [ 9, 2, 9 ], + "faces": { + "down": { "uv": [ 7, 6, 9, 7 ], "texture": "#texture" }, + "up": { "uv": [ 7, 7, 9, 9 ], "texture": "#texture" }, + "north": { "uv": [ 8, 12, 10, 14 ], "texture": "#texture" }, + "south": { "uv": [ 8, 13, 10, 15 ], "texture": "#texture" }, + "west": { "uv": [ 5, 8, 7, 10 ], "texture": "#texture" }, + "east": { "uv": [ 5, 10, 7, 12], "texture": "#texture" } + } + } + ], + "display": { + "thirdperson_righthand": { + "translation": [ 0, 7, -0.7 ] + }, + "firstperson_righthand": { + "translation": [ 0, 7.35, 0 ] + }, + "gui": { + "rotation": [ 30, 225, 0 ], + "scale": [ 0.625, 0.625, 0.625 ] + }, + "ground": { + "translation": [ 0, 4, 0 ] + }, + "fixed": { + "translation": [ 0, 7, 0 ] + } + } +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/block/stoneanvil.json b/1.11/src/main/resources/assets/forgecraft/models/block/stoneanvil.json new file mode 100644 index 00000000..22bbcd73 --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/block/stoneanvil.json @@ -0,0 +1,60 @@ +{ + "__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio", + "parent": "block/block", + "textures": { + "particle": "forgecraft:blocks/stone", + "texture": "forgecraft:blocks/stone", + "texture1": "forgecraft:blocks/anvil_base", + "texture2": "forgecraft:blocks/anvil_base_top" + }, + "elements": [ + { + "__comment": "Cube1", + "from": [ 0, 0, 0 ], + "to": [ 16, 14, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 2, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 0, 2, 16, 16 ], "texture": "#texture" }, + "west": { "uv": [ 0, 2, 16, 16 ], "texture": "#texture" }, + "east": { "uv": [ 0, 2, 16, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube2", + "from": [ 0, 14, 0 ], + "to": [ 16, 16, 16 ], + "faces": { + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture2" }, + "north": { "uv": [ 0, 0, 16, 2 ], "texture": "#texture1" }, + "south": { "uv": [ 0, 0, 16, 2 ], "texture": "#texture1" }, + "west": { "uv": [ 0, 0, 16, 2 ], "texture": "#texture1" }, + "east": { "uv": [ 0, 0, 16, 2 ], "texture": "#texture1" } + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 2.5, 0 ], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "firstperson_righthand": { + "rotation": [ 0, 45, 0 ], + "scale": [ 0.4, 0.4, 0.4 ] + }, + "gui": { + "rotation": [ 30, 225, 0 ], + "scale": [ 0.625, 0.625, 0.625 ] + }, + "ground": { + "translation": [ 0, 3, 0 ], + "scale": [ 0.25, 0.25, 0.25 ] + }, + "fixed": { + "scale": [ 0.5, 0.5, 0.5 ] + } + }, + "overrides": [ + ] +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/item/ironchunk.json b/1.11/src/main/resources/assets/forgecraft/models/item/ironchunk.json new file mode 100644 index 00000000..1b29863f --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/item/ironchunk.json @@ -0,0 +1,8 @@ +{ + "forge_marker":1, + "textures": { + "particle": "forgecraft:blocks/iron_ingot", + "texture": "forgecraft:blocks/iron_ingot" + }, + "parent": "forgecraft:block/ironchunk" +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/item/stonetongs_chunk.json b/1.11/src/main/resources/assets/forgecraft/models/item/stonetongs_chunk.json new file mode 100644 index 00000000..90d04907 --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/item/stonetongs_chunk.json @@ -0,0 +1,10 @@ +{ + "forge_marker":1, + "textures": { + "particle": "blocks/planks_oak", + "texture": "blocks/planks_oak", + "texture1": "forgecraft:blocks/stone_slab", + "texture2": "forgecraft:blocks/iron_ingot_hot" + }, + "parent": "forgecraft:item/stonetongs_chunk_default" +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/item/stonetongs_chunk_default.json b/1.11/src/main/resources/assets/forgecraft/models/item/stonetongs_chunk_default.json new file mode 100644 index 00000000..a21a7e0b --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/item/stonetongs_chunk_default.json @@ -0,0 +1,124 @@ +{ + "__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "blocks/planks_oak", + "texture": "blocks/planks_oak", + "texture1": "forgecraft:blocks/stone_slab", + "texture2": "forgecraft:blocks/iron_ingot_hot" + }, + "elements": [ + { + "__comment": "Cube1", + "from": [ 6, 0, 0 ], + "to": [ 7, 1, 3 ], + "faces": { + "down": { "uv": [ 4, 12, 5, 15 ], "texture": "#texture1" }, + "up": { "uv": [ 4, 1, 5, 4 ], "texture": "#texture1" }, + "north": { "uv": [ 11, 13, 12, 14 ], "texture": "#texture1" }, + "south": { "uv": [ 4, 13, 5, 14 ], "texture": "#texture1" }, + "west": { "uv": [ 1, 14, 4, 15 ], "texture": "#texture1" }, + "east": { "uv": [ 12, 14, 15, 15 ], "texture": "#texture1" } + } + }, + { + "__comment": "Cube2", + "from": [ 9, 0, 0 ], + "to": [ 10, 1, 3 ], + "faces": { + "down": { "uv": [ 4, 12, 5, 15 ], "texture": "#texture1" }, + "up": { "uv": [ 4, 1, 5, 4 ], "texture": "#texture1" }, + "north": { "uv": [ 11, 13, 12, 14 ], "texture": "#texture1" }, + "south": { "uv": [ 4, 13, 5, 14 ], "texture": "#texture1" }, + "west": { "uv": [ 1, 14, 4, 15 ], "texture": "#texture1" }, + "east": { "uv": [ 12, 14, 15, 15 ], "texture": "#texture1" } + } + }, + { + "__comment": "Cube3", + "from": [ 6, 0, 3 ], + "to": [ 7, 1, 8 ], + "rotation": { "origin": [ 6, 0, 3 ], "axis": "y", "angle": 45 }, + "faces": { + "down": { "uv": [ 4, 2, 5, 9 ], "texture": "#texture" }, + "up": { "uv": [ 4, 3, 5, 10 ], "texture": "#texture" }, + "north": { "uv": [ 11, 15, 12, 16 ], "texture": "#texture" }, + "south": { "uv": [ 4, 15, 5, 16 ], "texture": "#texture" }, + "west": { "uv": [ 3, 15, 10, 16 ], "texture": "#texture" }, + "east": { "uv": [ 7, 15, 14, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube5", + "from": [ 6, 0, 5.5 ], + "to": [ 7, 1, 16 ], + "faces": { + "down": { "uv": [ 6, 0.5, 7, 11 ], "texture": "#texture" }, + "up": { "uv": [ 6, 4.5, 7, 15 ], "texture": "#texture" }, + "north": { "uv": [ 9, 15, 10, 16 ], "texture": "#texture" }, + "south": { "uv": [ 7, 15, 8, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5.5, 15, 16, 16 ], "texture": "#texture" }, + "east": { "uv": [ 0.5, 15, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube6", + "from": [ 9, 0, 5.5 ], + "to": [ 10, 1, 16 ], + "faces": { + "down": { "uv": [ 6, 0.5, 7, 11 ], "texture": "#texture" }, + "up": { "uv": [ 6, 4.5, 7, 15 ], "texture": "#texture" }, + "north": { "uv": [ 9, 15, 10, 16 ], "texture": "#texture" }, + "south": { "uv": [ 7, 15, 8, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5.5, 15, 16, 16 ], "texture": "#texture" }, + "east": { "uv": [ 0.5, 15, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Cube7", + "from": [ 7, -0.5, 0 ], + "to": [ 9, 1.5, 2 ], + "faces": { + "down": { "uv": [ 7, 12, 9, 14 ], "texture": "#texture2" }, + "up": { "uv": [ 7, 0, 9, 2 ], "texture": "#texture2" }, + "north": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture2" }, + "south": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture2" }, + "west": { "uv": [ 0, 14, 2, 16 ], "texture": "#texture2" }, + "east": { "uv": [ 14, 14, 16, 16 ], "texture": "#texture2" } + } + }, + { + "__comment": "Cube3", + "from": [ 9, 0, 3 ], + "to": [ 10, 1, 8 ], + "rotation": { "origin": [ 10, 1, 3 ], "axis": "y", "angle": -45 }, + "faces": { + "down": { "uv": [ 4, 3, 5, 10 ], "texture": "#texture", "rotation": 180 }, + "up": { "uv": [ 4, 2, 5, 9 ], "texture": "#texture", "rotation": 180 }, + "north": { "uv": [ 12, 16, 11, 15 ], "texture": "#texture" }, + "south": { "uv": [ 5, 16, 4, 15 ], "texture": "#texture" }, + "west": { "uv": [ 7, 15, 14, 16 ], "texture": "#texture", "rotation": 180 }, + "east": { "uv": [ 3, 15, 10, 16 ], "texture": "#texture", "rotation": 180 } + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [60, 0, 0], + "translation": [ 0, 8.9, 3.7 ] + }, + "firstperson_righthand": { + "translation": [ 0, 5.5, -7 ] + }, + "gui": { + "rotation": [ 90, 0, 0 ], + "scale": [ 0.95, 0.95, 0.95 ] + }, + "ground": { + "translation": [ 0, 4, 0 ] + }, + "fixed": { + "rotation": [ 90, 0, 0 ], + "translation": [ 0, 0, 8 ] + } + } +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/item/stonetongs_ingot_default.json b/1.11/src/main/resources/assets/forgecraft/models/item/stonetongs_ingot_default.json index 60b3c453..16dbd263 100644 --- a/1.11/src/main/resources/assets/forgecraft/models/item/stonetongs_ingot_default.json +++ b/1.11/src/main/resources/assets/forgecraft/models/item/stonetongs_ingot_default.json @@ -3,14 +3,14 @@ "textures": { "particle": "blocks/planks_oak", "texture": "blocks/planks_oak", - "texture1": "forgecraft:blocks/stone_slab", - "texture2": "forgecraft:blocks/iron_ingot_hot" + "texture1": "blocks/stone_slab", + "texture2": "blocks/iron_ingot_hot" }, "elements": [ { "__comment": "Cube1", - "from": [ 6, 0, 0 ], - "to": [ 7, 1, 3 ], + "from": [ 5, 0, 0 ], + "to": [ 6, 1, 3 ], "faces": { "down": { "uv": [ 4, 12, 5, 15 ], "texture": "#texture1" }, "up": { "uv": [ 4, 1, 5, 4 ], "texture": "#texture1" }, @@ -22,8 +22,8 @@ }, { "__comment": "Cube2", - "from": [ 9, 0, 0 ], - "to": [ 10, 1, 3 ], + "from": [ 10, 0, 0 ], + "to": [ 11, 1, 3 ], "faces": { "down": { "uv": [ 4, 12, 5, 15 ], "texture": "#texture1" }, "up": { "uv": [ 4, 1, 5, 4 ], "texture": "#texture1" }, @@ -35,11 +35,11 @@ }, { "__comment": "Cube3", - "from": [ 6, 0, 3 ], - "to": [ 7, 1, 8 ], - "rotation": { "origin": [ 6, 0, 3 ], "axis": "y", "angle": 45 }, + "from": [ 5, 0, 3 ], + "to": [ 6, 1, 10 ], + "rotation": { "origin": [ 5, 0, 3 ], "axis": "y", "angle": 45 }, "faces": { - "down": { "uv": [ 4, 2, 5, 9 ], "texture": "#texture" }, + "down": { "uv": [ 7, 0, 8, 7 ], "texture": "#texture" }, "up": { "uv": [ 4, 3, 5, 10 ], "texture": "#texture" }, "north": { "uv": [ 11, 15, 12, 16 ], "texture": "#texture" }, "south": { "uv": [ 4, 15, 5, 16 ], "texture": "#texture" }, @@ -49,48 +49,48 @@ }, { "__comment": "Cube5", - "from": [ 6, 0, 5.5 ], - "to": [ 7, 1, 16 ], + "from": [ 5.5, 0, 7 ], + "to": [ 6.5, 1, 16 ], "faces": { - "down": { "uv": [ 6, 0.5, 7, 11 ], "texture": "#texture" }, - "up": { "uv": [ 6, 4.5, 7, 15 ], "texture": "#texture" }, + "down": { "uv": [ 6, 0, 7, 9 ], "texture": "#texture" }, + "up": { "uv": [ 6, 0, 7, 9 ], "texture": "#texture" }, "north": { "uv": [ 9, 15, 10, 16 ], "texture": "#texture" }, "south": { "uv": [ 7, 15, 8, 16 ], "texture": "#texture" }, - "west": { "uv": [ 5.5, 15, 16, 16 ], "texture": "#texture" }, - "east": { "uv": [ 0.5, 15, 11, 16 ], "texture": "#texture" } + "west": { "uv": [ 7, 15, 16, 16 ], "texture": "#texture" }, + "east": { "uv": [ 0, 15, 9, 16 ], "texture": "#texture" } } }, { "__comment": "Cube6", - "from": [ 9, 0, 5.5 ], - "to": [ 10, 1, 16 ], + "from": [ 9.5, 0, 7 ], + "to": [ 10.5, 1, 16 ], "faces": { - "down": { "uv": [ 6, 0.5, 7, 11 ], "texture": "#texture" }, - "up": { "uv": [ 6, 4.5, 7, 15 ], "texture": "#texture" }, + "down": { "uv": [ 6, 0, 7, 9 ], "texture": "#texture" }, + "up": { "uv": [ 6, 7, 7, 16 ], "texture": "#texture" }, "north": { "uv": [ 9, 15, 10, 16 ], "texture": "#texture" }, "south": { "uv": [ 7, 15, 8, 16 ], "texture": "#texture" }, - "west": { "uv": [ 5.5, 15, 16, 16 ], "texture": "#texture" }, - "east": { "uv": [ 0.5, 15, 11, 16 ], "texture": "#texture" } + "west": { "uv": [ 7, 15, 16, 16 ], "texture": "#texture" }, + "east": { "uv": [ 0, 15, 9, 16 ], "texture": "#texture" } } }, { "__comment": "Cube7", - "from": [ 7, -0.5, 0 ], - "to": [ 9, 1.5, 2 ], + "from": [ 6, -0.5, -1.5 ], + "to": [ 10, 3.5, 2.5 ], "faces": { - "down": { "uv": [ 7, 12, 9, 14 ], "texture": "#texture2" }, - "up": { "uv": [ 7, 0, 9, 2 ], "texture": "#texture2" }, - "north": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture2" }, - "south": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture2" }, - "west": { "uv": [ 0, 14, 2, 16 ], "texture": "#texture2" }, - "east": { "uv": [ 14, 14, 16, 16 ], "texture": "#texture2" } + "down": { "uv": [ 7, 12, 11, 16 ], "texture": "#texture2" }, + "up": { "uv": [ 7, 0, 11, 4 ], "texture": "#texture2" }, + "north": { "uv": [ 7, 12, 11, 16 ], "texture": "#texture2" }, + "south": { "uv": [ 7, 12, 11, 16 ], "texture": "#texture2" }, + "west": { "uv": [ 0, 12, 4, 16 ], "texture": "#texture2" }, + "east": { "uv": [ 12, 12, 16, 16 ], "texture": "#texture2" } } }, { "__comment": "Cube3", - "from": [ 9, 0, 3 ], - "to": [ 10, 1, 8 ], - "rotation": { "origin": [ 10, 1, 3 ], "axis": "y", "angle": -45 }, + "from": [ 10, 0, 3 ], + "to": [ 11, 1, 10 ], + "rotation": { "origin": [ 11, 1, 3 ], "axis": "y", "angle": -45 }, "faces": { "down": { "uv": [ 4, 3, 5, 10 ], "texture": "#texture", "rotation": 180 }, "up": { "uv": [ 4, 2, 5, 9 ], "texture": "#texture", "rotation": 180 }, @@ -103,7 +103,7 @@ ], "display": { "thirdperson_righthand": { - "rotation": [60, 0, 0], + "rotation": [ 60, 0, 0 ], "translation": [ 0, 8.9, 3.7 ] }, "firstperson_righthand": { diff --git a/1.11/src/main/resources/assets/forgecraft/textures/blocks/anvil_base.png b/1.11/src/main/resources/assets/forgecraft/textures/blocks/anvil_base.png new file mode 100644 index 0000000000000000000000000000000000000000..50848f8676d98cc4fbb5c349c87cf5a5ae61fbd5 GIT binary patch literal 376 zcmV-;0f+vHP)pC?}liIe8*!TNQ z!!V?6+tPjC>3N;&nW|v8nXeQYbhur5+ezpI48Pf zz5qc9fa-Q#7e&;B7*>uO45$o<0H>7cK$5~5w*eLm_#xGGUDG&@p*jgB$p&n>2O%N> z5}Y5O7|fuqMi_oMR$!b5I)a&#lQHZB3wMD;h0cI@BA<{1E`LRH*)Z5L-m)wy1F(yt zm9z!(LT+oxG^?gSRR<&+%6+>Q literal 0 HcmV?d00001 diff --git a/1.11/src/main/resources/assets/forgecraft/textures/blocks/anvil_base_top.png b/1.11/src/main/resources/assets/forgecraft/textures/blocks/anvil_base_top.png new file mode 100644 index 0000000000000000000000000000000000000000..366dbd946945b6b5f3acd311a134f4fbd861fa6d GIT binary patch literal 660 zcmV;F0&D$=P)FHyp{h9N zkW5hTY1@{%sSzL(plKSKrXi?OmL+vv<5e*;ilV@)=WsZXQbM)=r0cp~<8(ST^@ZI*=)vqK0|$Av)Qm-uK{DX z-Ll{R1{)CSx~6SgFd@q_Qc8GLL8jbq*CIf;h-VX>tdjzlVJQQObq{kkkEQwVl z2iR;j6h*=1r%Rr`Jy8?|S65fu-`~@99oN^Nd3=1t%$Q6jESF1CN}Qd2ARp9nI2-`M z%xK$|D#oMqDwe%lhjPvx(d6c4YC%1!0Uxxt&(ZUJHVhCuMuuuIQmm>TVY}Pm+%G*a$1$_{41meS1wUS2$@84^^K(|K6(T|iN-hE^CCuz7wd*?KfZ&{?iX|b0 uVVD&ur9NaK^jkPld~$dn=hMz`Q z@@yAK5Xrp8Ww0?B)}a6jDz5Sm3r@C%T7;e8YL1N+@fol{wcN}(?