java.lang.Object
me.deecaad.weaponmechanics.weapon.explode.raytrace.TraceResult

public class TraceResult extends Object
  • Method Details

    • getEntities

      @NotNull public Set<org.bukkit.entity.Entity> getEntities()
    • getOneEntity

      @Nullable public org.bukkit.entity.Entity getOneEntity()
      Returns:
      The first Entity found in the RayTrace
    • getBlocks

      @NotNull public Set<org.bukkit.block.Block> getBlocks()
    • getOneBlock

      @Nullable public org.bukkit.block.Block getOneBlock()
      Returns:
      The first Block found in the RayTrace
    • isEmpty

      public boolean isEmpty()
      Returns true if no blocks and no entities were hit during the ray trace.
      Returns:
      true if nothing was hit