all the assets, casting recipes, bloomery recipes and tweaks, upgrades done
@@ -4,7 +4,9 @@ To-Dos
|
|||||||
|
|
||||||
|
|
||||||
*** Current Feature ***
|
*** Current Feature ***
|
||||||
|
- [ ] BlockBreaker Support for copper dust and tin dust
|
||||||
|
- [x] picking up raw bronze crucible returns some other shit
|
||||||
|
- [ ] Tool breaking should return tool head````
|
||||||
|
|
||||||
*** Feature Musket ***
|
*** Feature Musket ***
|
||||||
- [ ] Create powder charge item (copper, charcoal, gunpowder)
|
- [ ] Create powder charge item (copper, charcoal, gunpowder)
|
||||||
@@ -26,10 +28,7 @@ To-Dos
|
|||||||
- [ ] 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
|
||||||
- [ ] WeaponHead recipes
|
- [ ] WeaponHead recipes
|
||||||
- [ ] Casting Table
|
|
||||||
- [ ] Block
|
|
||||||
- [ ] Gui
|
|
||||||
- [ ] Crafting recipes
|
|
||||||
|
|
||||||
*** Tid-Bits ***
|
*** Tid-Bits ***
|
||||||
sed -i -- 's/iron/steel/g' *
|
sed -i -- 's/iron/steel/g' *
|
||||||
@@ -37,6 +36,10 @@ rm *.json--
|
|||||||
rename s/iron/steel/ iron*
|
rename s/iron/steel/ iron*
|
||||||
|
|
||||||
*** Completed ***
|
*** Completed ***
|
||||||
|
- [x] Casting Table
|
||||||
|
- [x] Block
|
||||||
|
- [x] Gui
|
||||||
|
- [x] Crafting recipes
|
||||||
- [x] StoneTongs for all tool heads
|
- [x] StoneTongs for all tool heads
|
||||||
- [x] ItemNBT
|
- [x] ItemNBT
|
||||||
- [x] ItemRender
|
- [x] ItemRender
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import net.minecraft.entity.EntityLivingBase;
|
|||||||
import net.minecraft.entity.item.EntityItem;
|
import net.minecraft.entity.item.EntityItem;
|
||||||
import net.minecraft.entity.player.EntityPlayer;
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
import net.minecraft.tileentity.TileEntity;
|
import net.minecraft.tileentity.TileEntity;
|
||||||
import net.minecraft.util.EnumBlockRenderType;
|
import net.minecraft.util.EnumBlockRenderType;
|
||||||
import net.minecraft.util.EnumFacing;
|
import net.minecraft.util.EnumFacing;
|
||||||
@@ -21,6 +22,7 @@ import net.minecraftforge.fml.relauncher.SideOnly;
|
|||||||
import nmd.primal.core.common.helper.CommonUtils;
|
import nmd.primal.core.common.helper.CommonUtils;
|
||||||
import nmd.primal.core.common.helper.PlayerHelper;
|
import nmd.primal.core.common.helper.PlayerHelper;
|
||||||
import nmd.primal.forgecraft.ModInfo;
|
import nmd.primal.forgecraft.ModInfo;
|
||||||
|
import nmd.primal.forgecraft.init.ModItems;
|
||||||
import nmd.primal.forgecraft.items.casting.CastingPart;
|
import nmd.primal.forgecraft.items.casting.CastingPart;
|
||||||
import nmd.primal.forgecraft.tiles.TileCastingBlock;
|
import nmd.primal.forgecraft.tiles.TileCastingBlock;
|
||||||
import nmd.primal.forgecraft.tiles.TileCastingForm;
|
import nmd.primal.forgecraft.tiles.TileCastingForm;
|
||||||
@@ -58,6 +60,7 @@ public class CastingBlock extends CustomContainerFacing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(pItem.getItem() instanceof CastingPart){
|
if(pItem.getItem() instanceof CastingPart){
|
||||||
|
if(!player.isSneaking()) {
|
||||||
if (tile.getSlotStack(0).isEmpty()) {
|
if (tile.getSlotStack(0).isEmpty()) {
|
||||||
ItemStack copyStack = pItem.copy();
|
ItemStack copyStack = pItem.copy();
|
||||||
copyStack.setCount(1);
|
copyStack.setCount(1);
|
||||||
@@ -68,6 +71,445 @@ public class CastingBlock extends CustomContainerFacing {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(pItem.getItem() == ModItems.stonetongs ){
|
||||||
|
if(pItem.getTagCompound().getInteger("type") == 40){
|
||||||
|
if(tile.getSlotStack(0).getItem() == ModItems.cast_hoe){
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzehoehead);
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(0).getItem() == ModItems.cast_pickaxe){
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzepickaxehead);
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(0).getItem() == ModItems.cast_axe){
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzeaxehead);
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(0).getItem() == ModItems.cast_shovel){
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzeshovelhead);
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(0).getItem() == ModItems.cast_gladius){
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzegladius);
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/***************************
|
||||||
|
* Bronze *
|
||||||
|
*
|
||||||
|
46 | Hot Cooked Bronze Crucible Emerald
|
||||||
|
48 | Hot Cooked Bronze Crucible Diamond
|
||||||
|
50 | Hot Cooked Bronze Crucible Redstone
|
||||||
|
52 | Hot Cooked Bronze Crucible Lapis
|
||||||
|
***************************/
|
||||||
|
if(pItem.getTagCompound().getInteger("type") == 46){
|
||||||
|
if(tile.getSlotStack(0).getItem() == ModItems.cast_hoe){
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzehoehead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", true);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 0);
|
||||||
|
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(0).getItem() == ModItems.cast_pickaxe){
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzepickaxehead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", true);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 0);
|
||||||
|
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(0).getItem() == ModItems.cast_axe){
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzeaxehead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", true);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 0);
|
||||||
|
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(0).getItem() == ModItems.cast_shovel){
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzeshovelhead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", true);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 0);
|
||||||
|
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if(tile.getSlotStack(0).getItem() == ModItems.cast_gladius){
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzegladius);
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(pItem.getTagCompound().getInteger("type") == 48) {
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_hoe) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzehoehead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", false);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 1);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if (CommonUtils.randomCheck(2)) {
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_pickaxe) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzepickaxehead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", false);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 1);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if (CommonUtils.randomCheck(2)) {
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_axe) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzeaxehead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
|
||||||
|
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", false);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 1);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
|
||||||
|
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if (CommonUtils.randomCheck(2)) {
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_shovel) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzeshovelhead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
|
||||||
|
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", false);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 1);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
|
||||||
|
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if (CommonUtils.randomCheck(2)) {
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_gladius) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzegladius);
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if (CommonUtils.randomCheck(2)) {
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(pItem.getTagCompound().getInteger("type") == 50) {
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_hoe) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzehoehead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", false);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 1);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_pickaxe) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzepickaxehead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", false);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 1);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_axe) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzeaxehead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
|
||||||
|
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", false);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 1);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
|
||||||
|
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_shovel) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzeshovelhead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
|
||||||
|
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", false);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 1);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
|
||||||
|
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_gladius) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzegladius);
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if(pItem.getTagCompound().getInteger("type") == 52) {
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_hoe) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzehoehead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", false);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 1);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_pickaxe) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzepickaxehead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", false);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 1);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_axe) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzeaxehead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
|
||||||
|
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", false);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 1);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
|
||||||
|
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_shovel) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzeshovelhead);
|
||||||
|
dropStack.setTagCompound(new NBTTagCompound());
|
||||||
|
|
||||||
|
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
dropStack.getTagCompound().setTag("tags", tags);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("hot", false);
|
||||||
|
dropStack.getSubCompound("tags").setBoolean("emerald", false);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("diamond", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("redstone", 0);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("lapis", 1);
|
||||||
|
dropStack.getSubCompound("tags").setInteger("modifiers", 1);
|
||||||
|
|
||||||
|
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if (tile.getSlotStack(0).getItem() == ModItems.cast_gladius) {
|
||||||
|
ItemStack dropStack = new ItemStack(ModItems.bronzegladius);
|
||||||
|
PlayerHelper.spawnItemOnGround(world, pos, dropStack);
|
||||||
|
pItem.getTagCompound().setInteger("type", 0);
|
||||||
|
if(CommonUtils.randomCheck(2)){
|
||||||
|
tile.setSlotStack(0, ItemStack.EMPTY);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -57,6 +57,22 @@ public class ModBlocks {
|
|||||||
public static Block hotbronzecrucible;
|
public static Block hotbronzecrucible;
|
||||||
public static Block hotcookedbronzecrucible;
|
public static Block hotcookedbronzecrucible;
|
||||||
|
|
||||||
|
public static Block rawbronzecrucible_redstone;
|
||||||
|
public static Block hotbronzecrucible_redstone;
|
||||||
|
public static Block hotcookedbronzecrucible_redstone;
|
||||||
|
|
||||||
|
public static Block rawbronzecrucible_lapis;
|
||||||
|
public static Block hotbronzecrucible_lapis;
|
||||||
|
public static Block hotcookedbronzecrucible_lapis;
|
||||||
|
|
||||||
|
public static Block rawbronzecrucible_diamond;
|
||||||
|
public static Block hotbronzecrucible_diamond;
|
||||||
|
public static Block hotcookedbronzecrucible_diamond;
|
||||||
|
|
||||||
|
public static Block rawbronzecrucible_emerald;
|
||||||
|
public static Block hotbronzecrucible_emerald;
|
||||||
|
public static Block hotcookedbronzecrucible_emerald;
|
||||||
|
|
||||||
public static Block rawironcrucible;
|
public static Block rawironcrucible;
|
||||||
public static Block hotironcrucible;
|
public static Block hotironcrucible;
|
||||||
public static Block hotcookedironcrucible;
|
public static Block hotcookedironcrucible;
|
||||||
@@ -124,6 +140,22 @@ public class ModBlocks {
|
|||||||
hotbronzecrucible = new CrucibleHot(Material.ROCK, "hotbronzecrucible");
|
hotbronzecrucible = new CrucibleHot(Material.ROCK, "hotbronzecrucible");
|
||||||
hotcookedbronzecrucible = new CrucibleHot(Material.ROCK, "hotcookedbronzecrucible");
|
hotcookedbronzecrucible = new CrucibleHot(Material.ROCK, "hotcookedbronzecrucible");
|
||||||
|
|
||||||
|
rawbronzecrucible_redstone = new Crucible(Material.ROCK, "rawbronzecrucible_redstone");
|
||||||
|
hotbronzecrucible_redstone = new CrucibleHot(Material.ROCK, "hotbronzecrucible_redstone");
|
||||||
|
hotcookedbronzecrucible_redstone = new CrucibleHot(Material.ROCK, "hotcookedbronzecrucible_redstone");
|
||||||
|
|
||||||
|
rawbronzecrucible_diamond = new Crucible(Material.ROCK, "rawbronzecrucible_diamond");
|
||||||
|
hotbronzecrucible_diamond = new CrucibleHot(Material.ROCK, "hotbronzecrucible_diamond");
|
||||||
|
hotcookedbronzecrucible_diamond = new CrucibleHot(Material.ROCK, "hotcookedbronzecrucible_diamond");
|
||||||
|
|
||||||
|
rawbronzecrucible_lapis = new Crucible(Material.ROCK, "rawbronzecrucible_lapis");
|
||||||
|
hotbronzecrucible_lapis = new CrucibleHot(Material.ROCK, "hotbronzecrucible_lapis");
|
||||||
|
hotcookedbronzecrucible_lapis = new CrucibleHot(Material.ROCK, "hotcookedbronzecrucible_lapis");
|
||||||
|
|
||||||
|
rawbronzecrucible_emerald = new Crucible(Material.ROCK, "rawbronzecrucible_emerald");
|
||||||
|
hotbronzecrucible_emerald = new CrucibleHot(Material.ROCK, "hotbronzecrucible_emerald");
|
||||||
|
hotcookedbronzecrucible_emerald = new CrucibleHot(Material.ROCK, "hotcookedbronzecrucible_emerald");
|
||||||
|
|
||||||
rawironcrucible = new Crucible(Material.ROCK, "rawironcrucible");
|
rawironcrucible = new Crucible(Material.ROCK, "rawironcrucible");
|
||||||
hotironcrucible = new CrucibleHot(Material.ROCK, "hotironcrucible");
|
hotironcrucible = new CrucibleHot(Material.ROCK, "hotironcrucible");
|
||||||
hotcookedironcrucible = new CrucibleHot(Material.ROCK, "hotcookedironcrucible");
|
hotcookedironcrucible = new CrucibleHot(Material.ROCK, "hotcookedironcrucible");
|
||||||
@@ -408,6 +440,22 @@ public class ModBlocks {
|
|||||||
registerBlock(hotbronzecrucible);
|
registerBlock(hotbronzecrucible);
|
||||||
registerBlock(hotcookedbronzecrucible);
|
registerBlock(hotcookedbronzecrucible);
|
||||||
|
|
||||||
|
registerBlock(rawbronzecrucible_diamond);
|
||||||
|
registerBlock(hotbronzecrucible_diamond);
|
||||||
|
registerBlock(hotcookedbronzecrucible_diamond);
|
||||||
|
|
||||||
|
registerBlock(rawbronzecrucible_emerald);
|
||||||
|
registerBlock(hotbronzecrucible_emerald);
|
||||||
|
registerBlock(hotcookedbronzecrucible_emerald);
|
||||||
|
|
||||||
|
registerBlock(rawbronzecrucible_redstone);
|
||||||
|
registerBlock(hotbronzecrucible_redstone);
|
||||||
|
registerBlock(hotcookedbronzecrucible_redstone);
|
||||||
|
|
||||||
|
registerBlock(rawbronzecrucible_lapis);
|
||||||
|
registerBlock(hotbronzecrucible_lapis);
|
||||||
|
registerBlock(hotcookedbronzecrucible_lapis);
|
||||||
|
|
||||||
registerBlock(rawironcrucible);
|
registerBlock(rawironcrucible);
|
||||||
registerBlock(hotironcrucible);
|
registerBlock(hotironcrucible);
|
||||||
registerBlock(hotcookedironcrucible);
|
registerBlock(hotcookedironcrucible);
|
||||||
@@ -481,6 +529,22 @@ public class ModBlocks {
|
|||||||
registerRender(hotbronzecrucible);
|
registerRender(hotbronzecrucible);
|
||||||
registerRender(hotcookedbronzecrucible);
|
registerRender(hotcookedbronzecrucible);
|
||||||
|
|
||||||
|
registerRender(rawbronzecrucible_diamond);
|
||||||
|
registerRender(hotbronzecrucible_diamond);
|
||||||
|
registerRender(hotcookedbronzecrucible_diamond);
|
||||||
|
|
||||||
|
registerRender(rawbronzecrucible_emerald);
|
||||||
|
registerRender(hotbronzecrucible_emerald);
|
||||||
|
registerRender(hotcookedbronzecrucible_emerald);
|
||||||
|
|
||||||
|
registerRender(rawbronzecrucible_redstone);
|
||||||
|
registerRender(hotbronzecrucible_redstone);
|
||||||
|
registerRender(hotcookedbronzecrucible_redstone);
|
||||||
|
|
||||||
|
registerRender(rawbronzecrucible_lapis);
|
||||||
|
registerRender(hotbronzecrucible_lapis);
|
||||||
|
registerRender(hotcookedbronzecrucible_lapis);
|
||||||
|
|
||||||
registerRender(rawironcrucible);
|
registerRender(rawironcrucible);
|
||||||
registerRender(hotironcrucible);
|
registerRender(hotironcrucible);
|
||||||
registerRender(hotcookedironcrucible);
|
registerRender(hotcookedironcrucible);
|
||||||
|
|||||||
@@ -90,9 +90,50 @@ public class ModCrafting {
|
|||||||
('Y'), ModBlocks.emptycrucible));
|
('Y'), ModBlocks.emptycrucible));
|
||||||
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.rawbronzecrucible),
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.rawbronzecrucible),
|
||||||
"XCX"," X "," Y ",
|
"XCX"," X "," Y ",
|
||||||
('X'), "nuggetCopper",
|
('X'), "dustCopper",
|
||||||
('C'), "nuggetTin",
|
('C'), "dustTin",
|
||||||
('Y'), ModBlocks.emptycrucible));
|
('Y'), ModBlocks.emptycrucible));
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.rawbronzecrucible),
|
||||||
|
"XXX"," X "," Y ",
|
||||||
|
('X'), "nuggetBronze",
|
||||||
|
('Y'), ModBlocks.emptycrucible));
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.rawbronzecrucible),
|
||||||
|
"X","Y",
|
||||||
|
('X'), new ItemStack(ModItems.bronzepickaxehead, 1, OreDictionary.WILDCARD_VALUE),
|
||||||
|
('Y'), ModBlocks.emptycrucible));
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.rawbronzecrucible),
|
||||||
|
"X","Y",
|
||||||
|
('X'), new ItemStack(ModItems.bronzeaxehead, 1, OreDictionary.WILDCARD_VALUE),
|
||||||
|
('Y'), ModBlocks.emptycrucible));
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.rawbronzecrucible),
|
||||||
|
"X","Y",
|
||||||
|
('X'), new ItemStack(ModItems.bronzeshovelhead, 1, OreDictionary.WILDCARD_VALUE),
|
||||||
|
('Y'), ModBlocks.emptycrucible));
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.rawbronzecrucible),
|
||||||
|
"X","Y",
|
||||||
|
('X'), new ItemStack(ModItems.bronzehoehead, 1, OreDictionary.WILDCARD_VALUE),
|
||||||
|
('Y'), ModBlocks.emptycrucible));
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.rawbronzecrucible),
|
||||||
|
"X","Y",
|
||||||
|
('X'), new ItemStack(ModItems.bronzegladius, 1, OreDictionary.WILDCARD_VALUE),
|
||||||
|
('Y'), ModBlocks.emptycrucible));
|
||||||
|
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.rawbronzecrucible_redstone),
|
||||||
|
"R","Y",
|
||||||
|
('R'), Items.REDSTONE,
|
||||||
|
('Y'), ModBlocks.rawbronzecrucible));
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.rawbronzecrucible_diamond),
|
||||||
|
"D","Y",
|
||||||
|
('D'), PrimalItems.DIAMOND_KNAPP,
|
||||||
|
('Y'), ModBlocks.rawbronzecrucible));
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.rawbronzecrucible_lapis),
|
||||||
|
"L","Y",
|
||||||
|
('L'), new ItemStack(Items.DYE, 1, 4),
|
||||||
|
('Y'), ModBlocks.rawbronzecrucible));
|
||||||
|
GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(ModBlocks.rawbronzecrucible_emerald),
|
||||||
|
"E","Y",
|
||||||
|
('E'), PrimalItems.EMERALD_KNAPP,
|
||||||
|
('Y'), ModBlocks.rawbronzecrucible));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -335,7 +376,7 @@ public class ModCrafting {
|
|||||||
0.0f
|
0.0f
|
||||||
);
|
);
|
||||||
|
|
||||||
//Makes the Finished Hot Steel Crucible
|
//Makes the Finished Hot Bronze Crucible
|
||||||
BloomeryCrafting.addRecipe(
|
BloomeryCrafting.addRecipe(
|
||||||
new ItemStack(ModBlocks.hotbronzecrucible, 1),
|
new ItemStack(ModBlocks.hotbronzecrucible, 1),
|
||||||
new ItemStack(ModBlocks.hotcookedbronzecrucible, 1),
|
new ItemStack(ModBlocks.hotcookedbronzecrucible, 1),
|
||||||
@@ -348,6 +389,107 @@ public class ModCrafting {
|
|||||||
0.5f
|
0.5f
|
||||||
);
|
);
|
||||||
|
|
||||||
|
//Makes the Hot Bronze Crucible
|
||||||
|
BloomeryCrafting.addRecipe(
|
||||||
|
new ItemStack(ModBlocks.rawbronzecrucible_diamond, 1),
|
||||||
|
new ItemStack(ModBlocks.hotbronzecrucible_diamond, 1),
|
||||||
|
new ItemStack(ModBlocks.hotbronzecrucible_diamond, 1),
|
||||||
|
new ItemStack(ModBlocks.rawbronzecrucible_diamond, 1),
|
||||||
|
800,
|
||||||
|
20,
|
||||||
|
500,
|
||||||
|
0.5f,
|
||||||
|
0.0f
|
||||||
|
);
|
||||||
|
|
||||||
|
//Makes the Finished Hot Bronze Crucible
|
||||||
|
BloomeryCrafting.addRecipe(
|
||||||
|
new ItemStack(ModBlocks.hotbronzecrucible_diamond, 1),
|
||||||
|
new ItemStack(ModBlocks.hotcookedbronzecrucible_diamond, 1),
|
||||||
|
new ItemStack(ModBlocks.hotcookedbronzecrucible_diamond, 1),
|
||||||
|
new ItemStack(ModBlocks.rawbronzecrucible_diamond, 1),
|
||||||
|
1100,
|
||||||
|
1100,
|
||||||
|
600,
|
||||||
|
0.5f,
|
||||||
|
0.5f
|
||||||
|
);
|
||||||
|
//Makes the Hot Bronze Crucible
|
||||||
|
BloomeryCrafting.addRecipe(
|
||||||
|
new ItemStack(ModBlocks.rawbronzecrucible_redstone, 1),
|
||||||
|
new ItemStack(ModBlocks.hotbronzecrucible_redstone, 1),
|
||||||
|
new ItemStack(ModBlocks.hotbronzecrucible_redstone, 1),
|
||||||
|
new ItemStack(ModBlocks.rawbronzecrucible_redstone, 1),
|
||||||
|
800,
|
||||||
|
20,
|
||||||
|
500,
|
||||||
|
0.5f,
|
||||||
|
0.0f
|
||||||
|
);
|
||||||
|
|
||||||
|
//Makes the Finished Hot Bronze Crucible
|
||||||
|
BloomeryCrafting.addRecipe(
|
||||||
|
new ItemStack(ModBlocks.hotbronzecrucible_redstone, 1),
|
||||||
|
new ItemStack(ModBlocks.hotcookedbronzecrucible_redstone, 1),
|
||||||
|
new ItemStack(ModBlocks.hotcookedbronzecrucible_redstone, 1),
|
||||||
|
new ItemStack(ModBlocks.rawbronzecrucible_redstone, 1),
|
||||||
|
1100,
|
||||||
|
1100,
|
||||||
|
600,
|
||||||
|
0.5f,
|
||||||
|
0.5f
|
||||||
|
);
|
||||||
|
//Makes the Hot Bronze Crucible
|
||||||
|
BloomeryCrafting.addRecipe(
|
||||||
|
new ItemStack(ModBlocks.rawbronzecrucible_emerald, 1),
|
||||||
|
new ItemStack(ModBlocks.hotbronzecrucible_emerald, 1),
|
||||||
|
new ItemStack(ModBlocks.hotbronzecrucible_emerald, 1),
|
||||||
|
new ItemStack(ModBlocks.rawbronzecrucible_emerald, 1),
|
||||||
|
800,
|
||||||
|
20,
|
||||||
|
500,
|
||||||
|
0.5f,
|
||||||
|
0.0f
|
||||||
|
);
|
||||||
|
|
||||||
|
//Makes the Finished Hot Bronze Crucible
|
||||||
|
BloomeryCrafting.addRecipe(
|
||||||
|
new ItemStack(ModBlocks.hotbronzecrucible_emerald, 1),
|
||||||
|
new ItemStack(ModBlocks.hotcookedbronzecrucible_emerald, 1),
|
||||||
|
new ItemStack(ModBlocks.hotcookedbronzecrucible_emerald, 1),
|
||||||
|
new ItemStack(ModBlocks.rawbronzecrucible_emerald, 1),
|
||||||
|
1100,
|
||||||
|
1100,
|
||||||
|
600,
|
||||||
|
0.5f,
|
||||||
|
0.5f
|
||||||
|
);
|
||||||
|
//Makes the Hot Bronze Crucible
|
||||||
|
BloomeryCrafting.addRecipe(
|
||||||
|
new ItemStack(ModBlocks.rawbronzecrucible_lapis, 1),
|
||||||
|
new ItemStack(ModBlocks.hotbronzecrucible_lapis, 1),
|
||||||
|
new ItemStack(ModBlocks.hotbronzecrucible_lapis, 1),
|
||||||
|
new ItemStack(ModBlocks.rawbronzecrucible_lapis, 1),
|
||||||
|
800,
|
||||||
|
20,
|
||||||
|
500,
|
||||||
|
0.5f,
|
||||||
|
0.0f
|
||||||
|
);
|
||||||
|
|
||||||
|
//Makes the Finished Hot Bronze Crucible
|
||||||
|
BloomeryCrafting.addRecipe(
|
||||||
|
new ItemStack(ModBlocks.hotbronzecrucible_lapis, 1),
|
||||||
|
new ItemStack(ModBlocks.hotcookedbronzecrucible_lapis, 1),
|
||||||
|
new ItemStack(ModBlocks.hotcookedbronzecrucible_lapis, 1),
|
||||||
|
new ItemStack(ModBlocks.rawbronzecrucible_lapis, 1),
|
||||||
|
1100,
|
||||||
|
1100,
|
||||||
|
600,
|
||||||
|
0.5f,
|
||||||
|
0.5f
|
||||||
|
);
|
||||||
|
|
||||||
//TODO PLACE HOLDER FOR WOOTZ
|
//TODO PLACE HOLDER FOR WOOTZ
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ import nmd.primal.core.api.PrimalMaterials;
|
|||||||
import nmd.primal.forgecraft.ModInfo;
|
import nmd.primal.forgecraft.ModInfo;
|
||||||
import nmd.primal.forgecraft.items.*;
|
import nmd.primal.forgecraft.items.*;
|
||||||
import nmd.primal.forgecraft.items.casting.CastingPart;
|
import nmd.primal.forgecraft.items.casting.CastingPart;
|
||||||
|
import nmd.primal.forgecraft.items.parts.BronzeToolPart;
|
||||||
import nmd.primal.forgecraft.items.parts.ToolPart;
|
import nmd.primal.forgecraft.items.parts.ToolPart;
|
||||||
import nmd.primal.forgecraft.items.tools.CustomAxe;
|
import nmd.primal.forgecraft.items.tools.CustomAxe;
|
||||||
import nmd.primal.forgecraft.items.tools.CustomHoe;
|
import nmd.primal.forgecraft.items.tools.CustomHoe;
|
||||||
@@ -74,6 +75,11 @@ public class ModItems {
|
|||||||
public static Item wootzhoehead;
|
public static Item wootzhoehead;
|
||||||
|
|
||||||
|
|
||||||
|
public static Item bronzepickaxehead;
|
||||||
|
public static Item bronzeaxehead;
|
||||||
|
public static Item bronzeshovelhead;
|
||||||
|
public static Item bronzehoehead;
|
||||||
|
|
||||||
public static Item ironpickaxe;
|
public static Item ironpickaxe;
|
||||||
public static Item ironaxe;
|
public static Item ironaxe;
|
||||||
public static Item ironshovel;
|
public static Item ironshovel;
|
||||||
@@ -94,6 +100,7 @@ public class ModItems {
|
|||||||
public static Item wootzshovel;
|
public static Item wootzshovel;
|
||||||
public static Item wootzhoe;
|
public static Item wootzhoe;
|
||||||
|
|
||||||
|
public static Item bronzegladius;
|
||||||
public static Item ironsword;
|
public static Item ironsword;
|
||||||
public static Item cleanironsword;
|
public static Item cleanironsword;
|
||||||
public static Item steelsword;
|
public static Item steelsword;
|
||||||
@@ -130,6 +137,12 @@ public class ModItems {
|
|||||||
/**********
|
/**********
|
||||||
TOOL PARTS
|
TOOL PARTS
|
||||||
**********/
|
**********/
|
||||||
|
|
||||||
|
bronzepickaxehead = new BronzeToolPart("bronzepickaxehead", PrimalMaterials.TOOL_BRONZE, 41);
|
||||||
|
bronzeaxehead = new BronzeToolPart("bronzeaxehead", PrimalMaterials.TOOL_BRONZE, 42);
|
||||||
|
bronzeshovelhead = new BronzeToolPart("bronzeshovelhead", PrimalMaterials.TOOL_BRONZE, 43);
|
||||||
|
bronzehoehead = new BronzeToolPart("bronzehoehead", PrimalMaterials.TOOL_BRONZE, 44);
|
||||||
|
|
||||||
pickaxehead = new ToolPart("ironpickaxehead", PrimalMaterials.TOOL_WROUGHT_IRON, 8);
|
pickaxehead = new ToolPart("ironpickaxehead", PrimalMaterials.TOOL_WROUGHT_IRON, 8);
|
||||||
ironaxehead = new ToolPart("ironaxehead", PrimalMaterials.TOOL_WROUGHT_IRON, 9);
|
ironaxehead = new ToolPart("ironaxehead", PrimalMaterials.TOOL_WROUGHT_IRON, 9);
|
||||||
ironshovelhead = new ToolPart("ironshovelhead", PrimalMaterials.TOOL_WROUGHT_IRON, 10);
|
ironshovelhead = new ToolPart("ironshovelhead", PrimalMaterials.TOOL_WROUGHT_IRON, 10);
|
||||||
@@ -175,11 +188,13 @@ public class ModItems {
|
|||||||
/**********
|
/**********
|
||||||
WEAPONS
|
WEAPONS
|
||||||
**********/
|
**********/
|
||||||
|
bronzegladius = new CustomSword("bronzegladius", PrimalMaterials.TOOL_BRONZE);
|
||||||
ironsword = new CustomSword("ironsword", PrimalMaterials.TOOL_WROUGHT_IRON);
|
ironsword = new CustomSword("ironsword", PrimalMaterials.TOOL_WROUGHT_IRON);
|
||||||
cleanironsword = new CustomSword("ironsword", PrimalMaterials.TOOL_CLEAN_IRON);
|
cleanironsword = new CustomSword("ironsword", PrimalMaterials.TOOL_CLEAN_IRON);
|
||||||
steelsword = new CustomSword("ironsword", PrimalMaterials.TOOL_BASIC_STEEL);
|
steelsword = new CustomSword("ironsword", PrimalMaterials.TOOL_BASIC_STEEL);
|
||||||
wootzsword = new CustomSword("ironsword", PrimalMaterials.TOOL_WOOTZ_STEEL);
|
wootzsword = new CustomSword("ironsword", PrimalMaterials.TOOL_WOOTZ_STEEL);
|
||||||
|
|
||||||
|
|
||||||
wroughtironshield = new CustomShield("wroughtironshield", PrimalMaterials.TOOL_WROUGHT_IRON);
|
wroughtironshield = new CustomShield("wroughtironshield", PrimalMaterials.TOOL_WROUGHT_IRON);
|
||||||
|
|
||||||
/**********
|
/**********
|
||||||
@@ -226,6 +241,11 @@ public class ModItems {
|
|||||||
/**********
|
/**********
|
||||||
TOOL PARTS
|
TOOL PARTS
|
||||||
**********/
|
**********/
|
||||||
|
GameRegistry.register(bronzepickaxehead);
|
||||||
|
GameRegistry.register(bronzeaxehead);
|
||||||
|
GameRegistry.register(bronzeshovelhead);
|
||||||
|
GameRegistry.register(bronzehoehead);
|
||||||
|
|
||||||
GameRegistry.register(pickaxehead);
|
GameRegistry.register(pickaxehead);
|
||||||
GameRegistry.register(ironaxehead);
|
GameRegistry.register(ironaxehead);
|
||||||
GameRegistry.register(ironshovelhead);
|
GameRegistry.register(ironshovelhead);
|
||||||
@@ -273,6 +293,7 @@ public class ModItems {
|
|||||||
WEAPONS
|
WEAPONS
|
||||||
**********/
|
**********/
|
||||||
GameRegistry.register(ironsword);
|
GameRegistry.register(ironsword);
|
||||||
|
GameRegistry.register(bronzegladius);
|
||||||
GameRegistry.register(wroughtironshield);
|
GameRegistry.register(wroughtironshield);
|
||||||
//GameRegistry.register(matchlockmusket);
|
//GameRegistry.register(matchlockmusket);
|
||||||
|
|
||||||
@@ -305,6 +326,12 @@ public class ModItems {
|
|||||||
/**********
|
/**********
|
||||||
TOOL PARTS
|
TOOL PARTS
|
||||||
**********/
|
**********/
|
||||||
|
registerRender(bronzepickaxehead);
|
||||||
|
registerRender(bronzeaxehead);
|
||||||
|
registerRender(bronzeshovelhead);
|
||||||
|
registerRender(bronzehoehead);
|
||||||
|
registerRender(bronzegladius);
|
||||||
|
|
||||||
registerRender(pickaxehead);
|
registerRender(pickaxehead);
|
||||||
registerRender(ironaxehead);
|
registerRender(ironaxehead);
|
||||||
registerRender(ironshovelhead);
|
registerRender(ironshovelhead);
|
||||||
@@ -395,7 +422,15 @@ public class ModItems {
|
|||||||
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_steel_shovel_hot"),
|
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_steel_shovel_hot"),
|
||||||
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_steel_hoe_hot"),
|
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_steel_hoe_hot"),
|
||||||
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_hotbronze"),
|
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_hotbronze"),
|
||||||
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_hotbronzecooked")
|
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_hotbronzecooked"),
|
||||||
|
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_hotbronze_lapis"),
|
||||||
|
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_hotbronzecooked_lapis"),
|
||||||
|
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_hotbronze_redstone"),
|
||||||
|
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_hotbronzecooked_redstone"),
|
||||||
|
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_hotbronze_emerald"),
|
||||||
|
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_hotbronzecooked_emerald"),
|
||||||
|
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_hotbronze_diamond"),
|
||||||
|
new ResourceLocation(ModInfo.MOD_ID, "stonetongs_hotbronzecooked_diamond")
|
||||||
);
|
);
|
||||||
ModelLoader.setCustomMeshDefinition(ModItems.stonetongs, new ItemMeshDefinition() {
|
ModelLoader.setCustomMeshDefinition(ModItems.stonetongs, new ItemMeshDefinition() {
|
||||||
|
|
||||||
@@ -498,6 +533,30 @@ public class ModItems {
|
|||||||
else if (stack.getTagCompound().getInteger("type") == 40 ) {
|
else if (stack.getTagCompound().getInteger("type") == 40 ) {
|
||||||
return new ModelResourceLocation(stack.getItem().getRegistryName() + "_hotbronzecooked", "inventory");
|
return new ModelResourceLocation(stack.getItem().getRegistryName() + "_hotbronzecooked", "inventory");
|
||||||
}
|
}
|
||||||
|
else if (stack.getTagCompound().getInteger("type") == 45 ) {
|
||||||
|
return new ModelResourceLocation(stack.getItem().getRegistryName() + "_hotbronze_emerald", "inventory");
|
||||||
|
}
|
||||||
|
else if (stack.getTagCompound().getInteger("type") == 46 ) {
|
||||||
|
return new ModelResourceLocation(stack.getItem().getRegistryName() + "_hotbronzecooked_emerald", "inventory");
|
||||||
|
}
|
||||||
|
else if (stack.getTagCompound().getInteger("type") == 47 ) {
|
||||||
|
return new ModelResourceLocation(stack.getItem().getRegistryName() + "_hotbronze_diamond", "inventory");
|
||||||
|
}
|
||||||
|
else if (stack.getTagCompound().getInteger("type") == 48 ) {
|
||||||
|
return new ModelResourceLocation(stack.getItem().getRegistryName() + "_hotbronzecooked_diamond", "inventory");
|
||||||
|
}
|
||||||
|
else if (stack.getTagCompound().getInteger("type") == 49 ) {
|
||||||
|
return new ModelResourceLocation(stack.getItem().getRegistryName() + "_hotbronze_redstone", "inventory");
|
||||||
|
}
|
||||||
|
else if (stack.getTagCompound().getInteger("type") == 50 ) {
|
||||||
|
return new ModelResourceLocation(stack.getItem().getRegistryName() + "_hotbronzecooked_redstone", "inventory");
|
||||||
|
}
|
||||||
|
else if (stack.getTagCompound().getInteger("type") == 51 ) {
|
||||||
|
return new ModelResourceLocation(stack.getItem().getRegistryName() + "_hotbronze_lapis", "inventory");
|
||||||
|
}
|
||||||
|
else if (stack.getTagCompound().getInteger("type") == 52 ) {
|
||||||
|
return new ModelResourceLocation(stack.getItem().getRegistryName() + "_hotbronzecooked_lapis", "inventory");
|
||||||
|
}
|
||||||
else return new ModelResourceLocation(stack.getItem().getRegistryName(), "inventory");
|
else return new ModelResourceLocation(stack.getItem().getRegistryName(), "inventory");
|
||||||
}
|
}
|
||||||
return new ModelResourceLocation(stack.getItem().getRegistryName(), "inventory");
|
return new ModelResourceLocation(stack.getItem().getRegistryName(), "inventory");
|
||||||
|
|||||||
@@ -129,6 +129,18 @@ public class ItemStoneTongs extends Item {
|
|||||||
|
|
||||||
39 | Hot Bronze Crucible
|
39 | Hot Bronze Crucible
|
||||||
40 | Hot Cooked Bronze Crucible
|
40 | Hot Cooked Bronze Crucible
|
||||||
|
41 | Bronze Pickaxe Head
|
||||||
|
42 | Bronze Axe Head
|
||||||
|
43 | Bronze Shovel Head
|
||||||
|
44 | Bronze Hoe Head
|
||||||
|
45 | Hot Bronze Crucible Emerald
|
||||||
|
46 | Hot Cooked Bronze Crucible Emerald
|
||||||
|
47 | Hot Bronze Crucible Diamond
|
||||||
|
48 | Hot Cooked Bronze Crucible Diamond
|
||||||
|
49 | Hot Bronze Crucible Redstone
|
||||||
|
50 | Hot Cooked Bronze Crucible Redstone
|
||||||
|
51 | Hot Bronze Crucible Lapis
|
||||||
|
52 | Hot Cooked Bronze Crucible Lapis
|
||||||
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
@@ -269,6 +281,15 @@ public class ItemStoneTongs extends Item {
|
|||||||
|
|
||||||
/***************************
|
/***************************
|
||||||
* Bronze *
|
* Bronze *
|
||||||
|
*
|
||||||
|
45 | Hot Bronze Crucible Emerald
|
||||||
|
46 | Hot Cooked Bronze Crucible Emerald
|
||||||
|
47 | Hot Bronze Crucible Diamond
|
||||||
|
48 | Hot Cooked Bronze Crucible Diamond
|
||||||
|
49 | Hot Bronze Crucible Redstone
|
||||||
|
50 | Hot Cooked Bronze Crucible Redstone
|
||||||
|
51 | Hot Bronze Crucible Lapis
|
||||||
|
52 | Hot Cooked Bronze Crucible Lapis
|
||||||
***************************/
|
***************************/
|
||||||
if (world.getBlockState(pos).getBlock() == ModBlocks.hotbronzecrucible) {
|
if (world.getBlockState(pos).getBlock() == ModBlocks.hotbronzecrucible) {
|
||||||
itemstack.getTagCompound().setInteger("type", 39);
|
itemstack.getTagCompound().setInteger("type", 39);
|
||||||
@@ -282,6 +303,54 @@ public class ItemStoneTongs extends Item {
|
|||||||
world.setBlockToAir(pos);
|
world.setBlockToAir(pos);
|
||||||
return EnumActionResult.SUCCESS;
|
return EnumActionResult.SUCCESS;
|
||||||
}
|
}
|
||||||
|
if (world.getBlockState(pos).getBlock() == ModBlocks.hotbronzecrucible_emerald) {
|
||||||
|
itemstack.getTagCompound().setInteger("type", 45);
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", tileCrucible.countdown);
|
||||||
|
world.setBlockToAir(pos);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
}
|
||||||
|
if (world.getBlockState(pos).getBlock() == ModBlocks.hotcookedbronzecrucible_emerald) {
|
||||||
|
itemstack.getTagCompound().setInteger("type", 46);
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", tileCrucible.countdown);
|
||||||
|
world.setBlockToAir(pos);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
}
|
||||||
|
if (world.getBlockState(pos).getBlock() == ModBlocks.hotbronzecrucible_diamond) {
|
||||||
|
itemstack.getTagCompound().setInteger("type", 47);
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", tileCrucible.countdown);
|
||||||
|
world.setBlockToAir(pos);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
}
|
||||||
|
if (world.getBlockState(pos).getBlock() == ModBlocks.hotcookedbronzecrucible_diamond) {
|
||||||
|
itemstack.getTagCompound().setInteger("type", 48);
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", tileCrucible.countdown);
|
||||||
|
world.setBlockToAir(pos);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
}
|
||||||
|
if (world.getBlockState(pos).getBlock() == ModBlocks.hotbronzecrucible_redstone) {
|
||||||
|
itemstack.getTagCompound().setInteger("type", 49);
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", tileCrucible.countdown);
|
||||||
|
world.setBlockToAir(pos);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
}
|
||||||
|
if (world.getBlockState(pos).getBlock() == ModBlocks.hotcookedbronzecrucible_redstone) {
|
||||||
|
itemstack.getTagCompound().setInteger("type", 50);
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", tileCrucible.countdown);
|
||||||
|
world.setBlockToAir(pos);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
}
|
||||||
|
if (world.getBlockState(pos).getBlock() == ModBlocks.hotbronzecrucible_lapis) {
|
||||||
|
itemstack.getTagCompound().setInteger("type", 51);
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", tileCrucible.countdown);
|
||||||
|
world.setBlockToAir(pos);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
}
|
||||||
|
if (world.getBlockState(pos).getBlock() == ModBlocks.hotcookedbronzecrucible_lapis) {
|
||||||
|
itemstack.getTagCompound().setInteger("type", 52);
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", tileCrucible.countdown);
|
||||||
|
world.setBlockToAir(pos);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
/*****
|
/*****
|
||||||
@@ -430,6 +499,74 @@ public class ItemStoneTongs extends Item {
|
|||||||
itemstack.getTagCompound().setInteger("cooldown", 0);
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
itemstack.getTagCompound().setInteger("type", 0);
|
itemstack.getTagCompound().setInteger("type", 0);
|
||||||
return EnumActionResult.SUCCESS;
|
return EnumActionResult.SUCCESS;
|
||||||
|
/***************************
|
||||||
|
* Bronze *
|
||||||
|
*
|
||||||
|
45 | Hot Bronze Crucible Emerald
|
||||||
|
46 | Hot Cooked Bronze Crucible Emerald
|
||||||
|
47 | Hot Bronze Crucible Diamond
|
||||||
|
48 | Hot Cooked Bronze Crucible Diamond
|
||||||
|
49 | Hot Bronze Crucible Redstone
|
||||||
|
50 | Hot Cooked Bronze Crucible Redstone
|
||||||
|
51 | Hot Bronze Crucible Lapis
|
||||||
|
52 | Hot Cooked Bronze Crucible Lapis
|
||||||
|
***************************/
|
||||||
|
case 45:
|
||||||
|
world.setBlockState(tempPos, ModBlocks.hotbronzecrucible_emerald.getDefaultState(), 3);
|
||||||
|
TileBaseCrucible tileCrucible45 = (TileBaseCrucible) world.getTileEntity(tempPos);
|
||||||
|
tileCrucible45.countdown = itemstack.getTagCompound().getInteger("cooldown");
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 0);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
case 46:
|
||||||
|
world.setBlockState(tempPos, ModBlocks.hotcookedbronzecrucible_emerald.getDefaultState(), 3);
|
||||||
|
TileBaseCrucible tileCrucible46 = (TileBaseCrucible) world.getTileEntity(tempPos);
|
||||||
|
tileCrucible46.countdown = itemstack.getTagCompound().getInteger("cooldown");
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 0);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
case 47:
|
||||||
|
world.setBlockState(tempPos, ModBlocks.hotbronzecrucible_diamond.getDefaultState(), 3);
|
||||||
|
TileBaseCrucible tileCrucible47 = (TileBaseCrucible) world.getTileEntity(tempPos);
|
||||||
|
tileCrucible47.countdown = itemstack.getTagCompound().getInteger("cooldown");
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 0);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
case 48:
|
||||||
|
world.setBlockState(tempPos, ModBlocks.hotcookedbronzecrucible_diamond.getDefaultState(), 3);
|
||||||
|
TileBaseCrucible tileCrucible48 = (TileBaseCrucible) world.getTileEntity(tempPos);
|
||||||
|
tileCrucible48.countdown = itemstack.getTagCompound().getInteger("cooldown");
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 0);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
case 49:
|
||||||
|
world.setBlockState(tempPos, ModBlocks.hotbronzecrucible_redstone.getDefaultState(), 3);
|
||||||
|
TileBaseCrucible tileCrucible49 = (TileBaseCrucible) world.getTileEntity(tempPos);
|
||||||
|
tileCrucible49.countdown = itemstack.getTagCompound().getInteger("cooldown");
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 0);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
case 50:
|
||||||
|
world.setBlockState(tempPos, ModBlocks.hotcookedbronzecrucible_redstone.getDefaultState(), 3);
|
||||||
|
TileBaseCrucible tileCrucible50 = (TileBaseCrucible) world.getTileEntity(tempPos);
|
||||||
|
tileCrucible50.countdown = itemstack.getTagCompound().getInteger("cooldown");
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 0);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
case 51:
|
||||||
|
world.setBlockState(tempPos, ModBlocks.hotbronzecrucible_lapis.getDefaultState(), 3);
|
||||||
|
TileBaseCrucible tileCrucible51 = (TileBaseCrucible) world.getTileEntity(tempPos);
|
||||||
|
tileCrucible51.countdown = itemstack.getTagCompound().getInteger("cooldown");
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 0);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
case 52:
|
||||||
|
world.setBlockState(tempPos, ModBlocks.hotcookedbronzecrucible_lapis.getDefaultState(), 3);
|
||||||
|
TileBaseCrucible tileCrucible52 = (TileBaseCrucible) world.getTileEntity(tempPos);
|
||||||
|
tileCrucible52.countdown = itemstack.getTagCompound().getInteger("cooldown");
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 0);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -505,7 +642,60 @@ public class ItemStoneTongs extends Item {
|
|||||||
itemstack.getTagCompound().setInteger("type", 40);
|
itemstack.getTagCompound().setInteger("type", 40);
|
||||||
tile.setSlotStack(1, ItemStack.EMPTY);
|
tile.setSlotStack(1, ItemStack.EMPTY);
|
||||||
return EnumActionResult.SUCCESS;
|
return EnumActionResult.SUCCESS;
|
||||||
|
/***************************
|
||||||
|
* Bronze *
|
||||||
|
*
|
||||||
|
45 | Hot Bronze Crucible Emerald
|
||||||
|
46 | Hot Cooked Bronze Crucible Emerald
|
||||||
|
47 | Hot Bronze Crucible Diamond
|
||||||
|
48 | Hot Cooked Bronze Crucible Diamond
|
||||||
|
49 | Hot Bronze Crucible Redstone
|
||||||
|
50 | Hot Cooked Bronze Crucible Redstone
|
||||||
|
51 | Hot Bronze Crucible Lapis
|
||||||
|
52 | Hot Cooked Bronze Crucible Lapis
|
||||||
|
***************************/
|
||||||
|
} else if (tile.getSlotStack(1).getItem().equals(Item.getItemFromBlock(ModBlocks.hotbronzecrucible_emerald))) {
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 45);
|
||||||
|
tile.setSlotStack(1, ItemStack.EMPTY);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
} else if (tile.getSlotStack(1).getItem().equals(Item.getItemFromBlock(ModBlocks.hotcookedbronzecrucible_emerald))) {
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 46);
|
||||||
|
tile.setSlotStack(1, ItemStack.EMPTY);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
} else if (tile.getSlotStack(1).getItem().equals(Item.getItemFromBlock(ModBlocks.hotbronzecrucible_diamond))) {
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 47);
|
||||||
|
tile.setSlotStack(1, ItemStack.EMPTY);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
} else if (tile.getSlotStack(1).getItem().equals(Item.getItemFromBlock(ModBlocks.hotcookedbronzecrucible_diamond))) {
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 48);
|
||||||
|
tile.setSlotStack(1, ItemStack.EMPTY);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
} else if (tile.getSlotStack(1).getItem().equals(Item.getItemFromBlock(ModBlocks.hotbronzecrucible_redstone))) {
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 49);
|
||||||
|
tile.setSlotStack(1, ItemStack.EMPTY);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
} else if (tile.getSlotStack(1).getItem().equals(Item.getItemFromBlock(ModBlocks.hotcookedbronzecrucible_redstone))) {
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 50);
|
||||||
|
tile.setSlotStack(1, ItemStack.EMPTY);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
} else if (tile.getSlotStack(1).getItem().equals(Item.getItemFromBlock(ModBlocks.hotbronzecrucible_lapis))) {
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 51);
|
||||||
|
tile.setSlotStack(1, ItemStack.EMPTY);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
|
} else if (tile.getSlotStack(1).getItem().equals(Item.getItemFromBlock(ModBlocks.hotcookedbronzecrucible_lapis))) {
|
||||||
|
itemstack.getTagCompound().setInteger("cooldown", 0);
|
||||||
|
itemstack.getTagCompound().setInteger("type", 52);
|
||||||
|
tile.setSlotStack(1, ItemStack.EMPTY);
|
||||||
|
return EnumActionResult.SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,154 @@
|
|||||||
|
package nmd.primal.forgecraft.items.parts;
|
||||||
|
|
||||||
|
import com.mojang.realmsclient.gui.ChatFormatting;
|
||||||
|
import net.minecraft.entity.Entity;
|
||||||
|
import net.minecraft.entity.EntityLivingBase;
|
||||||
|
import net.minecraft.entity.player.EntityPlayer;
|
||||||
|
import net.minecraft.item.IItemPropertyGetter;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraft.nbt.NBTTagCompound;
|
||||||
|
import net.minecraft.util.ResourceLocation;
|
||||||
|
import net.minecraft.world.World;
|
||||||
|
import net.minecraftforge.fml.relauncher.Side;
|
||||||
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
||||||
|
import nmd.primal.forgecraft.util.ToolNBT;
|
||||||
|
|
||||||
|
import javax.annotation.Nullable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Created by mminaie on 3/9/17.
|
||||||
|
*/
|
||||||
|
public class BronzeToolPart extends Item implements ToolNBT{
|
||||||
|
|
||||||
|
private int ID;
|
||||||
|
|
||||||
|
public BronzeToolPart(String name, ToolMaterial material, Integer ID) {
|
||||||
|
this.setMaxDamage(material.getMaxUses());
|
||||||
|
this.setUnlocalizedName(name);
|
||||||
|
this.setRegistryName(name);
|
||||||
|
//this.setCreativeTab(ModInfo.TAB_FORGECRAFT);
|
||||||
|
this.setMaxStackSize(1);
|
||||||
|
this.setNoRepair();
|
||||||
|
|
||||||
|
this.ID = ID;
|
||||||
|
|
||||||
|
this.addPropertyOverride(new ResourceLocation("type"), new IItemPropertyGetter()
|
||||||
|
{
|
||||||
|
|
||||||
|
/***
|
||||||
|
|
||||||
|
hot . emerald . diamond . redstone . lapis
|
||||||
|
0 . 0 . 0 . 0 . 0
|
||||||
|
|
||||||
|
***/
|
||||||
|
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
public float apply(ItemStack item, @Nullable World worldIn, @Nullable EntityLivingBase entityIn)
|
||||||
|
{
|
||||||
|
if (item.hasTagCompound()) {
|
||||||
|
|
||||||
|
|
||||||
|
if (getModifiers(item) != 0) {
|
||||||
|
if (getEmerald(item)) {
|
||||||
|
return 0.1F;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (getDiamondLevel(item) == 1) {
|
||||||
|
return 0.2F;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( getRedstoneLevel(item) == 1) {
|
||||||
|
return 0.3F;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (getLapisLevel(item) == 1) {
|
||||||
|
return 0.4F;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (getModifiers(item) == 0) {
|
||||||
|
return 0.0F;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return 0.0F;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static boolean isHidden()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getID() {
|
||||||
|
return ID;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onCreated(ItemStack item, World worldIn, EntityPlayer playerIn) {
|
||||||
|
|
||||||
|
if (!item.hasTagCompound()) {
|
||||||
|
item.setTagCompound(new NBTTagCompound());
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
|
||||||
|
item.getTagCompound().setTag("tags", tags);
|
||||||
|
|
||||||
|
setHot(item, false);
|
||||||
|
setEmerald(item, false);
|
||||||
|
setDiamondLevel(item, 0);
|
||||||
|
setRedstoneLevel(item, 0);
|
||||||
|
setLapisLevel(item, 0);
|
||||||
|
setModifiers(item, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onUpdate(ItemStack item, World world, Entity player, int itemSlot, boolean isSelected) {
|
||||||
|
if (!item.hasTagCompound()) {
|
||||||
|
item.setTagCompound(new NBTTagCompound());
|
||||||
|
NBTTagCompound tags = new NBTTagCompound();
|
||||||
|
|
||||||
|
item.getTagCompound().setTag("tags", tags);
|
||||||
|
|
||||||
|
setHot(item, false);
|
||||||
|
setEmerald(item, false);
|
||||||
|
setDiamondLevel(item, 0);
|
||||||
|
setRedstoneLevel(item, 0);
|
||||||
|
setLapisLevel(item, 0);
|
||||||
|
setModifiers(item, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
public void addInformation(ItemStack item, EntityPlayer player, List<String> tooltip, boolean advanced)
|
||||||
|
{
|
||||||
|
if(player.getEntityWorld().isRemote) {
|
||||||
|
|
||||||
|
if(item.hasTagCompound()) {
|
||||||
|
|
||||||
|
tooltip.add(ChatFormatting.GRAY + "Upgrades");
|
||||||
|
if (getEmerald(item) == true) {
|
||||||
|
tooltip.add(ChatFormatting.DARK_GREEN + "Emerald");
|
||||||
|
}
|
||||||
|
if (getDiamondLevel(item) > 0) {
|
||||||
|
tooltip.add(ChatFormatting.AQUA + "Diamond Level: " + getDiamondLevel(item));
|
||||||
|
}
|
||||||
|
if (getRedstoneLevel(item) > 0) {
|
||||||
|
tooltip.add(ChatFormatting.RED + "Redstone Level: " + getRedstoneLevel(item));
|
||||||
|
}
|
||||||
|
if (getLapisLevel(item) > 0) {
|
||||||
|
tooltip.add(ChatFormatting.BLUE + "Lapis Level: " + getLapisLevel(item));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -51,9 +51,9 @@ public class TileBloomery extends TileBaseSlot implements ITickable {
|
|||||||
world.notifyBlockUpdate(pos, state, state, 2);
|
world.notifyBlockUpdate(pos, state, state, 2);
|
||||||
}
|
}
|
||||||
this.heatManager(this.getHeat(), state, this.getSlotStack(0), world, pos);
|
this.heatManager(this.getHeat(), state, this.getSlotStack(0), world, pos);
|
||||||
slotZeroManager(world);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
}
|
||||||
|
slotZeroManager(world);
|
||||||
slotOneManager();
|
slotOneManager();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -103,7 +103,7 @@ public class TileBloomery extends TileBaseSlot implements ITickable {
|
|||||||
|
|
||||||
private void slotZeroManager(World world){
|
private void slotZeroManager(World world){
|
||||||
if(this.getSlotStack(0) != ItemStack.EMPTY) {
|
if(this.getSlotStack(0) != ItemStack.EMPTY) {
|
||||||
Integer decrInt = (int) Math.floor(getVanillaItemBurnTime(this.getSlotStack(0)) / 20);
|
Integer decrInt = (int) Math.floor(getVanillaItemBurnTime(this.getSlotStack(0)) / 100);
|
||||||
if(decrInt == 0) {
|
if(decrInt == 0) {
|
||||||
decrInt = 1;
|
decrInt = 1;
|
||||||
}
|
}
|
||||||
@@ -117,7 +117,7 @@ public class TileBloomery extends TileBaseSlot implements ITickable {
|
|||||||
this.markDirty();
|
this.markDirty();
|
||||||
this.updateBlock();
|
this.updateBlock();
|
||||||
}
|
}
|
||||||
if(CommonUtils.randomCheck(20)) {
|
if(CommonUtils.randomCheck(200)) {
|
||||||
makeSmoke(world, pos);
|
makeSmoke(world, pos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,11 +51,11 @@ public class TileForge extends TileBaseSlot implements ITickable {
|
|||||||
this.markDirty();
|
this.markDirty();
|
||||||
world.notifyBlockUpdate(pos, state, state, 2);
|
world.notifyBlockUpdate(pos, state, state, 2);
|
||||||
}
|
}
|
||||||
slotZeroManager(world);
|
|
||||||
this.heatManager(this.getHeat(), state, this.getSlotStack(0), world, pos);
|
this.heatManager(this.getHeat(), state, this.getSlotStack(0), world, pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
slotZeroManager(world);
|
||||||
craftingManager();
|
craftingManager();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -63,7 +63,7 @@ public class TileForge extends TileBaseSlot implements ITickable {
|
|||||||
|
|
||||||
private void slotZeroManager(World world){
|
private void slotZeroManager(World world){
|
||||||
if(this.getSlotStack(0) != ItemStack.EMPTY) {
|
if(this.getSlotStack(0) != ItemStack.EMPTY) {
|
||||||
Integer decrInt = (int) Math.floor(getVanillaItemBurnTime(this.getSlotStack(0)) / 20);
|
Integer decrInt = (int) Math.floor(getVanillaItemBurnTime(this.getSlotStack(0)) / 100);
|
||||||
if(decrInt == 0) {
|
if(decrInt == 0) {
|
||||||
decrInt = 1;
|
decrInt = 1;
|
||||||
}
|
}
|
||||||
@@ -77,7 +77,7 @@ public class TileForge extends TileBaseSlot implements ITickable {
|
|||||||
this.markDirty();
|
this.markDirty();
|
||||||
this.updateBlock();
|
this.updateBlock();
|
||||||
}
|
}
|
||||||
if(CommonUtils.randomCheck(20)) {
|
if(CommonUtils.randomCheck(200)) {
|
||||||
makeSmoke(world, pos);
|
makeSmoke(world, pos);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"defaults": {
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/hot_bronze"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "forgecraft:castingcrucible" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"defaults": {
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/hot_bronze"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "forgecraft:castingcrucible" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"defaults": {
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/hot_bronze"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "forgecraft:castingcrucible" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
hotbronzecrucible.json{
|
||||||
|
"forge_marker":1,
|
||||||
|
"defaults": {
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/hot_bronze"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "forgecraft:castingcrucible" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"defaults": {
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/molten_bronze"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "forgecraft:castingcrucible" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"defaults": {
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/molten_bronze"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "forgecraft:castingcrucible" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"defaults": {
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/molten_bronze"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "forgecraft:castingcrucible" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"defaults": {
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/molten_bronze"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "forgecraft:castingcrucible" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"defaults": {
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture1": "forgecraft:items/raw_bronze"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "forgecraft:castingcrucible" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"defaults": {
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture1": "forgecraft:items/raw_bronze"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "forgecraft:castingcrucible" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"defaults": {
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture1": "forgecraft:items/raw_bronze"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "forgecraft:castingcrucible" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"defaults": {
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture1": "forgecraft:items/raw_bronze"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"variants": {
|
||||||
|
"normal": { "model": "forgecraft:castingcrucible" }
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_emerald"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_diamond"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_redstone"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_lapis"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/axehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/finished_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze"
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{"predicate": {"type": 0.0},"model": "forgecraft:item/axehead/bronze/bronzeaxehead_0"},
|
||||||
|
{"predicate": {"type": 0.1},"model": "forgecraft:item/axehead/bronze/bronzeaxehead_1"},
|
||||||
|
{"predicate": {"type": 0.2},"model": "forgecraft:item/axehead/bronze/bronzeaxehead_2"},
|
||||||
|
{"predicate": {"type": 0.3},"model": "forgecraft:item/axehead/bronze/bronzeaxehead_3"},
|
||||||
|
{"predicate": {"type": 0.4},"model": "forgecraft:item/axehead/bronze/bronzeaxehead_4"}
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,293 @@
|
|||||||
|
{
|
||||||
|
"__comment": "Designed by Kitsushadow with Cubik Studio - https://cubik.studio",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/finished_bronze",
|
||||||
|
"texture": "forgecraft:items/finished_bronze",
|
||||||
|
"texture1": "blocks/planks_oak"
|
||||||
|
},
|
||||||
|
"elements": [
|
||||||
|
{
|
||||||
|
"__comment": "Cube23",
|
||||||
|
"from": [ 7.25, -5.5, 7.25 ],
|
||||||
|
"to": [ 9.25, 0, 8.75 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 7.5, 9, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7, 7.5, 9, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7, 9, 9, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7, 9, 9, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 9, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 9, 8.5, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube24",
|
||||||
|
"from": [ 7, -8, 7 ],
|
||||||
|
"to": [ 9.5, -5.5, 9 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6.5, 7, 9.5, 9 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 6.5, 7, 9.5, 9 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 6.5, 0, 9.5, 1 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 6.5, 0, 9.5, 1 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 7, 0, 9, 1 ], "texture": "#texture1" },
|
||||||
|
"east": { "uv": [ 7, 0, 9, 1 ], "texture": "#texture1" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube25",
|
||||||
|
"from": [ 6.5, 0, 7.25 ],
|
||||||
|
"to": [ 10, 0.5, 8.75 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 5.5, 6.5, 10.5, 9.5 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 5.5, 6.5, 10.5, 9.5 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 5.5, 0, 10.5, 1 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 5.5, 0, 10.5, 1 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 6.5, 0, 9.5, 1 ], "texture": "#texture1" },
|
||||||
|
"east": { "uv": [ 6.5, 0, 9.5, 1 ], "texture": "#texture1" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube23",
|
||||||
|
"from": [ 6.5, 1, 7.5 ],
|
||||||
|
"to": [ 10, 6, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 7.5, 9, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7, 7.5, 9, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7, 9, 9, 16 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7, 9, 9, 16 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 9, 8.5, 16 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 9, 8.5, 16 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube28",
|
||||||
|
"from": [ 8, 1, 8.5 ],
|
||||||
|
"to": [ 8.5, 24, 8.501 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7.5, 7, 8.5, 7.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7.5, 8.5, 8.5, 9 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7.5, 0, 8.5, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7.5, 0, 8.5, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 8.5, 0, 9, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7, 0, 7.5, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube32",
|
||||||
|
"from": [ 6.75, 21.5, 7.5 ],
|
||||||
|
"to": [ 9.75, 23, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 7.5, 9, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7, 7.5, 9, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7, 7, 9, 9.5 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7, 7, 9, 9.5 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 7, 8.5, 9.5 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 7, 8.5, 9.5 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube32",
|
||||||
|
"from": [ 7.25, 24.5, 7.5 ],
|
||||||
|
"to": [ 9.25, 26, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 7.5, 9, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7, 7.5, 9, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7, 7, 9, 8 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7, 7, 9, 8 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 7, 8.5, 8 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 7, 8.5, 8 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube9",
|
||||||
|
"from": [ 7.75, 27, 7.5 ],
|
||||||
|
"to": [ 8.75, 28, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 8, 7.5, 8.5, 8 ], "texture": "#texture", "rotation": 180 },
|
||||||
|
"up": { "uv": [ 8, 8, 8.5, 8.5 ], "texture": "#texture", "rotation": 180 },
|
||||||
|
"north": { "uv": [ 8, 4.5, 8.5, 5.5 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7.5, 4.5, 8, 5.5 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 4.5, 8, 5.5 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 8, 4.5, 8.5, 5.5 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube28",
|
||||||
|
"from": [ 8, 1, 7.499 ],
|
||||||
|
"to": [ 8.5, 24, 7.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7.5, 7, 8.5, 7.5 ], "texture": "#texture", "rotation": 180 },
|
||||||
|
"up": { "uv": [ 7.5, 8.5, 8.5, 9 ], "texture": "#texture", "rotation": 180 },
|
||||||
|
"north": { "uv": [ 7.5, 0, 8.5, 15 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7.5, 0, 8.5, 15 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7, 0, 7.5, 15 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 8.5, 0, 9, 15 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube14",
|
||||||
|
"from": [ 6, 0.5, 7.25 ],
|
||||||
|
"to": [ 10.5, 2.5, 8.75 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6, 7.25, 10.5, 8.75 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 6, 7.25, 10.5, 8.75 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 5.5, 13.5, 10, 15.5 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 6, 13.5, 10.5, 15.5 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 7.25, 13.5, 8.75, 15.5 ], "texture": "#texture1" },
|
||||||
|
"east": { "uv": [ 7.25, 13.5, 8.75, 15.5 ], "texture": "#texture1" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube11",
|
||||||
|
"from": [ 6.25, 0.5, 6.75 ],
|
||||||
|
"to": [ 10.25, 2.5, 9.25 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6.25, 6.75, 10.25, 9.25 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 6.25, 6.75, 10.25, 9.25 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 5.75, 13.5, 9.75, 15.5 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 6.25, 13.5, 10.25, 15.5 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 6.75, 13.5, 9.25, 15.5 ], "texture": "#texture1" },
|
||||||
|
"east": { "uv": [ 6.75, 13.5, 9.25, 15.5 ], "texture": "#texture1" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube13",
|
||||||
|
"from": [ 7, 23, 7.5 ],
|
||||||
|
"to": [ 9.5, 24.5, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 7.5, 9.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7, 7.5, 9.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 6.5, 7.5, 9, 9 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7, 7.5, 9.5, 9 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 7.5, 8.5, 9 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 7.5, 8.5, 9 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube14",
|
||||||
|
"from": [ 7.5, 26, 7.5 ],
|
||||||
|
"to": [ 9, 27, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7.5, 7.5, 9, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 7.5, 7.5, 9, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7, 5, 8.5, 6 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 7.5, 5, 9, 6 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 5, 8.5, 6 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 5, 8.5, 6 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube15",
|
||||||
|
"from": [ 7, -7.5, 6.5 ],
|
||||||
|
"to": [ 9.5, -6, 9.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 7, 6.5, 9.5, 9.5 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 7, 6.5, 9.5, 9.5 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 6.5, 6, 9, 7.5 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 7, 6, 9.5, 7.5 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 6.5, 6, 9.5, 7.5 ], "texture": "#texture1" },
|
||||||
|
"east": { "uv": [ 6.5, 6, 9.5, 7.5 ], "texture": "#texture1" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube16",
|
||||||
|
"from": [ 6.5, -7.5, 7 ],
|
||||||
|
"to": [ 10, -6, 9 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6.5, 7, 10, 9 ], "texture": "#texture1" },
|
||||||
|
"up": { "uv": [ 6.5, 7, 10, 9 ], "texture": "#texture1" },
|
||||||
|
"north": { "uv": [ 6, 6, 9.5, 7.5 ], "texture": "#texture1" },
|
||||||
|
"south": { "uv": [ 6.5, 6, 10, 7.5 ], "texture": "#texture1" },
|
||||||
|
"west": { "uv": [ 7, 6, 9, 7.5 ], "texture": "#texture1" },
|
||||||
|
"east": { "uv": [ 7, 6, 9, 7.5 ], "texture": "#texture1" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube17",
|
||||||
|
"from": [ 8, -8.5, 7.75 ],
|
||||||
|
"to": [ 8.5, -8, 8.25 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 8, 7.75, 8.5, 8.25 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 8, 7.75, 8.5, 8.25 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7.5, 8, 8, 8.5 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 8, 8, 8.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.75, 8, 8.25, 8.5 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.75, 8, 8.25, 8.5 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube24",
|
||||||
|
"from": [ 6.75, 6, 7.5 ],
|
||||||
|
"to": [ 9.75, 15.5, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6.75, 7.5, 9.75, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 6.75, 7.5, 9.75, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 6.25, 0.5, 9.25, 10 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 6.75, 0.5, 9.75, 10 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 0.5, 8.5, 10 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 0.5, 8.5, 10 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube19",
|
||||||
|
"from": [ 6.5, 15.5, 7.5 ],
|
||||||
|
"to": [ 10, 21.5, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 6.5, 7.5, 10, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 6.5, 7.5, 10, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 6, 0, 9.5, 0.5 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 6.5, 0, 10, 0.5 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 0, 8.5, 0.5 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 0, 8.5, 0.5 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"__comment": "Cube20",
|
||||||
|
"from": [ 8, 27.75, 7.5 ],
|
||||||
|
"to": [ 8.5, 28.75, 8.5 ],
|
||||||
|
"faces": {
|
||||||
|
"down": { "uv": [ 8, 7.5, 8.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"up": { "uv": [ 8, 7.5, 8.5, 8.5 ], "texture": "#texture" },
|
||||||
|
"north": { "uv": [ 7.5, 3.25, 8, 4.25 ], "texture": "#texture" },
|
||||||
|
"south": { "uv": [ 8, 3.25, 8.5, 4.25 ], "texture": "#texture" },
|
||||||
|
"west": { "uv": [ 7.5, 3.25, 8.5, 4.25 ], "texture": "#texture" },
|
||||||
|
"east": { "uv": [ 7.5, 3.25, 8.5, 4.25 ], "texture": "#texture" }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"display": {
|
||||||
|
"thirdperson_righthand": {
|
||||||
|
"rotation": [ 0, 90, 0 ],
|
||||||
|
"translation": [ 0, 5.9, 1.33 ],
|
||||||
|
"scale": [ 0.75, 0.75, 0.75 ]
|
||||||
|
},
|
||||||
|
"thirdperson_lefthand": {
|
||||||
|
"rotation": [ 0, 90, 0 ],
|
||||||
|
"translation": [ 0, 5.9, 1.33 ],
|
||||||
|
"scale": [ 0.75, 0.75, 0.75 ]
|
||||||
|
},
|
||||||
|
"firstperson_righthand": {
|
||||||
|
"rotation": [ 0, 90, 0 ],
|
||||||
|
"translation": [ 0, 6.6, 1 ],
|
||||||
|
"scale": [ 0.75, 0.75, 0.75 ]
|
||||||
|
},
|
||||||
|
"firstperson_lefthand": {
|
||||||
|
"rotation": [ 0, 90, 0 ],
|
||||||
|
"translation": [ 0, 6.6, 1 ],
|
||||||
|
"scale": [ 0.75, 0.75, 0.75 ]
|
||||||
|
},
|
||||||
|
"gui": {
|
||||||
|
"rotation": [ 0, 0, -45 ],
|
||||||
|
"translation": [ -0.4, -0.4, 0 ],
|
||||||
|
"scale": [ 0.5, 0.5, 0.5 ]
|
||||||
|
},
|
||||||
|
"ground": {
|
||||||
|
"rotation": [ 90, 0, 0 ],
|
||||||
|
"scale": [ 0.75, 0.75, 0.75 ]
|
||||||
|
},
|
||||||
|
"fixed": {
|
||||||
|
"rotation": [ 0, 0, 45 ],
|
||||||
|
"translation": [ 0.7, -0.7, 0 ],
|
||||||
|
"scale": [ 0.66, 0.66, 0.66 ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/hoehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/finished_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze"
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{"predicate": {"type": 0.0},"model": "forgecraft:item/hoehead/bronze/bronzehoehead_0"},
|
||||||
|
{"predicate": {"type": 0.1},"model": "forgecraft:item/hoehead/bronze/bronzehoehead_1"},
|
||||||
|
{"predicate": {"type": 0.2},"model": "forgecraft:item/hoehead/bronze/bronzehoehead_2"},
|
||||||
|
{"predicate": {"type": 0.3},"model": "forgecraft:item/hoehead/bronze/bronzehoehead_3"},
|
||||||
|
{"predicate": {"type": 0.4},"model": "forgecraft:item/hoehead/bronze/bronzehoehead_4"}
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/finished_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze"
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{"predicate": {"type": 0.0},"model": "forgecraft:item/pickaxehead/bronze/bronzepickaxehead_0"},
|
||||||
|
{"predicate": {"type": 0.1},"model": "forgecraft:item/pickaxehead/bronze/bronzepickaxehead_1"},
|
||||||
|
{"predicate": {"type": 0.2},"model": "forgecraft:item/pickaxehead/bronze/bronzepickaxehead_2"},
|
||||||
|
{"predicate": {"type": 0.3},"model": "forgecraft:item/pickaxehead/bronze/bronzepickaxehead_3"},
|
||||||
|
{"predicate": {"type": 0.4},"model": "forgecraft:item/pickaxehead/bronze/bronzepickaxehead_4"}
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/shovelhead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/finished_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze"
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{"predicate": {"type": 0.0},"model": "forgecraft:item/shovelhead/bronze/bronzeshovelhead_0"},
|
||||||
|
{"predicate": {"type": 0.1},"model": "forgecraft:item/shovelhead/bronze/bronzeshovelhead_1"},
|
||||||
|
{"predicate": {"type": 0.2},"model": "forgecraft:item/shovelhead/bronze/bronzeshovelhead_2"},
|
||||||
|
{"predicate": {"type": 0.3},"model": "forgecraft:item/shovelhead/bronze/bronzeshovelhead_3"},
|
||||||
|
{"predicate": {"type": 0.4},"model": "forgecraft:item/shovelhead/bronze/bronzeshovelhead_4"}
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/hoehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/hoehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_emerald"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/hoehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_diamond"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/hoehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_redstone"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/hoehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_lapis"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/hot_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:block/castingcrucible"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/hot_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:block/castingcrucible"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/hot_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:block/castingcrucible"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/hot_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:block/castingcrucible"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/molten_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:block/castingcrucible"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/molten_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:block/castingcrucible"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/molten_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:block/castingcrucible"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture1": "forgecraft:items/molten_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:block/castingcrucible"
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_emerald"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_diamond"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_redstone"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/pickaxehead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_lapis"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"forge_marker":1,
|
"forge_marker":1,
|
||||||
"textures": {
|
"textures": {
|
||||||
"particle": "forgecraft:blocks/stone_slab_hot",
|
"particle": "forgecraft:blocks/stone_slab",
|
||||||
"texture": "forgecraft:blocks/stone_slab_hot",
|
"texture": "forgecraft:blocks/stone_slab",
|
||||||
"texture1": "forgecraft:items/raw_bronze"
|
"texture1": "forgecraft:items/raw_bronze"
|
||||||
},
|
},
|
||||||
"parent": "forgecraft:block/castingcrucible"
|
"parent": "forgecraft:block/castingcrucible"
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture1": "forgecraft:items/raw_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:block/castingcrucible"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture1": "forgecraft:items/raw_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:block/castingcrucible"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture1": "forgecraft:items/raw_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:block/castingcrucible"
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture1": "forgecraft:items/raw_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:block/castingcrucible"
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/shovelhead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/shovelhead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_emerald"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/shovelhead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_diamond"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/shovelhead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_redstone"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"parent": "forgecraft:item/shovelhead",
|
||||||
|
"textures": {
|
||||||
|
"particle": "forgecraft:items/raw_bronze",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:items/finished_bronze_lapis"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "blocks/planks_oak",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture2": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture3": "forgecraft:items/hot_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:item/stonetongs_hotbronze"
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "blocks/planks_oak",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture2": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture3": "forgecraft:items/hot_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:item/stonetongs_hotbronze"
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "blocks/planks_oak",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture2": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture3": "forgecraft:items/hot_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:item/stonetongs_hotbronze"
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "blocks/planks_oak",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture2": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture3": "forgecraft:items/hot_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:item/stonetongs_hotbronze"
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "blocks/planks_oak",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture2": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture3": "forgecraft:items/molten_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:item/stonetongs_hotbronze"
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "blocks/planks_oak",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture2": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture3": "forgecraft:items/molten_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:item/stonetongs_hotbronze"
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "blocks/planks_oak",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture2": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture3": "forgecraft:items/molten_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:item/stonetongs_hotbronze"
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"forge_marker":1,
|
||||||
|
"textures": {
|
||||||
|
"particle": "blocks/planks_oak",
|
||||||
|
"texture": "blocks/planks_oak",
|
||||||
|
"texture1": "forgecraft:blocks/stone_slab",
|
||||||
|
"texture2": "forgecraft:blocks/stone_slab_hot",
|
||||||
|
"texture3": "forgecraft:items/molten_bronze"
|
||||||
|
},
|
||||||
|
"parent": "forgecraft:item/stonetongs_hotbronze"
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 921 B After Width: | Height: | Size: 794 B |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 3.4 KiB |