fixed longbow bug

This commit is contained in:
Mohammad-Ali Minaie
2017-07-03 23:43:24 -04:00
parent 226eb7a62f
commit d597e3d2c6
19 changed files with 742 additions and 55 deletions

View File

@@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx3G
mod_group=nmd.primal.forgecraft
mod_name=ForgeCraft
mod_version=1.2.61
mod_version=1.2.62
forge_version=13.20.0.2315
mcp_mappings=snapshot_20170121
mc_version=1.11.2

View File

@@ -1,5 +1,5 @@
#Minecraft server properties
#Fri Jun 09 22:53:20 PDT 2017
#Mon Jul 03 22:50:34 EDT 2017
max-tick-time=60000
generator-settings=
force-gamemode=false
@@ -33,7 +33,7 @@ generate-structures=true
online-mode=false
max-build-height=256
level-seed=
use-native-transport=true
prevent-proxy-connections=false
motd=A Minecraft Server
use-native-transport=true
enable-rcon=false
motd=A Minecraft Server

View File

@@ -17,7 +17,7 @@ public class ModInfo {
public static final String MOD_CONFIG = "primal/" + MOD_ID;
//public static final String MOD_PREFIX = MOD_ID + ":";
public static final String MOD_CHANNEL = MOD_ID;
public static final String MOD_VERSION = "1.2.61";
public static final String MOD_VERSION = "1.2.62";
public static final String MC_VERSIONS = "[1.11.0, 1.12.0)";
public static final String DEPENDENCIES = "required-after:forge@[13.20.0.2315,);" + "required-after:primal@[0.4,);";

View File

@@ -48,7 +48,7 @@ public class ModCrafting {
/***Unstrung Longbow***/
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModItems.unstrunglongbow, 1),
true, new Object[]{"C", "A",
('C'), PrimalItems.BEAR_FAT,
('C'), "fatAnimal",
('A'), ModItems.rawlongbow
}));
/***Longbow***/

View File

