mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 20:52:26 +00:00
Diary of a Tinker
This commit is contained in:
1 parent
b89fbce46f
commit
e844381eda
41 files changed
+1537
-55
No files matched your search
@@ -99,6 +99,11 @@ public abstract class ToolCore extends Item
|
||||
|
||||
@Override
|
||||
public String getTextureFile () //Repurposed for default texture locations
|
||||
{
|
||||
return TConstructContent.craftingTexture;
|
||||
}
|
||||
|
||||
public String getToolTextureFile ()
|
||||
{
|
||||
return toolTexture;
|
||||
}
|
||||
@@ -468,7 +473,7 @@ public abstract class ToolCore extends Item
|
||||
if (tags.hasKey("Moss"))
|
||||
{
|
||||
int chance = tags.getInteger("Moss");
|
||||
if (random.nextInt(800) < chance)
|
||||
if (random.nextInt(2000) < chance)
|
||||
{
|
||||
AbilityHelper.damageTool(stack, -1, (EntityLiving) entity, true);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user