trying to push new files

This commit is contained in:
Mohammad-Ali Minaie
2018-10-20 18:17:53 -04:00
parent 8a4f6f6dda
commit 51d3bb7df3
9 changed files with 85 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
package nmd.primal.forgecraft.items.parts;
import nmd.primal.forgecraft.items.BaseItem;
public class WeaponGuard extends BaseItem {
public WeaponGuard(String registryName) {
super(registryName);
}
}

View File

@@ -0,0 +1,10 @@
package nmd.primal.forgecraft.items.parts;
import nmd.primal.forgecraft.items.BaseItem;
public class WeaponHandle extends BaseItem {
public WeaponHandle(String registryName) {
super(registryName);
}
}

View File

@@ -0,0 +1,27 @@
package nmd.primal.forgecraft.util;
import net.minecraft.item.ItemStack;
public interface SlotHelper {
default void doFuelSlotManagement(ItemStack tileSlot, ItemStack playerSlot){
/***
*
* if fuelSlot is empty and playeritem is valid, set fuelSlot playerItem and clear player item
*
* if fuelSlot isn't empty and player item matches
* if fuelSLot + playerItem <= 64 set Fuelslot to fuelSlot.count plus playerItem.count and clear playerItem
* if fuelSlot + playeritem > 64
* do 64 - fuelSlot
* add that to fuel slot
* decrment that from playerItem
*
*
*/
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "item/handheld",
"textures": {
"layer0": "forgecraft:items/boneguard"
}
}

View File

@@ -0,0 +1,6 @@
{
"parent": "item/handheld",
"textures": {
"layer0": "forgecraft:items/bonehandle"
}
}

View File

@@ -0,0 +1,13 @@
{
"type": "forge:ore_shaped",
"group": "forgecraft.bonehandle",
"result": { "item": "forgecraft.bonehandle", "count": 2 },
"pattern": [
"T",
"B"
],
"key": {
"T": { "type": "forge:ore_dict", "ore": "toolWorkBlade" },
"B": { "type": "forge:ore_dict", "ore": "bone" }
}
}

View File

@@ -0,0 +1,13 @@
{
"type": "forge:ore_shaped",
"group": "forgecraft.bonehandle",
"result": { "item": "forgecraft.bonehandle", "count": 2 },
"pattern": [
"T",
"B"
],
"key": {
"T": { "type": "forge:ore_dict", "ore": "toolSaw" },
"B": { "type": "forge:ore_dict", "ore": "bone" }
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 282 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 B