Notice
Lithium uses Java Properties Format to standardize its configuration files.If the configuration file does not exist when the game starts, a blank file will be created and the page will be annotated.
This configuration file defines the coverage of options in Lithium, so a blank file is very normal!It just means you want to use all the default values.
Each of the following categories contains a list of options that can be changed by users.Due to the nature of the MOD, the configuration option needs to restart the game to take effect.
Modify
All configuration options in Lithium are simple key values pairs.In other words, the name of the option must be specified first, and then the required value is specified, as shown below:
# The text behind is a comment to allow you to create an easy -to -understand text.Therefore, you don't need to add them hard, but you may want to have a comment on why you want to modify the default value.
Configuration option
Physical AI
mixin.ai
(Boolean value, default value: true)
If it is False, all AI optimizations below will be disabled.
mixin.ai.goal
(Boolean value, default value: true)
If it is True, the target selector of the physical AI will be achieved faster.Usually, this can greatly improve the server's quotation speed almost in almost all of the cases, and usually start safely.
mixin.ai.nearby_entity_tracking
(Boolean value, default value: true)
If for True, an event -based system will be provided to track the nearby entities.
mixin.ai.nearby_entity_tracking.goals
(Boolean value, default value: true)
If you are True, the AI target of the nearby entity in the game world will be changed to tracking the nearby entities using an event -based system.In other words, the entity does not constantly ask whether there are other entities nearby, but only inform them occasionally when such entities enter them.This will significantly reduce the CPU expenses increased by these targets, and should be able to start safely.
mixin.ai.phing
(Boolean value, default value: true)
If it is TRUE, it will use a faster code path to determine the type of road search node associated with a given block.In addition, when evaluating the path, a faster block cache will be used to access the block.
mixin.ai.poi
(Boolean value, default value: true)
If it is FALSE, all the following AI locations will be disabled.
mixin.ai.poi.fast_init
(Boolean value, default value: true)
If it is TRUE, the initialization of the location storage will use a faster set, and it will speed up the initialization by avoiding the data flow code.
mixin.ai.poi.fast_retrieval
(Boolean value, default value: true)
If you are True, you will use an auxiliary search table to find events used by villagers and other complex biological AI.When one of these entities find nearby event points, they will be able to scan all points in the block in a operation without scanning each sub -block separately.This can greatly reduce the performance expenses generated by these tasks.
mixin.ai.raid
(Boolean value, default value: true)
If it is True, it will optimize RAID logic to avoid logic and network update with greater performance loss, which may help some RAID situations.
mixin.ai.task
(Boolean value, default value: true)
If for True, the complex AI brain system used by villagers and other entities will be optimized by replacing data flow -based code with more traditional iterative iterative.This can reduce a large amount of CPU and memory allocation overhead. When the entity used in the system in the world, the game speed is accelerated.
Mission distribution
mixin.alloc
(Boolean value, default value: true)
If it is FALSE, all the following allocation optimization will be disabled.
mixin.alloc.chunk_random
(Boolean value, default value: true)
If it is True, the tick response obtained by the optimized block will be optimized, so that it will no longer use the block position allocation, thereby reducing the object distribution rate.
mixin.alloc.chunk_ticking
(Boolean value, default value: true)
If it is True, the block mark will avoid repeated Lambda closure allocation and reusing lists.
mixin.alloc.comPoster
(Boolean value, default value: true)
If it is True, the fertilizer barrel will be reused to use the available field array (Arrays) required by the vulnerability.
mixin.alloc.entity_tracker
(Boolean value, default value: true) If True is true, the entity tracker will use the Fastutil set to store observation players.
mixin.alloc.enum_values
(Boolean value, default value: true)
If you are True, you will repair multiple positions in the game code to avoid calling enum#value () in running code.Each of these calls will be alternative to the reserve array to prevent the intersection of the writer, and the writer will create a large number of allocation in turn to slow down the game speed.
mixin.alloc.explove_behavior
(Boolean value, default value: true)
If it is True, Lambda closure allocation will be repeated when evaluating the explosion.
mixin.alloc.WORLD_TICKING
(Boolean value, default value: true)
If it is True, the optimized mapping iterator will be used when the TICK cycle is carried out in a TICK cycle.
Block
mixin.block
(Boolean value, default value: true)
If it is false, all the following blocks will be disabled.
mixin.block.flatten.states
(Boolean value, default value: true)
If it is TRUE, the block state is extended to store the fluid it containing to speed up many fluid examination operations.
mixin.block.moving_block_shapes
(Boolean value, default value: true)
If you are True, you will avoid the Voxelshapes by re -use the previously created Voxelshapes.
mixin.cached_hashcode
(Boolean value, default value: true)
If it is True, the blockneneighborgroups used in the fluid code will cache its hash code.
Block
Optimization of block and block data container.
mixin.chunk
(Boolean value, default value: true)
If it is False, all the following block optimization will be disabled.
mixin.chunk.count_oversized_blocks
(Boolean value, default value: true)
If it is True, the block part will track the number of blocks in the 1x1x1 area it containing.If there are not too large block areas, mixin.entity.fast_suffocation_check and mixin.entity.collisions will use this information to scan the smaller block area.
mixin.chunk.entity_Class_groups
(Boolean value, default value: true)
If you are True, you can perform static analysis of all Entity classes.Mixin.entity.Collisions will limit the entity (such as ships and submarine shellfish) or collision (such as the ship and mining car) entity group (such as the Class Group) of the collision box to avoid to find special collision behaviors to find special collision behaviorsScan all class entities (Class Entity).
mixin.chunk.no_locking
(Boolean value, default value: true)
If you are enabled, this option will delete the debug statement in the block part of the code.
mixin.chunk.palette
(Boolean value, default value: true)
If it is True, the optimized variants will be used to replace the original hash color plate (the color panel is mapped to the small -range integer from the block data into the block).
mixin.chunk.section_update_tracking
(Boolean value, default value: true)
If you are True, the block update collection of the player will be sent to the hash set.The hash set is much faster than the array, which can reduce the delayed peak when the large -scale fill command is executed.
mixin.chunk.serialization
(Boolean value, default value: true)
If it is TRUE, the color panel of the compressed block is used to use the optimization method when serializing.This greatly accelerates the speed of the original block coloring behavior. This component should be used safely and provided help when the server saves a large number of blocks.
Collection class
mixin.collections
(Boolean value, default value: true)
If it is FALSE, all the following collection classes will be disabled.
mixin.collectionS.entity_filtering
(Boolean value, default value: True) If True is True, a check that requires a large performance loss only when you need to create a new list of this type to check whether the TypeFilTrableList can be filtered by a specific type.
Entity and creature
Optimization of entity ticking.
mixin.entity
(Boolean value, default value: true)
If it is FALSE, all the following entities will be disabled.
mixin.entity.collisions
(Boolean value, default value: true)
If it is True, a large number of optimizations will be applied to the physical collision conflict detection and physical analysis solutions to speed up some common operations.This can greatly reduce the time that the entity ticking spends in the server.
mixin.entity.data_tracker
(Boolean value, default value: true)
If it is FALSE, all the following data trackers will be disabled.
mixin.entity.data_tracker.no_locks
(Boolean value, default value: true)
If it is True, unnecessary locking code will be deleted from a data tracking for the entity.This code has fun in the older game version, but it has not been related since then.This may cause problems if you install the MOD trying to access the data tracker on the error thread, but this possibility is not much.
mixin.entity.data_tracker.use_arrays
(Boolean value, default value: true)
If it is True, the optimized MAP mapping will be tracked for physical data, so as to avoid using simple array (Arrays) for integer data installation boxes and MAP traversal search.
mixin.entity.fast_suffocation_check
(Boolean value, default value: true)
If it is True, the asphyxia -related detection will traverse the square in a more efficient order.
mixin.entity.gravity_check_block_below
(Boolean value, default value: true)
If it is True, if the bottom block has prevented them from falling, the entity that moves downward will skip the collision check with all nearby blocks.
mixin.entity.inactive_navigations
(Boolean value, default value: true)
If it is True, the box update will skip the notification of the biological path index, and these indexes will not respond to the other party's update anyway.
mixin.entity.replace_entityType_predicates
(Boolean value, default value: true)
If you are True, you will query a type of entity instead of filtering in all entities according to this type.
mixin.entity.skip_fire_check
(Boolean value, default value: true)
If it is True, an unprepared entity will skip the inspection when to stop burning.
mixin.entity.stream_entity_collisions_lazily
(Boolean value, default value: true)
If it is True, when determining the shape of the entity to collide with it, it will first scan the square instead of the entity.This provides some performance improvements, because most entities always collide with a block before another entity. Check the blocks without checking the entities that can skip the physical loss with a large performance loss.
World generation
Optimize the generation and player data.
mixin.gen
(Boolean value, default value: true)
If it is False, the optimization generated by all the world below will be disabled.
mixin.gen.biome_noise_cache
(Boolean value, default value: true)
If it is True, the noise class (Noise) data used in the samples of biological groups will be used to store optimized caches.This can greatly reduce the time for generating or searching for biological communities.
mixin.gen.cached_generator_Settings
(Boolean value, default value: true)
If it is True, the setting of the cache generator will be set.
mixin.gen.chunk_region
(Boolean value, default value: true)
If it is TRUE, optimization will be used in the block cache of the world filling features, thereby avoiding the indirect and complex logic of the array.
mixin.gen.fast_island_noise
(Boolean value, default value: true)
If it is True, the faster island noise (Noise) data will be generated in the future to improve the generating efficiency of island distribution.
mixin.gen.fast_layer_sampling (Boolean value, default value: true)
If it is TRUE, in addition to a very necessary situation, optimize the sampling of biological community coverage layers to avoid samples of adjacent positions or layers.
mixin.gen.fast_multi_source_biomes
(Boolean value, default value: true)
If it is True, it will need to be optimized to be applied to the sampling of the world structure layer of the biological group drama.Even if this involves eliminating the heavy data flow, it can significantly optimize the generating rate of multiple worlds (such as the lower world).
mixin.gen.fast_noise_interpolation
(Boolean value, default value: true)
If it is True, the block generator will be optimized to avoid the implementation of the noise level in the Y coordinate to maintain the value data in a fixed interval.By eliminating many unnecessary and large -performance samples, this can greatly accelerate the generating speed of the Overworkd.
mixin.gen.features
(Boolean value, default value: true)
If it is True, it will not happen, and the generated characteristics are retained.
Gen.perlin_noise
(Boolean value, default value: true)
If it is TRUE, Berlin noise will be used for generating calculations.
mixin.gen.voronoi_biomes
(Boolean value, default value: true)
If it is True, the sample of the biological community Tysonoi (Voronoi) will be optimized to avoid object distribution and use Bit-Banging with lower performance loss instead of high energy-consuming model (Modulo) operations.This can greatly improve the speed of calculating local biocontrollers.
Optimization in mathematical operations
Use a wonderful math makeup to click your game.
mixin.math
(Boolean value, default value: true)
If it is FALSE, the principle of mathematical operations will be disabled.
mixin.math.fast_blockpos
(Boolean value, default value: true)
If you are True, the position of the other block is calculated faster.
mixin.math.fast_util
(Boolean value, default value: true)
If it is True, some mathematical utility classes will be optimized and repaired to reduce conventional performance overhead in operation, such as switching/rotating shafts or moving block positions.This will not optimize the triangle function or similar function!
mixin.math.sine_lut
(Boolean value, default value: true)
If it is TRUE, bring triangle function optimization
Optimization of operational shape
mixin.shapes
(Boolean value, default value: true)
If it is FALSE, all optimizations about shapes will be disabled.
mixin.shapes.blockstate_cache
(Boolean value, default value: true)
If it is True, the full multi -dimensional data set detection cache (Full Cube Test Cache) will use a faster collection type.
mixin.shapes.lazy_shape_context
(Boolean value, default value: true)
If it is TRUE, the shape is only used in the first use of the first use.
mixin.shapes.optimized_matching
(Boolean value, default value: true)
If it is True, it will accelerate the detection speed of the Voxelshape collision through faster testing of the rectangular shape.
mixin.shapes.precompute_shape_arrays
(Boolean value, default value: true)
If it is True, the vertex array of certain shape types is cached to prevent unnecessary allocation.
mixin.shapes.shape_merging
(Boolean value, default value: true)
If it is True, the optimization algorithm will be used to merge and compare the shape of the block.This can greatly speed up many conventional operations in the game.
mixin.shapes.specialized_shapes
(Boolean value, default value: true)
If it is True, it will use special implementation to the shape of certain types (such as real blocks or empty blocks) in the collision box detection and parsing scheme.Because most block interaction will involve simple shapes, this can greatly reduce the performance overhead involved in the collision detection of the world when checking the entity.
Label
mixin.tag
(Boolean value, default value: true) If True is true, use linear array scanning in the labels with few elements, thereby speeding up certain inspections.
world
mixin.workd
(Boolean value, default value: true)
If set to false, the optimization will be disabled below.
mixin.WORLD.BLOCK_ENTITY_TICKING
(Boolean value, default value: true)
If it is True, the block entity ticking is performed normally without affecting any transaction.
mixin.WORLD.CHUNK_ACCESS
(Boolean value, default value: true)
If it is True, the application patch program will be at the server's block manager to reduce the time required to obtain the block from the world.Regardless of whether the block is in the cache, this will greatly speed up many operations that need to read or modify the block in the game.
mixin.WORLD.CHUNK_INLINE_BLOCK_ACCESS
(Boolean value, default value: true)
If it is True, the optimization of the block method will be optimized to reduce the number of instructions.When visiting the box in the world, this can provide a moderate speed improvement.
mixin.WORLD.CHUNK_TASK_SYSTEM
(Boolean value, default value: true)
If it is True, the optimized task submission system will be arranged to arrange the assignments related to the block.When there are many lights or squares in the task queue, this can greatly increase the speed.
mixin.WORLD.CHUNK_TICKETS
(Boolean value, default value: true)
If it is True, it will use a optimization algorithm for deleting outdated block order tickets during the World Ticking period.
mixin.WORLD.CHUNK_TICKING
(Boolean value, default value: true)
If it is True, it will be optimized by deleting heavy code to search for the programs of the nearby player block during the monster generation.
mixin.WORLD.EXPLOSIONS
(Boolean value, default value: true)
If it is True, the explosion (including TNT) will be optimized to reduce its impact on the server TPS.This patch has done a lot of things to achieve these goals:
Responsible for the setting of the contact block position (HashSet
When we move along the projection rays, we check whether the behavior is still in the same part, and reuse the results of the previous step to determine how much resistance is applied.
The block is caught by the local cache, and the retrieval steps of the block and the fluid are combined together to reduce the performance overhead caused by data retrieval.
mixin.WORLD.MOB_SPANNING
(Boolean value, default value: true)
If it is True, the optimized collecting class (Collections) will be used to speed up the frequent comparison operations in each tick.
mixin.WORLD.PLAYER_CHUNK_TICK
(Boolean value, default value: true)
If it is TRUE, the block tick loaded by the player is still calculated normally and will not bring any changes.
mixin.WORLD.TICK_SCHEDULER
(Boolean value, default value: true)
If it is True, the Tick program program will be replaced with optimized variants. It can significantly reduce the CPU usage through many planned ticks in advance and check the ticks in the performed faster.In the game, this means that the tick arrangement that occurs immediately after generating blocks will spend less time, and the redstone Tick response will be slightly faster.In addition, the planned Ticks will be stored in a second -level index, which will allow blocks to be able to obtain the captured Ticks in the area faster without traversing all the planned Ticks in the world.