Skip to content

Commit

Permalink
add waraxe for previous commit, fix stone recipes not requiring cobbl…
Browse files Browse the repository at this point in the history
…estone
  • Loading branch information
Draylar committed Mar 10, 2021
1 parent 2c28666 commit b39dacf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 11 deletions.
8 changes: 2 additions & 6 deletions src/main/java/draylar/gateofbabylon/item/WaraxeItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,8 @@

public class WaraxeItem extends AxeItem implements EnchantmentHandler {

public WaraxeItem(ToolMaterial material, float attackDamage, float attackSpeed, Settings settings) {
super(material, attackDamage, attackSpeed, settings);
}

public WaraxeItem(ToolMaterial material, float effectiveDamage, float effectiveSpeed) {
super(material, (int) (effectiveDamage - material.getAttackDamage() - 1), -4 + effectiveSpeed, new Item.Settings().group(GateOfBabylon.GROUP).maxCount(1));
public WaraxeItem(ToolMaterial material, float effectiveDamage, float effectiveSpeed, Item.Settings settings) {
super(material, (int) (effectiveDamage - material.getAttackDamage() - 1), -4 + effectiveSpeed, settings);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"item": "minecraft:stick"
},
"X": {
"item": "minecraft:stone"
"item": "minecraft:cobblestone"
}
},
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"item": "gateofbabylon:extended_stick"
},
"X": {
"item": "minecraft:stone"
"item": "minecraft:cobblestone"
}
},
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"item": "minecraft:stick"
},
"X": {
"item": "minecraft:stone"
"item": "minecraft:cobblestone"
}
},
"result": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
"key": {
"W": {
"item": "minecraft:stone"
"item": "minecraft:cobblestone"
},
"o": {
"item": "minecraft:iron_ingot"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"item": "gateofbabylon:extended_stick"
},
"X": {
"item": "minecraft:stone"
"item": "minecraft:cobblestone"
}
},
"result": {
Expand Down

0 comments on commit b39dacf

Please sign in to comment.