[ci skip] spotlessApply with the new settings

This commit is contained in:
Jason Mitchell committed 2023-01-28 18:04:28 -08:00
1 parent 83698cb73c
commit 84c2239244
561 files changed
+8872 -9300

No files matched your search

@@ -5,9 +5,11 @@ import net.minecraft.entity.*;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.World;
import tconstruct.library.tools.ToolCore;
public class ActiveToolMod {
/* Updating */
public void updateTool(ToolCore tool, ItemStack stack, World world, Entity entity) {}
@@ -18,67 +20,41 @@ public class ActiveToolMod {
@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) {}
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) {
public int baseAttackDamage(int earlyModDamage, int damage, ToolCore tool, NBTTagCompound tags,
NBTTagCompound toolTags, ItemStack stack, EntityLivingBase player, Entity entity) {
return earlyModDamage;
}
// Calculated after sprinting and enchant bonuses
public float knockback(
float modKnockback,
float currentKnockback,
ToolCore tool,
NBTTagCompound tags,
NBTTagCompound toolTags,
ItemStack stack,
EntityLivingBase player,
Entity entity) {
public float knockback(float modKnockback, float currentKnockback, ToolCore tool, NBTTagCompound tags,
NBTTagCompound toolTags, ItemStack stack, EntityLivingBase player, Entity entity) {
return modKnockback;
}
public int attackDamage(
int modDamage,
int currentDamage,
ToolCore tool,
NBTTagCompound tags,
NBTTagCompound toolTags,
ItemStack stack,
EntityLivingBase player,
Entity entity) {
public int attackDamage(int modDamage, int currentDamage, ToolCore tool, NBTTagCompound tags,
NBTTagCompound toolTags, ItemStack stack, EntityLivingBase player, Entity entity) {
return modDamage;
}
public void lateAttackEntity() // Unfinished, not called
{}
{}
/* Damage tool */
public boolean damageTool(ItemStack stack, int damage, EntityLivingBase entity) {
return false;
}
public boolean doesCriticalHit(
ToolCore tool,
NBTTagCompound tags,
NBTTagCompound toolTags,
ItemStack stack,
EntityLivingBase player,
Entity entity) {
public boolean doesCriticalHit(ToolCore tool, NBTTagCompound tags, NBTTagCompound toolTags, ItemStack stack,
EntityLivingBase player, Entity entity) {
return false;
}
}