Package btw

Class BTWMod


public class BTWMod extends BTWAddon
  • Field Details

    • instance

      public static BTWMod instance
    • globalBtwGson

      public static com.google.gson.Gson globalBtwGson
    • IS_RELEASE

      public static final boolean IS_RELEASE
      See Also:
    • disableMinecartChanges

      public static boolean disableMinecartChanges
    • localEnableHardcoreBuoy

      public static boolean localEnableHardcoreBuoy
    • serverEnableHardcoreBuoy

      public static boolean serverEnableHardcoreBuoy
    • localHardcorePlayerNamesLevel

      public static int localHardcorePlayerNamesLevel
    • serverHardcorePlayerNamesLevel

      public static int serverHardcorePlayerNamesLevel
    • disableEndText

      public static boolean disableEndText
    • disableGearBoxPowerDrain

      public static boolean disableGearBoxPowerDrain
    • nauseaStrength

      public static float nauseaStrength
    • increaseGhastSpawns

      public static boolean increaseGhastSpawns
    • initialSpawnIsHardcore

      public static boolean initialSpawnIsHardcore
    • alwaysSpawnTogether

      public static boolean alwaysSpawnTogether
    • maxPlayersPerHardcoreSpawnLocation

      public static int maxPlayersPerHardcoreSpawnLocation
    • increaseLargeBiomeHCS

      public static boolean increaseLargeBiomeHCS
    • enableSnowRework

      public static boolean enableSnowRework
    • allowHardcore

      public static boolean allowHardcore
    • useHardcoreHearts

      public static boolean useHardcoreHearts
    • enableLocalChat

      public static boolean enableLocalChat
    • localChatRange

      public static double localChatRange
    • allowPlaceWhileJumping

      public static boolean allowPlaceWhileJumping
    • playerSkinURL

      public static String playerSkinURL
    • playerCloakURL

      public static String playerCloakURL
    • isLensBeamBeingRemoved

      public static boolean isLensBeamBeingRemoved
    • potionFortune

      public static final Potion potionFortune
    • potionLooting

      public static final Potion potionLooting
    • potionTrueSight

      public static final Potion potionTrueSight
  • Constructor Details

    • BTWMod

      public BTWMod()
  • Method Details

    • preInitialize

      public void preInitialize()
      Description copied from class: BTWAddon
      Do anything here that needs to be done before any other mods have initialized
      Overrides:
      preInitialize in class BTWAddon
    • initialize

      public void initialize()
      Description copied from class: BTWAddon
      The main method to initialize mod data. Mod initialize order cannot be guaranteed, except that Better than Wolves loads first Anything that depends on other mods having loaded should be done in postInitialize()
      Specified by:
      initialize in class BTWAddon
    • postInitialize

      public void postInitialize()
      Description copied from class: BTWAddon
      Do anything here that needs to be done after all other mods have initialized
      Overrides:
      postInitialize in class BTWAddon
    • modInstallationIntegrityTest

      public void modInstallationIntegrityTest()
    • isHardcoreBuoyEnabled

      public static boolean isHardcoreBuoyEnabled(World world)
    • isHardcorePlayerNamesEnabled

      public static boolean isHardcorePlayerNamesEnabled(World world)
    • areHardcorePlayerNamesObstructed

      public static boolean areHardcorePlayerNamesObstructed(World world)
    • registerConfigProperties

      public void registerConfigProperties(AddonConfig config)
      Description copied from class: BTWAddon
      Do any initial config registration here. Use register___ to register new properties. To reference the values later, use BTWAddon.addonConfig's get_____ methods.
      Overrides:
      registerConfigProperties in class BTWAddon
    • handleConfigProperties

      public void handleConfigProperties(AddonConfig config)
      Description copied from class: BTWAddon
      Where the addon should handle the values read from config files This is called after Initialize() is called, and every time the config is reloaded with
      Overrides:
      handleConfigProperties in class BTWAddon
      Parameters:
      config - Key-value pair for each property which has been registered
    • serverPlayerConnectionInitialized

      public void serverPlayerConnectionInitialized(NetServerHandler serverHandler, EntityPlayerMP player)
      Description copied from class: BTWAddon
      Called when a player joins the world
      Overrides:
      serverPlayerConnectionInitialized in class BTWAddon
    • initializeDifficultyCommon

      public void initializeDifficultyCommon(Difficulty difficulty)
      Overrides:
      initializeDifficultyCommon in class BTWAddon
    • initializeDifficultyServer

      public void initializeDifficultyServer(Difficulty difficulty)
      Overrides:
      initializeDifficultyServer in class BTWAddon
    • initializeDifficultyClient

      public void initializeDifficultyClient(Difficulty difficulty)
      Overrides:
      initializeDifficultyClient in class BTWAddon
    • serverOpenCustomInterface

      public static void serverOpenCustomInterface(EntityPlayerMP player, Container container, int containerID)
    • isSinglePlayerNonLan

      public static boolean isSinglePlayerNonLan()
    • debugChatOutput

      public static void debugChatOutput(String string)
    • debugWarning

      public static void debugWarning(String string)