need saw and blade recipes to make weapon hilts and guards

This commit is contained in:
Mohammad-Ali Minaie
2018-10-18 18:39:11 -04:00
parent dbc591fc59
commit b7f3d04929
15 changed files with 623 additions and 120 deletions

View File

@@ -429,7 +429,7 @@ public class Chisel extends CustomFacing implements ToolMaterialMap {
private void doDamaging(World world, BlockPos movePos, IBlockState state, EntityPlayer player){
if (!(state.getBlock().equals(Blocks.AIR))) {
if(world.getBlockState(movePos).getBlock().blockHardness>0) {
world.sendBlockBreakProgress(player.getEntityId() + PrimalAPI.getRandom().nextInt(100), movePos, PrimalAPI.getRandom().nextInt(3,10));
world.sendBlockBreakProgress(player.getEntityId() - PrimalAPI.getRandom().nextInt(100), movePos, PrimalAPI.getRandom().nextInt(3,10));
}
}
}

View File

@@ -0,0 +1,27 @@
package nmd.primal.forgecraft.blocks.fluids;
import net.minecraft.block.material.Material;
import net.minecraftforge.fluids.Fluid;
import nmd.primal.core.common.fluids.AbstractFluidBlock;
import nmd.primal.forgecraft.ModInfo;
public class BasicFluidBlockKFC extends AbstractFluidBlock {
private boolean isSolidTexture;
private boolean isBurning;
public BasicFluidBlockKFC(Fluid fluid, Material material, boolean isSolidTexture, boolean isBurning)
{
super(fluid, material);
this.isSolidTexture = isSolidTexture;
this.isBurning = isBurning;
}
public BasicFluidBlockKFC(Fluid fluid, Material material)
{
this(fluid, material, false, false);
this.setCreativeTab(ModInfo.TAB_FORGECRAFT);
}
}

View File

@@ -1,22 +1,77 @@
package nmd.primal.forgecraft.init;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.item.Item;
import net.minecraft.item.ItemBlock;
import net.minecraftforge.event.RegistryEvent;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.IFluidBlock;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.eventhandler.EventPriority;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.registries.IForgeRegistry;
import nmd.primal.core.api.PrimalAPI;
import nmd.primal.core.common.helper.RegistryHelper;
import nmd.primal.forgecraft.ModInfo;
import nmd.primal.forgecraft.blocks.fluids.BasicFluidBlockKFC;
import java.util.HashSet;
import java.util.Set;
import java.util.function.Consumer;
import java.util.function.Function;
import static nmd.primal.core.common.helper.RegistryHelper.registerFluidBlock;
import static nmd.primal.core.common.helper.RegistryHelper.registerFluidItems;
public class ModFluids {
public static Fluid SILVER_WATER;
public static Fluid HOLY_WATER;
@SubscribeEvent
public static void registryFluidBlocks(final RegistryEvent.Register<Block> event){
final IForgeRegistry<Block> registry = event.getRegistry();
//RegistryHelper.registerFluidBlock(registry,
// );
public static final Set<IFluidBlock> FLUID_BLOCKS = new HashSet<>();
// ***************************************************************************** //
// Fluid Registration
// ***************************************************************************** //
@Mod.EventBusSubscriber(modid= ModInfo.MOD_ID)
public static class RegistrationHandler
{
/**
* Register this mod's fluid {@link Block}s.
* @param event The event
*/
@SubscribeEvent
public static void registryFluidBlocks(final RegistryEvent.Register<Block> event)
{
final IForgeRegistry<Block> registry = event.getRegistry();
registerFluidBlock(registry,
HOLY_WATER = createFluid("holy_water", 0xFFEDF1F5, true,
fluid -> fluid.setDensity(1000).setViscosity(1000).setTemperature(100).setLuminosity(5).setGaseous(false),
fluid -> new BasicFluidBlockKFC(fluid, Material.WATER)));
}
/**
* Register this mod's fluid {@link ItemBlock}s.
* @param event The event
*/
// Use EventPriority.LOWEST so this is called after the RegistryEvent.Register<Item> handler in ModBlocks where
// the ItemBlock for ModBlocks.FLUID_TANK is registered.
@SubscribeEvent(priority = EventPriority.LOWEST)
public static void registryFluidItems(final RegistryEvent.Register<Item> event)
{
final IForgeRegistry<Item> registry = event.getRegistry();
registerFluidItems(registry, FLUID_BLOCKS);
}
}
// ***************************************************************************** //
// Registry Overrides
// ***************************************************************************** //
private static <T extends Block & IFluidBlock> Fluid createFluid(String name, int color, boolean hasFlowIcon, Consumer<Fluid> fluidPropertyApplier, Function<Fluid, T> blockFactory)
{
return nmd.primal.core.common.helper.RegistryHelper.createFluid(name, ModInfo.MOD_ID, FLUID_BLOCKS, color, hasFlowIcon, fluidPropertyApplier, blockFactory);
}

View File

@@ -103,7 +103,7 @@ public class CauldronRecipes
ItemStack.EMPTY).setRecipeName(ModInfo.MOD_ID, stack.getUnlocalizedName().toString().concat("fortune"));
}
static CauldronRecipe genLeechRecipe(ItemStack stack) {
/*static CauldronRecipe genLeechRecipe(ItemStack stack) {
return new CauldronRecipe(
5,
new FluidStack(FluidRegistry.WATER, 1000),
@@ -112,14 +112,7 @@ public class CauldronRecipes
RecipeHelper.buildList(stack),
stack,
ItemStack.EMPTY).setRecipeName(ModInfo.MOD_ID, stack.getUnlocalizedName().toString().concat("leech"));
}
static void genRecipesForStack(ItemStack stack){
genSmiteRecipe(stack);
genBaneRecipe(stack);
genFireRecipe(stack);
genFortuneRecipe(stack);
genLeechRecipe(stack);
}
}*/
static void genRecipesForList(List<ItemStack> list, IForgeRegistry<CauldronRecipe> recipes){
for(ItemStack s : list){
@@ -127,7 +120,6 @@ public class CauldronRecipes
recipes.register(genBaneRecipe(s));
recipes.register(genFireRecipe(s));
recipes.register(genFortuneRecipe(s));
recipes.register(genLeechRecipe(s));
}
}

View File

@@ -86,7 +86,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.4375, 0.71875D, 0.26D);
GL11.glTranslated(0.4375, 0.65625D, 0.26D);
GL11.glScalef(0.7F, 1F, 0.55F);
GL11.glRotated(-45.0F, 0.0F, 1.0F, 0.0F);
GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
@@ -98,7 +98,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.37D, 0.27D, 0.21D);
GL11.glTranslated(0.37D, 0.2075D, 0.21D);
GL11.glScalef(1F, 1F, 1F);
GL11.glRotated(-90.0F, 0.0F, 1.0F, 0.0F);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
@@ -110,7 +110,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.85, 0.71875D, 0.25D);
GL11.glTranslated(0.85, 0.65625D, 0.25D);
GL11.glScalef(0.3F, 0.3F, 0.3F);
GL11.glRotated(45.0F, 0.0F, 1.0F, 0.0F);
GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
@@ -122,7 +122,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.48D, 0.3D, -0.15D);
GL11.glTranslated(0.48D, 0.20625D, -0.15D);
GL11.glScalef(1F, 1F, 1F);
GL11.glRotated(-90.0F, 0.0F, 1.0F, 0.0F);
//GL11.glRotated(-90.0F, 1.0F, 0.0F, 0.0F);
@@ -167,7 +167,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.5625, 0.71875D, 0.7925D);
GL11.glTranslated(0.5625, 0.65625D, 0.7925D);
GL11.glScalef(0.7F, 1F, 0.55F);
GL11.glRotated(-45.0F, 0.0F, 1.0F, 0.0F);
GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
@@ -179,7 +179,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.55, 0.27D, 0.77D);
GL11.glTranslated(0.55, 0.2075D, 0.77D);
GL11.glScalef(1F, 1F, 1F);
GL11.glRotated(90.0F, 0.0F, 1.0F, 0.0F);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
@@ -191,7 +191,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.175, 0.71875D, 0.78D);
GL11.glTranslated(0.175, 0.65625D, 0.78D);
GL11.glScalef(0.3F, 0.3F, 0.3F);
GL11.glRotated(45.0F, 0.0F, 1.0F, 0.0F);
GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
@@ -203,7 +203,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.52D, 0.3D, 1.15D);
GL11.glTranslated(0.52D, 0.20625D, 1.15D);
GL11.glScalef(1F, 1F, 1F);
GL11.glRotated(90.0F, 0.0F, 1.0F, 0.0F);
//GL11.glRotated(-90.0F, 1.0F, 0.0F, 0.0F);
@@ -248,7 +248,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.7925D, 0.71875D, 0.4375);
GL11.glTranslated(0.7925D, 0.65625D, 0.4375);
GL11.glScalef(0.55F, 1F, 0.7F);
GL11.glRotated(45F, 0.0F, 1.0F, 0.0F);
GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
@@ -260,7 +260,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.75, 0.27D, 0.4D);
GL11.glTranslated(0.75, 0.2075D, 0.4D);
GL11.glScalef(1F, 1F, 1F);
GL11.glRotated(180.0F, 0.0F, 1.0F, 0.0F);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
@@ -272,7 +272,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.755, 0.71875D, 0.8D);
GL11.glTranslated(0.755, 0.65625D, 0.8D);
GL11.glScalef(0.3F, 0.3F, 0.3F);
GL11.glRotated(-45.0F, 0.0F, 1.0F, 0.0F);
GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
@@ -284,7 +284,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(1.15D, 0.3D, 0.485D);
GL11.glTranslated(1.15D, 0.20625D, 0.485D);
GL11.glScalef(1F, 1F, 1F);
GL11.glRotated(180.0F, 0.0F, 1.0F, 0.0F);
//GL11.glRotated(-90.0F, 1.0F, 0.0F, 0.0F);
@@ -327,7 +327,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.255D, 0.71875D, 0.565);
GL11.glTranslated(0.255D, 0.65625D, 0.565);
GL11.glScalef(0.55F, 1F, 0.7F);
GL11.glRotated(45F, 0.0F, 1.0F, 0.0F);
GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
@@ -339,7 +339,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.235, 0.27D, 0.6D);
GL11.glTranslated(0.235, 0.2075D, 0.6D);
GL11.glScalef(1F, 1F, 1F);
//GL11.glRotated(-180.0F, 0.0F, 1.0F, 0.0F);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
@@ -351,7 +351,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(0.2175, 0.71875D, 0.185D);
GL11.glTranslated(0.2175, 0.65625D, 0.185D);
GL11.glScalef(0.3F, 0.3F, 0.3F);
GL11.glRotated(-45.0F, 0.0F, 1.0F, 0.0F);
GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
@@ -363,7 +363,7 @@ public class TileWorkbenchRender extends TileEntitySpecialRenderer<TileWorkbench
GL11.glPushMatrix();
//System.out.println(stack2);
//GL11.glRotated(90.0F, 1.0F, 0.0F, 0.0F);
GL11.glTranslated(-0.138D, 0.3D, 0.52D);
GL11.glTranslated(-0.138D, 0.20625D, 0.52D);
GL11.glScalef(1F, 1F, 1F);
//GL11.glRotated(180.0F, 0.0F, 1.0F, 0.0F);
//GL11.glRotated(-90.0F, 1.0F, 0.0F, 0.0F);

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

