Class TraceResult
java.lang.Object
me.deecaad.weaponmechanics.weapon.explode.raytrace.TraceResult
-
Method Details
-
getEntities
-
getOneEntity
@Nullable public org.bukkit.entity.Entity getOneEntity()- Returns:
- The first Entity found in the RayTrace
-
getBlocks
-
getOneBlock
@Nullable public org.bukkit.block.Block getOneBlock()- Returns:
- The first Block found in the RayTrace
-
isEmpty
public boolean isEmpty()Returnstrueif no blocks and no entities were hit during the ray trace.- Returns:
- true if nothing was hit
-