Class BattleEvaluationModuleHelper
java.lang.Object
com.pixelmonmod.pixelmon.battles.controller.ai.evaluation.BattleEvaluationModuleHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanThreatenKo(PixelmonWrapper attacker, PixelmonWrapper defender) static doublegetBestAvailableDamagePercent(PixelmonWrapper attacker, PixelmonWrapper target) static doublegetEstimatedDamage(PixelmonWrapper attacker, PixelmonWrapper target, Attack attack) static booleanisTypeValid(net.minecraft.core.HolderSet<Type> types, List<net.minecraft.core.Holder<Type>> typeList) static booleanmovesFirst(PixelmonWrapper ours, PixelmonWrapper theirs)
-
Method Details
-
getBestAvailableDamagePercent
public static double getBestAvailableDamagePercent(PixelmonWrapper attacker, PixelmonWrapper target) -
getEstimatedDamage
public static double getEstimatedDamage(PixelmonWrapper attacker, PixelmonWrapper target, Attack attack) -
movesFirst
-
canThreatenKo
-
isTypeValid
-