View File

@@ -0,0 +1,165 @@
{
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "blocks/e_particle",
"texture": "blocks/planks_oak",
"texture1": "blocks/e_texture",
"texture2": "blocks/e_texture"
},
"elements": [
{
"__comment": "Box1",
"from": [ 5, 0, 12 ],
"to": [ 11, 16, 14 ],
"rotation": { "origin": [ 5, 0, 12 ], "axis": "x", "angle": -22.5 },
"faces": {
"down": { "uv": [ 5, 2, 11, 4 ], "texture": "#texture1" },
"up": { "uv": [ 5, 12, 11, 14 ], "texture": "#texture1" },
"north": { "uv": [ 5, 0, 11, 16 ], "texture": "#texture1" },
"south": { "uv": [ 5, 0, 11, 16 ], "texture": "#texture2" },
"west": { "uv": [ 12, 0, 14, 16 ], "texture": "#texture1" },
"east": { "uv": [ 2, 0, 4, 16 ], "texture": "#texture1" }
}
},
{
"__comment": "Box2",
"from": [ 3, 1, 12 ],
"to": [ 5, 15, 14 ],
"rotation": { "origin": [ 5, 0, 12 ], "axis": "x", "angle": -22.5 },
"faces": {
"down": { "uv": [ 3, 14, 5, 16 ], "texture": "#texture1" },
"up": { "uv": [ 3, 0, 5, 2 ], "texture": "#texture1" },
"north": { "uv": [ 11, 1, 13, 15 ], "texture": "#texture1" },
"south": { "uv": [ 3, 1, 5, 15 ], "texture": "#texture2" },
"west": { "uv": [ 0, 1, 2, 15 ], "texture": "#texture1" },
"east": { "uv": [ 14, 1, 16, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Box3",
"from": [ 2, 2, 12 ],
"to": [ 3, 14, 14 ],
"rotation": { "origin": [ 5, 0, 12 ], "axis": "x", "angle": -22.5 },
"faces": {
"down": { "uv": [ 2, 14, 3, 16 ], "texture": "#texture1" },
"up": { "uv": [ 2, 0, 3, 2 ], "texture": "#texture1" },
"north": { "uv": [ 13, 2, 14, 14 ], "texture": "#texture1" },
"south": { "uv": [ 2, 2, 3, 14 ], "texture": "#texture2" },
"west": { "uv": [ 0, 2, 2, 14 ], "texture": "#texture1" },
"east": { "uv": [ 14, 2, 16, 14 ], "texture": "#texture1" }
}
},
{
"__comment": "Box4",
"from": [ 1, 4, 12 ],
"to": [ 2, 12, 14 ],
"rotation": { "origin": [ 5, 0, 12 ], "axis": "x", "angle": -22.5 },
"faces": {
"down": { "uv": [ 1, 14, 2, 16 ], "texture": "#texture1" },
"up": { "uv": [ 1, 0, 2, 2 ], "texture": "#texture1" },
"north": { "uv": [ 14, 4, 15, 12 ], "texture": "#texture1" },
"south": { "uv": [ 1, 4, 2, 12 ], "texture": "#texture2" },
"west": { "uv": [ 0, 4, 2, 12 ], "texture": "#texture1" },
"east": { "uv": [ 14, 4, 16, 12 ], "texture": "#texture1" }
}
},
{
"__comment": "Box5",
"from": [ 0, 5, 12 ],
"to": [ 1, 11, 14 ],
"rotation": { "origin": [ 5, 0, 12 ], "axis": "x", "angle": -22.5 },
"faces": {
"down": { "uv": [ 0, 14, 1, 16 ], "texture": "#texture1" },
"up": { "uv": [ 0, 0, 1, 2 ], "texture": "#texture1" },
"north": { "uv": [ 15, 5, 16, 11 ], "texture": "#texture1" },
"south": { "uv": [ 0, 5, 1, 11 ], "texture": "#texture2" },
"west": { "uv": [ 0, 5, 2, 11 ], "texture": "#texture1" },
"east": { "uv": [ 14, 5, 16, 11 ], "texture": "#texture1" }
}
},
{
"__comment": "Box5",
"from": [ 15, 5, 12 ],
"to": [ 16, 11, 14 ],
"rotation": { "origin": [ 5, 0, 12 ], "axis": "x", "angle": -22.5 },
"faces": {
"down": { "uv": [ 0, 1, 1, 2 ], "texture": "#texture1", "rotation": 180 },
"up": { "uv": [ 0, 14, 1, 15 ], "texture": "#texture1", "rotation": 180 },
"north": { "uv": [ 0, 5, 1, 11 ], "texture": "#texture1" },
"south": { "uv": [ 15, 5, 16, 11 ], "texture": "#texture2" },
"west": { "uv": [ 1, 5, 2, 11 ], "texture": "#texture1" },
"east": { "uv": [ 14, 5, 15, 11 ], "texture": "#texture1" }
}
},
{
"__comment": "Box4",
"from": [ 14, 4, 12 ],
"to": [ 15, 12, 14 ],
"rotation": { "origin": [ 5, 0, 12 ], "axis": "x", "angle": -22.5 },
"faces": {
"down": { "uv": [ 1, 1, 2, 2 ], "texture": "#texture1", "rotation": 180 },
"up": { "uv": [ 1, 14, 2, 15 ], "texture": "#texture1", "rotation": 180 },
"north": { "uv": [ 1, 4, 2, 12 ], "texture": "#texture1" },
"south": { "uv": [ 14, 4, 15, 12 ], "texture": "#texture2" },
"west": { "uv": [ 1, 4, 2, 12 ], "texture": "#texture1" },
"east": { "uv": [ 14, 4, 15, 12 ], "texture": "#texture1" }
}
},
{
"__comment": "Box3",
"from": [ 13, 2, 12 ],
"to": [ 14, 14, 14 ],
"rotation": { "origin": [ 5, 0, 12 ], "axis": "x", "angle": -22.5 },
"faces": {
"down": { "uv": [ 2, 1, 3, 2 ], "texture": "#texture1", "rotation": 180 },
"up": { "uv": [ 2, 14, 3, 15 ], "texture": "#texture1", "rotation": 180 },
"north": { "uv": [ 2, 2, 3, 14 ], "texture": "#texture1" },
"south": { "uv": [ 13, 2, 14, 14 ], "texture": "#texture2" },
"west": { "uv": [ 1, 2, 2, 14 ], "texture": "#texture1" },
"east": { "uv": [ 14, 2, 15, 14 ], "texture": "#texture1" }
}
},
{
"__comment": "Box2",
"from": [ 11, 1, 12 ],
"to": [ 13, 15, 14 ],
"rotation": { "origin": [ 5, 0, 12 ], "axis": "x", "angle": -22.5 },
"faces": {
"down": { "uv": [ 3, 1, 5, 2 ], "texture": "#texture1", "rotation": 180 },
"up": { "uv": [ 3, 14, 5, 15 ], "texture": "#texture1", "rotation": 180 },
"north": { "uv": [ 3, 1, 5, 15 ], "texture": "#texture1" },
"south": { "uv": [ 11, 1, 13, 15 ], "texture": "#texture2" },
"west": { "uv": [ 1, 1, 2, 15 ], "texture": "#texture1" },
"east": { "uv": [ 14, 1, 15, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Box10",
"from": [ 4, 0.5, 2.5 ],
"to": [ 5, 12.5, 3.5 ],
"rotation": { "origin": [ 4, 0.5, 2.5 ], "axis": "x", "angle": 22.5 },
"faces": {
"down": { "uv": [ 1, 15, 2, 16 ], "texture": "#texture" },
"up": { "uv": [ 1, 0, 2, 1 ], "texture": "#texture" },
"north": { "uv": [ 14, 4, 15, 16 ], "texture": "#texture" },
"south": { "uv": [ 1, 4, 2, 16 ], "texture": "#texture" },
"west": { "uv": [ 0, 4, 1, 16 ], "texture": "#texture" },
"east": { "uv": [ 15, 4, 16, 16 ], "texture": "#texture" }
}
},
{
"__comment": "Box10",
"from": [ 11, 0.5, 2.5 ],
"to": [ 12, 12.5, 3.5 ],
"rotation": { "origin": [ 11, 0.5, 2.5 ], "axis": "x", "angle": 22.5 },
"faces": {
"down": { "uv": [ 1, 15, 2, 16 ], "texture": "#texture" },
"up": { "uv": [ 1, 0, 2, 1 ], "texture": "#texture" },
"north": { "uv": [ 14, 4, 15, 16 ], "texture": "#texture" },
"south": { "uv": [ 1, 4, 2, 16 ], "texture": "#texture" },
"west": { "uv": [ 0, 4, 1, 16 ], "texture": "#texture" },
"east": { "uv": [ 15, 4, 16, 16 ], "texture": "#texture" }
}
}
]
}

View File

@@ -6,7 +6,7 @@
"texture1": "blocks/planks_big_oak",
"texture2": "forgecraft:blocks/stone_slab"
},
"elements": [
"elements": [
{
"__comment": "Box11",
"from": [ 0, 8, 0 ],
@@ -20,90 +20,6 @@
"east": { "uv": [ 8, 6, 16, 8 ], "texture": "#texture2" }
}
},
{
"__comment": "Box12",
"from": [ 0, 10, 0 ],
"to": [ 13.5, 10.5, 8 ],
"faces": {
"up": { "uv": [ 0, 2, 13.5, 10 ], "texture": "#texture1" },
"north": { "uv": [ 2.5, 5.5, 16, 6 ], "texture": "#texture1" },
"south": { "uv": [ 0, 5.5, 13.5, 6 ], "texture": "#texture1" },
"west": { "uv": [ 0, 5.5, 8, 6 ], "texture": "#texture1" },
"east": { "uv": [ 8, 5.5, 16, 6 ], "texture": "#texture1" }
}
},
{
"__comment": "Box17",
"from": [ 0, 11, 0 ],
"to": [ 11.5, 11.5, 3 ],
"faces": {
"up": { "uv": [ 0, 8, 11.5, 11 ], "texture": "#texture1" },
"north": { "uv": [ 4.5, 4.5, 16, 5 ], "texture": "#texture1" },
"south": { "uv": [ 0, 4.5, 11.5, 5 ], "texture": "#texture1" },
"west": { "uv": [ 0, 4.5, 3, 5 ], "texture": "#texture1" },
"east": { "uv": [ 11, 4.5, 14, 5 ], "texture": "#texture1" }
}
},
{
"__comment": "Box17",
"from": [ 0, 11, 4.5 ],
"to": [ 11.5, 11.5, 8 ],
"faces": {
"up": { "uv": [ 0, 12, 11.5, 15.5 ], "texture": "#texture1" },
"north": { "uv": [ 4.5, 4.5, 16, 5 ], "texture": "#texture1" },
"south": { "uv": [ 0, 4.5, 11.5, 5 ], "texture": "#texture1" },
"west": { "uv": [ 4.5, 4.5, 8, 5 ], "texture": "#texture1" },
"east": { "uv": [ 8, 4.5, 11.5, 5 ], "texture": "#texture1" }
}
},
{
"__comment": "Box19",
"from": [ 0, 11, 3 ],
"to": [ 1, 12, 4.5 ],
"faces": {
"up": { "uv": [ 0, 3, 1, 4.5 ], "texture": "#texture1" },
"north": { "uv": [ 15, 4, 16, 5 ], "texture": "#texture1" },
"south": { "uv": [ 0, 4, 1, 5 ], "texture": "#texture1" },
"west": { "uv": [ 3, 4, 4.5, 5 ], "texture": "#texture1" },
"east": { "uv": [ 11.5, 4, 13, 5 ], "texture": "#texture1" }
}
},
{
"__comment": "Box12",
"from": [ 0, 10.5, 0 ],
"to": [ 12.5, 11, 8 ],
"faces": {
"up": { "uv": [ 3.5, 6.5, 16, 14.5 ], "texture": "#texture1" },
"north": { "uv": [ 3.5, 5, 16, 5.5 ], "texture": "#texture1" },
"south": { "uv": [ 0, 5, 12.5, 5.5 ], "texture": "#texture1" },
"west": { "uv": [ 0, 5, 8, 5.5 ], "texture": "#texture1" },
"east": { "uv": [ 8, 5, 16, 5.5 ], "texture": "#texture1" }
}
},
{
"__comment": "Box17",
"from": [ 0, 11.5, 4.5 ],
"to": [ 10.5, 12, 8 ],
"faces": {
"up": { "uv": [ 0, 0, 3.5, 10.5 ], "texture": "#texture1", "rotation": 90 },
"north": { "uv": [ 5.5, 4, 16, 4.5 ], "texture": "#texture1" },
"south": { "uv": [ 0, 4, 10.5, 4.5 ], "texture": "#texture1" },
"west": { "uv": [ 4.5, 4, 8, 4.5 ], "texture": "#texture1" },
"east": { "uv": [ 8, 4, 11.5, 4.5 ], "texture": "#texture1" }
}
},
{
"__comment": "Box17",
"from": [ 0, 11.5, 0 ],
"to": [ 10.5, 12, 3 ],
"faces": {
"up": { "uv": [ 0, 0, 10.5, 3 ], "texture": "#texture1" },
"north": { "uv": [ 5.5, 4, 16, 4.5 ], "texture": "#texture1" },
"south": { "uv": [ 0, 4, 10.5, 4.5 ], "texture": "#texture1" },
"west": { "uv": [ 0, 4, 3, 4.5 ], "texture": "#texture1" },
"east": { "uv": [ 5, 8, 8, 8.5 ], "texture": "#texture1" }
}
},
{
"__comment": "Box17",
"from": [ 0, 0, 0 ],

View File

@@ -0,0 +1,308 @@
{
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
"textures": {
"particle": "blocks/planks_oak",
"texture": "blocks/planks_oak",
"texture1": "blocks/planks_big_oak",
"texture2": "blocks/stone_slab"
},
"elements": [
{
"__comment": "Box11",
"from": [ 0, 8, 0 ],
"to": [ 16, 10, 8 ],
"faces": {
"down": { "uv": [ 0, 8, 16, 16 ], "texture": "#texture2" },
"up": { "uv": [ 0, 0, 16, 8 ], "texture": "#texture2" },
"north": { "uv": [ 0, 6, 16, 8 ], "texture": "#texture2" },
"south": { "uv": [ 0, 6, 16, 8 ], "texture": "#texture2" },
"west": { "uv": [ 0, 6, 8, 8 ], "texture": "#texture2" },
"east": { "uv": [ 8, 6, 16, 8 ], "texture": "#texture2" }
}
},
{
"__comment": "Box17",
"from": [ 0, 0, 0 ],
"to": [ 2, 8, 2 ],
"faces": {
"down": { "uv": [ 0, 14, 2, 16 ], "texture": "#texture" },
"north": { "uv": [ 8, 8, 10, 16 ], "texture": "#texture" },
"south": { "uv": [ 10, 8, 12, 16 ], "texture": "#texture" },
"west": { "uv": [ 12, 8, 14, 16 ], "texture": "#texture" },
"east": { "uv": [ 14, 8, 16, 16 ], "texture": "#texture" }
}
},
{
"__comment": "Box17",
"from": [ 14, 0, 0 ],
"to": [ 16, 8, 2 ],
"faces": {
"down": { "uv": [ 14, 14, 16, 16 ], "texture": "#texture" },
"north": { "uv": [ 0, 8, 2, 16 ], "texture": "#texture" },
"south": { "uv": [ 2.5, 8, 4.5, 16 ], "texture": "#texture" },
"west": { "uv": [ 4, 8, 6, 16 ], "texture": "#texture" },
"east": { "uv": [ 6, 8, 8, 16 ], "texture": "#texture" }
}
},
{
"__comment": "Box17",
"from": [ 0, 0, 6 ],
"to": [ 2, 8, 8 ],
"faces": {
"down": { "uv": [ 0, 8, 2, 10 ], "texture": "#texture" },
"north": { "uv": [ 14, 0, 16, 8 ], "texture": "#texture" },
"south": { "uv": [ 12, 0, 14, 8 ], "texture": "#texture" },
"west": { "uv": [ 10, 0, 12, 8 ], "texture": "#texture" },
"east": { "uv": [ 8, 0, 10, 8 ], "texture": "#texture" }
}
},
{
"__comment": "Box17",
"from": [ 14, 0, 6 ],
"to": [ 16, 8, 8 ],
"faces": {
"down": { "uv": [ 14, 8, 16, 10 ], "texture": "#texture" },
"north": { "uv": [ 0, 0, 2, 8 ], "texture": "#texture" },
"south": { "uv": [ 2, 0, 4, 8 ], "texture": "#texture" },
"west": { "uv": [ 4, 0, 6, 8 ], "texture": "#texture" },
"east": { "uv": [ 6, 0, 8, 8 ], "texture": "#texture" }
}
},
{
"__comment": "Box21",
"from": [ 2, 1, 0.5 ],
"to": [ 14, 2, 1.5 ],
"faces": {
"down": { "uv": [ 3, 9, 15, 10 ], "texture": "#texture1" },
"up": { "uv": [ 2, 6, 14, 7 ], "texture": "#texture1" },
"north": { "uv": [ 2, 14, 14, 15 ], "texture": "#texture1" },
"south": { "uv": [ 2, 14, 14, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Box21",
"from": [ 2, 1, 6.5 ],
"to": [ 14, 2, 7.5 ],
"faces": {
"down": { "uv": [ 2, 8.5, 14, 9.5 ], "texture": "#texture1" },
"up": { "uv": [ 2, 6, 14, 7 ], "texture": "#texture1" },
"north": { "uv": [ 2, 14, 14, 15 ], "texture": "#texture1" },
"south": { "uv": [ 2, 14, 14, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Box23",
"from": [ 0.5, 1, 2 ],
"to": [ 1.5, 2, 6 ],
"faces": {
"down": { "uv": [ 0.5, 10, 1.5, 14 ], "texture": "#texture1" },
"up": { "uv": [ 0, 0, 1, 4 ], "texture": "#texture1" },
"west": { "uv": [ 2, 14, 6, 15 ], "texture": "#texture1" },
"east": { "uv": [ 10, 14, 14, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Box23",
"from": [ 14.5, 1, 2 ],
"to": [ 15.5, 2, 6 ],
"faces": {
"down": { "uv": [ 14.5, 10, 15.5, 14 ], "texture": "#texture1" },
"up": { "uv": [ 14.5, 6, 15.5, 10 ], "texture": "#texture1" },
"west": { "uv": [ 2, 14, 6, 15 ], "texture": "#texture1" },
"east": { "uv": [ 10, 14, 14, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Box23",
"from": [ 2.5, 1, 1.5 ],
"to": [ 3.5, 2, 6.5 ],
"faces": {
"down": { "uv": [ 2.5, 9.5, 3.5, 14.5 ], "texture": "#texture1" },
"up": { "uv": [ 0, 4, 1, 9 ], "texture": "#texture1" },
"west": { "uv": [ 1.5, 14, 6.5, 15 ], "texture": "#texture1" },
"east": { "uv": [ 9.5, 14, 14.5, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Box23",
"from": [ 4.5, 1, 1.5 ],
"to": [ 5.5, 2, 6.5 ],
"faces": {
"down": { "uv": [ 4.5, 9.5, 5.5, 14.5 ], "texture": "#texture1" },
"up": { "uv": [ 0, 9, 1, 14 ], "texture": "#texture1" },
"west": { "uv": [ 1.5, 14, 6.5, 15 ], "texture": "#texture1" },
"east": { "uv": [ 9.5, 14, 14.5, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Box23",
"from": [ 6.5, 1, 1.5 ],
"to": [ 7.5, 2, 6.5 ],
"faces": {
"down": { "uv": [ 6.5, 9.5, 7.5, 14.5 ], "texture": "#texture1" },
"up": { "uv": [ 1, 0, 2, 5 ], "texture": "#texture1" },
"west": { "uv": [ 1.5, 14, 6.5, 15 ], "texture": "#texture1" },
"east": { "uv": [ 9.5, 14, 14.5, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Box23",
"from": [ 8.5, 1, 1.5 ],
"to": [ 9.5, 2, 6.5 ],
"faces": {
"down": { "uv": [ 8.5, 9.5, 9.5, 14.5 ], "texture": "#texture1" },
"up": { "uv": [ 1, 5, 2, 10 ], "texture": "#texture1" },
"west": { "uv": [ 1.5, 14, 6.5, 15 ], "texture": "#texture1" },
"east": { "uv": [ 9.5, 14, 14.5, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Box23",
"from": [ 10.5, 1, 1.5 ],
"to": [ 11.5, 2, 6.5 ],
"faces": {
"down": { "uv": [ 10.5, 9.5, 11.5, 14.5 ], "texture": "#texture1" },
"up": { "uv": [ 1, 10, 2, 15 ], "texture": "#texture1" },
"west": { "uv": [ 1.5, 14, 6.5, 15 ], "texture": "#texture1" },
"east": { "uv": [ 9.5, 14, 14.5, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Box23",
"from": [ 12.5, 1, 1.5 ],
"to": [ 13.5, 2, 6.5 ],
"faces": {
"down": { "uv": [ 12.5, 9.5, 13.5, 14.5 ], "texture": "#texture1" },
"up": { "uv": [ 2, 0, 3, 5 ], "texture": "#texture1" },
"west": { "uv": [ 1.5, 14, 6.5, 15 ], "texture": "#texture1" },
"east": { "uv": [ 9.5, 14, 14.5, 15 ], "texture": "#texture1" }
}
},
{
"__comment": "Box23",
"from": [ 0.5, 3.5, 2 ],
"to": [ 1.5, 4.5, 6 ],
"faces": {
"down": { "uv": [ 0.5, 10, 1.5, 14 ], "texture": "#texture1" },
"up": { "uv": [ 3, 2, 4, 6 ], "texture": "#texture1" },
"west": { "uv": [ 2, 11, 6, 12 ], "texture": "#texture1" },
"east": { "uv": [ 10, 11, 14, 12 ], "texture": "#texture1" }
}
},
{
"__comment": "Box23",
"from": [ 0.5, 6, 2 ],
"to": [ 1.5, 7, 6 ],
"faces": {
"down": { "uv": [ 0.5, 10, 1.5, 14 ], "texture": "#texture1" },
"up": { "uv": [ 7, 0, 8, 4 ], "texture": "#texture1" },
"west": { "uv": [ 2, 10, 6, 11 ], "texture": "#texture1" },
"east": { "uv": [ 10, 10, 14, 11 ], "texture": "#texture1" }
}
},
{
"__comment": "Box23",
"from": [ 14.5, 3.5, 2 ],
"to": [ 15.5, 4.5, 6 ],
"faces": {
"down": { "uv": [ 0.5, 10, 1.5, 14 ], "texture": "#texture1" },
"up": { "uv": [ 7, 0, 8, 4 ], "texture": "#texture1" },
"west": { "uv": [ 2, 10, 6, 11 ], "texture": "#texture1" },
"east": { "uv": [ 10, 10, 14, 11 ], "texture": "#texture1" }
}
},
{
"__comment": "Box23",
"from": [ 14.5, 6, 2 ],
"to": [ 15.5, 7, 6 ],
"faces": {
"down": { "uv": [ 0.5, 10, 1.5, 14 ], "texture": "#texture1" },
"up": { "uv": [ 3, 2, 4, 6 ], "texture": "#texture1" },
"west": { "uv": [ 2, 11, 6, 12 ], "texture": "#texture1" },
"east": { "uv": [ 10, 11, 14, 12 ], "texture": "#texture1" }
}
},
{
"__comment": "Box21",
"from": [ 2, 3.5, 0.5 ],
"to": [ 14, 4.5, 1.5 ],
"faces": {
"down": { "uv": [ 2, 14.5, 14, 15.5 ], "texture": "#texture1" },
"up": { "uv": [ 2, 1, 14, 2 ], "texture": "#texture1" },
"north": { "uv": [ 2, 12, 14, 13 ], "texture": "#texture1" },
"south": { "uv": [ 2, 10, 14, 11 ], "texture": "#texture1" }
}
},
{
"__comment": "Box21",
"from": [ 2, 6, 0.5 ],
"to": [ 14, 7, 1.5 ],
"faces": {
"down": { "uv": [ 2, 14.5, 14, 15.5 ], "texture": "#texture1" },
"up": { "uv": [ 3, 5, 15, 6 ], "texture": "#texture1" },
"north": { "uv": [ 2, 9, 14, 10 ], "texture": "#texture1" },
"south": { "uv": [ 2, 9, 14, 10 ], "texture": "#texture1" }
}
},
{
"__comment": "Box37",
"from": [ 0.5, 8.5, 8 ],
"to": [ 1, 9.5, 9 ],
"faces": {
"down": { "uv": [ 0.5, 7, 1, 8 ], "texture": "#texture1" },
"up": { "uv": [ 0.5, 8, 1, 9 ], "texture": "#texture1" },
"north": { "uv": [ 15, 6.5, 15.5, 7.5 ], "texture": "#texture1" },
"south": { "uv": [ 0.5, 6.5, 1, 7.5 ], "texture": "#texture1" },
"west": { "uv": [ 8, 6.5, 9, 7.5 ], "texture": "#texture1" },
"east": { "uv": [ 7, 6.5, 8, 7.5 ], "texture": "#texture1" }
}
},
{
"__comment": "Box37",
"from": [ 2, 8.5, 8 ],
"to": [ 2.5, 9.5, 9 ],
"faces": {
"down": { "uv": [ 2, 7, 2.5, 8 ], "texture": "#texture1" },
"up": { "uv": [ 2, 8, 2.5, 9 ], "texture": "#texture1" },
"north": { "uv": [ 13.5, 6.5, 14, 7.5 ], "texture": "#texture1" },
"south": { "uv": [ 2, 6.5, 2.5, 7.5 ], "texture": "#texture1" },
"west": { "uv": [ 8, 6.5, 9, 7.5 ], "texture": "#texture1" },
"east": { "uv": [ 7, 6.5, 8, 7.5 ], "texture": "#texture1" }
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [ 75, 45, 0 ],
"translation": [ 2.0869, 1.1086, 0.6956 ],
"scale": [ 0.375, 0.375, 0.375 ]
},
"thirdperson_lefthand": {
"rotation": [ 75, 45, 0 ],
"translation": [ 2.0869, 1.1086, 0.6956 ],
"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, 45, 0 ],
"translation": [ 1.3916, 0, 0 ],
"scale": [ 0.625, 0.625, 0.625 ]
},
"ground": {
"translation": [ 0, 3, 0 ],
"scale": [ 0.25, 0.25, 0.25 ]
},
"fixed": {
"rotation": [ 0, 180, 0 ],
"translation": [ 0, 0, -2.781 ],
"scale": [ 0.5, 0.5, 0.5 ]
}
}
}

View File

@@ -0,0 +1,8 @@
{
"forge_marker":1,
"textures": {
"particle": "forgecraft:items/clean_iron/0",
"texture": "forgecraft:items/clean_iron/0"
},
"parent": "forgecraft:item/rawgladius"
}

View File

@@ -0,0 +1,8 @@
{
"forge_marker":1,
"textures": {
"particle": "forgecraft:items/copper/0",
"texture": "forgecraft:items/copper/0"
},
"parent": "forgecraft:item/rawgladius"
}

View File

@@ -0,0 +1,8 @@
{
"forge_marker":1,
"textures": {
"particle": "forgecraft:items/steel/0",
"texture": "forgecraft:items/steel/0"
},
"parent": "forgecraft:item/rawgladius"
}

View File

@@ -0,0 +1,8 @@
{
"forge_marker":1,
"textures": {
"particle": "forgecraft:items/wootz/0",
"texture": "forgecraft:items/wootz/0"
},
"parent": "forgecraft:item/rawgladius"
}

View File

@@ -0,0 +1,8 @@
{
"forge_marker":1,
"textures": {
"particle": "forgecraft:items/iron/0",
"texture": "forgecraft:items/iron/0"
},
"parent": "forgecraft:item/rawgladius"
}