Class WorldFixerSettings

java.lang.Object
ua.mcchickenstudio.opencreative.settings.WorldFixerSettings

public final class WorldFixerSettings extends Object

WorldFixerSettings

This class represents a settings of world fixer.
  • Constructor Details

    • WorldFixerSettings

      public WorldFixerSettings()
  • Method Details

    • load

      public void load()
      Loads settings of world fixer from configuration.
    • shouldFixVehicleCollisions

      public boolean shouldFixVehicleCollisions()
      Checks whether vehicles with too many collisions should be destroyed.
      Returns:
      true - will be fixed, false - not.
    • shouldFixBadEntitiesInAir

      public boolean shouldFixBadEntitiesInAir()
      Checks whether bad entities in air should be fixed.
      Returns:
      true - will be fixed, false - not.
    • getMaxMinecartCollisionsAmount

      public int getMaxMinecartCollisionsAmount()
      Returns maximum amount of vehicle collisions in the last 0.5 seconds before its removal.
      Returns:
      limit of vehicle collisions.
    • getRecipesUnlocker

      @NotNull public @NotNull WorldFixerSettings.RecipesUnlocker getRecipesUnlocker()
      Returns option, when all crafting recipes should be unlocked for player.
      Returns:
      recipes unlocker type.