Package com.ldtteam.structurize.config
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 extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal net.neoforged.neoforge.common.ModConfigSpec.BooleanValueShould player made schematics be allowedfinal net.neoforged.neoforge.common.ModConfigSpec.BooleanValueShould the default schematics be ignored (from the jar)?final net.neoforged.neoforge.common.ModConfigSpec.ConfigValue<String>final net.neoforged.neoforge.common.ModConfigSpec.IntValueMax amount of blocks checked by a possible worker.final net.neoforged.neoforge.common.ModConfigSpec.IntValueMax amount of changes cached to be able to undofinal net.neoforged.neoforge.common.ModConfigSpec.IntValueMax amount of schematics to be cached on the serverfinal net.neoforged.neoforge.common.ModConfigSpec.IntValueMax world operations per tick (Max blocks to place, remove or replace)final net.neoforged.neoforge.common.ModConfigSpec.IntValueMax amount of blocks checked by a possible worker.final net.neoforged.neoforge.common.ModConfigSpec.BooleanValuefinal net.neoforged.neoforge.common.ModConfigSpec.EnumValue<net.minecraft.core.Direction>final net.neoforged.neoforge.common.ModConfigSpec.IntValuefinal net.neoforged.neoforge.common.ModConfigSpec.BooleanValueFields inherited from class com.ldtteam.common.config.AbstractConfiguration
COMMENT_SUFFIX, DEFAULT_KEY_PREFIX -
Constructor Summary
ConstructorsConstructorDescriptionServerConfiguration(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, defineListAllowEmpty, defineLong, defineLong, defineString, finishCategory, requiresWorldRestart, swapToCategory
-
Field Details
-
ignoreSchematicsFromJar
public final net.neoforged.neoforge.common.ModConfigSpec.BooleanValue ignoreSchematicsFromJarShould the default schematics be ignored (from the jar)? -
allowPlayerSchematics
public final net.neoforged.neoforge.common.ModConfigSpec.BooleanValue allowPlayerSchematicsShould player made schematics be allowed -
maxOperationsPerTick
public final net.neoforged.neoforge.common.ModConfigSpec.IntValue maxOperationsPerTickMax world operations per tick (Max blocks to place, remove or replace) -
maxCachedChanges
public final net.neoforged.neoforge.common.ModConfigSpec.IntValue maxCachedChangesMax amount of changes cached to be able to undo -
maxCachedSchematics
public final net.neoforged.neoforge.common.ModConfigSpec.IntValue maxCachedSchematicsMax amount of schematics to be cached on the server -
maxBlocksChecked
public final net.neoforged.neoforge.common.ModConfigSpec.IntValue maxBlocksCheckedMax amount of blocks checked by a possible worker. -
schematicBlockLimit
public final net.neoforged.neoforge.common.ModConfigSpec.IntValue schematicBlockLimitMax amount of blocks checked by a possible worker. -
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
-