From c2a22770f70cad35bb771711c0509476be4b0915 Mon Sep 17 00:00:00 2001 From: Mohammad-Ali Minaie Date: Sat, 24 Jun 2017 04:19:17 -0400 Subject: [PATCH] more casting stuff, need to make the actual tool parts and tools --- .../forgecraft/blocks/CastingBlock.java | 199 ++++++++++++ .../nmd/primal/forgecraft/init/ModBlocks.java | 4 + .../primal/forgecraft/init/ModCrafting.java | 47 ++- .../nmd/primal/forgecraft/init/ModItems.java | 33 ++ .../nmd/primal/forgecraft/init/ModTiles.java | 1 + .../forgecraft/items/casting/CastingPart.java | 13 + .../primal/forgecraft/proxy/ClientProxy.java | 1 + .../blocks/TileCastingBlockRender.java | 106 +++++++ .../forgecraft/tiles/TileCastingBlock.java | 17 + .../forgecraft/util/CastingFormHandler.java | 20 +- .../forgecraft/blockstates/castingblock.json | 19 ++ .../forgecraft/models/block/castingblock.json | 107 +++++++ .../forgecraft/models/block/e_particle.png | Bin 0 -> 159 bytes .../forgecraft/models/item/cast_axe.json | 299 ++++++++++++++++++ .../forgecraft/models/item/cast_bucket.json | 253 +++++++++++++++ .../forgecraft/models/item/cast_gladius.json | 275 ++++++++++++++++ .../forgecraft/models/item/cast_hoe.json | 285 +++++++++++++++++ .../forgecraft/models/item/cast_pickaxe.json | 121 ++++--- .../forgecraft/models/item/cast_shovel.json | 249 +++++++++++++++ .../forgecraft/models/item/castingblock.json | 4 + 20 files changed, 1999 insertions(+), 54 deletions(-) create mode 100644 1.11/src/main/java/nmd/primal/forgecraft/blocks/CastingBlock.java create mode 100644 1.11/src/main/java/nmd/primal/forgecraft/items/casting/CastingPart.java create mode 100644 1.11/src/main/java/nmd/primal/forgecraft/renders/blocks/TileCastingBlockRender.java create mode 100644 1.11/src/main/java/nmd/primal/forgecraft/tiles/TileCastingBlock.java create mode 100644 1.11/src/main/resources/assets/forgecraft/blockstates/castingblock.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/block/castingblock.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/block/e_particle.png create mode 100644 1.11/src/main/resources/assets/forgecraft/models/item/cast_axe.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/item/cast_bucket.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/item/cast_gladius.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/item/cast_hoe.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/item/cast_shovel.json create mode 100644 1.11/src/main/resources/assets/forgecraft/models/item/castingblock.json diff --git a/1.11/src/main/java/nmd/primal/forgecraft/blocks/CastingBlock.java b/1.11/src/main/java/nmd/primal/forgecraft/blocks/CastingBlock.java new file mode 100644 index 00000000..e625f5d1 --- /dev/null +++ b/1.11/src/main/java/nmd/primal/forgecraft/blocks/CastingBlock.java @@ -0,0 +1,199 @@ +package nmd.primal.forgecraft.blocks; + +import net.minecraft.block.material.Material; +import net.minecraft.block.properties.IProperty; +import net.minecraft.block.state.BlockStateContainer; +import net.minecraft.block.state.IBlockState; +import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.item.EntityItem; +import net.minecraft.entity.player.EntityPlayer; +import net.minecraft.item.ItemStack; +import net.minecraft.tileentity.TileEntity; +import net.minecraft.util.EnumBlockRenderType; +import net.minecraft.util.EnumFacing; +import net.minecraft.util.EnumHand; +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.core.common.helper.CommonUtils; +import nmd.primal.core.common.helper.PlayerHelper; +import nmd.primal.forgecraft.ModInfo; +import nmd.primal.forgecraft.items.casting.CastingPart; +import nmd.primal.forgecraft.tiles.TileCastingBlock; +import nmd.primal.forgecraft.tiles.TileCastingForm; + +import java.util.Random; + +/** + * Created by mminaie on 6/24/17. + */ +public class CastingBlock extends CustomContainerFacing { + + protected static AxisAlignedBB bound = new AxisAlignedBB(0/16D, 0.0D, 0/16D, 16/16D, 5.5/16D, 16/16D); + + public CastingBlock(Material material, String registryName) { + super(material, registryName); + setDefaultState(this.blockState.getBaseState().withProperty(FACING, EnumFacing.NORTH)); + setCreativeTab(ModInfo.TAB_FORGECRAFT); + } + + @Override + public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, EnumFacing facing, float hitx, float hity, float hitz) { + + if (!world.isRemote) { + TileCastingBlock tile = (TileCastingBlock) world.getTileEntity(pos); + ItemStack pItem = player.inventory.getCurrentItem(); + + if(player.isSneaking()) { + if(!tile.getSlotStack(0).isEmpty()){ + ItemStack copyStack = tile.getSlotStack(0).copy(); + PlayerHelper.spawnItemOnPlayer(world, player, copyStack); + tile.setSlotStack(0, ItemStack.EMPTY); + tile.updateBlock(); + return true; + } + } + + if(pItem.getItem() instanceof CastingPart){ + if(tile.getSlotStack(0).isEmpty()){ + ItemStack copyStack = pItem.copy(); + copyStack.setCount(1); + pItem.shrink(1); + tile.setSlotStack(0, copyStack); + tile.updateBlock(); + return true; + } + } + } + return false; + } + + @Override + public void breakBlock(World world, BlockPos pos, IBlockState state) + { + if (!world.isRemote && world.getGameRules().getBoolean("doTileDrops")) + { + TileCastingBlock tile = (TileCastingBlock) 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 TileCastingBlock(); + } + + @Override + public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos) + { + return bound; + } + + @Override + public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack) + { + //if(!worldIn.isRemote) { + 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/init/ModBlocks.java b/1.11/src/main/java/nmd/primal/forgecraft/init/ModBlocks.java index 45c3f611..f107b2a0 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,6 +39,7 @@ public class ModBlocks { public static Block bloomery_adobe; public static Block blockbreaker; public static Block castingform; + public static Block castingblock; public static Block pistonbellowsoak; public static Block pistonbellowsjungle; @@ -101,6 +102,7 @@ public class ModBlocks { bloomery_adobe = new BloomeryBase(Material.ROCK, "bloomery_adobe", 5000); blockbreaker = new Breaker(Material.WOOD, "blockbreaker", 4.0f); castingform = new CastingForm(Material.WOOD, "castingform"); + castingblock = new CastingBlock(Material.ROCK, "castingblock"); pistonbellowsoak = new PistonBellows(Material.WOOD, "pistonbellowsoak"); pistonbellowsjungle = new PistonBellows(Material.WOOD, "pistonbellowsjungle"); @@ -380,6 +382,7 @@ public class ModBlocks { registerBlock(bloomery_adobe); registerBlock(blockbreaker); registerBlock(castingform); + registerBlock(castingblock); registerBlock(pistonbellowsoak); registerBlock(pistonbellowsjungle); @@ -444,6 +447,7 @@ public class ModBlocks { registerRender(forge_brick); registerRender(forge_adobe); registerRender(castingform); + registerRender(castingblock); registerRender(blockbreaker); registerRender(pistonbellowsoak); 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 0b2ca94a..4b2fb0c3 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 @@ -329,6 +329,7 @@ public class ModCrafting { String empty = ItemStack.EMPTY.getItem().getRegistryName().toString(); String muddd = ModItems.castingmud.getRegistryName().toString(); + //Casting Pickaxe CastingformCrafting.addRecipe( new String[] { muddd,muddd,muddd,muddd,muddd, @@ -336,7 +337,51 @@ public class ModCrafting { empty,muddd,muddd,muddd,empty, muddd,muddd,muddd,muddd,muddd, muddd,muddd,muddd,muddd,muddd }, - new ItemStack(Items.STICK, 1) + new ItemStack(ModItems.cast_pickaxe, 1) + ); + + //Casting Shovel + CastingformCrafting.addRecipe( + new String[] { + muddd,muddd,muddd,muddd,muddd, + muddd,muddd,empty,muddd,muddd, + muddd,empty,empty,empty,muddd, + muddd,empty,empty,empty,muddd, + muddd,empty,muddd,empty,muddd }, + new ItemStack(ModItems.cast_shovel, 1) + ); + + //Casting Axe + CastingformCrafting.addRecipe( + new String[] { + muddd,empty,empty,muddd,muddd, + muddd,empty,empty,empty,muddd, + muddd,empty,empty,empty,muddd, + muddd,empty,muddd,muddd,muddd, + muddd,muddd,muddd,muddd,muddd }, + new ItemStack(ModItems.cast_axe, 1) + ); + + //Casting Hoe + CastingformCrafting.addRecipe( + new String[] { + muddd,muddd,muddd,empty,empty, + muddd,muddd,empty,muddd,muddd, + muddd,empty,muddd,muddd,muddd, + empty,muddd,muddd,muddd,muddd, + muddd,muddd,muddd,muddd,muddd }, + new ItemStack(ModItems.cast_hoe, 1) + ); + + //Casting Gladius + CastingformCrafting.addRecipe( + new String[] { + muddd,muddd,muddd,muddd,muddd, + muddd,muddd,empty,muddd,muddd, + muddd,muddd,empty,muddd,muddd, + muddd,empty,empty,empty,muddd, + muddd,muddd,empty,muddd,muddd }, + new ItemStack(ModItems.cast_gladius, 1) ); /****************************************************************************** diff --git a/1.11/src/main/java/nmd/primal/forgecraft/init/ModItems.java b/1.11/src/main/java/nmd/primal/forgecraft/init/ModItems.java index 0c953ee1..7e58b5e0 100644 --- a/1.11/src/main/java/nmd/primal/forgecraft/init/ModItems.java +++ b/1.11/src/main/java/nmd/primal/forgecraft/init/ModItems.java @@ -15,6 +15,7 @@ import net.minecraftforge.fml.relauncher.SideOnly; import nmd.primal.core.api.PrimalMaterials; import nmd.primal.forgecraft.ModInfo; import nmd.primal.forgecraft.items.*; +import nmd.primal.forgecraft.items.casting.CastingPart; import nmd.primal.forgecraft.items.parts.ToolPart; import nmd.primal.forgecraft.items.tools.CustomAxe; import nmd.primal.forgecraft.items.tools.CustomHoe; @@ -45,6 +46,12 @@ public class ModItems { public static Item wootzchunkhot; + public static Item cast_axe; + public static Item cast_gladius; + public static Item cast_hoe; + public static Item cast_pickaxe; + public static Item cast_shovel; + public static Item pickaxehead; public static Item ironaxehead; @@ -111,6 +118,14 @@ public class ModItems { castingmud = new BaseItem("castingmud"); //matchlockmusket = new Musket("matchlock_musket"); + /********** + CASTING PARTS + **********/ + cast_axe = new CastingPart("cast_axe"); + cast_gladius = new CastingPart("cast_gladius"); + cast_hoe = new CastingPart("cast_hoe"); + cast_pickaxe = new CastingPart("cast_pickaxe"); + cast_shovel = new CastingPart("cast_shovel"); /********** TOOL PARTS @@ -199,6 +214,15 @@ public class ModItems { GameRegistry.register(wootzchunkhot); //GameRegistry.register(test); + /********** + CASTING PARTS + **********/ + GameRegistry.register(cast_axe); + GameRegistry.register(cast_gladius); + GameRegistry.register(cast_hoe); + GameRegistry.register(cast_pickaxe); + GameRegistry.register(cast_shovel); + /********** TOOL PARTS **********/ @@ -269,6 +293,15 @@ public class ModItems { registerRender(steelchunkhot); //registerRender(test); + /********** + CASTING PARTS + **********/ + registerRender(cast_axe); + registerRender(cast_gladius); + registerRender(cast_hoe); + registerRender(cast_pickaxe); + registerRender(cast_shovel); + /********** TOOL PARTS **********/ 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 dd511ffd..7fb39d52 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 @@ -17,6 +17,7 @@ public class ModTiles { registerTileEntity(TileAnvil.class, "anvil"); registerTileEntity(TileBreaker.class, "breaker"); registerTileEntity(TileCastingForm.class, "castingform"); + registerTileEntity(TileCastingBlock.class, "castingblock"); } private static void registerTileEntity(Class tile_class, String baseName) { diff --git a/1.11/src/main/java/nmd/primal/forgecraft/items/casting/CastingPart.java b/1.11/src/main/java/nmd/primal/forgecraft/items/casting/CastingPart.java new file mode 100644 index 00000000..51028c90 --- /dev/null +++ b/1.11/src/main/java/nmd/primal/forgecraft/items/casting/CastingPart.java @@ -0,0 +1,13 @@ +package nmd.primal.forgecraft.items.casting; + +import nmd.primal.forgecraft.items.BaseItem; + +/** + * Created by mminaie on 6/24/17. + */ +public class CastingPart extends BaseItem { + + public CastingPart(String registryName) { + super(registryName); + } +} diff --git a/1.11/src/main/java/nmd/primal/forgecraft/proxy/ClientProxy.java b/1.11/src/main/java/nmd/primal/forgecraft/proxy/ClientProxy.java index 8fa2ffbf..dc01bfd5 100644 --- a/1.11/src/main/java/nmd/primal/forgecraft/proxy/ClientProxy.java +++ b/1.11/src/main/java/nmd/primal/forgecraft/proxy/ClientProxy.java @@ -35,6 +35,7 @@ public class ClientProxy implements CommonProxy { ClientRegistry.bindTileEntitySpecialRenderer(TileAnvil.class, new TileAnvilRender()); ClientRegistry.bindTileEntitySpecialRenderer(TileBreaker.class, new TileBreakerRender()); ClientRegistry.bindTileEntitySpecialRenderer(TileCastingForm.class, new TileCastingformRender()); + ClientRegistry.bindTileEntitySpecialRenderer(TileCastingBlock.class, new TileCastingBlockRender()); } @Override diff --git a/1.11/src/main/java/nmd/primal/forgecraft/renders/blocks/TileCastingBlockRender.java b/1.11/src/main/java/nmd/primal/forgecraft/renders/blocks/TileCastingBlockRender.java new file mode 100644 index 00000000..7d804a2e --- /dev/null +++ b/1.11/src/main/java/nmd/primal/forgecraft/renders/blocks/TileCastingBlockRender.java @@ -0,0 +1,106 @@ +package nmd.primal.forgecraft.renders.blocks; + +import net.minecraft.block.state.IBlockState; +import net.minecraft.client.Minecraft; +import net.minecraft.client.renderer.OpenGlHelper; +import net.minecraft.client.renderer.RenderItem; +import net.minecraft.client.renderer.block.model.ItemCameraTransforms; +import net.minecraft.client.renderer.texture.TextureMap; +import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; +import net.minecraft.item.Item; +import net.minecraft.util.EnumFacing; +import net.minecraft.util.math.BlockPos; +import nmd.primal.forgecraft.blocks.CastingBlock; +import nmd.primal.forgecraft.blocks.CastingForm; +import nmd.primal.forgecraft.blocks.CustomContainerFacing; +import nmd.primal.forgecraft.init.ModItems; +import nmd.primal.forgecraft.items.casting.CastingPart; +import nmd.primal.forgecraft.tiles.TileCastingBlock; +import nmd.primal.forgecraft.tiles.TileCastingForm; +import org.lwjgl.opengl.GL11; + +/** + * Created by mminaie on 6/21/17. + */ +public class TileCastingBlockRender extends TileEntitySpecialRenderer { + + private RenderItem renderItem = Minecraft.getMinecraft().getRenderItem(); + + @Override + public void renderTileEntityAt(TileCastingBlock tile, double x, double y, double z, float partialTicks, int destroyStage) { + + BlockPos pos = tile.getPos(); + IBlockState state = this.getWorld().getBlockState(pos); + if (state.getBlock() instanceof CastingBlock) { + + GL11.glPushMatrix(); + GL11.glTranslated(x + 0.5, y + 0.25D, z + 0.5); + //GL11.glRotatef(90.0F, 0.0F, 0.0F, 1.0F); + Minecraft.getMinecraft().getTextureManager().bindTexture(TextureMap.LOCATION_BLOCKS_TEXTURE); + float prevLGTX = OpenGlHelper.lastBrightnessX; + float prevLGTY = OpenGlHelper.lastBrightnessY; + GL11.glScaled(0.99D, 0.99D, 0.99D); + int bright = tile.getWorld().getCombinedLight(pos.up(), 0); + OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, bright % 65536, bright / 65536); + + if (state.getValue(CustomContainerFacing.FACING) == EnumFacing.NORTH) { + if (!tile.getSlotStack(0).isEmpty()) { + Item item = tile.getSlotStack(0).getItem(); + + if (item instanceof CastingPart) { + GL11.glPushMatrix(); + GL11.glRotatef(180.0f, 0.0f, 1.0f, 0.0f); + GL11.glRotatef(90.0f, 1.0f, 0.0f, 0.0f); + + renderItem.renderItem(tile.getSlotStack(0), ItemCameraTransforms.TransformType.FIXED); + GL11.glPopMatrix(); + } + } + } + if (state.getValue(CustomContainerFacing.FACING) == EnumFacing.SOUTH) { + if (!tile.getSlotStack(0).isEmpty()) { + Item item = tile.getSlotStack(0).getItem(); + if (item instanceof CastingPart) { + GL11.glPushMatrix(); + GL11.glRotated(90.0D, 0.0D, 0.0D, 0.0D); + + renderItem.renderItem(tile.getSlotStack(0), ItemCameraTransforms.TransformType.FIXED); + GL11.glPopMatrix(); + } + } + } + + if (state.getValue(CustomContainerFacing.FACING) == EnumFacing.WEST) { + if (!tile.getSlotStack(0).isEmpty()) { + Item item = tile.getSlotStack(0).getItem(); + if (item instanceof CastingPart) { + GL11.glPushMatrix(); + GL11.glRotated(90.0D, 1.0D, 0.0D, 0.0D); + GL11.glRotated(90.0D, 0.0D, 0.0D, 1.0D); + //GL11.glRotated(180.0D, 0.0D, 1.0D, 0.0D); + renderItem.renderItem(tile.getSlotStack(0), ItemCameraTransforms.TransformType.FIXED); + GL11.glPopMatrix(); + } + } + } + if (state.getValue(CustomContainerFacing.FACING) == EnumFacing.EAST) { + if (!tile.getSlotStack(0).isEmpty()) { + Item item = tile.getSlotStack(0).getItem(); + if (item instanceof CastingPart) { + GL11.glPushMatrix(); + GL11.glRotated(90.0D, 1.0D, 0.0D, 0.0D); + GL11.glRotated(-90.0D, 0.0D, 0.0D, 1.0D); + + renderItem.renderItem(tile.getSlotStack(0), ItemCameraTransforms.TransformType.FIXED); + GL11.glPopMatrix(); + } + } + } + + + + OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, prevLGTX, prevLGTY); + GL11.glPopMatrix(); + } + } +} diff --git a/1.11/src/main/java/nmd/primal/forgecraft/tiles/TileCastingBlock.java b/1.11/src/main/java/nmd/primal/forgecraft/tiles/TileCastingBlock.java new file mode 100644 index 00000000..213e68bf --- /dev/null +++ b/1.11/src/main/java/nmd/primal/forgecraft/tiles/TileCastingBlock.java @@ -0,0 +1,17 @@ +package nmd.primal.forgecraft.tiles; + +import net.minecraft.item.ItemStack; +import net.minecraft.util.NonNullList; + +/** + * Created by mminaie on 6/24/17. + */ +public class TileCastingBlock extends TileBaseSlot { + + + @Override + public int getSlotLimit() { + return 1; + } + +} diff --git a/1.11/src/main/java/nmd/primal/forgecraft/util/CastingFormHandler.java b/1.11/src/main/java/nmd/primal/forgecraft/util/CastingFormHandler.java index fc329998..2de57a1f 100644 --- a/1.11/src/main/java/nmd/primal/forgecraft/util/CastingFormHandler.java +++ b/1.11/src/main/java/nmd/primal/forgecraft/util/CastingFormHandler.java @@ -61,9 +61,9 @@ public interface CastingFormHandler { if(player.isSneaking()) { if (pItem.getItem() != ModItems.castingmud) { - System.out.println("Level 1 a"); + if (!tile.getSlotStack(counter).isEmpty()) { - System.out.println("Level 1 b"); + ItemStack dropStack = new ItemStack(ModItems.castingmud, 1); tile.setSlotStack(counter, ItemStack.EMPTY); PlayerHelper.spawnItemOnGround(world, pos, dropStack); @@ -73,9 +73,9 @@ public interface CastingFormHandler { } if (pItem.getItem() == ModItems.castingmud) { - System.out.println("Level 2 a"); + if (tile.getSlotStack(counter).isEmpty()) { - System.out.println("Level 2 b"); + ItemStack castStack = new ItemStack(ModItems.castingmud, 1); pItem.shrink(1); tile.setSlotStack(counter, castStack); @@ -97,9 +97,7 @@ public interface CastingFormHandler { if(player.isSneaking()) { if (pItem.getItem() != ModItems.castingmud) { - System.out.println("Level 1 a"); if (!tile.getSlotStack(counter).isEmpty()) { - System.out.println("Level 1 b"); ItemStack dropStack = new ItemStack(ModItems.castingmud, 1); tile.setSlotStack(counter, ItemStack.EMPTY); PlayerHelper.spawnItemOnGround(world, pos, dropStack); @@ -109,9 +107,7 @@ public interface CastingFormHandler { } if (pItem.getItem() == ModItems.castingmud) { - System.out.println("Level 2 a"); if (tile.getSlotStack(counter).isEmpty()) { - System.out.println("Level 2 b"); ItemStack castStack = new ItemStack(ModItems.castingmud, 1); pItem.shrink(1); tile.setSlotStack(counter, castStack); @@ -133,9 +129,7 @@ public interface CastingFormHandler { if(player.isSneaking()) { if (pItem.getItem() != ModItems.castingmud) { - System.out.println("Level 1 a"); if (!tile.getSlotStack(counter).isEmpty()) { - System.out.println("Level 1 b"); ItemStack dropStack = new ItemStack(ModItems.castingmud, 1); tile.setSlotStack(counter, ItemStack.EMPTY); PlayerHelper.spawnItemOnGround(world, pos, dropStack); @@ -145,9 +139,7 @@ public interface CastingFormHandler { } if (pItem.getItem() == ModItems.castingmud) { - System.out.println("Level 2 a"); if (tile.getSlotStack(counter).isEmpty()) { - System.out.println("Level 2 b"); ItemStack castStack = new ItemStack(ModItems.castingmud, 1); pItem.shrink(1); tile.setSlotStack(counter, castStack); @@ -169,9 +161,7 @@ public interface CastingFormHandler { if(player.isSneaking()) { if (pItem.getItem() != ModItems.castingmud) { - System.out.println("Level 1 a"); if (!tile.getSlotStack(counter).isEmpty()) { - System.out.println("Level 1 b"); ItemStack dropStack = new ItemStack(ModItems.castingmud, 1); tile.setSlotStack(counter, ItemStack.EMPTY); PlayerHelper.spawnItemOnGround(world, pos, dropStack); @@ -181,9 +171,7 @@ public interface CastingFormHandler { } if (pItem.getItem() == ModItems.castingmud) { - System.out.println("Level 2 a"); if (tile.getSlotStack(counter).isEmpty()) { - System.out.println("Level 2 b"); ItemStack castStack = new ItemStack(ModItems.castingmud, 1); pItem.shrink(1); tile.setSlotStack(counter, castStack); diff --git a/1.11/src/main/resources/assets/forgecraft/blockstates/castingblock.json b/1.11/src/main/resources/assets/forgecraft/blockstates/castingblock.json new file mode 100644 index 00000000..d4d02e26 --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/blockstates/castingblock.json @@ -0,0 +1,19 @@ +{ + "variants": { + "facing=north": { + "model": "forgecraft:castingblock" + }, + "facing=east": { + "model": "forgecraft:castingblock", + "y": 90 + }, + "facing=south": { + "model": "forgecraft:castingblock", + "y": 180 + }, + "facing=west": { + "model": "forgecraft:castingblock", + "y": 270 + } + } +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/block/castingblock.json b/1.11/src/main/resources/assets/forgecraft/models/block/castingblock.json new file mode 100644 index 00000000..d14e1a1f --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/block/castingblock.json @@ -0,0 +1,107 @@ +{ + "__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "forgecraft:blocks/stone_slab", + "texture": "forgecraft:blocks/stone_slab" + }, + "elements": [ + { + "__comment": "Box1", + "from": [ 0, 0, 0 ], + "to": [ 16, 4, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }, + "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 12, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 0, 12, 16, 16 ], "texture": "#texture" }, + "west": { "uv": [ 0, 12, 16, 16 ], "texture": "#texture" }, + "east": { "uv": [ 0, 12, 16, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box2", + "from": [ 0, 4, 0 ], + "to": [ 1, 5.5, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 1, 16 ], "texture": "#texture" }, + "up": { "uv": [ 0, 0, 1, 16 ], "texture": "#texture" }, + "north": { "uv": [ 15, 10.5, 16, 12 ], "texture": "#texture" }, + "south": { "uv": [ 0, 10.5, 1, 12 ], "texture": "#texture" }, + "west": { "uv": [ 0, 10.5, 16, 12 ], "texture": "#texture" }, + "east": { "uv": [ 0, 10.5, 16, 12 ], "texture": "#texture" } + } + }, + { + "__comment": "Box2", + "from": [ 15, 4, 0 ], + "to": [ 16, 5.5, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 1, 16 ], "texture": "#texture" }, + "up": { "uv": [ 0, 0, 1, 16 ], "texture": "#texture" }, + "north": { "uv": [ 15, 11, 16, 12 ], "texture": "#texture" }, + "south": { "uv": [ 0, 11, 1, 12 ], "texture": "#texture" }, + "west": { "uv": [ 0, 11, 16, 12 ], "texture": "#texture" }, + "east": { "uv": [ 0, 11, 16, 12 ], "texture": "#texture" } + } + }, + { + "__comment": "Box4", + "from": [ 1, 4, 0 ], + "to": [ 15, 5.5, 1 ], + "faces": { + "down": { "uv": [ 1, 15, 15, 16 ], "texture": "#texture" }, + "up": { "uv": [ 1, 0, 15, 1 ], "texture": "#texture" }, + "north": { "uv": [ 1, 10.5, 15, 12 ], "texture": "#texture" }, + "south": { "uv": [ 1, 10.5, 15, 12 ], "texture": "#texture" }, + "west": { "uv": [ 0, 10.5, 1, 12 ], "texture": "#texture" }, + "east": { "uv": [ 15, 10.5, 16, 12 ], "texture": "#texture" } + } + }, + { + "__comment": "Box5", + "from": [ 1, 4, 15 ], + "to": [ 15, 5.5, 16 ], + "faces": { + "down": { "uv": [ 1, 0, 15, 1 ], "texture": "#texture" }, + "up": { "uv": [ 1, 15, 15, 16 ], "texture": "#texture" }, + "north": { "uv": [ 1, 10.5, 15, 12 ], "texture": "#texture" }, + "south": { "uv": [ 1, 10.5, 15, 12 ], "texture": "#texture" }, + "west": { "uv": [ 15, 10.5, 16, 12 ], "texture": "#texture" }, + "east": { "uv": [ 0, 10.5, 1, 12 ], "texture": "#texture" } + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 2.5, 0 ], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "thirdperson_lefthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 2.5, 0 ], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "firstperson_righthand": { + "rotation": [ 0, 45, 0 ], + "scale": [ 0.4, 0.4, 0.4 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, 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": { + "rotation": [ -90, 0, 0 ], + "translation": [ 0, 0, -3.5 ], + "scale": [ 0.5, 0.5, 0.5 ] + } + } +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/block/e_particle.png b/1.11/src/main/resources/assets/forgecraft/models/block/e_particle.png new file mode 100644 index 0000000000000000000000000000000000000000..e557878f9b0081df0e6c571ed915f4780bf1a2fc GIT binary patch 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) literal 0 HcmV?d00001 diff --git a/1.11/src/main/resources/assets/forgecraft/models/item/cast_axe.json b/1.11/src/main/resources/assets/forgecraft/models/item/cast_axe.json new file mode 100644 index 00000000..ee8a5663 --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/item/cast_axe.json @@ -0,0 +1,299 @@ +{ + "__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "forgecraft:blocks/castingmud", + "texture": "forgecraft:blocks/castingmud" + }, + "elements": [ + { + "__comment": "Box29", + "from": [ 0, 0, 0 ], + "to": [ 16, 2, 3 ], + "faces": { + "down": { "uv": [ 0, 13, 16, 16 ], "texture": "#texture" }, + "up": { "uv": [ 0, 0, 16, 3 ], "texture": "#texture" }, + "north": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "west": { "uv": [ 0, 14, 3, 16 ], "texture": "#texture" }, + "east": { "uv": [ 13, 14, 16, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box29", + "from": [ 0, 0, 13 ], + "to": [ 16, 2, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 3 ], "texture": "#texture" }, + "up": { "uv": [ 0, 13, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "west": { "uv": [ 13, 14, 16, 16 ], "texture": "#texture" }, + "east": { "uv": [ 0, 14, 3, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box31", + "from": [ 0, 0, 3 ], + "to": [ 3, 2, 13 ], + "faces": { + "down": { "uv": [ 0, 3, 3, 13 ], "texture": "#texture" }, + "up": { "uv": [ 0, 3, 3, 13 ], "texture": "#texture" }, + "west": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box31", + "from": [ 13, 0, 3 ], + "to": [ 16, 2, 13 ], + "faces": { + "down": { "uv": [ 13, 3, 16, 13 ], "texture": "#texture" }, + "up": { "uv": [ 13, 3, 16, 13 ], "texture": "#texture" }, + "west": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 3, 0, 3 ], + "to": [ 5, 2, 5 ], + "faces": { + "down": { "uv": [ 3, 11, 5, 13 ], "texture": "#texture" }, + "up": { "uv": [ 3, 3, 5, 5 ], "texture": "#texture" }, + "north": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "south": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "west": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "east": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 3, 0, 5 ], + "to": [ 5, 2, 7 ], + "faces": { + "down": { "uv": [ 3, 9, 5, 11 ], "texture": "#texture" }, + "up": { "uv": [ 3, 5, 5, 7 ], "texture": "#texture" }, + "north": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "south": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "east": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 3, 0, 7 ], + "to": [ 5, 2, 9 ], + "faces": { + "down": { "uv": [ 3, 7, 5, 9 ], "texture": "#texture" }, + "up": { "uv": [ 3, 7, 5, 9 ], "texture": "#texture" }, + "north": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "south": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "west": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" }, + "east": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 3, 0, 9 ], + "to": [ 5, 2, 11 ], + "faces": { + "down": { "uv": [ 3, 5, 5, 7 ], "texture": "#texture" }, + "up": { "uv": [ 3, 9, 5, 11 ], "texture": "#texture" }, + "north": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "south": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "west": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "east": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 3, 0, 11 ], + "to": [ 5, 2, 13 ], + "faces": { + "down": { "uv": [ 3, 3, 5, 5 ], "texture": "#texture" }, + "up": { "uv": [ 3, 11, 5, 13 ], "texture": "#texture" }, + "north": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "south": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "west": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 5, 0, 11 ], + "to": [ 7, 2, 13 ], + "faces": { + "down": { "uv": [ 5, 3, 7, 5 ], "texture": "#texture" }, + "up": { "uv": [ 5, 11, 7, 13 ], "texture": "#texture" }, + "north": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "south": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "west": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 7, 0, 11 ], + "to": [ 9, 2, 13 ], + "faces": { + "down": { "uv": [ 7, 3, 9, 5 ], "texture": "#texture" }, + "up": { "uv": [ 7, 11, 9, 13 ], "texture": "#texture" }, + "north": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" }, + "south": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" }, + "west": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 9, 0, 11 ], + "to": [ 11, 2, 13 ], + "faces": { + "down": { "uv": [ 9, 3, 11, 5 ], "texture": "#texture" }, + "up": { "uv": [ 9, 11, 11, 13 ], "texture": "#texture" }, + "north": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "south": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 11, 0, 11 ], + "to": [ 13, 2, 13 ], + "faces": { + "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, + "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" }, + "north": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "south": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "west": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 11, 0, 9 ], + "to": [ 13, 2, 11 ], + "faces": { + "down": { "uv": [ 11, 5, 13, 7 ], "texture": "#texture" }, + "up": { "uv": [ 11, 9, 13, 11 ], "texture": "#texture" }, + "north": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "south": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "west": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "east": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 11, 0, 7 ], + "to": [ 13, 2, 9 ], + "faces": { + "down": { "uv": [ 11, 7, 13, 9 ], "texture": "#texture" }, + "up": { "uv": [ 11, 7, 13, 9 ], "texture": "#texture" }, + "north": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "south": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "west": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" }, + "east": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 11, 0, 5 ], + "to": [ 13, 2, 7 ], + "faces": { + "down": { "uv": [ 11, 9, 13, 11 ], "texture": "#texture" }, + "up": { "uv": [ 11, 5, 13, 7 ], "texture": "#texture" }, + "north": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "south": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "east": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 11, 0, 3 ], + "to": [ 13, 2, 5 ], + "faces": { + "down": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" }, + "up": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, + "north": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "south": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "west": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "east": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 9, 0, 3 ], + "to": [ 11, 2, 5 ], + "faces": { + "down": { "uv": [ 9, 11, 11, 13 ], "texture": "#texture" }, + "up": { "uv": [ 9, 3, 11, 5 ], "texture": "#texture" }, + "north": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "south": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "east": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 9, 0, 9 ], + "to": [ 11, 2, 11 ], + "faces": { + "down": { "uv": [ 9, 5, 11, 7 ], "texture": "#texture" }, + "up": { "uv": [ 9, 9, 11, 11 ], "texture": "#texture" }, + "north": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "south": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "east": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box25", + "from": [ 7, 0, 9 ], + "to": [ 9, 2, 11 ], + "faces": { + "down": { "uv": [ 7, 5, 9, 7 ], "texture": "#texture" }, + "up": { "uv": [ 7, 9, 9, 11 ], "texture": "#texture" }, + "north": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" }, + "south": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" }, + "west": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "east": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" } + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 3.54, 2.7826 ], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "thirdperson_lefthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 3.54, 2.7826 ], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "firstperson_righthand": { + "rotation": [ 0, 45, 0 ], + "translation": [ 3.5, 1.75, 0 ], + "scale": [ 0.4, 0.4, 0.4 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, -45, 0 ], + "translation": [ 4.5, 1.75, 0 ], + "scale": [ 0.4, 0.4, 0.4 ] + }, + "gui": { + "rotation": [ -90, 180, 0 ], + "scale": [ 0.8, 0.8, 0.8 ] + }, + "ground": { + "translation": [ 0, 2, 0 ], + "scale": [ 0.5, 0.5, 0.5 ] + }, + "fixed": { + "rotation": [ -90, 180, 0 ], + "translation": [ 0, 0, -7.1 ] + } + } +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/item/cast_bucket.json b/1.11/src/main/resources/assets/forgecraft/models/item/cast_bucket.json new file mode 100644 index 00000000..d236be26 --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/item/cast_bucket.json @@ -0,0 +1,253 @@ +{ + "__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "forgecraft:blocks/castingmud", + "texture": "forgecraft:blocks/castingmud" + }, + "elements": [ + { + "__comment": "Box29", + "from": [ 0, 0, 0 ], + "to": [ 16, 2, 3 ], + "faces": { + "down": { "uv": [ 0, 13, 16, 16 ], "texture": "#texture" }, + "up": { "uv": [ 0, 0, 16, 3 ], "texture": "#texture" }, + "north": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "west": { "uv": [ 0, 14, 3, 16 ], "texture": "#texture" }, + "east": { "uv": [ 13, 14, 16, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box29", + "from": [ 0, 0, 13 ], + "to": [ 16, 2, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 3 ], "texture": "#texture" }, + "up": { "uv": [ 0, 13, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "west": { "uv": [ 13, 14, 16, 16 ], "texture": "#texture" }, + "east": { "uv": [ 0, 14, 3, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box31", + "from": [ 0, 0, 3 ], + "to": [ 3, 2, 13 ], + "faces": { + "down": { "uv": [ 0, 3, 3, 13 ], "texture": "#texture" }, + "up": { "uv": [ 0, 3, 3, 13 ], "texture": "#texture" }, + "west": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box31", + "from": [ 13, 0, 3 ], + "to": [ 16, 2, 13 ], + "faces": { + "down": { "uv": [ 13, 3, 16, 13 ], "texture": "#texture" }, + "up": { "uv": [ 13, 3, 16, 13 ], "texture": "#texture" }, + "west": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 3, 0, 3 ], + "to": [ 5, 2, 5 ], + "faces": { + "down": { "uv": [ 3, 11, 5, 13 ], "texture": "#texture" }, + "up": { "uv": [ 3, 3, 5, 5 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 5, 0, 3 ], + "to": [ 7, 2, 5 ], + "faces": { + "down": { "uv": [ 5, 11, 7, 13 ], "texture": "#texture" }, + "up": { "uv": [ 5, 3, 7, 5 ], "texture": "#texture" }, + "south": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 7, 0, 3 ], + "to": [ 9, 2, 5 ], + "faces": { + "down": { "uv": [ 7, 11, 9, 13 ], "texture": "#texture" }, + "up": { "uv": [ 7, 3, 9, 5 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 9, 0, 3 ], + "to": [ 11, 2, 5 ], + "faces": { + "down": { "uv": [ 9, 11, 11, 13 ], "texture": "#texture" }, + "up": { "uv": [ 9, 3, 11, 5 ], "texture": "#texture" }, + "south": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 11, 0, 3 ], + "to": [ 13, 2, 5 ], + "faces": { + "down": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" }, + "up": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 3, 0, 5 ], + "to": [ 5, 2, 7 ], + "faces": { + "down": { "uv": [ 3, 9, 5, 11 ], "texture": "#texture" }, + "up": { "uv": [ 3, 5, 5, 7 ], "texture": "#texture" }, + "east": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 7, 0, 5 ], + "to": [ 9, 2, 7 ], + "faces": { + "down": { "uv": [ 7, 9, 9, 11 ], "texture": "#texture" }, + "up": { "uv": [ 7, 5, 9, 7 ], "texture": "#texture" }, + "west": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "east": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 11, 0, 5 ], + "to": [ 13, 2, 7 ], + "faces": { + "down": { "uv": [ 11, 9, 13, 11 ], "texture": "#texture" }, + "up": { "uv": [ 11, 5, 13, 7 ], "texture": "#texture" }, + "west": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 3, 0, 7 ], + "to": [ 5, 2, 9 ], + "faces": { + "down": { "uv": [ 3, 7, 5, 9 ], "texture": "#texture" }, + "up": { "uv": [ 3, 7, 5, 9 ], "texture": "#texture" }, + "east": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 7, 0, 7 ], + "to": [ 9, 2, 9 ], + "faces": { + "down": { "uv": [ 7, 7, 9, 9 ], "texture": "#texture" }, + "up": { "uv": [ 7, 7, 9, 9 ], "texture": "#texture" }, + "south": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" }, + "west": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" }, + "east": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 11, 0, 7 ], + "to": [ 13, 2, 9 ], + "faces": { + "down": { "uv": [ 11, 7, 13, 9 ], "texture": "#texture" }, + "up": { "uv": [ 11, 7, 13, 9 ], "texture": "#texture" }, + "west": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 3, 0, 9 ], + "to": [ 5, 2, 11 ], + "faces": { + "down": { "uv": [ 3, 5, 5, 7 ], "texture": "#texture" }, + "up": { "uv": [ 3, 9, 5, 11 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 5, 0, 9 ], + "to": [ 7, 2, 11 ], + "faces": { + "down": { "uv": [ 5, 5, 7, 7 ], "texture": "#texture" }, + "up": { "uv": [ 5, 9, 7, 11 ], "texture": "#texture" }, + "north": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "east": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 9, 0, 9 ], + "to": [ 11, 2, 11 ], + "faces": { + "down": { "uv": [ 9, 5, 11, 7 ], "texture": "#texture" }, + "up": { "uv": [ 9, 9, 11, 11 ], "texture": "#texture" }, + "north": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "west": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 11, 0, 9 ], + "to": [ 13, 2, 11 ], + "faces": { + "down": { "uv": [ 11, 5, 13, 7 ], "texture": "#texture" }, + "up": { "uv": [ 11, 9, 13, 11 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 3, 0, 11 ], + "to": [ 5, 2, 13 ], + "faces": { + "down": { "uv": [ 3, 3, 5, 5 ], "texture": "#texture" }, + "up": { "uv": [ 3, 11, 5, 13 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 5, 0, 11 ], + "to": [ 7, 2, 13 ], + "faces": { + "down": { "uv": [ 5, 3, 7, 5 ], "texture": "#texture" }, + "up": { "uv": [ 5, 11, 7, 13 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 7, 0, 11 ], + "to": [ 9, 2, 13 ], + "faces": { + "down": { "uv": [ 7, 3, 9, 5 ], "texture": "#texture" }, + "up": { "uv": [ 7, 11, 9, 13 ], "texture": "#texture" }, + "north": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 9, 0, 11 ], + "to": [ 11, 2, 13 ], + "faces": { + "down": { "uv": [ 9, 3, 11, 5 ], "texture": "#texture" }, + "up": { "uv": [ 9, 11, 11, 13 ], "texture": "#texture" } + } + }, + { + "__comment": "Box60", + "from": [ 11, 0, 11 ], + "to": [ 13, 2, 13 ], + "faces": { + "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, + "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + } + } + ] +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/item/cast_gladius.json b/1.11/src/main/resources/assets/forgecraft/models/item/cast_gladius.json new file mode 100644 index 00000000..a0f126e9 --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/item/cast_gladius.json @@ -0,0 +1,275 @@ +{ + "__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "forgecraft:blocks/castingmud", + "texture": "forgecraft:blocks/castingmud" + }, + "elements": [ + { + "__comment": "Box29", + "from": [ 0, 0, 0 ], + "to": [ 16, 2, 3 ], + "faces": { + "down": { "uv": [ 0, 13, 16, 16 ], "texture": "#texture" }, + "up": { "uv": [ 0, 0, 16, 3 ], "texture": "#texture" }, + "north": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "west": { "uv": [ 0, 14, 3, 16 ], "texture": "#texture" }, + "east": { "uv": [ 13, 14, 16, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box29", + "from": [ 0, 0, 13 ], + "to": [ 16, 2, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 3 ], "texture": "#texture" }, + "up": { "uv": [ 0, 13, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "west": { "uv": [ 13, 14, 16, 16 ], "texture": "#texture" }, + "east": { "uv": [ 0, 14, 3, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box31", + "from": [ 0, 0, 3 ], + "to": [ 3, 2, 13 ], + "faces": { + "down": { "uv": [ 0, 3, 3, 13 ], "texture": "#texture" }, + "up": { "uv": [ 0, 3, 3, 13 ], "texture": "#texture" }, + "west": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box31", + "from": [ 13, 0, 3 ], + "to": [ 16, 2, 13 ], + "faces": { + "down": { "uv": [ 13, 3, 16, 13 ], "texture": "#texture" }, + "up": { "uv": [ 13, 3, 16, 13 ], "texture": "#texture" }, + "west": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 3, 0, 3 ], + "to": [ 5, 2, 5 ], + "faces": { + "down": { "uv": [ 3, 11, 5, 13 ], "texture": "#texture" }, + "up": { "uv": [ 3, 3, 5, 5 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 5, 0, 3 ], + "to": [ 7, 2, 5 ], + "faces": { + "down": { "uv": [ 5, 11, 7, 13 ], "texture": "#texture" }, + "up": { "uv": [ 5, 3, 7, 5 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 7, 0, 3 ], + "to": [ 9, 2, 5 ], + "faces": { + "down": { "uv": [ 7, 11, 9, 13 ], "texture": "#texture" }, + "up": { "uv": [ 7, 3, 9, 5 ], "texture": "#texture" }, + "south": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 9, 0, 3 ], + "to": [ 11, 2, 5 ], + "faces": { + "down": { "uv": [ 9, 11, 11, 13 ], "texture": "#texture" }, + "up": { "uv": [ 9, 3, 11, 5 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 11, 0, 3 ], + "to": [ 13, 2, 5 ], + "faces": { + "down": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" }, + "up": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 3, 0, 5 ], + "to": [ 5, 2, 7 ], + "faces": { + "down": { "uv": [ 3, 9, 5, 11 ], "texture": "#texture" }, + "up": { "uv": [ 3, 5, 5, 7 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 5, 0, 5 ], + "to": [ 7, 2, 7 ], + "faces": { + "down": { "uv": [ 5, 9, 7, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 7, 7 ], "texture": "#texture" }, + "east": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 9, 0, 5 ], + "to": [ 11, 2, 7 ], + "faces": { + "down": { "uv": [ 9, 9, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 9, 5, 11, 7 ], "texture": "#texture" }, + "west": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 11, 0, 5 ], + "to": [ 13, 2, 7 ], + "faces": { + "down": { "uv": [ 11, 9, 13, 11 ], "texture": "#texture" }, + "up": { "uv": [ 11, 5, 13, 7 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 3, 0, 7 ], + "to": [ 5, 2, 9 ], + "faces": { + "down": { "uv": [ 3, 7, 5, 9 ], "texture": "#texture" }, + "up": { "uv": [ 3, 7, 5, 9 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 5, 0, 7 ], + "to": [ 7, 2, 9 ], + "faces": { + "down": { "uv": [ 5, 7, 7, 9 ], "texture": "#texture" }, + "up": { "uv": [ 5, 7, 7, 9 ], "texture": "#texture" }, + "south": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "east": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 9, 0, 7 ], + "to": [ 11, 2, 9 ], + "faces": { + "down": { "uv": [ 9, 7, 11, 9 ], "texture": "#texture" }, + "up": { "uv": [ 9, 7, 11, 9 ], "texture": "#texture" }, + "south": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 11, 0, 7 ], + "to": [ 13, 2, 9 ], + "faces": { + "down": { "uv": [ 11, 7, 13, 9 ], "texture": "#texture" }, + "up": { "uv": [ 11, 7, 13, 9 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 3, 0, 9 ], + "to": [ 5, 2, 11 ], + "faces": { + "down": { "uv": [ 3, 5, 5, 7 ], "texture": "#texture" }, + "up": { "uv": [ 3, 9, 5, 11 ], "texture": "#texture" }, + "east": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 11, 0, 9 ], + "to": [ 13, 2, 11 ], + "faces": { + "down": { "uv": [ 11, 5, 13, 7 ], "texture": "#texture" }, + "up": { "uv": [ 11, 9, 13, 11 ], "texture": "#texture" }, + "west": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 3, 0, 11 ], + "to": [ 5, 2, 13 ], + "faces": { + "down": { "uv": [ 3, 3, 5, 5 ], "texture": "#texture" }, + "up": { "uv": [ 3, 11, 5, 13 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 5, 0, 11 ], + "to": [ 7, 2, 13 ], + "faces": { + "down": { "uv": [ 5, 3, 7, 5 ], "texture": "#texture" }, + "up": { "uv": [ 5, 11, 7, 13 ], "texture": "#texture" }, + "north": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 9, 0, 11 ], + "to": [ 11, 2, 13 ], + "faces": { + "down": { "uv": [ 9, 3, 11, 5 ], "texture": "#texture" }, + "up": { "uv": [ 9, 11, 11, 13 ], "texture": "#texture" }, + "north": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "west": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box41", + "from": [ 11, 0, 11 ], + "to": [ 13, 2, 13 ], + "faces": { + "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, + "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 3.54, 2.7826 ], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "thirdperson_lefthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 3.54, 2.7826 ], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "firstperson_righthand": { + "rotation": [ 0, 45, 0 ], + "translation": [ 3.5, 1.75, 0 ], + "scale": [ 0.4, 0.4, 0.4 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, -45, 0 ], + "translation": [ 4.5, 1.75, 0 ], + "scale": [ 0.4, 0.4, 0.4 ] + }, + "gui": { + "rotation": [ -90, 180, 0 ], + "scale": [ 0.8, 0.8, 0.8 ] + }, + "ground": { + "translation": [ 0, 2, 0 ], + "scale": [ 0.5, 0.5, 0.5 ] + }, + "fixed": { + "rotation": [ -90, 180, 0 ], + "translation": [ 0, 0, -7.1 ] + } + } +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/item/cast_hoe.json b/1.11/src/main/resources/assets/forgecraft/models/item/cast_hoe.json new file mode 100644 index 00000000..20e8ff31 --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/item/cast_hoe.json @@ -0,0 +1,285 @@ +{ + "__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "forgecraft:blocks/castingmud", + "texture": "forgecraft:blocks/castingmud" + }, + "elements": [ + { + "__comment": "Box29", + "from": [ 0, 0, 0 ], + "to": [ 16, 2, 3 ], + "faces": { + "down": { "uv": [ 0, 13, 16, 16 ], "texture": "#texture" }, + "up": { "uv": [ 0, 0, 16, 3 ], "texture": "#texture" }, + "north": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "west": { "uv": [ 0, 14, 3, 16 ], "texture": "#texture" }, + "east": { "uv": [ 13, 14, 16, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box29", + "from": [ 0, 0, 13 ], + "to": [ 16, 2, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 3 ], "texture": "#texture" }, + "up": { "uv": [ 0, 13, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "west": { "uv": [ 13, 14, 16, 16 ], "texture": "#texture" }, + "east": { "uv": [ 0, 14, 3, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box31", + "from": [ 0, 0, 3 ], + "to": [ 3, 2, 13 ], + "faces": { + "down": { "uv": [ 0, 3, 3, 13 ], "texture": "#texture" }, + "up": { "uv": [ 0, 3, 3, 13 ], "texture": "#texture" }, + "west": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box31", + "from": [ 13, 0, 3 ], + "to": [ 16, 2, 13 ], + "faces": { + "down": { "uv": [ 13, 3, 16, 13 ], "texture": "#texture" }, + "up": { "uv": [ 13, 3, 16, 13 ], "texture": "#texture" }, + "west": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 5, 0, 3 ], + "to": [ 7, 2, 5 ], + "faces": { + "down": { "uv": [ 5, 11, 7, 13 ], "texture": "#texture" }, + "up": { "uv": [ 5, 3, 7, 5 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 3, 0, 3 ], + "to": [ 5, 2, 5 ], + "faces": { + "down": { "uv": [ 3, 11, 5, 13 ], "texture": "#texture" }, + "up": { "uv": [ 3, 3, 5, 5 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 7, 0, 3 ], + "to": [ 9, 2, 5 ], + "faces": { + "down": { "uv": [ 7, 11, 9, 13 ], "texture": "#texture" }, + "up": { "uv": [ 7, 3, 9, 5 ], "texture": "#texture" }, + "south": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" }, + "east": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 3, 0, 5 ], + "to": [ 5, 2, 7 ], + "faces": { + "down": { "uv": [ 3, 9, 5, 11 ], "texture": "#texture" }, + "up": { "uv": [ 3, 5, 5, 7 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 5, 0, 5 ], + "to": [ 7, 2, 7 ], + "faces": { + "down": { "uv": [ 5, 9, 7, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 7, 7 ], "texture": "#texture" }, + "south": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "east": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 9, 0, 5 ], + "to": [ 11, 2, 7 ], + "faces": { + "down": { "uv": [ 9, 9, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 9, 5, 11, 7 ], "texture": "#texture" }, + "north": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 11, 0, 5 ], + "to": [ 13, 2, 7 ], + "faces": { + "down": { "uv": [ 11, 9, 13, 11 ], "texture": "#texture" }, + "up": { "uv": [ 11, 5, 13, 7 ], "texture": "#texture" }, + "north": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 3, 0, 7 ], + "to": [ 5, 2, 9 ], + "faces": { + "down": { "uv": [ 3, 7, 5, 9 ], "texture": "#texture" }, + "up": { "uv": [ 3, 7, 5, 9 ], "texture": "#texture" }, + "south": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "east": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 7, 0, 7 ], + "to": [ 9, 2, 9 ], + "faces": { + "down": { "uv": [ 7, 7, 9, 9 ], "texture": "#texture" }, + "up": { "uv": [ 7, 7, 9, 9 ], "texture": "#texture" }, + "north": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" }, + "west": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 9, 0, 7 ], + "to": [ 11, 2, 9 ], + "faces": { + "down": { "uv": [ 9, 7, 11, 9 ], "texture": "#texture" }, + "up": { "uv": [ 9, 7, 11, 9 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 11, 0, 7 ], + "to": [ 13, 2, 9 ], + "faces": { + "down": { "uv": [ 11, 7, 13, 9 ], "texture": "#texture" }, + "up": { "uv": [ 11, 7, 13, 9 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 5, 0, 9 ], + "to": [ 7, 2, 11 ], + "faces": { + "down": { "uv": [ 5, 5, 7, 7 ], "texture": "#texture" }, + "up": { "uv": [ 5, 9, 7, 11 ], "texture": "#texture" }, + "north": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 7, 0, 9 ], + "to": [ 9, 2, 11 ], + "faces": { + "down": { "uv": [ 7, 5, 9, 7 ], "texture": "#texture" }, + "up": { "uv": [ 7, 9, 9, 11 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 3, 0, 11 ], + "to": [ 5, 2, 13 ], + "faces": { + "down": { "uv": [ 3, 3, 5, 5 ], "texture": "#texture" }, + "up": { "uv": [ 3, 11, 5, 13 ], "texture": "#texture" }, + "north": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 5, 0, 11 ], + "to": [ 7, 2, 13 ], + "faces": { + "down": { "uv": [ 5, 3, 7, 5 ], "texture": "#texture" }, + "up": { "uv": [ 5, 11, 7, 13 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 7, 0, 11 ], + "to": [ 9, 2, 13 ], + "faces": { + "down": { "uv": [ 7, 3, 9, 5 ], "texture": "#texture" }, + "up": { "uv": [ 7, 11, 9, 13 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 9, 0, 11 ], + "to": [ 11, 2, 13 ], + "faces": { + "down": { "uv": [ 9, 3, 11, 5 ], "texture": "#texture" }, + "up": { "uv": [ 9, 11, 11, 13 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 11, 0, 11 ], + "to": [ 13, 2, 13 ], + "faces": { + "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, + "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 9, 0, 9 ], + "to": [ 11, 2, 11 ], + "faces": { + "down": { "uv": [ 9, 5, 11, 7 ], "texture": "#texture" }, + "up": { "uv": [ 9, 9, 11, 11 ], "texture": "#texture" } + } + }, + { + "__comment": "Box33", + "from": [ 11, 0, 9 ], + "to": [ 13, 2, 11 ], + "faces": { + "down": { "uv": [ 11, 5, 13, 7 ], "texture": "#texture" }, + "up": { "uv": [ 11, 9, 13, 11 ], "texture": "#texture" } + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 3.54, 2.7826 ], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "thirdperson_lefthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 3.54, 2.7826 ], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "firstperson_righthand": { + "rotation": [ 0, 45, 0 ], + "translation": [ 3.5, 1.75, 0 ], + "scale": [ 0.4, 0.4, 0.4 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, -45, 0 ], + "translation": [ 4.5, 1.75, 0 ], + "scale": [ 0.4, 0.4, 0.4 ] + }, + "gui": { + "rotation": [ -90, 180, 0 ], + "scale": [ 0.8, 0.8, 0.8 ] + }, + "ground": { + "translation": [ 0, 2, 0 ], + "scale": [ 0.5, 0.5, 0.5 ] + }, + "fixed": { + "rotation": [ -90, 180, 0 ], + "translation": [ 0, 0, -7.1 ] + } + } +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/item/cast_pickaxe.json b/1.11/src/main/resources/assets/forgecraft/models/item/cast_pickaxe.json index f1251f70..0e295a72 100644 --- a/1.11/src/main/resources/assets/forgecraft/models/item/cast_pickaxe.json +++ b/1.11/src/main/resources/assets/forgecraft/models/item/cast_pickaxe.json @@ -1,8 +1,8 @@ { "__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio", "textures": { - "particle": "blocks/e_particle", - "texture": "blocks/castingmud" + "particle": "forgecraft:blocks/castingmud", + "texture": "forgecraft:blocks/castingmud" }, "elements": [ { @@ -77,8 +77,9 @@ "from": [ 7, 0, 3 ], "to": [ 9, 2, 5 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 7, 11, 9, 13 ], "texture": "#texture" }, + "up": { "uv": [ 7, 3, 9, 5 ], "texture": "#texture" }, + "south": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } } }, { @@ -86,8 +87,9 @@ "from": [ 9, 0, 3 ], "to": [ 11, 2, 5 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 9, 11, 11, 13 ], "texture": "#texture" }, + "up": { "uv": [ 9, 3, 11, 5 ], "texture": "#texture" }, + "south": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } } }, { @@ -95,8 +97,8 @@ "from": [ 11, 0, 3 ], "to": [ 13, 2, 5 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" }, + "up": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" } } }, { @@ -104,8 +106,10 @@ "from": [ 5, 0, 7 ], "to": [ 7, 2, 9 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 5, 7, 7, 9 ], "texture": "#texture" }, + "up": { "uv": [ 5, 7, 7, 9 ], "texture": "#texture" }, + "north": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } } }, { @@ -113,8 +117,10 @@ "from": [ 3, 0, 5 ], "to": [ 5, 2, 7 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 3, 9, 5, 11 ], "texture": "#texture" }, + "up": { "uv": [ 3, 5, 5, 7 ], "texture": "#texture" }, + "south": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" }, + "east": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } } }, { @@ -122,8 +128,9 @@ "from": [ 7, 0, 7 ], "to": [ 9, 2, 9 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 7, 7, 9, 9 ], "texture": "#texture" }, + "up": { "uv": [ 7, 7, 9, 9 ], "texture": "#texture" }, + "north": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } } }, { @@ -131,8 +138,10 @@ "from": [ 9, 0, 7 ], "to": [ 11, 2, 9 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 9, 7, 11, 9 ], "texture": "#texture" }, + "up": { "uv": [ 9, 7, 11, 9 ], "texture": "#texture" }, + "north": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "east": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } } }, { @@ -140,8 +149,10 @@ "from": [ 11, 0, 5 ], "to": [ 13, 2, 7 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 11, 9, 13, 11 ], "texture": "#texture" }, + "up": { "uv": [ 11, 5, 13, 7 ], "texture": "#texture" }, + "south": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" } } }, { @@ -149,8 +160,9 @@ "from": [ 3, 0, 9 ], "to": [ 5, 2, 11 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 3, 5, 5, 7 ], "texture": "#texture" }, + "up": { "uv": [ 3, 9, 5, 11 ], "texture": "#texture" }, + "north": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" } } }, { @@ -158,8 +170,8 @@ "from": [ 5, 0, 9 ], "to": [ 7, 2, 11 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 5, 5, 7, 7 ], "texture": "#texture" }, + "up": { "uv": [ 5, 9, 7, 11 ], "texture": "#texture" } } }, { @@ -167,8 +179,8 @@ "from": [ 7, 0, 9 ], "to": [ 9, 2, 11 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 7, 5, 9, 7 ], "texture": "#texture" }, + "up": { "uv": [ 7, 9, 9, 11 ], "texture": "#texture" } } }, { @@ -176,8 +188,8 @@ "from": [ 9, 0, 9 ], "to": [ 11, 2, 11 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 9, 5, 11, 7 ], "texture": "#texture" }, + "up": { "uv": [ 9, 9, 11, 11 ], "texture": "#texture" } } }, { @@ -185,8 +197,9 @@ "from": [ 11, 0, 9 ], "to": [ 13, 2, 11 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 11, 5, 13, 7 ], "texture": "#texture" }, + "up": { "uv": [ 11, 9, 13, 11 ], "texture": "#texture" }, + "north": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" } } }, { @@ -194,8 +207,8 @@ "from": [ 3, 0, 11 ], "to": [ 5, 2, 13 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 3, 3, 5, 5 ], "texture": "#texture" }, + "up": { "uv": [ 3, 11, 5, 13 ], "texture": "#texture" } } }, { @@ -203,8 +216,8 @@ "from": [ 5, 0, 11 ], "to": [ 7, 2, 13 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 5, 3, 7, 5 ], "texture": "#texture" }, + "up": { "uv": [ 5, 11, 7, 13 ], "texture": "#texture" } } }, { @@ -212,8 +225,8 @@ "from": [ 7, 0, 11 ], "to": [ 9, 2, 13 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 7, 3, 9, 5 ], "texture": "#texture" }, + "up": { "uv": [ 7, 11, 9, 13 ], "texture": "#texture" } } }, { @@ -221,8 +234,8 @@ "from": [ 9, 0, 11 ], "to": [ 11, 2, 13 ], "faces": { - "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, - "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } + "down": { "uv": [ 9, 3, 11, 5 ], "texture": "#texture" }, + "up": { "uv": [ 9, 11, 11, 13 ], "texture": "#texture" } } }, { @@ -234,5 +247,39 @@ "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" } } } - ] + ], + "display": { + "thirdperson_righthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 3.54, 2.7826 ], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "thirdperson_lefthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 3.54, 2.7826 ], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "firstperson_righthand": { + "rotation": [ 0, 45, 0 ], + "translation": [ 3.5, 1.75, 0 ], + "scale": [ 0.4, 0.4, 0.4 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, -45, 0 ], + "translation": [ 4.5, 1.75, 0 ], + "scale": [ 0.4, 0.4, 0.4 ] + }, + "gui": { + "rotation": [ -90, 180, 0 ], + "scale": [ 0.8, 0.8, 0.8 ] + }, + "ground": { + "translation": [ 0, 2, 0 ], + "scale": [ 0.5, 0.5, 0.5 ] + }, + "fixed": { + "rotation": [ -90, 180, 0 ], + "translation": [ 0, 0, -7.1 ] + } + } } \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/item/cast_shovel.json b/1.11/src/main/resources/assets/forgecraft/models/item/cast_shovel.json new file mode 100644 index 00000000..42f83699 --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/item/cast_shovel.json @@ -0,0 +1,249 @@ +{ + "__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio", + "textures": { + "particle": "forgecraft:blocks/castingmud", + "texture": "forgecraft:blocks/castingmud" + }, + "elements": [ + { + "__comment": "Box29", + "from": [ 0, 0, 0 ], + "to": [ 16, 2, 3 ], + "faces": { + "down": { "uv": [ 0, 13, 16, 16 ], "texture": "#texture" }, + "up": { "uv": [ 0, 0, 16, 3 ], "texture": "#texture" }, + "north": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "west": { "uv": [ 0, 14, 3, 16 ], "texture": "#texture" }, + "east": { "uv": [ 13, 14, 16, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box29", + "from": [ 0, 0, 13 ], + "to": [ 16, 2, 16 ], + "faces": { + "down": { "uv": [ 0, 0, 16, 3 ], "texture": "#texture" }, + "up": { "uv": [ 0, 13, 16, 16 ], "texture": "#texture" }, + "north": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "south": { "uv": [ 0, 14, 16, 16 ], "texture": "#texture" }, + "west": { "uv": [ 13, 14, 16, 16 ], "texture": "#texture" }, + "east": { "uv": [ 0, 14, 3, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box31", + "from": [ 0, 0, 3 ], + "to": [ 3, 2, 13 ], + "faces": { + "down": { "uv": [ 0, 3, 3, 13 ], "texture": "#texture" }, + "up": { "uv": [ 0, 3, 3, 13 ], "texture": "#texture" }, + "west": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box31", + "from": [ 13, 0, 3 ], + "to": [ 16, 2, 13 ], + "faces": { + "down": { "uv": [ 13, 3, 16, 13 ], "texture": "#texture" }, + "up": { "uv": [ 13, 3, 16, 13 ], "texture": "#texture" }, + "west": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 3, 0, 3 ], + "to": [ 5, 2, 5 ], + "faces": { + "down": { "uv": [ 3, 11, 5, 13 ], "texture": "#texture" }, + "up": { "uv": [ 3, 3, 5, 5 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 5, 0, 3 ], + "to": [ 7, 2, 5 ], + "faces": { + "down": { "uv": [ 5, 11, 7, 13 ], "texture": "#texture" }, + "up": { "uv": [ 5, 3, 7, 5 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 7, 0, 3 ], + "to": [ 9, 2, 5 ], + "faces": { + "down": { "uv": [ 7, 11, 9, 13 ], "texture": "#texture" }, + "up": { "uv": [ 7, 3, 9, 5 ], "texture": "#texture" }, + "south": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 9, 0, 3 ], + "to": [ 11, 2, 5 ], + "faces": { + "down": { "uv": [ 9, 11, 11, 13 ], "texture": "#texture" }, + "up": { "uv": [ 9, 3, 11, 5 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 11, 0, 3 ], + "to": [ 13, 2, 5 ], + "faces": { + "down": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" }, + "up": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 3, 0, 5 ], + "to": [ 5, 2, 7 ], + "faces": { + "down": { "uv": [ 3, 9, 5, 11 ], "texture": "#texture" }, + "up": { "uv": [ 3, 5, 5, 7 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 5, 0, 5 ], + "to": [ 7, 2, 7 ], + "faces": { + "down": { "uv": [ 5, 9, 7, 11 ], "texture": "#texture" }, + "up": { "uv": [ 5, 5, 7, 7 ], "texture": "#texture" }, + "south": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" }, + "east": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 11, 0, 5 ], + "to": [ 13, 2, 7 ], + "faces": { + "down": { "uv": [ 11, 9, 13, 11 ], "texture": "#texture" }, + "up": { "uv": [ 11, 5, 13, 7 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 9, 0, 5 ], + "to": [ 11, 2, 7 ], + "faces": { + "down": { "uv": [ 9, 9, 11, 11 ], "texture": "#texture" }, + "up": { "uv": [ 9, 5, 11, 7 ], "texture": "#texture" }, + "south": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" }, + "west": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 3, 0, 7 ], + "to": [ 5, 2, 9 ], + "faces": { + "down": { "uv": [ 3, 7, 5, 9 ], "texture": "#texture" }, + "up": { "uv": [ 3, 7, 5, 9 ], "texture": "#texture" }, + "east": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 11, 0, 7 ], + "to": [ 13, 2, 9 ], + "faces": { + "down": { "uv": [ 11, 7, 13, 9 ], "texture": "#texture" }, + "up": { "uv": [ 11, 7, 13, 9 ], "texture": "#texture" }, + "west": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 3, 0, 9 ], + "to": [ 5, 2, 11 ], + "faces": { + "down": { "uv": [ 3, 5, 5, 7 ], "texture": "#texture" }, + "up": { "uv": [ 3, 9, 5, 11 ], "texture": "#texture" }, + "east": { "uv": [ 5, 14, 7, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 3, 0, 11 ], + "to": [ 5, 2, 13 ], + "faces": { + "down": { "uv": [ 3, 3, 5, 5 ], "texture": "#texture" }, + "up": { "uv": [ 3, 11, 5, 13 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 11, 0, 9 ], + "to": [ 13, 2, 11 ], + "faces": { + "down": { "uv": [ 11, 5, 13, 7 ], "texture": "#texture" }, + "up": { "uv": [ 11, 9, 13, 11 ], "texture": "#texture" }, + "west": { "uv": [ 9, 14, 11, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 11, 0, 11 ], + "to": [ 13, 2, 13 ], + "faces": { + "down": { "uv": [ 11, 3, 13, 5 ], "texture": "#texture" }, + "up": { "uv": [ 11, 11, 13, 13 ], "texture": "#texture" }, + "west": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" } + } + }, + { + "__comment": "Box59", + "from": [ 7, 0, 11 ], + "to": [ 9, 2, 13 ], + "faces": { + "down": { "uv": [ 7, 3, 9, 5 ], "texture": "#texture" }, + "up": { "uv": [ 7, 11, 9, 13 ], "texture": "#texture" }, + "north": { "uv": [ 7, 14, 9, 16 ], "texture": "#texture" }, + "west": { "uv": [ 11, 14, 13, 16 ], "texture": "#texture" }, + "east": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture" } + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 3.54, 2.7826 ], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "thirdperson_lefthand": { + "rotation": [ 75, 45, 0 ], + "translation": [ 0, 3.54, 2.7826 ], + "scale": [ 0.375, 0.375, 0.375 ] + }, + "firstperson_righthand": { + "rotation": [ 0, 45, 0 ], + "translation": [ 3.5, 1.75, 0 ], + "scale": [ 0.4, 0.4, 0.4 ] + }, + "firstperson_lefthand": { + "rotation": [ 0, -45, 0 ], + "translation": [ 4.5, 1.75, 0 ], + "scale": [ 0.4, 0.4, 0.4 ] + }, + "gui": { + "rotation": [ -90, 180, 0 ], + "scale": [ 0.8, 0.8, 0.8 ] + }, + "ground": { + "translation": [ 0, 2, 0 ], + "scale": [ 0.5, 0.5, 0.5 ] + }, + "fixed": { + "rotation": [ -90, 180, 0 ], + "translation": [ 0, 0, -7.1 ] + } + } +} \ No newline at end of file diff --git a/1.11/src/main/resources/assets/forgecraft/models/item/castingblock.json b/1.11/src/main/resources/assets/forgecraft/models/item/castingblock.json new file mode 100644 index 00000000..84d38f9b --- /dev/null +++ b/1.11/src/main/resources/assets/forgecraft/models/item/castingblock.json @@ -0,0 +1,4 @@ +{ + "forge_marker":1, + "parent": "forgecraft:block/castingblock" +} \ No newline at end of file