Sentient tools should use the proper material and have a repair material

crystals are used to repair
This commit is contained in:
Nicholas Ignoffo 2018-08-26 13:40:40 -07:00
parent 70cf5d2bea
commit 8e16e590ea
4 changed files with 5 additions and 3 deletions

View file

@ -60,6 +60,8 @@ public class RegistrarBloodMagicRecipes
OreDictionary.registerOre("dustCoal", ComponentTypes.SAND_COAL.getStack());
PluginUtil.handlePluginStep(PluginUtil.RegistrationStep.RECIPE_REGISTER);
RegistrarBloodMagicItems.SOUL_TOOL_MATERIAL.setRepairItem(EnumDemonWillType.DEFAULT.getStack());
}
public static void registerAltarRecipes(BloodMagicRecipeRegistrar registrar)

View file

@ -72,7 +72,7 @@ public class ItemSentientAxe extends ItemAxe implements IDemonWillWeapon, IMeshP
public final double baseAttackSpeed = -3;
public ItemSentientAxe() {
super(Item.ToolMaterial.IRON);
super(RegistrarBloodMagicItems.SOUL_TOOL_MATERIAL, 8.0F, 3.1F);
setMaxDamage(getMaxDamage() * 2);
// super(ModItems.soulToolMaterial);

View file

@ -72,7 +72,7 @@ public class ItemSentientPickaxe extends ItemPickaxe implements IDemonWillWeapon
public final double baseAttackSpeed = -2.8;
public ItemSentientPickaxe() {
super(Item.ToolMaterial.IRON);
super(RegistrarBloodMagicItems.SOUL_TOOL_MATERIAL);
setMaxDamage(getMaxDamage() * 2);
// super(ModItems.soulToolMaterial);

View file

@ -72,7 +72,7 @@ public class ItemSentientShovel extends ItemSpade implements IDemonWillWeapon, I
public final double baseAttackSpeed = -2.8;
public ItemSentientShovel() {
super(Item.ToolMaterial.IRON);
super(RegistrarBloodMagicItems.SOUL_TOOL_MATERIAL);
setMaxDamage(getMaxDamage() * 2);
// super(ModItems.soulToolMaterial);