package com.mythlane.chainlightning.chain; import java.util.Optional; /** SAM that returns the first entity along the caster's look ray, or empty. */ @FunctionalInterface public interface RayCaster { Optional firstHit(double maxBlocks); }