Class HardcoreSpawnUtils

java.lang.Object
btw.util.hardcorespawn.HardcoreSpawnUtils

public class HardcoreSpawnUtils extends Object
  • Field Details

    • HARDCORE_SPAWN_TIME_BETWEEN_REASSIGNMENTS

      public static final int HARDCORE_SPAWN_TIME_BETWEEN_REASSIGNMENTS
      See Also:
    • blacklistedBiomes

      public static ArrayList<BiomeGenBase> blacklistedBiomes
  • Constructor Details

    • HardcoreSpawnUtils

      public HardcoreSpawnUtils()
  • Method Details

    • getPlayerSpawnRadius

      public static double getPlayerSpawnRadius(World world)
      player respawn maximum radius from original spawn
    • getPlayerSpawnExclusionRadius

      public static double getPlayerSpawnExclusionRadius(World world)
      player respawn minimum radius from original spawn
    • getPlayerMultipleRespawnRadius

      public static double getPlayerMultipleRespawnRadius()
      specifies the radius in which a player will respawn, if returning to the same spawn point after multiple deaths
    • getAbandonedVillageRadius

      public static double getAbandonedVillageRadius(World world)
    • getPartiallyAbandonedVillageRadius

      public static double getPartiallyAbandonedVillageRadius(World world)
    • getLootedTempleRadius

      public static double getLootedTempleRadius(World world)
    • getCarvedPumpkinRadius

      public static double getCarvedPumpkinRadius(World world)
    • getWorldTypeRadiusMultiplier

      public static double getWorldTypeRadiusMultiplier(World world)
    • getWorldDifficultyRadiusMultiplier

      public static double getWorldDifficultyRadiusMultiplier(World world)
    • getGameProgressRadiusMultiplier

      public static double getGameProgressRadiusMultiplier(World world)
    • handleInitialSpawn

      public static void handleInitialSpawn(MinecraftServer server, EntityPlayerMP player)
    • handleHardcoreSpawn

      public static void handleHardcoreSpawn(MinecraftServer server, EntityPlayerMP oldPlayer, EntityPlayerMP newPlayer)
    • assignNewHardcoreSpawnLocation

      public static boolean assignNewHardcoreSpawnLocation(World world, MinecraftServer server, EntityPlayerMP player)
    • isInLootedTempleRadius

      public static boolean isInLootedTempleRadius(World world, int x, int z)