Class GenUtils

java.lang.Object
io.github.addoncommunity.galactifun.util.GenUtils

public final class GenUtils extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    generateOakTop(org.bukkit.RegionAccessor accessor, org.bukkit.Location topLog, org.bukkit.Material leaves)
    Generates an oak tree top
    static void
    generatePlus(org.bukkit.RegionAccessor accessor, org.bukkit.Location center, org.bukkit.Material material)
     
    static void
    generateSquare(org.bukkit.RegionAccessor accessor, org.bukkit.Location center, org.bukkit.Material material, int radius)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • generateSquare

      @ParametersAreNonnullByDefault public static void generateSquare(org.bukkit.RegionAccessor accessor, org.bukkit.Location center, org.bukkit.Material material, int radius)
    • generatePlus

      public static void generatePlus(@Nonnull org.bukkit.RegionAccessor accessor, @Nonnull org.bukkit.Location center, @Nonnull org.bukkit.Material material)
    • generateOakTop

      public static void generateOakTop(@Nonnull org.bukkit.RegionAccessor accessor, @Nonnull org.bukkit.Location topLog, @Nonnull org.bukkit.Material leaves)
      Generates an oak tree top
      Parameters:
      topLog - the location of the last long. This is modified
      leaves - the material of the leaves