PlacementPositionCandidate

class PlacementPositionCandidate(val pos: BlockPos, val notBlockedByCrystal: Boolean, val requiresBasePlace: Boolean) : Comparable<PlacementPositionCandidate>

Constructors

Link copied to clipboard
constructor(pos: BlockPos, notBlockedByCrystal: Boolean, requiresBasePlace: Boolean)

Properties

Link copied to clipboard

The damage a crystal at the specific position would deal to the enemy.

Link copied to clipboard
Link copied to clipboard
val pos: BlockPos
Link copied to clipboard

Functions

Link copied to clipboard
fun calculate()

Evaluates the explosion damage to the target, sets it to null if the position is invalid.

Link copied to clipboard
open operator override fun compareTo(other: PlacementPositionCandidate): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard