Class ServerConfiguration

java.lang.Object
com.ldtteam.common.config.AbstractConfiguration
com.ldtteam.structurize.config.ServerConfiguration

public class ServerConfiguration extends com.ldtteam.common.config.AbstractConfiguration
Mod server configuration. Loaded serverside, synced on connection.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.ldtteam.common.config.AbstractConfiguration

    com.ldtteam.common.config.AbstractConfiguration.ConfigListener<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final net.neoforged.neoforge.common.ModConfigSpec.BooleanValue
    Should player made schematics be allowed
    static final String
     
    final net.neoforged.neoforge.common.ModConfigSpec.BooleanValue
    Should the default schematics be ignored (from the jar)?
    final net.neoforged.neoforge.common.ModConfigSpec.ConfigValue<String>
     
    final net.neoforged.neoforge.common.ModConfigSpec.IntValue
    Max amount of blocks checked by a possible worker.
    final net.neoforged.neoforge.common.ModConfigSpec.IntValue
    Max amount of changes cached to be able to undo
    final net.neoforged.neoforge.common.ModConfigSpec.IntValue
    Max amount of schematics to be cached on the server
    final net.neoforged.neoforge.common.ModConfigSpec.IntValue
    Max world operations per tick (Max blocks to place, remove or replace)
    final net.neoforged.neoforge.common.ModConfigSpec.IntValue
    Max amount of blocks checked by a possible worker.
    final net.neoforged.neoforge.common.ModConfigSpec.BooleanValue
     
    final net.neoforged.neoforge.common.ModConfigSpec.EnumValue<net.minecraft.core.Direction>
     
    final net.neoforged.neoforge.common.ModConfigSpec.IntValue
     
    final net.neoforged.neoforge.common.ModConfigSpec.BooleanValue
     

    Fields inherited from class com.ldtteam.common.config.AbstractConfiguration

    COMMENT_SUFFIX, DEFAULT_KEY_PREFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServerConfiguration(net.neoforged.neoforge.common.ModConfigSpec.Builder builder)
    Builds server configuration.
  • Method Summary

    Methods inherited from class com.ldtteam.common.config.AbstractConfiguration

    addWatcher, addWatcher, createCategory, defineBoolean, defineDouble, defineDouble, defineEnum, defineInteger, defineInteger, defineList, defineList, defineList, defineListAllowEmpty, defineListAllowEmpty, defineListAllowEmpty, defineLong, defineLong, defineString, finishCategory, requires, requiresGameRestart, requiresWorldRestart, swapToCategory

    Methods inherited from class java.lang.Object

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

    • CONFIG_OPTION_ALLOW_PLAYER_SCHEMATICS

      public static final String CONFIG_OPTION_ALLOW_PLAYER_SCHEMATICS
      See Also:
    • ignoreSchematicsFromJar

      public final net.neoforged.neoforge.common.ModConfigSpec.BooleanValue ignoreSchematicsFromJar
      Should the default schematics be ignored (from the jar)?
    • allowPlayerSchematics

      public final net.neoforged.neoforge.common.ModConfigSpec.BooleanValue allowPlayerSchematics
      Should player made schematics be allowed
    • maxOperationsPerTick

      public final net.neoforged.neoforge.common.ModConfigSpec.IntValue maxOperationsPerTick
      Max world operations per tick (Max blocks to place, remove or replace)
    • maxCachedChanges

      public final net.neoforged.neoforge.common.ModConfigSpec.IntValue maxCachedChanges
      Max amount of changes cached to be able to undo
    • maxCachedSchematics

      public final net.neoforged.neoforge.common.ModConfigSpec.IntValue maxCachedSchematics
      Max amount of schematics to be cached on the server
    • maxBlocksChecked

      public final net.neoforged.neoforge.common.ModConfigSpec.IntValue maxBlocksChecked
      Max amount of blocks checked by a possible worker.
    • schematicBlockLimit

      public final net.neoforged.neoforge.common.ModConfigSpec.IntValue schematicBlockLimit
      Max amount of blocks checked by a possible worker.
    • iteratorType

      public final net.neoforged.neoforge.common.ModConfigSpec.ConfigValue<String> iteratorType
    • teleportAllowed

      public final net.neoforged.neoforge.common.ModConfigSpec.BooleanValue teleportAllowed
    • teleportBuildDirection

      public final net.neoforged.neoforge.common.ModConfigSpec.EnumValue<net.minecraft.core.Direction> teleportBuildDirection
    • teleportBuildDistance

      public final net.neoforged.neoforge.common.ModConfigSpec.IntValue teleportBuildDistance
    • teleportSafety

      public final net.neoforged.neoforge.common.ModConfigSpec.BooleanValue teleportSafety
  • Constructor Details

    • ServerConfiguration

      public ServerConfiguration(net.neoforged.neoforge.common.ModConfigSpec.Builder builder)
      Builds server configuration.
      Parameters:
      builder - config builder