stuck on getting the axehead to render in game
This commit is contained in:
19
1.11/To-Dos
19
1.11/To-Dos
@@ -1,17 +1,11 @@
|
|||||||
To-Dos
|
To-Dos
|
||||||
|
|
||||||
*** Priority ***
|
*** Priority ***
|
||||||
- [ ] Create a Harvest Drops event
|
- [ ] Create the hoe Item
|
||||||
|
- [ ] Create the axe Item
|
||||||
- [ ] Create the axe Model
|
- [ ] Create the shovel Item
|
||||||
- [ ] Create the shovel model
|
|
||||||
- [ ] Create the hoe model
|
|
||||||
- [ ] Create the Sword Model
|
- [ ] Create the Sword Model
|
||||||
|
|
||||||
- [ ] Create Crafting Block for Tools and Weapons
|
|
||||||
- [ ] Create PickAxe Tool which ingests NBT
|
|
||||||
- [ ] Copy Heat Handler for Forge to Bloomery
|
|
||||||
|
|
||||||
*** Backlog ***
|
*** Backlog ***
|
||||||
- [ ] Create a method which adds the types of NBT upgrades and creates a unique float instead of using magic numbers
|
- [ ] Create a method which adds the types of NBT upgrades and creates a unique float instead of using magic numbers
|
||||||
- [ ] Add forgehammer to oreDict
|
- [ ] Add forgehammer to oreDict
|
||||||
@@ -27,10 +21,15 @@ To-Dos
|
|||||||
- [ ] Bellows Sounds
|
- [ ] Bellows Sounds
|
||||||
- [ ] Bloomery Sound?
|
- [ ] Bloomery Sound?
|
||||||
- [ ] Forge Sound?
|
- [ ] Forge Sound?
|
||||||
- [ ] Fix Flame creator from Forge and Bloomery
|
|
||||||
|
|
||||||
*** Completed ***
|
*** Completed ***
|
||||||
|
|
||||||
|
- [x] Create the axe Model
|
||||||
|
- [x] Create the shovel model
|
||||||
|
- [x] Create the hoe model
|
||||||
|
- [x] Fix Flame creator from Forge and Bloomery
|
||||||
|
- [x] Copy Heat Handler for Forge to Bloomery
|
||||||
- [x] Create getter and setter for itemNBT
|
- [x] Create getter and setter for itemNBT
|
||||||
- [x] Create all the textures for all the NBT types
|
- [x] Create all the textures for all the NBT types
|
||||||
- [x] Check for if the pickaxe head is hot before removing from forge
|
- [x] Check for if the pickaxe head is hot before removing from forge
|
||||||
|
|||||||
@@ -8,69 +8,56 @@ import net.minecraft.entity.item.EntityItem;
|
|||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.init.Blocks;
|
import net.minecraft.init.Blocks;
|
||||||
import net.minecraft.init.Items;
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.inventory.IInventory;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import net.minecraftforge.common.IShearable;
|
import net.minecraftforge.common.IShearable;
|
||||||
import net.minecraftforge.event.world.BlockEvent;
|
import net.minecraftforge.event.world.BlockEvent;
|
||||||
|
import net.minecraftforge.event.world.WorldEvent;
|
||||||
import net.minecraftforge.fml.common.eventhandler.EventPriority;
|
import net.minecraftforge.fml.common.eventhandler.EventPriority;
|
||||||
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
|
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
|
||||||
|
import net.minecraftforge.fml.common.gameevent.PlayerEvent;
|
||||||
import nmd.primal.core.api.PrimalBlocks;
|
import nmd.primal.core.api.PrimalBlocks;
|
||||||
import nmd.primal.core.api.PrimalItems;
|
import nmd.primal.core.api.PrimalItems;
|
||||||
import nmd.primal.core.api.PrimalRegistries;
|
import nmd.primal.core.api.PrimalRegistries;
|
||||||
import nmd.primal.core.common.init.ModConfig;
|
import nmd.primal.core.common.init.ModConfig;
|
||||||
|
import nmd.primal.forgecraft.init.ModItems;
|
||||||
|
import nmd.primal.forgecraft.items.toolparts.ToolPart;
|
||||||
import nmd.primal.forgecraft.items.tools.CustomPickaxe;
|
import nmd.primal.forgecraft.items.tools.CustomPickaxe;
|
||||||
|
|
||||||
|
import javax.annotation.Nonnull;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by mminaie on 3/15/17.
|
* Created by mminaie on 3/15/17.
|
||||||
*/
|
*/
|
||||||
public class CommonEvents {
|
public class CommonEvents implements ToolNBT{
|
||||||
|
|
||||||
|
|
||||||
/*******************************************************************************
|
|
||||||
* Block Harvesting
|
|
||||||
* leaf stick drops, plant fiber drops, extra flint and rock drops, stone harvesting
|
|
||||||
*/
|
|
||||||
@SubscribeEvent(priority= EventPriority.LOWEST, receiveCanceled=true)
|
@SubscribeEvent(priority= EventPriority.LOWEST, receiveCanceled=true)
|
||||||
public void onBlockHarvest(BlockEvent.HarvestDropsEvent event)
|
public void onItemCrafted(PlayerEvent.ItemCraftedEvent event) {
|
||||||
{
|
|
||||||
World world = event.getWorld();
|
|
||||||
EntityPlayer player = event.getHarvester();
|
|
||||||
|
|
||||||
if (!world.isRemote && player!=null) //&& !event.isSilkTouching()
|
if(!event.player.getEntityWorld().isRemote) {
|
||||||
{
|
|
||||||
BlockPos pos = event.getPos();
|
|
||||||
IBlockState state = event.getState();
|
|
||||||
Block block = state.getBlock();
|
|
||||||
Material material = state.getBlock().getMaterial(state);
|
|
||||||
|
|
||||||
ItemStack event_stack = new ItemStack(block, 1, block.getMetaFromState(state));
|
if (event.crafting.getItem() == ModItems.ironpickaxe) {
|
||||||
ItemStack held_stack = player.getHeldItemMainhand();
|
NBTTagCompound tempTag = new NBTTagCompound();
|
||||||
|
for (int i = 0; i < event.craftMatrix.getSizeInventory(); i++) { // Checks all the slots
|
||||||
//System.out.println(event.getDrops());
|
|
||||||
System.out.println(event.getFortuneLevel());
|
|
||||||
|
|
||||||
if(held_stack.getItem() instanceof CustomPickaxe){
|
|
||||||
if(((CustomPickaxe) held_stack.getItem()).getLapisLevel(held_stack) > 0){
|
|
||||||
//held_stack.addEnchantment(Enchantment.getEnchantmentByID(35), ((CustomPickaxe) held_stack.getItem()).getLapisLevel(held_stack));
|
|
||||||
}
|
|
||||||
if( ((CustomPickaxe) held_stack.getItem()).getEmerald(held_stack) == true) {
|
|
||||||
|
|
||||||
|
if (event.craftMatrix.getStackInSlot(i) != null) { // If there is an item
|
||||||
|
ItemStack a = event.craftMatrix.getStackInSlot(i); // Gets the item
|
||||||
|
if (a.getItem() instanceof ToolPart) {
|
||||||
|
tempTag = a.getSubCompound("tags").copy();
|
||||||
|
event.crafting.getTagCompound().setTag("tags", tempTag);
|
||||||
|
event.crafting.getItem().updateItemStackNBT(event.crafting.getTagCompound());
|
||||||
|
if( getDiamondLevel(event.crafting) > 0 ){
|
||||||
|
event.crafting.getItem().setHarvestLevel("Iron", 3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (!event.isSilkTouching()) {
|
|
||||||
// ***************************************************************************** //
|
|
||||||
// Extra Rock/Flint Drop
|
|
||||||
// ***************************************************************************** //
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import net.minecraft.init.Items;
|
|||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
import net.minecraft.item.ItemBlock;
|
import net.minecraft.item.ItemBlock;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
import net.minecraft.util.math.BlockPos;
|
import net.minecraft.util.math.BlockPos;
|
||||||
import net.minecraft.world.World;
|
import net.minecraft.world.World;
|
||||||
import net.minecraftforge.common.util.FakePlayer;
|
import net.minecraftforge.common.util.FakePlayer;
|
||||||
@@ -65,4 +66,7 @@ public class CommonUtils {
|
|||||||
world.spawnEntity(entityitem);
|
world.spawnEntity(entityitem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ public class ForgeCraft
|
|||||||
ModTiles.registerTileEntities();
|
ModTiles.registerTileEntities();
|
||||||
|
|
||||||
ModEvents.registerCommonEvents();
|
ModEvents.registerCommonEvents();
|
||||||
ModEvents.registerClientEvents();
|
//ModEvents.registerClientEvents();
|
||||||
// ModItems.registerRenders();
|
// ModItems.registerRenders();
|
||||||
proxy.preInit();
|
proxy.preInit();
|
||||||
}
|
}
|
||||||
|
|||||||
59
1.11/src/main/java/nmd/primal/forgecraft/ToolNBT.java
Normal file
59
1.11/src/main/java/nmd/primal/forgecraft/ToolNBT.java
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
package nmd.primal.forgecraft;
|
||||||
|
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Created by mminaie on 3/17/17.
|
||||||
|
*/
|
||||||
|
public interface ToolNBT {
|
||||||
|
|
||||||
|
default boolean getHot(ItemStack stack){
|
||||||
|
return stack.getSubCompound("tags").getBoolean("hot");
|
||||||
|
}
|
||||||
|
default void setHot(ItemStack stack, Boolean bool){
|
||||||
|
stack.getSubCompound("tags").setBoolean("hot", bool);
|
||||||
|
}
|
||||||
|
|
||||||
|
default int getModifiers(ItemStack stack) {
|
||||||
|
return stack.getSubCompound("tags").getInteger("modifiers");
|
||||||
|
}
|
||||||
|
default void setModifiers(ItemStack stack, Integer mods){
|
||||||
|
stack.getSubCompound("tags").setInteger("modifiers", mods);
|
||||||
|
}
|
||||||
|
|
||||||
|
default boolean getEmerald(ItemStack stack){
|
||||||
|
return stack.getSubCompound("tags").getBoolean("emerald");
|
||||||
|
}
|
||||||
|
default void setEmerald(ItemStack stack, Boolean bool){
|
||||||
|
stack.getSubCompound("tags").setBoolean("emerald", bool);
|
||||||
|
}
|
||||||
|
|
||||||
|
default int getDiamondLevel(ItemStack stack) {
|
||||||
|
return stack.getSubCompound("tags").getInteger("diamond");
|
||||||
|
}
|
||||||
|
|
||||||
|
default void setDiamondLevel(ItemStack stack, Integer level){
|
||||||
|
stack.getSubCompound("tags").setInteger("diamond", level);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
default int getRedstoneLevel(ItemStack stack) {
|
||||||
|
return stack.getSubCompound("tags").getInteger("redstone");
|
||||||
|
}
|
||||||
|
default void setRedstoneLevel(ItemStack stack, Integer level){
|
||||||
|
stack.getSubCompound("tags").setInteger("redstone", level);
|
||||||
|
}
|
||||||
|
|
||||||
|
default int getLapisLevel(ItemStack stack) {
|
||||||
|
return stack.getSubCompound("tags").getInteger("lapis");
|
||||||
|
}
|
||||||
|
default void setLapisLevel(ItemStack stack, Integer level){
|
||||||
|
stack.getSubCompound("tags").setInteger("lapis", level);
|
||||||
|
}
|
||||||
|
|
||||||
|
default NBTTagCompound getTags(ItemStack stack){
|
||||||
|
return stack.getSubCompound("tags");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -370,34 +370,33 @@ public class Bloomery extends CustomContainerFacing implements ITileEntityProvid
|
|||||||
@SuppressWarnings("incomplete-switch")
|
@SuppressWarnings("incomplete-switch")
|
||||||
public void randomDisplayTick(IBlockState state, World world, BlockPos pos, Random rand)
|
public void randomDisplayTick(IBlockState state, World world, BlockPos pos, Random rand)
|
||||||
{
|
{
|
||||||
if(state.getValue(Bloomery.ACTIVE) == true)
|
if(state.getValue(Forge.ACTIVE) == true)
|
||||||
{
|
{
|
||||||
double d0 = (double)pos.getX() + 0.5D;
|
double d0 = (double)pos.getX() + 0.5D;
|
||||||
double d1 = (double)pos.getY() + 0.2D;
|
double d1 = (double)pos.getY() + 0.96D;
|
||||||
double d2 = (double)pos.getZ() + 0.5D;
|
double d2 = (double)pos.getZ() + 0.5D;
|
||||||
double d3 = 0.52D;
|
double d3 = 0.52D;
|
||||||
//double d4 = rand.nextDouble() * 0.6D - 0.3D;
|
double d4 = rand.nextDouble() * 0.6D - 0.3D;
|
||||||
double d4 = ThreadLocalRandom.current().nextDouble(0.15, 0.35);
|
|
||||||
|
|
||||||
if (rand.nextDouble() < 0.1D)
|
if (rand.nextDouble() < 0.1D)
|
||||||
{
|
{
|
||||||
world.playSound((double)pos.getX() + 0.5D, (double)pos.getY(), (double)pos.getZ() + 0.5D, SoundEvents.BLOCK_FURNACE_FIRE_CRACKLE, SoundCategory.BLOCKS, 1.0F, 1.0F, false);
|
world.playSound((double)pos.getX() + 0.5D, (double)pos.getY(), (double)pos.getZ() + 0.5D, SoundEvents.BLOCK_FURNACE_FIRE_CRACKLE, SoundCategory.BLOCKS, 1.0F, 1.0F, false);
|
||||||
}
|
}
|
||||||
if(rand.nextInt(4) == 1){
|
if(rand.nextInt(4) == 1){
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2-d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
}
|
}
|
||||||
if(rand.nextInt(4) == 2){
|
if(rand.nextInt(4) == 2){
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2-d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2-d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2+d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
}
|
}
|
||||||
if(rand.nextInt(4) == 3){
|
if(rand.nextInt(4) == 3){
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2+d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2+d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2-d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
}
|
}
|
||||||
if(rand.nextInt(4) == 4){
|
if(rand.nextInt(4) == 4){
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2-d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2-d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -492,20 +492,20 @@ public class Forge extends CustomContainerFacing implements ITileEntityProvider/
|
|||||||
world.playSound((double)pos.getX() + 0.5D, (double)pos.getY(), (double)pos.getZ() + 0.5D, SoundEvents.BLOCK_FURNACE_FIRE_CRACKLE, SoundCategory.BLOCKS, 1.0F, 1.0F, false);
|
world.playSound((double)pos.getX() + 0.5D, (double)pos.getY(), (double)pos.getZ() + 0.5D, SoundEvents.BLOCK_FURNACE_FIRE_CRACKLE, SoundCategory.BLOCKS, 1.0F, 1.0F, false);
|
||||||
}
|
}
|
||||||
if(rand.nextInt(4) == 1){
|
if(rand.nextInt(4) == 1){
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2-d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
}
|
}
|
||||||
if(rand.nextInt(4) == 2){
|
if(rand.nextInt(4) == 2){
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2-d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2-d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2+d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
}
|
}
|
||||||
if(rand.nextInt(4) == 3){
|
if(rand.nextInt(4) == 3){
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2+d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2+d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2-d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
}
|
}
|
||||||
if(rand.nextInt(4) == 4){
|
if(rand.nextInt(4) == 4){
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2-d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2-d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, 0.001D, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -456,19 +456,19 @@ public class PistonBellows extends CustomContainerFacing {
|
|||||||
double d2 = (double)pos.getZ() + 0.5D;
|
double d2 = (double)pos.getZ() + 0.5D;
|
||||||
double d3 = 0.52D;
|
double d3 = 0.52D;
|
||||||
double d4 = ThreadLocalRandom.current().nextDouble(0.175, 0.35);
|
double d4 = ThreadLocalRandom.current().nextDouble(0.175, 0.35);
|
||||||
double ySpeed = 0.1D;
|
double ySpeed = (double) (((rand.nextInt(1) + 1)/10)/2);
|
||||||
|
|
||||||
if(rand.nextInt(3) == 0){
|
if(rand.nextInt(3) == 0){
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2-d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
||||||
}
|
}
|
||||||
if(rand.nextInt(3) == 1){
|
if(rand.nextInt(3) == 1){
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2-d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2-d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2+d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
||||||
}
|
}
|
||||||
if(rand.nextInt(3) == 2){
|
if(rand.nextInt(3) == 2){
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2+d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2+d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2-d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
||||||
}
|
}
|
||||||
if(rand.nextInt(3) == 3){
|
if(rand.nextInt(3) == 3){
|
||||||
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2-d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2-d4, 0.0D, ySpeed, 0.0D, new int[0]);
|
||||||
@@ -478,3 +478,23 @@ public class PistonBellows extends CustomContainerFacing {
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
if(rand.nextInt(4) == 1){
|
||||||
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2-d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
|
}
|
||||||
|
if(rand.nextInt(4) == 2){
|
||||||
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2-d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2+d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
|
}
|
||||||
|
if(rand.nextInt(4) == 3){
|
||||||
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2+d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2-d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
|
}
|
||||||
|
if(rand.nextInt(4) == 4){
|
||||||
|
world.spawnParticle(EnumParticleTypes.FLAME, d0-d4, d1, d2-d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
|
world.spawnParticle(EnumParticleTypes.FLAME, d0+d4, d1, d2+d4, 0.0D, (double) (rand.nextInt(2) + 1)/1000, 0.0D, new int[0]);
|
||||||
|
}
|
||||||
|
*/
|
||||||
@@ -91,7 +91,7 @@ public class ModBlocks {
|
|||||||
if(!world.isRemote){
|
if(!world.isRemote){
|
||||||
Item pItem = player.getHeldItem(hand).getItem();
|
Item pItem = player.getHeldItem(hand).getItem();
|
||||||
BlockPos belowPos = new BlockPos(pos.getX(), pos.getY() - 1, pos.getZ());
|
BlockPos belowPos = new BlockPos(pos.getX(), pos.getY() - 1, pos.getZ());
|
||||||
|
//System.out.println("Activating");
|
||||||
if (pItem.equals(PrimalItems.STONE_GALLAGHER) && world.getBlockState(belowPos).getBlock().equals(Blocks.STONE)) {
|
if (pItem.equals(PrimalItems.STONE_GALLAGHER) && world.getBlockState(belowPos).getBlock().equals(Blocks.STONE)) {
|
||||||
player.swingArm(hand);
|
player.swingArm(hand);
|
||||||
world.setBlockState(pos, Blocks.AIR.getDefaultState(), 2);
|
world.setBlockState(pos, Blocks.AIR.getDefaultState(), 2);
|
||||||
|
|||||||
@@ -70,7 +70,9 @@ public class ModCrafting {
|
|||||||
|
|
||||||
//Iron Ore speed +1
|
//Iron Ore speed +1
|
||||||
|
|
||||||
|
/***Pickaxe Crafting***/
|
||||||
|
GameRegistry.addShapedRecipe(new ItemStack(ModItems.ironpickaxe, 1),
|
||||||
|
" X ", " Y ", 'X', ModItems.pickaxehead, 'Y', Items.STICK);
|
||||||
|
|
||||||
/***Bloomery Crafting***/
|
/***Bloomery Crafting***/
|
||||||
|
|
||||||
@@ -190,6 +192,7 @@ public class ModCrafting {
|
|||||||
String lapis = Items.DYE.getRegistryName().toString();
|
String lapis = Items.DYE.getRegistryName().toString();
|
||||||
|
|
||||||
String pickaxehead = ModItems.pickaxehead.getRegistryName().toString();
|
String pickaxehead = ModItems.pickaxehead.getRegistryName().toString();
|
||||||
|
String ironaxehead = ModItems.ironaxehead.getRegistryName().toString();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Empty = 0
|
Empty = 0
|
||||||
@@ -197,7 +200,7 @@ public class ModCrafting {
|
|||||||
diamond = 2
|
diamond = 2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//Makes a ForgeHammer
|
/*** ForgeHammer ***/
|
||||||
AnvilCrafting.addRecipe(
|
AnvilCrafting.addRecipe(
|
||||||
new String [] {
|
new String [] {
|
||||||
empty,hotChunk,hotChunk,hotChunk,empty,
|
empty,hotChunk,hotChunk,hotChunk,empty,
|
||||||
@@ -209,7 +212,7 @@ public class ModCrafting {
|
|||||||
"null"
|
"null"
|
||||||
);
|
);
|
||||||
|
|
||||||
//Makes flaked diamond
|
/*** Flaked diamond ***/
|
||||||
AnvilCrafting.addRecipe(
|
AnvilCrafting.addRecipe(
|
||||||
new String[] {
|
new String[] {
|
||||||
empty,empty,empty,empty,empty,
|
empty,empty,empty,empty,empty,
|
||||||
@@ -221,7 +224,7 @@ public class ModCrafting {
|
|||||||
"null"
|
"null"
|
||||||
);
|
);
|
||||||
|
|
||||||
//Makes flaked emerald
|
/*** Flaked emerald ***/
|
||||||
AnvilCrafting.addRecipe(
|
AnvilCrafting.addRecipe(
|
||||||
new String[] {
|
new String[] {
|
||||||
empty,empty,empty,empty,empty,
|
empty,empty,empty,empty,empty,
|
||||||
@@ -233,7 +236,7 @@ public class ModCrafting {
|
|||||||
"null"
|
"null"
|
||||||
);
|
);
|
||||||
|
|
||||||
//Makes a Pickaxe Head
|
/***Pickaxe Head***/
|
||||||
AnvilCrafting.addRecipe(
|
AnvilCrafting.addRecipe(
|
||||||
new String[] {
|
new String[] {
|
||||||
empty,empty,empty,empty,empty,
|
empty,empty,empty,empty,empty,
|
||||||
@@ -245,7 +248,7 @@ public class ModCrafting {
|
|||||||
"null"
|
"null"
|
||||||
);
|
);
|
||||||
|
|
||||||
//Makes a emerald Upgrade to Pickaxe Head
|
/*** Emerald Upgrade to Pickaxe Head ***/
|
||||||
AnvilCrafting.addRecipe(
|
AnvilCrafting.addRecipe(
|
||||||
new String[] {
|
new String[] {
|
||||||
empty,empty,empty,empty,empty,
|
empty,empty,empty,empty,empty,
|
||||||
@@ -257,7 +260,7 @@ public class ModCrafting {
|
|||||||
"emerald"
|
"emerald"
|
||||||
);
|
);
|
||||||
|
|
||||||
//Makes a diamond Upgrade to Pickaxe Head
|
/*** Diamond Upgrade to Pickaxe Head ***/
|
||||||
AnvilCrafting.addRecipe(
|
AnvilCrafting.addRecipe(
|
||||||
new String[] {
|
new String[] {
|
||||||
empty,empty,empty,empty,empty,
|
empty,empty,empty,empty,empty,
|
||||||
@@ -269,7 +272,7 @@ public class ModCrafting {
|
|||||||
"diamond"
|
"diamond"
|
||||||
);
|
);
|
||||||
|
|
||||||
//Makes a Redstone Upgrade to Pickaxe Head
|
/*** Redstone Upgrade to Pickaxe Head ***/
|
||||||
AnvilCrafting.addRecipe(
|
AnvilCrafting.addRecipe(
|
||||||
new String[] {
|
new String[] {
|
||||||
empty,empty,empty,empty,empty,
|
empty,empty,empty,empty,empty,
|
||||||
@@ -281,7 +284,7 @@ public class ModCrafting {
|
|||||||
"redstone"
|
"redstone"
|
||||||
);
|
);
|
||||||
|
|
||||||
//Makes a lapis Upgrade to Pickaxe Head
|
/*** Lapis Upgrade to Pickaxe Head ***/
|
||||||
AnvilCrafting.addRecipe(
|
AnvilCrafting.addRecipe(
|
||||||
new String[] {
|
new String[] {
|
||||||
empty,empty,empty,empty,empty,
|
empty,empty,empty,empty,empty,
|
||||||
@@ -293,5 +296,65 @@ public class ModCrafting {
|
|||||||
"lapis"
|
"lapis"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/*** Axe Head ***/
|
||||||
|
AnvilCrafting.addRecipe(
|
||||||
|
new String[] {
|
||||||
|
empty,hotChunk,hotChunk,empty,empty,
|
||||||
|
empty,hotChunk,hotChunk,hotChunk,empty,
|
||||||
|
empty,hotChunk,hotChunk,hotChunk,empty,
|
||||||
|
empty,hotChunk,empty,empty,empty,
|
||||||
|
empty,empty,empty,empty,empty },
|
||||||
|
new ItemStack(ModItems.ironaxehead, 1),
|
||||||
|
"null"
|
||||||
|
);
|
||||||
|
|
||||||
|
/*** Emerald Upgrade to Axe Head ***/
|
||||||
|
AnvilCrafting.addRecipe(
|
||||||
|
new String[] {
|
||||||
|
empty,empty,empty,empty,empty,
|
||||||
|
empty,empty,emeraldShard,empty,empty,
|
||||||
|
empty,empty,ironaxehead,empty,empty,
|
||||||
|
empty,empty,empty,empty,empty,
|
||||||
|
empty,empty,empty,empty,empty },
|
||||||
|
new ItemStack(ModItems.ironaxehead, 1),
|
||||||
|
"emerald"
|
||||||
|
);
|
||||||
|
|
||||||
|
/*** Diamond Upgrade to Axe Head ***/
|
||||||
|
AnvilCrafting.addRecipe(
|
||||||
|
new String[] {
|
||||||
|
empty,empty,empty,empty,empty,
|
||||||
|
empty,empty,diamondShard,empty,empty,
|
||||||
|
empty,empty,ironaxehead,empty,empty,
|
||||||
|
empty,empty,empty,empty,empty,
|
||||||
|
empty,empty,empty,empty,empty },
|
||||||
|
new ItemStack(ModItems.ironaxehead, 1),
|
||||||
|
"diamond"
|
||||||
|
);
|
||||||
|
|
||||||
|
/*** Redstone Upgrade to Axe Head ***/
|
||||||
|
AnvilCrafting.addRecipe(
|
||||||
|
new String[] {
|
||||||
|
empty,empty,empty,empty,empty,
|
||||||
|
empty,empty,redstone,empty,empty,
|
||||||
|
empty,empty,ironaxehead,empty,empty,
|
||||||
|
empty,empty,empty,empty,empty,
|
||||||
|
empty,empty,empty,empty,empty },
|
||||||
|
new ItemStack(ModItems.ironaxehead, 1),
|
||||||
|
"redstone"
|
||||||
|
);
|
||||||
|
|
||||||
|
/*** Lapis Upgrade to Axe Head ***/
|
||||||
|
AnvilCrafting.addRecipe(
|
||||||
|
new String[] {
|
||||||
|
empty,empty,empty,empty,empty,
|
||||||
|
empty,empty,lapis,empty,empty,
|
||||||
|
empty,empty,ironaxehead,empty,empty,
|
||||||
|
empty,empty,empty,empty,empty,
|
||||||
|
empty,empty,empty,empty,empty },
|
||||||
|
new ItemStack(ModItems.ironaxehead, 1),
|
||||||
|
"lapis"
|
||||||
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ public class ModItems {
|
|||||||
public static Item ironchunkhot;
|
public static Item ironchunkhot;
|
||||||
|
|
||||||
public static Item pickaxehead;
|
public static Item pickaxehead;
|
||||||
|
public static Item ironaxehead;
|
||||||
|
|
||||||
public static Item ironpickaxe;
|
public static Item ironpickaxe;
|
||||||
|
|
||||||
@@ -55,7 +55,7 @@ public class ModItems {
|
|||||||
softcrucible = new ItemSoftCrucible();
|
softcrucible = new ItemSoftCrucible();
|
||||||
stonetongs = new ItemStoneTongs("stonetongs");
|
stonetongs = new ItemStoneTongs("stonetongs");
|
||||||
pickaxehead = new ToolPart("ironpickaxehead");
|
pickaxehead = new ToolPart("ironpickaxehead");
|
||||||
|
ironaxehead = new ToolPart("ironaxehead");
|
||||||
|
|
||||||
ironpickaxe = new CustomPickaxe("ironpickaxe", Item.ToolMaterial.IRON);
|
ironpickaxe = new CustomPickaxe("ironpickaxe", Item.ToolMaterial.IRON);
|
||||||
|
|
||||||
@@ -108,7 +108,10 @@ public class ModItems {
|
|||||||
GameRegistry.register(ironingotballhot);
|
GameRegistry.register(ironingotballhot);
|
||||||
GameRegistry.register(ironchunkhot);
|
GameRegistry.register(ironchunkhot);
|
||||||
//GameRegistry.register(test);
|
//GameRegistry.register(test);
|
||||||
|
|
||||||
GameRegistry.register(pickaxehead);
|
GameRegistry.register(pickaxehead);
|
||||||
|
GameRegistry.register(ironaxehead);
|
||||||
|
|
||||||
|
|
||||||
GameRegistry.register(ironpickaxe);
|
GameRegistry.register(ironpickaxe);
|
||||||
|
|
||||||
|
|||||||
@@ -14,14 +14,17 @@ import net.minecraft.world.World;
|
|||||||
import net.minecraftforge.fml.relauncher.Side;
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
import nmd.primal.forgecraft.ModInfo;
|
import nmd.primal.forgecraft.ModInfo;
|
||||||
|
import nmd.primal.forgecraft.ToolNBT;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import static nmd.primal.forgecraft.ToolNBT.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by mminaie on 3/9/17.
|
* Created by mminaie on 3/9/17.
|
||||||
*/
|
*/
|
||||||
public class ToolPart extends Item {
|
public class ToolPart extends Item implements ToolNBT{
|
||||||
|
|
||||||
public ToolPart(String name) {
|
public ToolPart(String name) {
|
||||||
this.setUnlocalizedName(name);
|
this.setUnlocalizedName(name);
|
||||||
@@ -211,54 +214,6 @@ public class ToolPart extends Item {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean getHot(ItemStack stack){
|
|
||||||
return stack.getSubCompound("tags").getBoolean("hot");
|
|
||||||
}
|
|
||||||
public void setHot(ItemStack stack, Boolean bool){
|
|
||||||
stack.getSubCompound("tags").setBoolean("hot", bool);
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getModifiers(ItemStack stack) {
|
|
||||||
return stack.getSubCompound("tags").getInteger("modifiers");
|
|
||||||
}
|
|
||||||
public void setModifiers(ItemStack stack, Integer mods){
|
|
||||||
stack.getSubCompound("tags").setInteger("modifiers", mods);
|
|
||||||
}
|
|
||||||
|
|
||||||
public boolean getEmerald(ItemStack stack){
|
|
||||||
return stack.getSubCompound("tags").getBoolean("emerald");
|
|
||||||
}
|
|
||||||
public void setEmerald(ItemStack stack, Boolean bool){
|
|
||||||
stack.getSubCompound("keys").setBoolean("emerald", bool);
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getDiamondLevel(ItemStack stack) {
|
|
||||||
return stack.getSubCompound("tags").getInteger("diamond");
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setDiamondLevel(ItemStack stack, Integer level){
|
|
||||||
stack.getSubCompound("tags").setInteger("diamond", level);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public int getRedstoneLevel(ItemStack stack) {
|
|
||||||
return stack.getSubCompound("tags").getInteger("redstone");
|
|
||||||
}
|
|
||||||
public void setRedstoneLevel(ItemStack stack, Integer level){
|
|
||||||
stack.getSubCompound("tags").setInteger("redstone", level);
|
|
||||||
}
|
|
||||||
|
|
||||||
public int getLapisLevel(ItemStack stack) {
|
|
||||||
return stack.getSubCompound("tags").getInteger("lapis");
|
|
||||||
}
|
|
||||||
public void setLapisLevel(ItemStack stack, Integer level){
|
|
||||||
stack.getSubCompound("tags").setInteger("lapis", level);
|
|
||||||
}
|
|
||||||
|
|
||||||
public NBTTagCompound getTags(ItemStack stack){
|
|
||||||
return stack.getSubCompound("tags");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public static boolean isHidden()
|
public static boolean isHidden()
|
||||||
{
|
{
|
||||||
@@ -274,14 +229,12 @@ public class ToolPart extends Item {
|
|||||||
|
|
||||||
item.getTagCompound().setTag("tags", tags);
|
item.getTagCompound().setTag("tags", tags);
|
||||||
|
|
||||||
item.getSubCompound("tags").setBoolean("hot", false);
|
setHot(item, false);
|
||||||
|
setEmerald(item, false);
|
||||||
item.getSubCompound("tags").setBoolean("emerald", false);
|
setDiamondLevel(item, 0);
|
||||||
item.getSubCompound("tags").setInteger("diamond", 0);
|
setRedstoneLevel(item, 0);
|
||||||
item.getSubCompound("tags").setInteger("redstone", 0);
|
setLapisLevel(item, 0);
|
||||||
item.getSubCompound("tags").setInteger("lapis", 0);
|
setModifiers(item, 0);
|
||||||
|
|
||||||
item.getSubCompound("tags").setInteger("modifiers", 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -294,14 +247,12 @@ public class ToolPart extends Item {
|
|||||||
|
|
||||||
item.getTagCompound().setTag("tags", tags);
|
item.getTagCompound().setTag("tags", tags);
|
||||||
|
|
||||||
item.getSubCompound("tags").setBoolean("hot", false);
|
setHot(item, false);
|
||||||
|
setEmerald(item, false);
|
||||||
item.getSubCompound("tags").setBoolean("emerald", false);
|
setDiamondLevel(item, 0);
|
||||||
item.getSubCompound("tags").setInteger("diamond", 0);
|
setRedstoneLevel(item, 0);
|
||||||
item.getSubCompound("tags").setInteger("redstone", 0);
|
setLapisLevel(item, 0);
|
||||||
item.getSubCompound("tags").setInteger("lapis", 0);
|
setModifiers(item, 0);
|
||||||
|
|
||||||
item.getSubCompound("tags").setInteger("modifiers", 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,15 +24,15 @@ import net.minecraft.world.World;
|
|||||||
import net.minecraftforge.fml.relauncher.Side;
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
import net.minecraftforge.fml.relauncher.SideOnly;
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
import nmd.primal.forgecraft.ModInfo;
|
import nmd.primal.forgecraft.ModInfo;
|
||||||
|
import nmd.primal.forgecraft.ToolNBT;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by mminaie on 3/14/17.
|
* Created by mminaie on 3/14/17.
|
||||||
*/
|
*/
|
||||||
public class CustomPickaxe extends ItemPickaxe{
|
public class CustomPickaxe extends ItemPickaxe implements ToolNBT{
|
||||||
|
|
||||||
public CustomPickaxe(String name, Item.ToolMaterial material) {
|
public CustomPickaxe(String name, Item.ToolMaterial material) {
|
||||||
super(material);
|
super(material);
|
||||||
@@ -55,234 +55,216 @@ public class CustomPickaxe extends ItemPickaxe{
|
|||||||
public float apply(ItemStack item, @Nullable World worldIn, @Nullable EntityLivingBase entityIn) {
|
public float apply(ItemStack item, @Nullable World worldIn, @Nullable EntityLivingBase entityIn) {
|
||||||
if (item.hasTagCompound()) {
|
if (item.hasTagCompound()) {
|
||||||
|
|
||||||
|
if (getHot(item) == false) {
|
||||||
/*if (item.getSubCompound("tags").getBoolean("hot") == false) {
|
if (getModifiers(item) != 0) {
|
||||||
if (item.getSubCompound("tags").getInteger("modifiers") != 0) {
|
if ( (getEmerald(item) == true) &&
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == true) &&
|
(getDiamondLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 0) &&
|
(getRedstoneLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 0) &&
|
(getLapisLevel(item) == 0)) {
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 0)) {
|
|
||||||
return 0.1F;
|
return 0.1F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == true) &&
|
if ( (getEmerald(item) == true) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 1) &&
|
(getDiamondLevel(item) == 1) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 0) &&
|
(getRedstoneLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 0)) {
|
(getLapisLevel(item) == 0)) {
|
||||||
return 0.11F;
|
return 0.11F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == true) &&
|
if ( (getEmerald(item) == true) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 2) &&
|
(getDiamondLevel(item) == 2) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 0) &&
|
(getRedstoneLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 0)) {
|
(getLapisLevel(item) == 0)) {
|
||||||
return 0.12F;
|
return 0.12F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == true) &&
|
if ( (getEmerald(item) == true) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 1) &&
|
(getDiamondLevel(item) == 1) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 1) &&
|
(getRedstoneLevel(item) == 1) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 0)) {
|
(getLapisLevel(item) == 0)) {
|
||||||
return 0.111F;
|
return 0.111F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == true) &&
|
if ( (getEmerald(item) == true) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 0) &&
|
(getDiamondLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 2) &&
|
(getRedstoneLevel(item) == 2) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 0)) {
|
(getLapisLevel(item) == 0)) {
|
||||||
return 0.102F;
|
return 0.102F;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ============
|
// ============
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 1) &&
|
(getDiamondLevel(item) == 1) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 0) &&
|
(getRedstoneLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 0)) {
|
(getLapisLevel(item) == 0)) {
|
||||||
return 0.01F;
|
return 0.01F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 2) &&
|
(getDiamondLevel(item) == 2) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 0) &&
|
(getRedstoneLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 0)) {
|
(getLapisLevel(item) == 0)) {
|
||||||
return 0.02F;
|
return 0.02F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 3) &&
|
(getDiamondLevel(item) == 3) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 0) &&
|
(getRedstoneLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 0)) {
|
(getLapisLevel(item) == 0)) {
|
||||||
return 0.03F;
|
return 0.03F;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======
|
//=======
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 0) &&
|
(getDiamondLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 1) &&
|
(getRedstoneLevel(item) == 1) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 0)) {
|
(getLapisLevel(item) == 0)) {
|
||||||
return 0.001F;
|
return 0.001F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 0) &&
|
(getDiamondLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 2) &&
|
(getRedstoneLevel(item) == 2) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 0)) {
|
(getLapisLevel(item) == 0)) {
|
||||||
return 0.002F;
|
return 0.002F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 0) &&
|
(getDiamondLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 3) &&
|
(getRedstoneLevel(item) == 3) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 0)) {
|
(getLapisLevel(item) == 0)) {
|
||||||
return 0.003F;
|
return 0.003F;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========
|
//=========
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 0) &&
|
(getDiamondLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 0) &&
|
(getRedstoneLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 1)) {
|
(getLapisLevel(item) == 1)) {
|
||||||
return 0.0001F;
|
return 0.0001F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 0) &&
|
(getDiamondLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 0) &&
|
(getRedstoneLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 2)) {
|
(getLapisLevel(item) == 2)) {
|
||||||
return 0.0002F;
|
return 0.0002F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 0) &&
|
(getDiamondLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 0) &&
|
(getRedstoneLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 3)) {
|
(getLapisLevel(item) == 3)) {
|
||||||
return 0.0003F;
|
return 0.0003F;
|
||||||
}
|
}
|
||||||
|
|
||||||
//=======
|
//=======
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 1) &&
|
(getDiamondLevel(item) == 1) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 1) &&
|
(getRedstoneLevel(item) == 1) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 1)) {
|
(getLapisLevel(item) == 1)) {
|
||||||
return 0.0111F;
|
return 0.0111F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 2) &&
|
(getDiamondLevel(item) == 2) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 1) &&
|
(getRedstoneLevel(item) == 1) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 0)) {
|
(getLapisLevel(item) == 0)) {
|
||||||
return 0.021F;
|
return 0.021F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 1) &&
|
(getDiamondLevel(item) == 1) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 2) &&
|
(getRedstoneLevel(item) == 2) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 0)) {
|
(getLapisLevel(item) == 0)) {
|
||||||
return 0.012F;
|
return 0.012F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 0) &&
|
(getDiamondLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 1) &&
|
(getRedstoneLevel(item) == 1) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 2)) {
|
(getLapisLevel(item) == 2)) {
|
||||||
return 0.0012F;
|
return 0.0012F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 0) &&
|
(getDiamondLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 2) &&
|
(getRedstoneLevel(item) == 2) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 1)) {
|
(getLapisLevel(item) == 1)) {
|
||||||
return 0.0021F;
|
return 0.0021F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((item.getSubCompound("tags").getBoolean("emerald") == false) &&
|
if ( (getEmerald(item) == false) &&
|
||||||
(item.getSubCompound("tags").getInteger("diamond") == 1) &&
|
(getDiamondLevel(item) == 1) &&
|
||||||
(item.getSubCompound("tags").getInteger("redstone") == 0) &&
|
(getRedstoneLevel(item) == 0) &&
|
||||||
(item.getSubCompound("tags").getInteger("lapis") == 2)) {
|
(getLapisLevel(item) == 2) ) {
|
||||||
return 0.0102F;
|
return 0.0102F;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (item.getSubCompound("tags").getBoolean("hot") == true) {
|
if (getHot(item) == true) {
|
||||||
return 1.0F;
|
return 1.0F;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.getSubCompound("tags").getBoolean("hot") == false) {
|
if (getHot(item) == false) {
|
||||||
if (item.getSubCompound("tags").getInteger("modifiers") == 0) {
|
if (item.getSubCompound("tags").getInteger("modifiers") == 0) {
|
||||||
return 0.0F;
|
return 0.0F;
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
return 0.0F;
|
return 0.0F;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public boolean getHot(ItemStack stack){
|
|
||||||
return stack.getSubCompound("tags").getBoolean("hot");
|
|
||||||
}
|
|
||||||
public boolean getEmerald(ItemStack stack){
|
|
||||||
return stack.getSubCompound("tags").getBoolean("emerald");
|
|
||||||
}
|
|
||||||
public int getDiamondLevel(ItemStack stack) {
|
|
||||||
return stack.getSubCompound("tags").getInteger("diamond");
|
|
||||||
}
|
|
||||||
public int getRedstoneLevel(ItemStack stack) {
|
|
||||||
return stack.getSubCompound("tags").getInteger("redstone");
|
|
||||||
}
|
|
||||||
public int getLapisLevel(ItemStack stack) {
|
|
||||||
return stack.getSubCompound("tags").getInteger("lapis");
|
|
||||||
}
|
|
||||||
|
|
||||||
public static boolean isHidden()
|
public static boolean isHidden()
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onCreated(ItemStack item, World worldIn, EntityPlayer playerIn) {
|
public void onCreated(ItemStack item, World world, EntityPlayer playerIn) {
|
||||||
|
|
||||||
if (!item.hasTagCompound()) {
|
if(!world.isRemote) {
|
||||||
item.setTagCompound(new NBTTagCompound());
|
if (!item.hasTagCompound()) {
|
||||||
NBTTagCompound tags = new NBTTagCompound();
|
item.setTagCompound(new NBTTagCompound());
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
|
||||||
item.getTagCompound().setTag("tags", tags);
|
item.getTagCompound().setTag("tags", tags);
|
||||||
|
|
||||||
item.getSubCompound("tags").setBoolean("hot", false);
|
/*setHot(item, false);
|
||||||
|
|
||||||
item.getSubCompound("tags").setBoolean("emerald", false);
|
setHot(item, false);
|
||||||
item.getSubCompound("tags").setInteger("diamond", 0);
|
setEmerald(item, false);
|
||||||
item.getSubCompound("tags").setInteger("redstone", 0);
|
setDiamondLevel(item, 0);
|
||||||
item.getSubCompound("tags").setInteger("lapis", 0);
|
setRedstoneLevel(item, 0);
|
||||||
|
setLapisLevel(item, 0);
|
||||||
item.getSubCompound("tags").setInteger("modifiers", 0);
|
setModifiers(item, 0);*/
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onUpdate(ItemStack item, World world, Entity player, int itemSlot, boolean isSelected) {
|
public void onUpdate(ItemStack item, World world, Entity player, int itemSlot, boolean isSelected) {
|
||||||
if (!item.hasTagCompound()) {
|
if(!world.isRemote) {
|
||||||
item.setTagCompound(new NBTTagCompound());
|
if (!item.hasTagCompound()) {
|
||||||
NBTTagCompound tags = new NBTTagCompound();
|
item.setTagCompound(new NBTTagCompound());
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
|
||||||
item.getTagCompound().setTag("tags", tags);
|
item.getTagCompound().setTag("tags", tags);
|
||||||
|
|
||||||
item.getSubCompound("tags").setBoolean("hot", false);
|
setHot(item, false);
|
||||||
|
setEmerald(item, false);
|
||||||
|
setDiamondLevel(item, 0);
|
||||||
|
setRedstoneLevel(item, 0);
|
||||||
|
setLapisLevel(item, 0);
|
||||||
|
setModifiers(item, 0);
|
||||||
|
|
||||||
item.getSubCompound("tags").setBoolean("emerald", false);
|
|
||||||
item.getSubCompound("tags").setInteger("diamond", 0);
|
|
||||||
item.getSubCompound("tags").setInteger("redstone", 0);
|
|
||||||
item.getSubCompound("tags").setInteger("lapis", 3);
|
|
||||||
|
|
||||||
item.getSubCompound("tags").setInteger("modifiers", 0);
|
|
||||||
if(!world.isRemote){
|
|
||||||
//item.addEnchantment(Enchantment.getEnchantmentByID(35), 3);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -297,18 +279,18 @@ public class CustomPickaxe extends ItemPickaxe{
|
|||||||
|
|
||||||
if(item.hasTagCompound()) {
|
if(item.hasTagCompound()) {
|
||||||
|
|
||||||
tooltip.add(ChatFormatting.GRAY + "Upgrades");
|
tooltip.add(ChatFormatting.GRAY + "Upgrades Left: " + (3 - getModifiers(item)) );
|
||||||
if (item.getSubCompound("tags").getBoolean("emerald") == true) {
|
if (item.getSubCompound("tags").getBoolean("emerald") == true) {
|
||||||
tooltip.add(ChatFormatting.DARK_GREEN + "Emerald");
|
tooltip.add(ChatFormatting.DARK_GREEN + "Emerald");
|
||||||
}
|
}
|
||||||
if (item.getSubCompound("tags").getInteger("diamond") > 0) {
|
if (item.getSubCompound("tags").getInteger("diamond") > 0) {
|
||||||
tooltip.add(ChatFormatting.AQUA + "Diamond Level: " + item.getSubCompound("tags").getInteger("diamond"));
|
tooltip.add(ChatFormatting.AQUA + "Diamond Level: " + getDiamondLevel(item));
|
||||||
}
|
}
|
||||||
if (item.getSubCompound("tags").getInteger("redstone") > 0) {
|
if (item.getSubCompound("tags").getInteger("redstone") > 0) {
|
||||||
tooltip.add(ChatFormatting.RED + "Redstone Level: " + item.getSubCompound("tags").getInteger("redstone"));
|
tooltip.add(ChatFormatting.RED + "Redstone Level: " + getRedstoneLevel(item) );
|
||||||
}
|
}
|
||||||
if (item.getSubCompound("tags").getInteger("lapis") > 0) {
|
if (item.getSubCompound("tags").getInteger("lapis") > 0) {
|
||||||
tooltip.add(ChatFormatting.BLUE + "Lapis Level: " + item.getSubCompound("tags").getInteger("lapis"));
|
tooltip.add(ChatFormatting.BLUE + "Lapis Level: " + getLapisLevel(item) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -323,8 +305,18 @@ public class CustomPickaxe extends ItemPickaxe{
|
|||||||
World world = player.getEntityWorld();
|
World world = player.getEntityWorld();
|
||||||
System.out.println(world.getBlockState(pos).getBlock());
|
System.out.println(world.getBlockState(pos).getBlock());
|
||||||
if(itemstack.getItem() instanceof CustomPickaxe){
|
if(itemstack.getItem() instanceof CustomPickaxe){
|
||||||
if ( ((CustomPickaxe) itemstack.getItem()).getLapisLevel(itemstack) > 0) {
|
if( getEmerald(itemstack)){
|
||||||
itemstack.addEnchantment(Enchantment.getEnchantmentByID(35), ((CustomPickaxe) itemstack.getItem()).getLapisLevel(itemstack));
|
itemstack.addEnchantment(Enchantment.getEnchantmentByID(33), 1);
|
||||||
|
}
|
||||||
|
if( getDiamondLevel(itemstack) > 0 ){
|
||||||
|
itemstack.addEnchantment(Enchantment.getEnchantmentByID(34), getDiamondLevel(itemstack));
|
||||||
|
//itemstack.getItem().setHarvestLevel("pickaxe", 3);
|
||||||
|
}
|
||||||
|
if( getRedstoneLevel(itemstack) > 0 ){
|
||||||
|
itemstack.addEnchantment(Enchantment.getEnchantmentByID(32), getRedstoneLevel(itemstack));
|
||||||
|
}
|
||||||
|
if ( getLapisLevel(itemstack) > 0) {
|
||||||
|
itemstack.addEnchantment(Enchantment.getEnchantmentByID(35), getLapisLevel(itemstack));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -111,6 +111,30 @@ public class TileAnvilRender extends TileEntitySpecialRenderer<TileAnvil>
|
|||||||
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
GL11.glPopMatrix();
|
GL11.glPopMatrix();
|
||||||
}
|
}
|
||||||
|
if(tile.getSlotStack(counter).getItem().equals(ModItems.ironaxehead)){
|
||||||
|
GL11.glPushMatrix();
|
||||||
|
double scale = 1.0D;
|
||||||
|
GL11.glScaled(scale, scale, scale);
|
||||||
|
GL11.glTranslated(tile.getNormalX(a), -0.435D, tile.getNormalZ(i));
|
||||||
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
|
GL11.glPopMatrix();
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(counter).getItem() == ModItems.ironingotballhot ){
|
||||||
|
GL11.glPushMatrix();
|
||||||
|
double scale = 1.0D;
|
||||||
|
GL11.glScaled(scale, scale, scale);
|
||||||
|
GL11.glTranslated(tile.getNormalX(a), -0.44D, tile.getNormalZ(i));
|
||||||
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
|
GL11.glPopMatrix();
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(counter).getItem() == ModItems.ironchunkhot){
|
||||||
|
GL11.glPushMatrix();
|
||||||
|
double scale = 1.0D;
|
||||||
|
GL11.glScaled(scale, scale, scale);
|
||||||
|
GL11.glTranslated(tile.getNormalX(a), -0.455D, tile.getNormalZ(i));
|
||||||
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
|
GL11.glPopMatrix();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
counter++;
|
counter++;
|
||||||
@@ -143,6 +167,30 @@ public class TileAnvilRender extends TileEntitySpecialRenderer<TileAnvil>
|
|||||||
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
GL11.glPopMatrix();
|
GL11.glPopMatrix();
|
||||||
}
|
}
|
||||||
|
if(tile.getSlotStack(counter).getItem().equals(ModItems.ironaxehead)){
|
||||||
|
GL11.glPushMatrix();
|
||||||
|
double scale = 1.0D;
|
||||||
|
GL11.glScaled(scale, scale, scale);
|
||||||
|
GL11.glTranslated(tile.getReverseX(a), -0.435D, tile.getReverseZ(i) );
|
||||||
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
|
GL11.glPopMatrix();
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(counter).getItem() == ModItems.ironingotballhot ){
|
||||||
|
GL11.glPushMatrix();
|
||||||
|
double scale = 1.0D;
|
||||||
|
GL11.glScaled(scale, scale, scale);
|
||||||
|
GL11.glTranslated(tile.getReverseX(a), -0.44D, tile.getReverseZ(i) );
|
||||||
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
|
GL11.glPopMatrix();
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(counter).getItem() == ModItems.ironchunkhot){
|
||||||
|
GL11.glPushMatrix();
|
||||||
|
double scale = 1.0D;
|
||||||
|
GL11.glScaled(scale, scale, scale);
|
||||||
|
GL11.glTranslated(tile.getReverseX(a), -0.455D, tile.getReverseZ(i) );
|
||||||
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
|
GL11.glPopMatrix();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
counter++;
|
counter++;
|
||||||
@@ -177,6 +225,30 @@ public class TileAnvilRender extends TileEntitySpecialRenderer<TileAnvil>
|
|||||||
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
GL11.glPopMatrix();
|
GL11.glPopMatrix();
|
||||||
}
|
}
|
||||||
|
if(tile.getSlotStack(counter).getItem().equals(ModItems.ironaxehead)){
|
||||||
|
GL11.glPushMatrix();
|
||||||
|
double scale = 1.0D;
|
||||||
|
GL11.glScaled(scale, scale, scale);
|
||||||
|
GL11.glTranslated( tile.getNormalX(a) , -0.435D, tile.getReverseZ(i) );
|
||||||
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
|
GL11.glPopMatrix();
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(counter).getItem() == ModItems.ironingotballhot ){
|
||||||
|
GL11.glPushMatrix();
|
||||||
|
double scale = 1.0D;
|
||||||
|
GL11.glScaled(scale, scale, scale);
|
||||||
|
GL11.glTranslated( tile.getNormalX(a) , -0.44D, tile.getReverseZ(i) );
|
||||||
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
|
GL11.glPopMatrix();
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(counter).getItem() == ModItems.ironchunkhot){
|
||||||
|
GL11.glPushMatrix();
|
||||||
|
double scale = 1.0D;
|
||||||
|
GL11.glScaled(scale, scale, scale);
|
||||||
|
GL11.glTranslated( tile.getNormalX(a) , -0.455D, tile.getReverseZ(i) );
|
||||||
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
|
GL11.glPopMatrix();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
counter++;
|
counter++;
|
||||||
@@ -213,6 +285,30 @@ public class TileAnvilRender extends TileEntitySpecialRenderer<TileAnvil>
|
|||||||
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
GL11.glPopMatrix();
|
GL11.glPopMatrix();
|
||||||
}
|
}
|
||||||
|
if(tile.getSlotStack(counter).getItem().equals(ModItems.ironaxehead)){
|
||||||
|
GL11.glPushMatrix();
|
||||||
|
double scale = 1.0D;
|
||||||
|
GL11.glScaled(scale, scale, scale);
|
||||||
|
GL11.glTranslated( tile.getReverseX(a) , -0.435D, tile.getNormalZ(i) );
|
||||||
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
|
GL11.glPopMatrix();
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(counter).getItem() == ModItems.ironingotballhot ){
|
||||||
|
GL11.glPushMatrix();
|
||||||
|
double scale = 1.0D;
|
||||||
|
GL11.glScaled(scale, scale, scale);
|
||||||
|
GL11.glTranslated( tile.getReverseX(a) , -0.44D, tile.getNormalZ(i) );
|
||||||
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
|
GL11.glPopMatrix();
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(counter).getItem() == ModItems.ironchunkhot){
|
||||||
|
GL11.glPushMatrix();
|
||||||
|
double scale = 1.0D;
|
||||||
|
GL11.glScaled(scale, scale, scale);
|
||||||
|
GL11.glTranslated( tile.getReverseX(a) , -0.455D, tile.getNormalZ(i) );
|
||||||
|
renderItem.renderItem(tile.getSlotStack(counter), ItemCameraTransforms.TransformType.FIXED);
|
||||||
|
GL11.glPopMatrix();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
counter++;
|
counter++;
|
||||||
|
|||||||
@@ -136,11 +136,11 @@ public class TileBloomery extends TileBaseSlot implements ITickable {
|
|||||||
this.setHeat(h - 25);
|
this.setHeat(h - 25);
|
||||||
}
|
}
|
||||||
if(h < 10 ){
|
if(h < 10 ){
|
||||||
world.setBlockState(pos, state.withProperty(Bloomery.ACTIVE, false), 2);
|
world.setBlockState(pos, state.withProperty(Forge.ACTIVE, false), 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(stack.isEmpty()){
|
if(stack.isEmpty()){
|
||||||
world.setBlockState(pos, state.withProperty(Bloomery.ACTIVE, false), 2);
|
world.setBlockState(pos, state.withProperty(Forge.ACTIVE, false), 2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(state.getValue(Bloomery.ACTIVE) == false){
|
if(state.getValue(Bloomery.ACTIVE) == false){
|
||||||
|
|||||||
101
1.11/src/main/resources/assets/forgecraft/models/item/axe.json
Normal file
101
1.11/src/main/resources/assets/forgecraft/models/item/axe.json
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
{
|
||||||
|
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "blocks/e_particle",
|
||||||
|
"texture": "items/iron_ingot",
|
||||||
|
"texture1": "blocks/e_texture"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "Cube1",
|
||||||
|
"from": [ 8, 0, 7.5 ],
|
||||||
|
"to": [ 9, 12, 8 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 8, 8, 9, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 8, 7.5, 9, 8 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7, 4, 8, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 8, 4, 9, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 4, 8, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 8, 4, 8.5, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube7",
|
||||||
|
"from": [ 6.5, 11, 7.5 ],
|
||||||
|
"to": [ 7, 14, 8 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 15, 7.5, 15.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 9, 15.5, 8.5, 15 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7.5, 9.5, 7, 6.5 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7, 6.5, 7.5, 9.5 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6.5, 15, 9.5, 15.5 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"east": { "uv": [ 6.5, 15, 9.5, 15.5 ], "texture": "#texture", "rotation": 270 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube8",
|
||||||
|
"from": [ 7, 11.5, 7.5 ],
|
||||||
|
"to": [ 7.5, 14, 8 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7.5, 15, 8, 15.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 8.5, 15.5, 8, 15 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 8, 9.5, 7.5, 7 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7.5, 6.5, 8, 9 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6.5, 15, 9, 15.5 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"east": { "uv": [ 7, 15, 9.5, 15.5 ], "texture": "#texture", "rotation": 270 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube9",
|
||||||
|
"from": [ 6, 10.5, 7.5 ],
|
||||||
|
"to": [ 6.5, 14.5, 8 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6.5, 15, 7, 15.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 9.5, 15.5, 9, 15 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7, 10, 6.5, 6 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 6.5, 6, 7, 10 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 6, 15, 10, 15.5 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"east": { "uv": [ 6, 15, 10, 15.5 ], "texture": "#texture", "rotation": 270 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube6",
|
||||||
|
"from": [ 7.5, 12, 7 ],
|
||||||
|
"to": [ 9.5, 14, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7.5, 7.5, 9.5, 9 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7.5, 7, 9.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 6.5, 2, 8.5, 4 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7.5, 2, 9.5, 4 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7, 2, 8.5, 4 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 2, 9, 4 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"display": {
|
||||||
|
"thirdperson_righthand": {
|
||||||
|
"rotation": [ 0, -90, 0 ],
|
||||||
|
"translation": [ 0, 7, 0.25 ]
|
||||||
|
},
|
||||||
|
"thirdperson_lefthand": {
|
||||||
|
"rotation": [ 0, 90, 0 ],
|
||||||
|
"translation": [ 0, 7, 0.25 ]
|
||||||
|
},
|
||||||
|
"firstperson_righthand": {
|
||||||
|
"rotation": [ 0, -90, 0 ],
|
||||||
|
"translation": [ 0, 7, 0.25 ]
|
||||||
|
},
|
||||||
|
"firstperson_lefthand": {
|
||||||
|
"rotation": [ 0, 90, 0 ],
|
||||||
|
"translation": [ 0, 7, 0.25 ]
|
||||||
|
},
|
||||||
|
"gui": {
|
||||||
|
"rotation": [ 0, 0, -45 ],
|
||||||
|
"translation": [ -0.75, 0, 8 ]
|
||||||
|
},
|
||||||
|
"ground": {
|
||||||
|
"rotation": [ 90, 0, 0 ],
|
||||||
|
"translation": [ 0, -3.5, 0 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,91 @@
|
|||||||
|
{
|
||||||
|
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "Cube6",
|
||||||
|
"from": [ 8, 0, 6.5 ],
|
||||||
|
"to": [ 9, 1.5, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 8, 7.5, 9, 9.5 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 8, 6.5, 9, 8.5 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 7, 14.5, 8, 16 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 8, 14.5, 9, 16 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 6.5, 14.5, 8.5, 16 ], "texture": "#texture1" },
|
||||||
|
"east": { "uv": [ 7.5, 14.5, 9.5, 16 ], "texture": "#texture1" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube7",
|
||||||
|
"from": [ 7, 0.5, 6.5 ],
|
||||||
|
"to": [ 7.5, 1, 9.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 6.5, 7.5, 9.5 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 7, 6.5, 7.5, 9.5 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 8.5, 15, 9, 15.5 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 7, 15, 7.5, 15.5 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 6.5, 15, 9.5, 15.5 ], "texture": "#texture1" },
|
||||||
|
"east": { "uv": [ 6.5, 15, 9.5, 15.5 ], "texture": "#texture1" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube8",
|
||||||
|
"from": [ 7.5, 0.5, 6.5 ],
|
||||||
|
"to": [ 8, 1, 9 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7.5, 7, 8, 9.5 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 7.5, 6.5, 8, 9 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 8, 15, 8.5, 15.5 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 7.5, 15, 8, 15.5 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 6.5, 15, 9, 15.5 ], "texture": "#texture1" },
|
||||||
|
"east": { "uv": [ 7, 15, 9.5, 15.5 ], "texture": "#texture1" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube9",
|
||||||
|
"from": [ 6.5, 0.5, 6 ],
|
||||||
|
"to": [ 7, 1, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6.5, 6, 7, 10 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 6.5, 6, 7, 10 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 9, 15, 9.5, 15.5 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 6.5, 15, 7, 15.5 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 6, 15, 10, 15.5 ], "texture": "#texture1" },
|
||||||
|
"east": { "uv": [ 6, 15, 10, 15.5 ], "texture": "#texture1" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"display": {
|
||||||
|
"thirdperson_righthand": {
|
||||||
|
"rotation": [ 90, 0, 90 ],
|
||||||
|
"translation": [ -7.25, -1.25, -0.75 ]
|
||||||
|
},
|
||||||
|
"thirdperson_lefthand": {
|
||||||
|
"rotation": [ 90, 0, 90 ],
|
||||||
|
"translation": [ -7.25, -1.25, -0.75 ]
|
||||||
|
},
|
||||||
|
"firstperson_righthand": {
|
||||||
|
"rotation": [ 90, 0, 90 ],
|
||||||
|
"translation": [ -7.25, -1.25, -0.75 ]
|
||||||
|
},
|
||||||
|
"firstperson_lefthand": {
|
||||||
|
"rotation": [ 90, 0, 90 ],
|
||||||
|
"translation": [ -7.25, -1.25, -0.75 ]
|
||||||
|
},
|
||||||
|
"gui": {
|
||||||
|
"rotation": [ 90, 0, 0 ],
|
||||||
|
"translation": [ -0.25, 0, 8 ]
|
||||||
|
},
|
||||||
|
"ground": {
|
||||||
|
"translation": [ 0, 4, 0 ]
|
||||||
|
},
|
||||||
|
"fixed": {
|
||||||
|
"rotation": [ 90, 0, -180 ],
|
||||||
|
"translation": [ 0, 0, -7.25 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot_hot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_hot"
|
||||||
|
}
|
||||||
|
}
|
||||||
121
1.11/src/main/resources/assets/forgecraft/models/item/hoe.json
Normal file
121
1.11/src/main/resources/assets/forgecraft/models/item/hoe.json
Normal file
@@ -0,0 +1,121 @@
|
|||||||
|
{
|
||||||
|
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "blocks/e_particle",
|
||||||
|
"texture": "blocks/e_texture",
|
||||||
|
"texture1": "blocks/e_texture"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "Cube2",
|
||||||
|
"from": [ 7, 13, 3 ],
|
||||||
|
"to": [ 9, 14, 6 ],
|
||||||
|
"rotation": { "origin": [ 7, 13, 6 ], "axis": "x", "angle": -22.5 },
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 11, 16, 8, 15 ], "texture": "#texture", "rotation": 270 },
|
||||||
|
"up": { "uv": [ 5, 15, 8, 16 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"north": { "uv": [ 5, 15, 6, 16 ], "texture": "#texture", "rotation": 270 },
|
||||||
|
"south": { "uv": [ 10, 15, 11, 16 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"west": { "uv": [ 5, 5, 6, 8 ], "texture": "#texture", "rotation": 270 },
|
||||||
|
"east": { "uv": [ 6, 11, 5, 8 ], "texture": "#texture", "rotation": 90 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube4",
|
||||||
|
"from": [ 7, 13, 5.5 ],
|
||||||
|
"to": [ 9, 14, 7.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 8.5, 16, 6.5, 14 ], "texture": "#texture", "rotation": 270 },
|
||||||
|
"up": { "uv": [ 7.5, 14, 9.5, 16 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"north": { "uv": [ 7.5, 14, 8.5, 16 ], "texture": "#texture", "rotation": 270 },
|
||||||
|
"south": { "uv": [ 7.5, 14, 8.5, 16 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"west": { "uv": [ 7.5, 7.5, 9.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 9.5, 8.5, 7.5, 7.5 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube4",
|
||||||
|
"from": [ 7, 13, 8.5 ],
|
||||||
|
"to": [ 9, 14, 9.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 8.5, 16, 7.5, 14 ], "texture": "#texture", "rotation": 270 },
|
||||||
|
"up": { "uv": [ 7.5, 14, 8.5, 16 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"north": { "uv": [ 7.5, 14, 8.5, 16 ], "texture": "#texture", "rotation": 270 },
|
||||||
|
"south": { "uv": [ 7.5, 14, 8.5, 16 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"west": { "uv": [ 7.5, 7.5, 8.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 8.5, 8.5, 7.5, 7.5 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube6",
|
||||||
|
"from": [ 7, 13, 7.5 ],
|
||||||
|
"to": [ 7.5, 14, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6.5, 16, 5.5, 15.5 ], "texture": "#texture", "rotation": 270 },
|
||||||
|
"up": { "uv": [ 9.5, 15.5, 10.5, 16 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"north": { "uv": [ 7.5, 15.5, 8.5, 16 ], "texture": "#texture", "rotation": 270 },
|
||||||
|
"south": { "uv": [ 7.5, 15.5, 8.5, 16 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"west": { "uv": [ 9.5, 7.5, 10.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 10.5, 8.5, 9.5, 7.5 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube6",
|
||||||
|
"from": [ 8.5, 13, 7.5 ],
|
||||||
|
"to": [ 9, 14, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7.5, 16, 6.5, 15.5 ], "texture": "#texture", "rotation": 270 },
|
||||||
|
"up": { "uv": [ 8.5, 15.5, 9.5, 16 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"north": { "uv": [ 14, 15.5, 15, 16 ], "texture": "#texture", "rotation": 270 },
|
||||||
|
"south": { "uv": [ 1, 15.5, 2, 16 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"west": { "uv": [ 8.5, 1, 9.5, 2 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 9.5, 15, 8.5, 14 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube9",
|
||||||
|
"from": [ 7, 10, 3 ],
|
||||||
|
"to": [ 9, 12, 3.5 ],
|
||||||
|
"rotation": { "origin": [ 9, 12, 3.5 ], "axis": "x", "angle": 45 },
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 9, 4, 7, 3.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7, 3.5, 9, 4 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 9, 3.5, 7, 1.5 ], "texture": "#texture", "rotation": 180 },
|
||||||
|
"south": { "uv": [ 7, 12.5, 9, 14.5 ], "texture": "#texture", "rotation": 180 },
|
||||||
|
"west": { "uv": [ 12.5, 3.5, 14.5, 4 ], "texture": "#texture", "rotation": 270 },
|
||||||
|
"east": { "uv": [ 1.5, 3.5, 3.5, 4 ], "texture": "#texture", "rotation": 90 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube10",
|
||||||
|
"from": [ 7.5, 0, 7.5 ],
|
||||||
|
"to": [ 8.5, 14.5, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7.5, 7.5, 8.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7.5, 7.5, 8.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7.5, 1.5, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7.5, 1.5, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 1.5, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 1.5, 8.5, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"display": {
|
||||||
|
"thirdperson_righthand": {
|
||||||
|
"translation": [ 0, 5, 1 ]
|
||||||
|
},
|
||||||
|
"firstperson_righthand": {
|
||||||
|
"translation": [ 0, 5, 1 ]
|
||||||
|
},
|
||||||
|
"gui": {
|
||||||
|
"rotation": [ 90, 45, -90 ]
|
||||||
|
},
|
||||||
|
"ground": {
|
||||||
|
"rotation": [ 90, 90, 0 ],
|
||||||
|
"translation": [ 0, -3, 0 ]
|
||||||
|
},
|
||||||
|
"fixed": {
|
||||||
|
"rotation": [ -90, -135, -90 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,90 @@
|
|||||||
|
{
|
||||||
|
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "blocks/e_particle",
|
||||||
|
"texture": "blocks/e_texture",
|
||||||
|
"texture1": "blocks/e_texture"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "Cube2",
|
||||||
|
"from": [ 5.5, 0, 7 ],
|
||||||
|
"to": [ 8.5, 2, 8 ],
|
||||||
|
"rotation": { "origin": [ 8.5, 0, 7 ], "axis": "y", "angle": 22.5 },
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5, 5, 6, 8 ], "texture": "#texture", "rotation": 270 },
|
||||||
|
"up": { "uv": [ 5, 8, 6, 11 ], "texture": "#texture", "rotation": 90 },
|
||||||
|
"north": { "uv": [ 8, 15, 11, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5, 15, 8, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 5, 15, 6, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 10, 15, 11, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube3",
|
||||||
|
"from": [ 6, 0, 8.5 ],
|
||||||
|
"to": [ 6.5, 2, 10.5 ],
|
||||||
|
"rotation": { "origin": [ 6, 0, 8.5 ], "axis": "y", "angle": -45 },
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5.5, 5, 6, 7 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 5.5, 9, 6, 11 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 10, 15, 10.5, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 5.5, 15, 6, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 9, 15, 11, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 5, 15, 7, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube4",
|
||||||
|
"from": [ 8, 0, 7 ],
|
||||||
|
"to": [ 10, 2, 8 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7.5, 7.5, 9.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7.5, 7.5, 9.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 6.5, 14, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7.5, 14, 9.5, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 14, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 14, 8.5, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube4",
|
||||||
|
"from": [ 11, 0, 7 ],
|
||||||
|
"to": [ 12, 2, 8 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7.5, 7.5, 8.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7.5, 7.5, 8.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7.5, 14, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7.5, 14, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 14, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 14, 8.5, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube6",
|
||||||
|
"from": [ 10, 0, 7 ],
|
||||||
|
"to": [ 11, 0.5, 8 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 9.5, 7.5, 10.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 9.5, 7.5, 10.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 5.5, 15.5, 6.5, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 9.5, 15.5, 10.5, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 15.5, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 15.5, 8.5, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube6",
|
||||||
|
"from": [ 10, 1.5, 7 ],
|
||||||
|
"to": [ 11, 2, 8 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 8.5, 1, 9.5, 2 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 8.5, 14, 9.5, 15 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 6.5, 15.5, 7.5, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 8.5, 15.5, 9.5, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 14, 15.5, 15, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 1, 15.5, 2, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot"
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{"predicate": {"type": 0.0},"model": "forgecraft:item/ironaxehead_0"},
|
||||||
|
{"predicate": {"type": 0.0001},"model": "forgecraft:item/ironaxehead_13"},
|
||||||
|
{"predicate": {"type": 0.0002},"model": "forgecraft:item/ironaxehead_14"},
|
||||||
|
{"predicate": {"type": 0.0003},"model": "forgecraft:item/ironaxehead_15"},
|
||||||
|
{"predicate": {"type": 0.001},"model": "forgecraft:item/ironaxehead_10"},
|
||||||
|
{"predicate": {"type": 0.0012},"model": "forgecraft:item/ironaxehead_19"},
|
||||||
|
{"predicate": {"type": 0.002},"model": "forgecraft:item/ironaxehead_11"},
|
||||||
|
{"predicate": {"type": 0.0021},"model": "forgecraft:item/ironaxehead_20"},
|
||||||
|
{"predicate": {"type": 0.003},"model": "forgecraft:item/ironaxehead_12"},
|
||||||
|
{"predicate": {"type": 0.01},"model": "forgecraft:item/ironaxehead_7"},
|
||||||
|
{"predicate": {"type": 0.0102},"model": "forgecraft:item/ironaxehead_21"},
|
||||||
|
{"predicate": {"type": 0.0111},"model": "forgecraft:item/ironaxehead_16"},
|
||||||
|
{"predicate": {"type": 0.012},"model": "forgecraft:item/ironaxehead_18"},
|
||||||
|
{"predicate": {"type": 0.02},"model": "forgecraft:item/ironaxehead_8"},
|
||||||
|
{"predicate": {"type": 0.021},"model": "forgecraft:item/ironaxehead_17"},
|
||||||
|
{"predicate": {"type": 0.03},"model": "forgecraft:item/ironaxehead_9"},
|
||||||
|
{"predicate": {"type": 0.1},"model": "forgecraft:item/ironaxehead_2"},
|
||||||
|
{"predicate": {"type": 0.102},"model": "forgecraft:item/ironaxehead_6"},
|
||||||
|
{"predicate": {"type": 0.11},"model": "forgecraft:item/ironaxehead_3"},
|
||||||
|
{"predicate": {"type": 0.111},"model": "forgecraft:item/ironaxehead_5"},
|
||||||
|
{"predicate": {"type": 0.12},"model": "forgecraft:item/ironaxehead_4"},
|
||||||
|
{"predicate": {"type": 1.0},"model": "forgecraft:item/ironaxehead_1"}
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot_hot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_hot"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_redstone1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_redstone2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_redstone3"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_lapis1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_lapis2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_lapis3"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond1_redstone1_lapis1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond2_redstone1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond1_redstone2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_redstone1_lapis2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot_emerald1",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_emerald1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_redstone2_lapis1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond1_lapis2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_emerald1_diamond1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_emerald1_diamond2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_emerald1_diamond1_redstone1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_emerald1_redstone2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond3"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -7,27 +7,27 @@
|
|||||||
},
|
},
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{"predicate": {"type": 0.0},"model": "forgecraft:item/ironpickaxe_0"},
|
{"predicate": {"type": 0.0},"model": "forgecraft:item/ironpickaxe_0"},
|
||||||
{"predicate": {"type": 0.0001},"model": "forgecraft:item/ironpickaxehead_13"},
|
{"predicate": {"type": 0.0001},"model": "forgecraft:item/ironpickaxe_13"},
|
||||||
{"predicate": {"type": 0.0002},"model": "forgecraft:item/ironpickaxehead_14"},
|
{"predicate": {"type": 0.0002},"model": "forgecraft:item/ironpickaxe_14"},
|
||||||
{"predicate": {"type": 0.0003},"model": "forgecraft:item/ironpickaxehead_15"},
|
{"predicate": {"type": 0.0003},"model": "forgecraft:item/ironpickaxe_15"},
|
||||||
{"predicate": {"type": 0.001},"model": "forgecraft:item/ironpickaxehead_10"},
|
{"predicate": {"type": 0.001},"model": "forgecraft:item/ironpickaxe_10"},
|
||||||
{"predicate": {"type": 0.0012},"model": "forgecraft:item/ironpickaxehead_19"},
|
{"predicate": {"type": 0.0012},"model": "forgecraft:item/ironpickaxe_19"},
|
||||||
{"predicate": {"type": 0.002},"model": "forgecraft:item/ironpickaxehead_11"},
|
{"predicate": {"type": 0.002},"model": "forgecraft:item/ironpickaxe_11"},
|
||||||
{"predicate": {"type": 0.0021},"model": "forgecraft:item/ironpickaxehead_20"},
|
{"predicate": {"type": 0.0021},"model": "forgecraft:item/ironpickaxe_20"},
|
||||||
{"predicate": {"type": 0.003},"model": "forgecraft:item/ironpickaxehead_12"},
|
{"predicate": {"type": 0.003},"model": "forgecraft:item/ironpickaxe_12"},
|
||||||
{"predicate": {"type": 0.01},"model": "forgecraft:item/ironpickaxehead_7"},
|
{"predicate": {"type": 0.01},"model": "forgecraft:item/ironpickaxe_7"},
|
||||||
{"predicate": {"type": 0.0102},"model": "forgecraft:item/ironpickaxehead_21"},
|
{"predicate": {"type": 0.0102},"model": "forgecraft:item/ironpickaxe_21"},
|
||||||
{"predicate": {"type": 0.0111},"model": "forgecraft:item/ironpickaxehead_16"},
|
{"predicate": {"type": 0.0111},"model": "forgecraft:item/ironpickaxe_16"},
|
||||||
{"predicate": {"type": 0.012},"model": "forgecraft:item/ironpickaxehead_18"},
|
{"predicate": {"type": 0.012},"model": "forgecraft:item/ironpickaxe_18"},
|
||||||
{"predicate": {"type": 0.02},"model": "forgecraft:item/ironpickaxehead_8"},
|
{"predicate": {"type": 0.02},"model": "forgecraft:item/ironpickaxe_8"},
|
||||||
{"predicate": {"type": 0.021},"model": "forgecraft:item/ironpickaxehead_17"},
|
{"predicate": {"type": 0.021},"model": "forgecraft:item/ironpickaxe_17"},
|
||||||
{"predicate": {"type": 0.03},"model": "forgecraft:item/ironpickaxehead_9"},
|
{"predicate": {"type": 0.03},"model": "forgecraft:item/ironpickaxe_9"},
|
||||||
{"predicate": {"type": 0.1},"model": "forgecraft:item/ironpickaxehead_2"},
|
{"predicate": {"type": 0.1},"model": "forgecraft:item/ironpickaxe_2"},
|
||||||
{"predicate": {"type": 0.102},"model": "forgecraft:item/ironpickaxehead_6"},
|
{"predicate": {"type": 0.102},"model": "forgecraft:item/ironpickaxe_6"},
|
||||||
{"predicate": {"type": 0.11},"model": "forgecraft:item/ironpickaxehead_3"},
|
{"predicate": {"type": 0.11},"model": "forgecraft:item/ironpickaxe_3"},
|
||||||
{"predicate": {"type": 0.111},"model": "forgecraft:item/ironpickaxehead_5"},
|
{"predicate": {"type": 0.111},"model": "forgecraft:item/ironpickaxe_5"},
|
||||||
{"predicate": {"type": 0.12},"model": "forgecraft:item/ironpickaxehead_4"},
|
{"predicate": {"type": 0.12},"model": "forgecraft:item/ironpickaxe_4"},
|
||||||
{"predicate": {"type": 1.0},"model": "forgecraft:item/ironpickaxehead_1"}
|
{"predicate": {"type": 1.0},"model": "forgecraft:item/ironpickaxe_1"}
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot_hot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_hot"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_redstone1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_redstone2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_redstone3"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_lapis1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_lapis2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_lapis3"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond1_redstone1_lapis1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond2_redstone1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond1_redstone2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_redstone1_lapis2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot_emerald1",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_emerald1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_redstone2_lapis1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond1_lapis2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_emerald1_diamond1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_emerald1_diamond2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_emerald1_diamond1_redstone1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_emerald1_redstone2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond1"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond2"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxe",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/iron_ingot",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/iron_ingot_diamond3"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,160 @@
|
|||||||
|
{
|
||||||
|
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "blocks/e_particle",
|
||||||
|
"texture": "items/iron_ingot",
|
||||||
|
"texture1": "blocks/e_texture"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "Cube1",
|
||||||
|
"from": [ 7, 12.5, 7.5 ],
|
||||||
|
"to": [ 7.5, 16, 8 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 0, 7.5, 0.5 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 9, 0.5, 8.5, 0 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 7.5, 11, 7, 7.5 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 7, 5, 7.5, 8.5 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 5, 0, 8.5, 0.5 ], "texture": "#texture1", "rotation": 90 },
|
||||||
|
"east": { "uv": [ 7.5, 0, 11, 0.5 ], "texture": "#texture1", "rotation": 270 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube2",
|
||||||
|
"from": [ 6, 11.5, 7.5 ],
|
||||||
|
"to": [ 7, 15.5, 8 ],
|
||||||
|
"rotation": { "origin": [ 7, 11.5, 7.5 ], "axis": "y", "angle": 22.5 },
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 9, 15.5, 10, 16 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 7, 16, 6, 15.5 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 7, 14.5, 6, 10.5 ], "texture": "#texture1", "rotation": 180 },
|
||||||
|
"south": { "uv": [ 6, 1.5, 7, 5.5 ], "texture": "#texture1", "rotation": 180 },
|
||||||
|
"west": { "uv": [ 10.5, 14, 14.5, 14.5 ], "texture": "#texture1", "rotation": 90 },
|
||||||
|
"east": { "uv": [ 1.5, 14, 5.5, 14.5 ], "texture": "#texture1", "rotation": 270 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube5",
|
||||||
|
"from": [ 6.5, 11, 7.5 ],
|
||||||
|
"to": [ 7.5, 12.5, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 14, 8, 15 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 10, 15, 9, 14 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 7.5, 11.5, 6.5, 10 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 6.5, 4.5, 7.5, 6 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 4.5, 14, 6, 15 ], "texture": "#texture1", "rotation": 90 },
|
||||||
|
"east": { "uv": [ 10, 14, 11.5, 15 ], "texture": "#texture1", "rotation": 270 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube5",
|
||||||
|
"from": [ 8.5, 11, 7.5 ],
|
||||||
|
"to": [ 9.5, 12.5, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 14, 8, 15 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 10, 15, 9, 14 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 7.5, 11.5, 6.5, 10 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 6.5, 4.5, 7.5, 6 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 4.5, 14, 6, 15 ], "texture": "#texture1", "rotation": 90 },
|
||||||
|
"east": { "uv": [ 10, 14, 11.5, 15 ], "texture": "#texture1", "rotation": 270 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube9",
|
||||||
|
"from": [ 7, 11.5, 7 ],
|
||||||
|
"to": [ 9, 13, 7.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 0.5, 9, 1 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 9, 1, 7, 0.5 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 9, 8, 7, 6.5 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 7, 8, 9, 9.5 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 8, 0.5, 9.5, 1 ], "texture": "#texture1", "rotation": 90 },
|
||||||
|
"east": { "uv": [ 6.5, 0.5, 8, 1 ], "texture": "#texture1", "rotation": 270 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube9",
|
||||||
|
"from": [ 7, 10.5, 8.5 ],
|
||||||
|
"to": [ 9, 12, 9 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 0, 9, 0.5 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 9, 0.5, 7, 0 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 9, 12.5, 7, 10.5 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 7, 3.5, 9, 5.5 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 3.5, 0, 5.5, 0.5 ], "texture": "#texture1", "rotation": 90 },
|
||||||
|
"east": { "uv": [ 10.5, 0, 12.5, 0.5 ], "texture": "#texture1", "rotation": 270 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube1",
|
||||||
|
"from": [ 8.5, 12.5, 7.5 ],
|
||||||
|
"to": [ 9, 16, 8 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 15.5, 7.5, 16 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 9, 16, 8.5, 15.5 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 7.5, 15, 7, 12 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 7, 1, 7.5, 4 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 1, 15.5, 4, 16 ], "texture": "#texture1", "rotation": 90 },
|
||||||
|
"east": { "uv": [ 12, 15.5, 15, 16 ], "texture": "#texture1", "rotation": 270 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube12",
|
||||||
|
"from": [ 7.5, 12.5, 7.5 ],
|
||||||
|
"to": [ 8.5, 16, 8 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7.5, 0, 8.5, 0.5 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 8.5, 0.5, 7.5, 0 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 8.5, 11, 7.5, 7.5 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 7.5, 5, 8.5, 8.5 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 5, 0, 8.5, 0.5 ], "texture": "#texture1", "rotation": 90 },
|
||||||
|
"east": { "uv": [ 7.5, 0, 11, 0.5 ], "texture": "#texture1", "rotation": 270 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube2",
|
||||||
|
"from": [ 9, 11.5, 7.5 ],
|
||||||
|
"to": [ 10, 15.5, 8 ],
|
||||||
|
"rotation": { "origin": [ 9, 15.5, 7.5 ], "axis": "y", "angle": -22.5 },
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 16, 6, 15.5 ], "texture": "#texture1", "rotation": 180 },
|
||||||
|
"up": { "uv": [ 9, 15.5, 10, 16 ], "texture": "#texture1", "rotation": 180 },
|
||||||
|
"north": { "uv": [ 6, 10.5, 7, 14.5 ], "texture": "#texture1", "rotation": 180 },
|
||||||
|
"south": { "uv": [ 7, 5.5, 6, 1.5 ], "texture": "#texture1", "rotation": 180 },
|
||||||
|
"west": { "uv": [ 1.5, 14, 5.5, 14.5 ], "texture": "#texture1", "rotation": 90 },
|
||||||
|
"east": { "uv": [ 10.5, 14, 14.5, 14.5 ], "texture": "#texture1", "rotation": 270 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube11",
|
||||||
|
"from": [ 7.5, 0, 7.5 ],
|
||||||
|
"to": [ 8.5, 12.5, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7.5, 7.5, 8.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7.5, 7.5, 8.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7.5, 3.5, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7.5, 3.5, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 3.5, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 3.5, 8.5, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"display": {
|
||||||
|
"thirdperson_righthand": {
|
||||||
|
"translation": [ 0, 5, 1 ]
|
||||||
|
},
|
||||||
|
"firstperson_righthand": {
|
||||||
|
"translation": [ 0, 5, 1 ]
|
||||||
|
},
|
||||||
|
"gui": {
|
||||||
|
"rotation": [ 0, 0, -45 ]
|
||||||
|
},
|
||||||
|
"ground": {
|
||||||
|
"rotation": [ 90, 180, 0 ],
|
||||||
|
"translation": [ 0, -2, 0 ]
|
||||||
|
},
|
||||||
|
"fixed": {
|
||||||
|
"rotation": [ 0, 0, 45 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,129 @@
|
|||||||
|
{
|
||||||
|
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "blocks/e_particle",
|
||||||
|
"texture": "items/iron_ingot",
|
||||||
|
"texture1": "blocks/e_texture"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "Cube1",
|
||||||
|
"from": [ 7, -0.5, 5 ],
|
||||||
|
"to": [ 7.5, 0, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 7.5, 7.5, 11 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7, 5, 7.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 8.5, 0, 9, 0.5 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7, 0, 7.5, 0.5 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 5, 0, 8.5, 0.5 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 0, 11, 0.5 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube2",
|
||||||
|
"from": [ 6, -0.5, 5.5 ],
|
||||||
|
"to": [ 7, 0, 9.5 ],
|
||||||
|
"rotation": { "origin": [ 7, -0.5, 9.5 ], "axis": "z", "angle": -22.5 },
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6, 10.5, 7, 14.5 ], "texture": "#texture", "rotation": 180 },
|
||||||
|
"up": { "uv": [ 6, 1.5, 7, 5.5 ], "texture": "#texture", "rotation": 180 },
|
||||||
|
"north": { "uv": [ 6, 15.5, 7, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 9, 15.5, 10, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 10.5, 14, 14.5, 14.5 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 1.5, 14, 5.5, 14.5 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube5",
|
||||||
|
"from": [ 6.5, -0.5, 8.5 ],
|
||||||
|
"to": [ 7.5, 0.5, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6.5, 10, 7.5, 11.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 6.5, 4.5, 7.5, 6 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 9, 14, 10, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7, 14, 8, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 4.5, 14, 6, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 10, 14, 11.5, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube5",
|
||||||
|
"from": [ 8.5, -0.5, 8.5 ],
|
||||||
|
"to": [ 9.5, 0.5, 10 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6.5, 10, 7.5, 11.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 6.5, 4.5, 7.5, 6 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 9, 14, 10, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7, 14, 8, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 4.5, 14, 6, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 10, 14, 11.5, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube9",
|
||||||
|
"from": [ 7, -1, 8 ],
|
||||||
|
"to": [ 9, -0.5, 9.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 6.5, 9, 8 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7, 8, 9, 9.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7, 0.5, 9, 1 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7, 0.5, 9, 1 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 8, 0.5, 9.5, 1 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 6.5, 0.5, 8, 1 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube9",
|
||||||
|
"from": [ 7, 0.5, 9 ],
|
||||||
|
"to": [ 9, 1, 10.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 10.5, 9, 12.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7, 3.5, 9, 5.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7, 0, 9, 0.5 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7, 0, 9, 0.5 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 3.5, 0, 5.5, 0.5 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 10.5, 0, 12.5, 0.5 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube1",
|
||||||
|
"from": [ 8.5, -0.5, 5 ],
|
||||||
|
"to": [ 9, 0, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 12, 7.5, 15 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7, 1, 7.5, 4 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 8.5, 15.5, 9, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7, 15.5, 7.5, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 1, 15.5, 4, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 12, 15.5, 15, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube12",
|
||||||
|
"from": [ 7.5, -0.5, 5 ],
|
||||||
|
"to": [ 8.5, 0, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7.5, 7.5, 8.5, 11 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7.5, 5, 8.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7.5, 0, 8.5, 0.5 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7.5, 0, 8.5, 0.5 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 5, 0, 8.5, 0.5 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 0, 11, 0.5 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube2",
|
||||||
|
"from": [ 9, -0.5, 5.5 ],
|
||||||
|
"to": [ 10, 0, 9.5 ],
|
||||||
|
"rotation": { "origin": [ 9, -0.5, 5.5 ], "axis": "z", "angle": 22.5 },
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6, 10.5, 7, 14.5 ], "texture": "#texture", "rotation": 180 },
|
||||||
|
"up": { "uv": [ 6, 1.5, 7, 5.5 ], "texture": "#texture", "rotation": 180 },
|
||||||
|
"north": { "uv": [ 6, 15.5, 7, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 9, 15.5, 10, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 10.5, 14, 14.5, 14.5 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 1.5, 14, 5.5, 14.5 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user