Sentient tools should use the proper material and have a repair material
crystals are used to repair
This commit is contained in:
parent
70cf5d2bea
commit
8e16e590ea
|
@ -60,6 +60,8 @@ public class RegistrarBloodMagicRecipes
|
||||||
OreDictionary.registerOre("dustCoal", ComponentTypes.SAND_COAL.getStack());
|
OreDictionary.registerOre("dustCoal", ComponentTypes.SAND_COAL.getStack());
|
||||||
|
|
||||||
PluginUtil.handlePluginStep(PluginUtil.RegistrationStep.RECIPE_REGISTER);
|
PluginUtil.handlePluginStep(PluginUtil.RegistrationStep.RECIPE_REGISTER);
|
||||||
|
|
||||||
|
RegistrarBloodMagicItems.SOUL_TOOL_MATERIAL.setRepairItem(EnumDemonWillType.DEFAULT.getStack());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void registerAltarRecipes(BloodMagicRecipeRegistrar registrar)
|
public static void registerAltarRecipes(BloodMagicRecipeRegistrar registrar)
|
||||||
|
|
|
@ -72,7 +72,7 @@ public class ItemSentientAxe extends ItemAxe implements IDemonWillWeapon, IMeshP
|
||||||
public final double baseAttackSpeed = -3;
|
public final double baseAttackSpeed = -3;
|
||||||
|
|
||||||
public ItemSentientAxe() {
|
public ItemSentientAxe() {
|
||||||
super(Item.ToolMaterial.IRON);
|
super(RegistrarBloodMagicItems.SOUL_TOOL_MATERIAL, 8.0F, 3.1F);
|
||||||
setMaxDamage(getMaxDamage() * 2);
|
setMaxDamage(getMaxDamage() * 2);
|
||||||
// super(ModItems.soulToolMaterial);
|
// super(ModItems.soulToolMaterial);
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ public class ItemSentientPickaxe extends ItemPickaxe implements IDemonWillWeapon
|
||||||
public final double baseAttackSpeed = -2.8;
|
public final double baseAttackSpeed = -2.8;
|
||||||
|
|
||||||
public ItemSentientPickaxe() {
|
public ItemSentientPickaxe() {
|
||||||
super(Item.ToolMaterial.IRON);
|
super(RegistrarBloodMagicItems.SOUL_TOOL_MATERIAL);
|
||||||
setMaxDamage(getMaxDamage() * 2);
|
setMaxDamage(getMaxDamage() * 2);
|
||||||
// super(ModItems.soulToolMaterial);
|
// super(ModItems.soulToolMaterial);
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ public class ItemSentientShovel extends ItemSpade implements IDemonWillWeapon, I
|
||||||
public final double baseAttackSpeed = -2.8;
|
public final double baseAttackSpeed = -2.8;
|
||||||
|
|
||||||
public ItemSentientShovel() {
|
public ItemSentientShovel() {
|
||||||
super(Item.ToolMaterial.IRON);
|
super(RegistrarBloodMagicItems.SOUL_TOOL_MATERIAL);
|
||||||
setMaxDamage(getMaxDamage() * 2);
|
setMaxDamage(getMaxDamage() * 2);
|
||||||
// super(ModItems.soulToolMaterial);
|
// super(ModItems.soulToolMaterial);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue