mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Add afterBlockBreak callback to the ActiveToolMod
This commit is contained in:
1 parent
35bf8e4303
commit
b7bd5755e2
2 files changed
+17
No files matched your search
@@ -1,5 +1,6 @@
|
||||
package tconstruct.library;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.*;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
@@ -20,11 +21,17 @@ public class ActiveToolMod
|
||||
return false;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public boolean afterBlockBreak () // Unfinished, not called
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
public void afterBlockBreak(ToolCore tool, ItemStack stack, Block block, int x, int y, int z, EntityLivingBase entity)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/* Attacking */
|
||||
|
||||
public int baseAttackDamage (int earlyModDamage, int damage, ToolCore tool, NBTTagCompound tags, NBTTagCompound toolTags, ItemStack stack, EntityLivingBase player, Entity entity)
|
||||
|
||||
Reference in new issue
Block a user