Valid Height Condition
Crystals only deal damage if they are placed below the target, because obsidian or bedrock base blocks will block the explosion otherwise.
If we know it's above the target, why calculate everything for the position?
Functions
Link copied to clipboard
open override fun isValid(context: PlacementContext, cache: CandidateCache, candidate: BlockPos): Boolean