@@ -4,6 +4,7 @@ import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.ItemMeshDefinition;
import net.minecraft.client.renderer.block.model.ModelBakery;
import net.minecraft.client.renderer.block.model.ModelResourceLocation;
import net.minecraft.inventory.EntityEquipmentSlot;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraft.item.ItemStack;
@@ -15,6 +16,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.armor.CustomLeggings;
import nmd.primal.forgecraft.items.casting.CastingPart;
import nmd.primal.forgecraft.items.parts.BronzeToolPart;
import nmd.primal.forgecraft.items.parts.ToolPart;
@@ -126,6 +128,9 @@ public class ModItems {
public static Item unstrunglongbow;
public static Item longbow;
//public static Item testleggings;
//public static Item forgingmanual;
public static void init() {
@@ -239,6 +244,13 @@ public class ModItems {
//forgingmanual = new ItemForgingManual();
//test = new ItemTest("ironsword");
/**********
ARMOR
**********/
//testleggings=new CustomLeggings(PrimalMaterials.ARMOR_ADAMANT, 3, EntityEquipmentSlot.LEGS, "testleggings");
//registerItem(312, "diamond_leggings", (new ItemArmor(ItemArmor.ArmorMaterial.DIAMOND, 3, EntityEquipmentSlot.LEGS)).setUnlocalizedName("leggingsDiamond"));
}
public static void register() {
@@ -342,6 +354,13 @@ public class ModItems {
GameRegistry.register(longbow);
//GameRegistry.register(matchlockmusket);
/**********
ARMOR
**********/
//GameRegistry.register(testleggings);
//GameRegistry.register(forgingmanual);
}
@@ -446,6 +465,13 @@ public class ModItems {
registerRender(longbow);
//registerRender(forgingmanual);
//registerRender(matchlockmusket);
/**********
ARMOR
**********/
//registerRender(testleggings);
}
@SideOnly(Side.CLIENT)

View File

@@ -0,0 +1,30 @@
package nmd.primal.forgecraft.items.armor;
import net.minecraft.inventory.EntityEquipmentSlot;
import net.minecraft.item.ItemArmor;
import nmd.primal.forgecraft.ModInfo;
/**
* Created by mminaie on 7/3/17.
*/
public class CustomLeggings extends ItemArmor{
public CustomLeggings(ArmorMaterial materialIn, int renderIndexIn, EntityEquipmentSlot equipmentSlotIn, String name) {
super(materialIn, renderIndexIn, equipmentSlotIn);
this.setRegistryName(name);
this.setUnlocalizedName(name);
this.setCreativeTab(ModInfo.TAB_FORGECRAFT);
}
public String getName() {
return this.getRegistryName().toString();
}
public static boolean isHidden()
{
return false;
}
}

View File

@@ -1,19 +1,23 @@
package nmd.primal.forgecraft.items.weapons;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.item.EntityItem;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.projectile.EntityArrow;
import net.minecraft.init.Enchantments;
import net.minecraft.init.Items;
import net.minecraft.init.SoundEvents;
import net.minecraft.item.*;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.stats.StatList;
import net.minecraft.util.*;
import net.minecraft.world.World;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import nmd.primal.forgecraft.ModInfo;
import nmd.primal.forgecraft.init.ModItems;
import nmd.primal.forgecraft.init.ModSounds;
import nmd.primal.forgecraft.items.BaseItem;
@@ -25,6 +29,7 @@ import javax.annotation.Nullable;
public class Longbow extends BaseItem {
int mod=5;
int time=0;
public Longbow(String name) {
super(name);
@@ -35,8 +40,8 @@ public class Longbow extends BaseItem {
this.addPropertyOverride(new ResourceLocation("type"), new IItemPropertyGetter() {
@SideOnly(Side.CLIENT)
public float apply(ItemStack item, @Nullable World worldIn, @Nullable EntityLivingBase player) {
int time = item.getMaxItemUseDuration() - player.getItemInUseCount();
public float apply(ItemStack item, @Nullable World worldIn, @Nullable EntityLivingBase playerin) {
if (time < 1 * mod) {
return 0.0F;
}
@@ -64,24 +69,25 @@ public class Longbow extends BaseItem {
if (time >= 8 * mod && time < 72000) {
return 0.8F;
}
return 0.0f;
}
});
}
@Override
public void onUpdate(ItemStack item, World world, Entity playerin, int itemSlot, boolean isSelected) {
EntityPlayer player = (EntityPlayer) playerin;
if(player.inventory.getCurrentItem().getItem() == ModItems.longbow) {
time = item.getMaxItemUseDuration() - player.getItemInUseCount();
}
}
private ItemStack findAmmo(EntityPlayer player)
{
if (this.isArrow(player.getHeldItem(EnumHand.OFF_HAND)))
{
return player.getHeldItem(EnumHand.OFF_HAND);
}
else if (this.isArrow(player.getHeldItem(EnumHand.MAIN_HAND)))
{
return player.getHeldItem(EnumHand.MAIN_HAND);
}
else
{
for (int i = 0; i < player.inventory.getSizeInventory(); ++i)
{
ItemStack itemstack = player.inventory.getStackInSlot(i);
@@ -93,7 +99,7 @@ public class Longbow extends BaseItem {
}
return ItemStack.EMPTY;
}
}
protected boolean isArrow(ItemStack stack)
@@ -144,7 +150,7 @@ public class Longbow extends BaseItem {
stack.damageItem(1, entityplayer);
entityarrow.pickupStatus = EntityArrow.PickupStatus.CREATIVE_ONLY;
entityarrow.pickupStatus = EntityArrow.PickupStatus.ALLOWED;
worldIn.spawnEntity(entityarrow);
}

View File

@@ -618,6 +618,8 @@
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_righthand": {
"rotation": [ 10, 3, 5 ],
"translation": [ -2, 0, 0 ],
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_lefthand": {

View File

@@ -654,6 +654,8 @@
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_righthand": {
"rotation": [ 10, 3, 5 ],
"translation": [ -2, 0, 0 ],
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_lefthand": {

View File

@@ -690,6 +690,8 @@
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_righthand": {
"rotation": [ 10, 3, 5 ],
"translation": [ -2, 0, 0 ],
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_lefthand": {

View File

@@ -690,6 +690,8 @@
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_righthand": {
"rotation": [ 10, 3, 5 ],
"translation": [ -2, 0, 0 ],
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_lefthand": {

View File

@@ -718,6 +718,8 @@
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_righthand": {
"rotation": [ 10, 3, 5 ],
"translation": [ -2, 0, 0 ],
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_lefthand": {

View File

@@ -684,6 +684,8 @@
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_righthand": {
"rotation": [ 10, 3, 5 ],
"translation": [ -2, 0, 0 ],
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_lefthand": {

View File

@@ -764,6 +764,8 @@
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_righthand": {
"rotation": [ 10, 3, 5 ],
"translation": [ -2, 0, 0 ],
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_lefthand": {

View File

@@ -774,6 +774,8 @@
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_righthand": {
"rotation": [ 10, 3, 5 ],
"translation": [ -2, 0, 0 ],
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_lefthand": {

View File

@@ -559,6 +559,8 @@
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_righthand": {
"rotation": [ 10, 3, 5 ],
"translation": [ -2, 0, 0 ],
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_lefthand": {

View File

@@ -0,0 +1,585 @@
{
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "blocks/log_stripped_yew_side",
"texture": "blocks/log_stripped_yew_side",
"texture1": "items/bowstring"
},
"elements": [
{
"__comment": "Box7",
"from": [ 6.5, 5, 6.5 ],
"to": [ 9.5, 11, 8.5 ],
"faces": {
"down": { "uv": [ 6.5, 7.5, 9.5, 9.5 ], "texture": "#texture" },
"up": { "uv": [ 6.5, 6.5, 9.5, 8.5 ], "texture": "#texture" },
"north": { "uv": [ 6.5, 5, 9.5, 11 ], "texture": "#texture" },
"south": { "uv": [ 6.5, 5, 9.5, 11 ], "texture": "#texture" },
"west": { "uv": [ 6.5, 5, 8.5, 11 ], "texture": "#texture" },
"east": { "uv": [ 7.5, 5, 9.5, 11 ], "texture": "#texture" }
}
},
{
"__comment": "1base1",
"from": [ 7, 11, 7 ],
"to": [ 9, 12, 8.5 ],
"faces": {
"down": { "uv": [ 7, 7.5, 9, 9 ], "texture": "#texture" },
"up": { "uv": [ 7, 7, 9, 8.5 ], "texture": "#texture" },
"north": { "uv": [ 7, 4, 9, 5 ], "texture": "#texture" },
"south": { "uv": [ 7, 4, 9, 5 ], "texture": "#texture" },
"west": { "uv": [ 7, 4, 8.5, 5 ], "texture": "#texture" },
"east": { "uv": [ 7.5, 4, 9, 5 ], "texture": "#texture" }
}
},
{
"__comment": "1base2",
"from": [ 7, 12, 7 ],
"to": [ 9, 13, 8.5 ],
"faces": {
"down": { "uv": [ 7, 7.5, 9, 9 ], "texture": "#texture" },
"up": { "uv": [ 7, 7, 9, 8.5 ], "texture": "#texture" },
"north": { "uv": [ 7, 3, 9, 4 ], "texture": "#texture" },
"south": { "uv": [ 7, 3, 9, 4 ], "texture": "#texture" },
"west": { "uv": [ 7, 3, 8.5, 4 ], "texture": "#texture" },
"east": { "uv": [ 7.5, 3, 9, 4 ], "texture": "#texture" }
}
},
{
"__comment": "1base",
"from": [ 7, 13, 7 ],
"to": [ 9, 14, 8.5 ],
"faces": {
"down": { "uv": [ 7, 7.5, 9, 9 ], "texture": "#texture" },
"up": { "uv": [ 7, 7, 9, 8.5 ], "texture": "#texture" },
"north": { "uv": [ 7, 2, 9, 3 ], "texture": "#texture" },
"south": { "uv": [ 7, 2, 9, 3 ], "texture": "#texture" },
"west": { "uv": [ 7, 2, 8.5, 3 ], "texture": "#texture" },
"east": { "uv": [ 7.5, 2, 9, 3 ], "texture": "#texture" }
}
},
{
"__comment": "1base",
"from": [ 7, 4, 7 ],
"to": [ 9, 5, 8.5 ],
"faces": {
"down": { "uv": [ 7, 7.5, 9, 9 ], "texture": "#texture" },
"up": { "uv": [ 7, 7, 9, 8.5 ], "texture": "#texture" },
"north": { "uv": [ 7, 11, 9, 12 ], "texture": "#texture" },
"south": { "uv": [ 7, 11, 9, 12 ], "texture": "#texture" },
"west": { "uv": [ 7, 11, 8.5, 12 ], "texture": "#texture" },
"east": { "uv": [ 7.5, 11, 9, 12 ], "texture": "#texture" }
}
},
{
"__comment": "1base1",
"from": [ 7, 3, 7 ],
"to": [ 9, 4, 8.5 ],
"faces": {
"down": { "uv": [ 7, 7.5, 9, 9 ], "texture": "#texture" },
"up": { "uv": [ 7, 7, 9, 8.5 ], "texture": "#texture" },
"north": { "uv": [ 7, 12, 9, 13 ], "texture": "#texture" },
"south": { "uv": [ 7, 12, 9, 13 ], "texture": "#texture" },
"west": { "uv": [ 7, 12, 8.5, 13 ], "texture": "#texture" },
"east": { "uv": [ 7.5, 12, 9, 13 ], "texture": "#texture" }
}
},
{
"__comment": "1base2",
"from": [ 7, 2, 7 ],
"to": [ 9, 3, 8.5 ],
"faces": {
"down": { "uv": [ 7, 7.5, 9, 9 ], "texture": "#texture" },
"up": { "uv": [ 7, 7, 9, 8.5 ], "texture": "#texture" },
"north": { "uv": [ 7, 13, 9, 14 ], "texture": "#texture" },
"south": { "uv": [ 7, 13, 9, 14 ], "texture": "#texture" },
"west": { "uv": [ 7, 13, 8.5, 14 ], "texture": "#texture" },
"east": { "uv": [ 7.5, 13, 9, 14 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, 14, 7 ],
"to": [ 9, 15, 8.5 ],
"faces": {
"down": { "uv": [ 7, 7, 9, 8.5 ], "texture": "#texture" },
"up": { "uv": [ 7, 7.5, 9, 9 ], "texture": "#texture" },
"north": { "uv": [ 7, 0, 9, 1 ], "texture": "#texture" },
"south": { "uv": [ 7, 0, 9, 1 ], "texture": "#texture" },
"west": { "uv": [ 7.5, 0, 9, 1 ], "texture": "#texture" },
"east": { "uv": [ 7, 0, 8.5, 1 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, 15, 7 ],
"to": [ 9, 16, 8.5 ],
"faces": {
"down": { "uv": [ 7, 7, 9, 8.5 ], "texture": "#texture" },
"up": { "uv": [ 7, 7.5, 9, 9 ], "texture": "#texture" },
"north": { "uv": [ 7, 15, 9, 16 ], "texture": "#texture" },
"south": { "uv": [ 7, 15, 9, 16 ], "texture": "#texture" },
"west": { "uv": [ 7.5, 15, 9, 16 ], "texture": "#texture" },
"east": { "uv": [ 7, 15, 8.5, 16 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, 16, 7 ],
"to": [ 9, 17, 8.5 ],
"faces": {
"down": { "uv": [ 7, 7, 9, 8.5 ], "texture": "#texture" },
"up": { "uv": [ 7, 7.5, 9, 9 ], "texture": "#texture" },
"north": { "uv": [ 7, 14, 9, 15 ], "texture": "#texture" },
"south": { "uv": [ 7, 14, 9, 15 ], "texture": "#texture" },
"west": { "uv": [ 7.5, 14, 9, 15 ], "texture": "#texture" },
"east": { "uv": [ 7, 14, 8.5, 15 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, -1, 7 ],
"to": [ 9, 0, 8.5 ],
"faces": {
"down": { "uv": [ 7, 7, 9, 8.5 ], "texture": "#texture" },
"up": { "uv": [ 7, 7.5, 9, 9 ], "texture": "#texture" },
"north": { "uv": [ 7, 0, 9, 1 ], "texture": "#texture" },
"south": { "uv": [ 7, 0, 9, 1 ], "texture": "#texture" },
"west": { "uv": [ 7.5, 0, 9, 1 ], "texture": "#texture" },
"east": { "uv": [ 7, 0, 8.5, 1 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, 0, 7 ],
"to": [ 9, 1, 8.5 ],
"faces": {
"down": { "uv": [ 7, 7, 9, 8.5 ], "texture": "#texture" },
"up": { "uv": [ 7, 7.5, 9, 9 ], "texture": "#texture" },
"north": { "uv": [ 7, 15, 9, 16 ], "texture": "#texture" },
"south": { "uv": [ 7, 15, 9, 16 ], "texture": "#texture" },
"west": { "uv": [ 7.5, 15, 9, 16 ], "texture": "#texture" },
"east": { "uv": [ 7, 15, 8.5, 16 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, 1, 7 ],
"to": [ 9, 2, 8.5 ],
"faces": {
"down": { "uv": [ 7, 7, 9, 8.5 ], "texture": "#texture" },
"up": { "uv": [ 7, 7.5, 9, 9 ], "texture": "#texture" },
"north": { "uv": [ 7, 14, 9, 15 ], "texture": "#texture" },
"south": { "uv": [ 7, 14, 9, 15 ], "texture": "#texture" },
"west": { "uv": [ 7.5, 14, 9, 15 ], "texture": "#texture" },
"east": { "uv": [ 7, 14, 8.5, 15 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, -2, 7.5 ],
"to": [ 9, -1, 9 ],
"faces": {
"down": { "uv": [ 7, 6.5, 9, 8 ], "texture": "#texture" },
"up": { "uv": [ 7, 8, 9, 9.5 ], "texture": "#texture" },
"north": { "uv": [ 7, 1, 9, 2 ], "texture": "#texture" },
"south": { "uv": [ 7, 1, 9, 2 ], "texture": "#texture" },
"west": { "uv": [ 8, 1, 9.5, 2 ], "texture": "#texture" },
"east": { "uv": [ 6.5, 1, 8, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, -4, 7.5 ],
"to": [ 9, -3, 9 ],
"faces": {
"down": { "uv": [ 7, 6.5, 9, 8 ], "texture": "#texture" },
"up": { "uv": [ 7, 8, 9, 9.5 ], "texture": "#texture" },
"north": { "uv": [ 7, 3, 9, 4 ], "texture": "#texture" },
"south": { "uv": [ 7, 3, 9, 4 ], "texture": "#texture" },
"west": { "uv": [ 8, 3, 9.5, 4 ], "texture": "#texture" },
"east": { "uv": [ 6.5, 3, 8, 4 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, -3, 7.5 ],
"to": [ 9, -2, 9 ],
"faces": {
"down": { "uv": [ 7, 6.5, 9, 8 ], "texture": "#texture" },
"up": { "uv": [ 7, 8, 9, 9.5 ], "texture": "#texture" },
"north": { "uv": [ 7, 2, 9, 3 ], "texture": "#texture" },
"south": { "uv": [ 7, 2, 9, 3 ], "texture": "#texture" },
"west": { "uv": [ 8, 2, 9.5, 3 ], "texture": "#texture" },
"east": { "uv": [ 6.5, 2, 8, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, 19, 7.5 ],
"to": [ 9, 20, 9 ],
"faces": {
"down": { "uv": [ 7, 6.5, 9, 8 ], "texture": "#texture" },
"up": { "uv": [ 7, 8, 9, 9.5 ], "texture": "#texture" },
"north": { "uv": [ 7, 12, 9, 13 ], "texture": "#texture" },
"south": { "uv": [ 7, 12, 9, 13 ], "texture": "#texture" },
"west": { "uv": [ 8, 12, 9.5, 13 ], "texture": "#texture" },
"east": { "uv": [ 6.5, 12, 8, 13 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, 17, 7.5 ],
"to": [ 9, 18, 9 ],
"faces": {
"down": { "uv": [ 7, 6.5, 9, 8 ], "texture": "#texture" },
"up": { "uv": [ 7, 8, 9, 9.5 ], "texture": "#texture" },
"north": { "uv": [ 7, 14, 9, 15 ], "texture": "#texture" },
"south": { "uv": [ 7, 14, 9, 15 ], "texture": "#texture" },
"west": { "uv": [ 8, 14, 9.5, 15 ], "texture": "#texture" },
"east": { "uv": [ 6.5, 14, 8, 15 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, 18, 7.5 ],
"to": [ 9, 19, 9 ],
"faces": {
"down": { "uv": [ 7, 6.5, 9, 8 ], "texture": "#texture" },
"up": { "uv": [ 7, 8, 9, 9.5 ], "texture": "#texture" },
"north": { "uv": [ 7, 13, 9, 14 ], "texture": "#texture" },
"south": { "uv": [ 7, 13, 9, 14 ], "texture": "#texture" },
"west": { "uv": [ 8, 13, 9.5, 14 ], "texture": "#texture" },
"east": { "uv": [ 6.5, 13, 8, 14 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, 21, 7.5 ],
"to": [ 9, 22, 9 ],
"faces": {
"down": { "uv": [ 7, 6, 9, 7.5 ], "texture": "#texture" },
"up": { "uv": [ 7, 8.5, 9, 10 ], "texture": "#texture" },
"north": { "uv": [ 7, 10, 9, 11 ], "texture": "#texture" },
"south": { "uv": [ 7, 10, 9, 11 ], "texture": "#texture" },
"west": { "uv": [ 8.5, 10, 10, 11 ], "texture": "#texture" },
"east": { "uv": [ 6, 10, 7.5, 11 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, 22, 7.5 ],
"to": [ 9, 23, 9 ],
"faces": {
"down": { "uv": [ 7, 6, 9, 7.5 ], "texture": "#texture" },
"up": { "uv": [ 7, 8.5, 9, 10 ], "texture": "#texture" },
"north": { "uv": [ 7, 9, 9, 10 ], "texture": "#texture" },
"south": { "uv": [ 7, 9, 9, 10 ], "texture": "#texture" },
"west": { "uv": [ 8.5, 9, 10, 10 ], "texture": "#texture" },
"east": { "uv": [ 6, 9, 7.5, 10 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, 20, 7.5 ],
"to": [ 9, 21, 9 ],
"faces": {
"down": { "uv": [ 7, 6, 9, 7.5 ], "texture": "#texture" },
"up": { "uv": [ 7, 8.5, 9, 10 ], "texture": "#texture" },
"north": { "uv": [ 7, 11, 9, 12 ], "texture": "#texture" },
"south": { "uv": [ 7, 11, 9, 12 ], "texture": "#texture" },
"west": { "uv": [ 8.5, 11, 10, 12 ], "texture": "#texture" },
"east": { "uv": [ 6, 11, 7.5, 12 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, -5, 7.5 ],
"to": [ 9, -4, 9 ],
"faces": {
"down": { "uv": [ 7, 6, 9, 7.5 ], "texture": "#texture" },
"up": { "uv": [ 7, 8.5, 9, 10 ], "texture": "#texture" },
"north": { "uv": [ 7, 4, 9, 5 ], "texture": "#texture" },
"south": { "uv": [ 7, 4, 9, 5 ], "texture": "#texture" },
"west": { "uv": [ 8.5, 4, 10, 5 ], "texture": "#texture" },
"east": { "uv": [ 6, 4, 7.5, 5 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, -7, 7.5 ],
"to": [ 9, -6, 9 ],
"faces": {
"down": { "uv": [ 7, 6, 9, 7.5 ], "texture": "#texture" },
"up": { "uv": [ 7, 8.5, 9, 10 ], "texture": "#texture" },
"north": { "uv": [ 7, 6, 9, 7 ], "texture": "#texture" },
"south": { "uv": [ 7, 6, 9, 7 ], "texture": "#texture" },
"west": { "uv": [ 8.5, 6, 10, 7 ], "texture": "#texture" },
"east": { "uv": [ 6, 6, 7.5, 7 ], "texture": "#texture" }
}
},
{
"__comment": "Box11",
"from": [ 7, -6, 7.5 ],
"to": [ 9, -5, 9 ],
"faces": {
"down": { "uv": [ 7, 6, 9, 7.5 ], "texture": "#texture" },
"up": { "uv": [ 7, 8.5, 9, 10 ], "texture": "#texture" },
"north": { "uv": [ 7, 5, 9, 6 ], "texture": "#texture" },
"south": { "uv": [ 7, 5, 9, 6 ], "texture": "#texture" },
"west": { "uv": [ 8.5, 5, 10, 6 ], "texture": "#texture" },
"east": { "uv": [ 6, 5, 7.5, 6 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, 23, 8 ],
"to": [ 8.5, 24, 9 ],
"faces": {
"down": { "uv": [ 7.5, 7, 8.5, 8 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 8, 8.5, 9 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 8, 8.5, 9 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 8, 8.5, 9 ], "texture": "#texture" },
"west": { "uv": [ 8, 8, 9, 9 ], "texture": "#texture" },
"east": { "uv": [ 7, 8, 8, 9 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, 24, 8 ],
"to": [ 8.5, 25, 9 ],
"faces": {
"down": { "uv": [ 7.5, 5, 8.5, 6 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 10, 8.5, 11 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 5, 8.5, 6 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 5, 8.5, 6 ], "texture": "#texture" },
"west": { "uv": [ 10, 5, 11, 6 ], "texture": "#texture" },
"east": { "uv": [ 5, 5, 6, 6 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, 25, 8 ],
"to": [ 8.5, 26, 9 ],
"faces": {
"down": { "uv": [ 7.5, 5, 8.5, 6 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 10, 8.5, 11 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 5, 8.5, 6 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 5, 8.5, 6 ], "texture": "#texture" },
"west": { "uv": [ 10, 5, 11, 6 ], "texture": "#texture" },
"east": { "uv": [ 5, 5, 6, 6 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, 26, 8.5 ],
"to": [ 8.5, 27, 9.5 ],
"faces": {
"down": { "uv": [ 7.5, 5, 8.5, 6 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 10, 8.5, 11 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 5, 8.5, 6 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 5, 8.5, 6 ], "texture": "#texture" },
"west": { "uv": [ 10, 5, 11, 6 ], "texture": "#texture" },
"east": { "uv": [ 5, 5, 6, 6 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, 28, 9 ],
"to": [ 8.5, 29, 10 ],
"faces": {
"down": { "uv": [ 7.5, 4, 8.5, 5 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 11, 8.5, 12 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 1, 8.5, 2 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 1, 8.5, 2 ], "texture": "#texture" },
"west": { "uv": [ 11, 1, 12, 2 ], "texture": "#texture" },
"east": { "uv": [ 4, 1, 5, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, 27, 8.5 ],
"to": [ 8.5, 28, 9.5 ],
"faces": {
"down": { "uv": [ 7.5, 4.5, 8.5, 5.5 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 10.5, 8.5, 11.5 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 2, 8.5, 3 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 2, 8.5, 3 ], "texture": "#texture" },
"west": { "uv": [ 10.5, 2, 11.5, 3 ], "texture": "#texture" },
"east": { "uv": [ 4.5, 2, 5.5, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, 30, 9.5 ],
"to": [ 8.5, 31, 10.5 ],
"faces": {
"down": { "uv": [ 7.5, 4, 8.5, 5 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 11, 8.5, 12 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 1, 8.5, 2 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 1, 8.5, 2 ], "texture": "#texture" },
"west": { "uv": [ 11, 1, 12, 2 ], "texture": "#texture" },
"east": { "uv": [ 4, 1, 5, 2 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, 29, 9 ],
"to": [ 8.5, 30, 10 ],
"faces": {
"down": { "uv": [ 7.5, 4.5, 8.5, 5.5 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 10.5, 8.5, 11.5 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 2, 8.5, 3 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 2, 8.5, 3 ], "texture": "#texture" },
"west": { "uv": [ 10.5, 2, 11.5, 3 ], "texture": "#texture" },
"east": { "uv": [ 4.5, 2, 5.5, 3 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, -10, 8 ],
"to": [ 8.5, -9, 9 ],
"faces": {
"down": { "uv": [ 7.5, 5.5, 8.5, 6.5 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 9.5, 8.5, 10.5 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 9, 8.5, 10 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 9, 8.5, 10 ], "texture": "#texture" },
"west": { "uv": [ 9.5, 9, 10.5, 10 ], "texture": "#texture" },
"east": { "uv": [ 5.5, 9, 6.5, 10 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, -9, 8 ],
"to": [ 8.5, -8, 9 ],
"faces": {
"down": { "uv": [ 7.5, 5.5, 8.5, 6.5 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 9.5, 8.5, 10.5 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 8, 8.5, 9 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 8, 8.5, 9 ], "texture": "#texture" },
"west": { "uv": [ 9.5, 8, 10.5, 9 ], "texture": "#texture" },
"east": { "uv": [ 5.5, 8, 6.5, 9 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, -8, 8 ],
"to": [ 8.5, -7, 9 ],
"faces": {
"down": { "uv": [ 7.5, 5.5, 8.5, 6.5 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 9.5, 8.5, 10.5 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 7, 8.5, 8 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 7, 8.5, 8 ], "texture": "#texture" },
"west": { "uv": [ 9.5, 7, 10.5, 8 ], "texture": "#texture" },
"east": { "uv": [ 5.5, 7, 6.5, 8 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, -11, 8.5 ],
"to": [ 8.5, -10, 9.5 ],
"faces": {
"down": { "uv": [ 7.5, 4, 8.5, 5 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 11, 8.5, 12 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 14, 8.5, 15 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 14, 8.5, 15 ], "texture": "#texture" },
"west": { "uv": [ 11, 14, 12, 15 ], "texture": "#texture" },
"east": { "uv": [ 4, 14, 5, 15 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, -12, 8.5 ],
"to": [ 8.5, -11, 9.5 ],
"faces": {
"down": { "uv": [ 7.5, 4, 8.5, 5 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 11, 8.5, 12 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 14, 8.5, 15 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 14, 8.5, 15 ], "texture": "#texture" },
"west": { "uv": [ 11, 14, 12, 15 ], "texture": "#texture" },
"east": { "uv": [ 4, 14, 5, 15 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, -13, 9 ],
"to": [ 8.5, -12, 10 ],
"faces": {
"down": { "uv": [ 7.5, 4, 8.5, 5 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 11, 8.5, 12 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 14, 8.5, 15 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 14, 8.5, 15 ], "texture": "#texture" },
"west": { "uv": [ 11, 14, 12, 15 ], "texture": "#texture" },
"east": { "uv": [ 4, 14, 5, 15 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, -14, 9 ],
"to": [ 8.5, -13, 10 ],
"faces": {
"down": { "uv": [ 7.5, 4, 8.5, 5 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 11, 8.5, 12 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 14, 8.5, 15 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 14, 8.5, 15 ], "texture": "#texture" },
"west": { "uv": [ 11, 14, 12, 15 ], "texture": "#texture" },
"east": { "uv": [ 4, 14, 5, 15 ], "texture": "#texture" }
}
},
{
"__comment": "Box39",
"from": [ 7.5, -15, 9.5 ],
"to": [ 8.5, -14, 10.5 ],
"faces": {
"down": { "uv": [ 7.5, 4, 8.5, 5 ], "texture": "#texture" },
"up": { "uv": [ 7.5, 11, 8.5, 12 ], "texture": "#texture" },
"north": { "uv": [ 7.5, 14, 8.5, 15 ], "texture": "#texture" },
"south": { "uv": [ 7.5, 14, 8.5, 15 ], "texture": "#texture" },
"west": { "uv": [ 11, 14, 12, 15 ], "texture": "#texture" },
"east": { "uv": [ 4, 14, 5, 15 ], "texture": "#texture" }
}
},
{
"__comment": "PlaneX58",
"from": [ 8, -14.5, 10 ],
"to": [ 8.001, 30.5, 10.5 ],
"faces": {
"west": { "uv": [ 10, 0, 10.5, 16 ], "texture": "#texture1" },
"east": { "uv": [ 5.5, 0, 6, 16 ], "texture": "#texture1" }
}
}
],
"display": {
"thirdperson_righthand": {
"translation": [ 0, -2, 1 ],
"scale": [ 0.5, 0.875, 0.75 ]
},
"thirdperson_lefthand": {
"translation": [ 0, -2, 1 ],
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_righthand": {
"rotation": [ 10, 15, 0 ],
"translation": [ -5, 0, 0 ],
"scale": [ 0.5, 0.875, 0.75 ]
},
"firstperson_lefthand": {
"scale": [ 0.5, 0.875, 0.75 ]
},
"gui": {
"rotation": [ 90, 45, 90 ],
"translation": [ -1.25, 1.25, 0 ],
"scale": [ 0.45, 0.45, 0.45 ]
},
"ground": {
"rotation": [ 0, 0, 90 ],
"translation": [ 0, -1, 0 ],
"scale": [ 0.5, 0.875, 0.75 ]
},
"fixed": {
"rotation": [ 90, -45, 90 ],
"translation": [ 1.25, 1.25, 0 ],
"scale": [ 0.575, 0.575, 0.575 ]
}
}
}

View File

@@ -0,0 +1,22 @@
{
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "forgecraft:items/test",
"texture": "forgecraft:items/test"
},
"elements": [
{
"__comment": "Box1",
"from": [ 0, 0, 0 ],
"to": [ 16, 9, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#texture" },
"north": { "uv": [ 0, 7, 16, 16 ], "texture": "#texture" },
"south": { "uv": [ 0, 7, 16, 16 ], "texture": "#texture" },
"west": { "uv": [ 0, 7, 16, 16 ], "texture": "#texture" },
"east": { "uv": [ 0, 7, 16, 16 ], "texture": "#texture" }
}
}
]
}

View File

@@ -2,7 +2,7 @@
"modid": "forgecraft",
"name": "Kitsu's Forgecraft",
"description": "Forged with sweat and blood",
"version": "1.2.61",
"version": "1.2.62",
"mcversion": "1.11.2",
"url": "",
"updateUrl": "",