Finished non-rendering components for the Soul Forge.
This commit is contained in:
parent
7b8646659a
commit
16a50f7144
6 changed files with 131 additions and 15 deletions
|
@ -78,6 +78,9 @@ public class Constants
|
|||
public static final String SOULS = "souls";
|
||||
public static final String SOUL_SWORD_DAMAGE = "soulSwordDamage";
|
||||
public static final String SOUL_SWORD_ACTIVE_DRAIN = "soulSwordActiveDrain";
|
||||
|
||||
public static final String SOUL_FORGE_BURN = "burnTime";
|
||||
public static final String SOUL_FORGE_CONSUMED = "consumedSouls";
|
||||
}
|
||||
|
||||
public static class Mod
|
||||
|
|
|
@ -34,6 +34,8 @@ public class SoulForgeRecipe
|
|||
public SoulForgeRecipe(ItemStack result, double minSouls, double drain, Object... recipe)
|
||||
{
|
||||
output = result.copy();
|
||||
this.minimumSouls = minSouls;
|
||||
this.soulsDrained = drain;
|
||||
for (Object in : recipe)
|
||||
{
|
||||
if (in instanceof ItemStack)
|
||||
|
@ -71,7 +73,7 @@ public class SoulForgeRecipe
|
|||
|
||||
public ItemStack getRecipeOutput()
|
||||
{
|
||||
return output;
|
||||
return output.copy();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue