Class DamageUtils

java.lang.Object
meteordevelopment.meteorclient.utils.player.DamageUtils

public class DamageUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static double
    anchorDamage(net.minecraft.entity.LivingEntity player, net.minecraft.util.math.Vec3d anchor)
     
    static double
    bedDamage(net.minecraft.entity.LivingEntity player, net.minecraft.util.math.Vec3d bed)
     
    static double
    crystalDamage(net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.math.Vec3d crystal)
     
    static double
    crystalDamage(net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.math.Vec3d crystal, boolean predictMovement, net.minecraft.util.math.BlockPos obsidianPos, boolean ignoreTerrain)
     
    static double
    getSwordDamage(net.minecraft.entity.player.PlayerEntity entity, boolean charged)
     
    static void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DamageUtils

      public DamageUtils()
  • Method Details

    • init

      public static void init()
    • crystalDamage

      public static double crystalDamage(net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.math.Vec3d crystal, boolean predictMovement, net.minecraft.util.math.BlockPos obsidianPos, boolean ignoreTerrain)
    • crystalDamage

      public static double crystalDamage(net.minecraft.entity.player.PlayerEntity player, net.minecraft.util.math.Vec3d crystal)
    • getSwordDamage

      public static double getSwordDamage(net.minecraft.entity.player.PlayerEntity entity, boolean charged)
    • bedDamage

      public static double bedDamage(net.minecraft.entity.LivingEntity player, net.minecraft.util.math.Vec3d bed)
    • anchorDamage

      public static double anchorDamage(net.minecraft.entity.LivingEntity player, net.minecraft.util.math.Vec3d anchor)