recipes for the tools
|
@ -8,6 +8,7 @@ public final class ModBlocks {
|
|||
|
||||
public static final Block ANCIENT_LOG = new BlockAncientLog();
|
||||
public static final Block ANCIENT_BARK = new BlockImpl("ancient_bark", Material.WOOD).setSoundType(SoundType.WOOD).setHardness(2F);
|
||||
public static final Block ANCIENT_PLANKS = new BlockImpl("ancient_planks", Material.WOOD).setSoundType(SoundType.WOOD).setHardness(2F);
|
||||
public static final Block ANCIENT_LEAVES = new BlockAncientLeaves();
|
||||
public static final Block ANCIENT_SAPLING = new BlockAncientSapling();
|
||||
public static final Block NATURE_ALTAR = new BlockNatureAltar();
|
||||
|
|
|
@ -13,6 +13,7 @@ public final class ModItems {
|
|||
public static final Item GOLD_FIBER = new ItemGoldFiber();
|
||||
public static final Item GOLD_LEAF = new ItemImpl("gold_leaf");
|
||||
public static final Item INFUSED_IRON = new ItemImpl("infused_iron");
|
||||
public static final Item ANCIENT_STICK = new ItemImpl("ancient_stick");
|
||||
|
||||
public static final Item.ToolMaterial TOOL_MATERIAL_INFUSED_IRON =
|
||||
EnumHelper.addToolMaterial(NaturesAura.MOD_ID.toUpperCase(Locale.ROOT) + "_INFUSED_IRON", 3, 300, 6.25F, 2.25F, 16);
|
||||
|
|
|
@ -34,8 +34,9 @@ public class ItemShovelNA extends ItemSpade implements IModItem, IModelProvider
|
|||
EnumActionResult result = EnumActionResult.PASS;
|
||||
if (this == ModItems.INFUSED_SHOVEL) {
|
||||
ItemStack stack = player.getHeldItem(hand);
|
||||
for (int x = -1; x <= 1; x++) {
|
||||
for (int y = -1; y <= 1; y++) {
|
||||
int range = player.isSneaking() ? 0 : 1;
|
||||
for (int x = -range; x <= range; x++) {
|
||||
for (int y = -range; y <= range; y++) {
|
||||
BlockPos actualPos = pos.add(x, 0, y);
|
||||
if (player.canPlayerEdit(actualPos.offset(facing), facing, stack)) {
|
||||
if (facing != EnumFacing.DOWN
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"forge_marker": 1,
|
||||
"defaults": {
|
||||
"model": "minecraft:cube_all",
|
||||
"textures": {
|
||||
"all": "naturesaura:blocks/ancient_planks"
|
||||
},
|
||||
"transform": "forge:default-block"
|
||||
},
|
||||
"variants": {
|
||||
"normal": [{}],
|
||||
"inventory": [{}]
|
||||
}
|
||||
}
|
|
@ -9,6 +9,7 @@ tile.naturesaura.decayed_leaves.name=Decayed Leaves
|
|||
tile.naturesaura.golden_leaves.name=Golden Leaves
|
||||
tile.naturesaura.gold_powder.name=Gold Powder
|
||||
tile.naturesaura.wood_stand.name=Wooden Stand
|
||||
tile.naturesaura.ancient_planks.name=Ancient Planks
|
||||
|
||||
item.naturesaura.eye.name=Environmental Eye
|
||||
item.naturesaura.gold_fiber.name=Brilliant Fiber
|
||||
|
@ -19,6 +20,7 @@ item.naturesaura.infused_iron_axe.name=Botanist's Handaxe
|
|||
item.naturesaura.infused_iron_shovel.name=Botanist's Shovel
|
||||
item.naturesaura.infused_iron_sword.name=Botanist's Blade
|
||||
item.naturesaura.infused_iron_hoe.name=Botanist's Hoe
|
||||
item.naturesaura.ancient_stick.name=Ancient Wood Rod
|
||||
|
||||
container.naturesaura.tree_ritual.name=Tree Infusion
|
||||
container.naturesaura.altar.name=Natural Altar
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"parent": "item/generated",
|
||||
"textures": {
|
||||
"layer0": "naturesaura:items/ancient_stick"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"type": "forge:ore_shaped",
|
||||
"pattern": [
|
||||
"W"
|
||||
],
|
||||
"key": {
|
||||
"W": {
|
||||
"item": "naturesaura:ancient_log"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "naturesaura:ancient_planks",
|
||||
"count": 2
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"type": "forge:ore_shaped",
|
||||
"pattern": [
|
||||
"W"
|
||||
],
|
||||
"key": {
|
||||
"W": {
|
||||
"item": "naturesaura:ancient_bark"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "naturesaura:ancient_planks",
|
||||
"count": 2
|
||||
}
|
||||
}
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"type": "forge:ore_shaped",
|
||||
"pattern": [
|
||||
"W",
|
||||
"W"
|
||||
],
|
||||
"key": {
|
||||
"W": {
|
||||
"item": "naturesaura:ancient_planks"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "naturesaura:ancient_stick",
|
||||
"count": 2
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"type": "forge:ore_shaped",
|
||||
"pattern": [
|
||||
"AA",
|
||||
"AS",
|
||||
" S"
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "naturesaura:infused_iron"
|
||||
},
|
||||
"S": {
|
||||
"item": "naturesaura:ancient_stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "naturesaura:infused_iron_axe"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"type": "forge:ore_shaped",
|
||||
"pattern": [
|
||||
"AA",
|
||||
" S",
|
||||
" S"
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "naturesaura:infused_iron"
|
||||
},
|
||||
"S": {
|
||||
"item": "naturesaura:ancient_stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "naturesaura:infused_iron_hoe"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"type": "forge:ore_shaped",
|
||||
"pattern": [
|
||||
"AAA",
|
||||
" S ",
|
||||
" S "
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "naturesaura:infused_iron"
|
||||
},
|
||||
"S": {
|
||||
"item": "naturesaura:ancient_stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "naturesaura:infused_iron_pickaxe"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"type": "forge:ore_shaped",
|
||||
"pattern": [
|
||||
"A",
|
||||
"S",
|
||||
"S"
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "naturesaura:infused_iron"
|
||||
},
|
||||
"S": {
|
||||
"item": "naturesaura:ancient_stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "naturesaura:infused_iron_shovel"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"type": "forge:ore_shaped",
|
||||
"pattern": [
|
||||
"A",
|
||||
"A",
|
||||
"S"
|
||||
],
|
||||
"key": {
|
||||
"A": {
|
||||
"item": "naturesaura:infused_iron"
|
||||
},
|
||||
"S": {
|
||||
"item": "naturesaura:ancient_stick"
|
||||
}
|
||||
},
|
||||
"result": {
|
||||
"item": "naturesaura:infused_iron_sword"
|
||||
}
|
||||
}
|
After Width: | Height: | Size: 328 B |
After Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 505 B After Width: | Height: | Size: 501 B |
Before Width: | Height: | Size: 534 B After Width: | Height: | Size: 515 B |
Before Width: | Height: | Size: 534 B After Width: | Height: | Size: 529 B |
Before Width: | Height: | Size: 485 B After Width: | Height: | Size: 469 B |
Before Width: | Height: | Size: 596 B After Width: | Height: | Size: 583 B |