mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
* Mod Friendly piercing Piercing damage converted to bonus damage equivalent to victim's armor protection (capped at diamond armor). This prevents rapiers from bypassing immunities. * Run SpotlessApply * Delete commented out code
11 lines
277 B
Java
11 lines
277 B
Java
package tconstruct.library.util;
|
|
|
|
import net.minecraft.entity.Entity;
|
|
import net.minecraft.util.EntityDamageSource;
|
|
|
|
public class PiercingEntityDamage extends EntityDamageSource {
|
|
public PiercingEntityDamage(String str, Entity entity) {
|
|
super(str, entity);
|
|
}
|
|
}
|