本篇教程来自MC百科(mcmod.cn) 使用 CC BY-NC-SA 协议。

一下所有项目中,关于每一项的介绍全部放在“[ ]”中,并且进行了加粗。

当前配置文件模板取自科技枪版本2.0.2.0,适用于1.12.2.


# Configuration file  [配置文件]


##########################################################################################################

# clientside  [分服务端和客户端两种,而这里是客户端]

#--------------------------------------------------------------------------------------------------------#

# Clientside options, can be changed when playing on a server    [客户端选项,不会与服务端发生冲突,即这些设置只作用于本地]

##########################################################################################################


clientside {   [客户端设置]

    # Enable Death Effects, pure clientside check. [default: true]            [启用死亡效果,单纯只在客户端生效,默认启用]

    B:EnableDeathEffects=true


    # Enable the gore Death Effect, requires DeathEffects to be enabled, pure clientside check. [default: true]    [启用血腥死亡效果(开启后会击杀生物出现血溅四射的效果),需要先启用死亡效果,单纯只在客户端生效,默认启用] 

    B:EnableGoreDeathEffect=true


    # Multiply the FOV while sprinting by this value independent from the actual speed, has no effect when LockSpeedDependantFov is false, pure clientside check. [range: 1.0 ~ 10.0, default: 1.15]  []

    S:FixedSprintFovMultiplier=1.15


    # Counters the speed dependant FOV change. This also stops FOV changes while sprinting. Don't activate if another mod does this too, pure clientside check. [default: true]

    B:LockSpeedDependantFov=true


    # How many bubble sort passes should be performed each tick on particles. 0=off. Clientside [range: 0 ~ 20, default: 10]    [每tick执行多少次冒泡排序,默认10,总之这项调到越高,粒子效果越好]

    I:ParticleDepthSortPasses=10   

}



"damage factors" {    [伤害系数设置]

    # Damage factor for all NPCs other than turrets, they already have a difficulty dependent damage penalty, this can be used to further reduce their damage, or increase it [range: 0.0 ~ 100.0, default: 1.0]       [伤害系数对于除炮塔之外的所有NPC来说,已经添加了一个与游戏难度相关的伤害惩罚,这个项目可以用来进一步降低伤害,或者是增加伤害。范围0.0-100.0,默认为1.0]

    S:DamageFactorNPC=1.0


    # Damage factor Techguns weapons deal when fired from players against other players, is zero when PvP is disabled [range: 0.0 ~ 100.0, default: 0.5]     [当玩家对其他玩家射击时,Techguns的武器造成的伤害系数,在禁用PvP的时候为零.范围1.0-100.0,默认0.5]

    S:DamagePvP=0.5


    # Damage factor Techguns Turrets deal when hitting players [range: 0.0 ~ 100.0, default: 0.5]     [Techguns炮塔在攻击玩家时造成的伤害系数。范围1.0-100.0,默认0.5]

    S:DamageTurretToPlayer=0.5

}



"disable items" {       [禁用项目设置]

    # Add bronze ingots. [default: true]    [添加青铜锭,默认开启]

    B:addBronzeIngot=true


    # Add copper ingots. [default: true]    [添加铜锭,默认开启]

    B:addCopperIngot=true


    # Add copper nuggets. [default: true]    [添加铜块,默认开启]

    B:addCopperNugget=true


    # Add lead ingots. [default: true]    [添加铅锭,默认开启]

    B:addLeadIngot=true


    # Add Lead nuggets. [default: true]    [添加铅块,默认开启]

    B:addLeadNugget=true


    # Adds Steel ingots. [default: true]    [添加钢锭,默认开启]

    B:addSteelIngot=true


    # Adds Steel nuggets. [default: true]    [添加钢块,默认开启]

    B:addSteelNugget=true


    # Add tin ingots. [default: true]    [添加锡锭,默认开启]

    B:addTinIngot=true

}



"fluid recipes" {    [流体配方设置]

    # Fluids that can be used to fill up fuel tanks [default: [fuel], [refined_fuel], [biofuel], [biodiesel], [diesel], [gasoline], [fluiddiesel], [fluidnitrodiesel], [fliudnitrofuel], [refined_biofuel], [fire_water], [rocket_fuel]]    [可以灌注燃料罐的流体列表,默认为fuel, refined_fuel, biofuel, 生物柴油柴油, gasoline, fluiddiesel, fluidnitrodiesel, fliudnitrofuel, refined_biofuel, 火焰水火箭燃料。可以在下面添加可灌注的流体]

    S:FluidListFuel <

        fuel

        refined_fuel

        biofuel

        biodiesel

        diesel

        gasoline

        fluiddiesel

        fluidnitrodiesel

        fliudnitrofuel

        refined_biofuel

        fire_water

        rocket_fuel

     >


    # Fluids that are treated as oil. [default: [oil], [tree_oil], [crude_oil], [fluidoil], [seed_oil]]   [以下是算作油的流体列表,默认是: oil, 树油石油, fluidoil, 种子油,可以在下表中添加]

    S:FluidListOil <

        oil

        tree_oil

        crude_oil

        fluidoil

        seed_oil

     >


    # Fluids that are treated as oil for worlspawn and oil ore clusters. [default: [oil], [crude_oil]]

    S:FluidListOilWorldspawn <

        oil

        crude_oil

     >

}



general {    [普通项目设置]

    # Highest blockHardness advanced explosive charges can break, obsidian is 50.0) [range: 0.0 ~ 3.4028235E38, default: 100.0]     [高级炸药包可以炸破的最高方块的硬度,黑曜石为50.0,范围0.0-3.4028235E38,默认为100.0]

    S:ExplosiveChargeAdvancedMaxHardness=100.0


    # Highest blockHardness normal explosive charges can break, obsidian is 50.0) [range: 0.0 ~ 3.4028235E38, default: 30.0]      [普通炸药包可以炸破的最高方块的硬度,黑曜石为50.0,范围0.0-3.4028235E38,默认为30.0]

    S:ExplosiveChargeMaxHardness=30.0


    # Only opped players can use the unsafe mode of guns, this OVERRIDES the permission setting 'techguns.allowunsafemode' [default: false]    [只有op有权限使用枪的不安全模式,这将重写权限设置“techguns.allowunsafemode”,默认为关闭]

    B:RestrictUnsafeModeToOP=false


    # Base XP value for Upgrade Bench recipes (enchants) [range: 0 ~ 10000, default: 20]     [高级工作台中升级物品的基础经验值消耗(附魔),范围为0-10000,默认为20]

    I:UpgradeXPCost=20


    # Disable Radiation for players. Radiation system is WIP, only use in creative for testing [default: true]   [禁用对玩家的辐射效果,辐射系统为WIP(半成品),仅用于创造模式测试,默认值启用]

    B:WIP_disableRadiationSystem=true


    # Enable debug options and unfinished stuff, disable this for playing. [default: false]

    B:debug=false


    # Disable automatic feeding of Food in the Techguns tab. Disable autofeeding if you think it breaks the balance [default: false]    [在Techguns选项中禁用食物的自动补给(其实就是自动进食),如果认为自动进食会破坏平衡,请禁用自动自动,默认关闭(这个逻辑,禁用自动进食是假的,那就是启用的意思)]

    B:disableAutofeeder=false


    # Keep recipes with lava instead of fuel even when fuel is present. Fuels need to be added by other mods [default: false]    [开启后保留含有岩浆的配方,如果有燃料的话,也会优先消耗岩浆。燃料需要借用其他mod,默认关闭]

    B:keepLavaRecipesWhenFuelIsPresent=false


    # Machines don't need power, activate this if you don't want to install a mod with generators and still be able to use the machines [default: false]   [开启后机器不需要提供能量既可工作,如果你不想添加其他mod的话,你仍然可以使用机器,默认关闭]

    B:machinesNeedNoPower=false

}



"npc spawn" {     [NPC生成设置]

    # Biome Registry names (e.g: minecraft:mushroom_island) that are excluded from Techguns monster spawning [default: []]     [Techguns的怪物生成不包括的生物群系,即不会生成Techguns怪物的生物群系,(例如:minecraft:mushroom_island,即蘑菇岛生物群系)]

    S:BiomeBlacklist <

        

     >


    # Up to which distance to worldspawn only mobs with danger level up to 0 will spawn [range: 0 ~ 2147483647, default: 500]    [只有危险等级大于等于0的怪物生成的世界距离,范围为0-2147483647,默认为500]

    I:DistanceSpawnLevel0=500


    # Up to which distance to worldspawn only mobs with danger level up to 1 will spawn [range: 0 ~ 2147483647, default: 1000]    [只有危险等级大于等于1的怪物生成的世界距离,范围为0-2147483647,默认为1000]

    I:DistanceSpawnLevel1=1000


    # Up to which distance to worldspawn only mobs with danger level up to 2 will spawn [range: 0 ~ 2147483647, default: 2500]     [只有危险等级大于等于2的怪物生成的世界距离,范围为0-2147483647,默认为2500]

    I:DistanceSpawnLevel2=2500


    # Spawn weight for spawning Bandit groups, at 0 spawn will not be registered [range: 0 ~ 10000, default: 50]    [土匪集团的生成数量,在0时不会生成,范围为0-10000,默认50]    

    I:SpawnWeightBandit=50


    # Spawn weight for spawning Cyber Demons (Nether only), at 0 spawn will not be registered [range: 0 ~ 10000, default: 30]    [恶魔的生成数量(仅在下界生成),在0时不会生成,范围为0-10000,默认30]

    I:SpawnWeightCyberDemon=30


    # Spawn weight for spawning Psycho Steve, early game boss, don't set to high value, at 0 spawn will not be registered [range: 0 ~ 10000, default: 3]     [生成精神病史蒂夫的数量,该mod早起的boss,不要设置的太高,在0时不会生成,范围为0-10000,默认为3]

    I:SpawnWeightPsychoSteve=3


    # Spawn weight for spawning Skeleton Soldiers, at 0 spawn will not be registered [range: 0 ~ 10000, default: 100]   [骷髅士兵的生成数量,在0时不会生成,范围为0-10000,默认100]

    I:SpawnWeightSkeletonSoldier=100


    # Spawn weight for spawning Zombie Farmers, at 0 spawn will not be registered [range: 0 ~ 10000, default: 200]   [僵尸农夫的生成数量,在0时不会生成,范围为0-10000,默认为200]

    I:SpawnWeightZombieFarmer=200


    # Spawn weight for spawning Zombie Miners, at 0 spawn will not be registered [range: 0 ~ 10000, default: 200]    [僵尸矿工的生成数量,在0时不会生成,范围为0-10000,默认为200]

    I:SpawnWeightZombieMiner=200


    # Spawn weight for spawning Zombie Pigman Soldiers (Nether only), at 0 spawn will not be registered [range: 0 ~ 10000, default: 100]     [僵尸猪人士兵的生成数量,在0时不会生成,范围为0-10000,默认为100]

    I:SpawnWeightZombiePigmanSoldier=100


    # Spawn weight for spawning Zombie Soldiers, at 0 spawn will not be registered [range: 0 ~ 10000, default: 100]    [僵尸士兵的生成数量,在0时不会生成,范围为0-10000,默认为100]

    I:SpawnWeightZombieSoldier=100


    # Spawn weigth of Techguns NPCs in the Nether, determines how many TG npcs spawn [range: 0 ~ 10000, default: 300]   [在下界生成Techguns的NPC的数量,决定有多少NPC生成,范围为0-10000,默认为300]

    I:"Techguns Spawnweight NEther"=300


    # Spawn weigth of Techguns NPCs, determines how many TG npcs spawn [range: 0 ~ 10000, default: 600]     [生成Techguns的NPC的数量,决定有多少TGNPC生成,范围为0-10000,默认为600]

    I:"Techguns Spawnweight Overworld"=600

}



"ore drills" {     [矿钻设置]

    # Mining Level for coal ore clusters [range: 0 ~ 10, default: 0]   

    I:cluster_mininglevel_coal=0


    # Mining Level for common gem ore clusters [range: 0 ~ 10, default: 1]

    I:cluster_mininglevel_common_gem=1


    # Mining Level for common metal ore clusters [range: 0 ~ 10, default: 0]

    I:cluster_mininglevel_common_metal=0


    # Mining Level for nether crystal ore clusters [range: 0 ~ 10, default: 2]

    I:cluster_mininglevel_nether_crystal=2


    # Mining Level for oil clusters [range: 0 ~ 10, default: 2]

    I:cluster_mininglevel_oil=2


    # Mining Level for rare metal ore clusters [range: 0 ~ 10, default: 1]

    I:cluster_mininglevel_rare_metal=1


    # Mining Level for shiny gem ore clusters [range: 0 ~ 10, default: 3]

    I:cluster_mininglevel_shiny_gem=3


    # Mining Level for shiny metal ore clusters [range: 0 ~ 10, default: 2]

    I:cluster_mininglevel_shiny_metal=2


    # Mining Level for uranium ore clusters [range: 0 ~ 10, default: 3]

    I:cluster_mininglevel_uranium=3


    # Ore Multiplier for coal ore clusters [range: 1.0E-4 ~ 1000.0, default: 10.0]

    S:cluster_oremult_coal=10.0


    # Ore Multiplier for common gem ore clusters [range: 1.0E-4 ~ 1000.0, default: 5.0]

    S:cluster_oremult_common_gem=5.0


    # Ore Multiplier for common metal ore clusters [range: 1.0E-4 ~ 1000.0, default: 5.0]

    S:cluster_oremult_common_metal=5.0


    # Ore Multiplier for nether crystal ore clusters [range: 1.0E-4 ~ 1000.0, default: 4.0]

    S:cluster_oremult_nether_crystal=4.0


    # Ore Multiplier for oil clusters [range: 1.0E-4 ~ 1000.0, default: 4.0]

    S:cluster_oremult_oil=4.0


    # Ore Multiplier for rare metal ore clusters [range: 1.0E-4 ~ 1000.0, default: 2.5]

    S:cluster_oremult_rare_metal=2.5


    # Ore Multiplier for shiny gem ore clusters [range: 1.0E-4 ~ 1000.0, default: 0.2]

    S:cluster_oremult_shiny_gem=0.2


    # Ore Multiplier for shiny metal ore clusters [range: 1.0E-4 ~ 1000.0, default: 1.0]

    S:cluster_oremult_shiny_metal=1.0


    # Ore Multiplier for uranium ore clusters [range: 1.0E-4 ~ 1000.0, default: 0.5]

    S:cluster_oremult_uranium=0.5


    # Power Multiplier for coal ore clusters [range: 1.0E-4 ~ 1000.0, default: 0.1]

    S:cluster_powermult_coal=0.1


    # Power Multiplier for common gem ore clusters [range: 1.0E-4 ~ 1000.0, default: 0.2]

    S:cluster_powermult_common_gem=0.2


    # Power Multiplier for common metal ore clusters [range: 1.0E-4 ~ 1000.0, default: 0.2]

    S:cluster_powermult_common_metal=0.2


    # Power Multiplier for nether crystal ore clusters [range: 1.0E-4 ~ 1000.0, default: 0.5]

    S:cluster_powermult_nether_crystal=0.5


    # Power Multiplier for oil clusters [range: 1.0E-4 ~ 1000.0, default: 1.0]

    S:cluster_powermult_oil=1.0


    # Power Multiplier for rare metal ore clusters [range: 1.0E-4 ~ 1000.0, default: 0.4]

    S:cluster_powermult_rare_metal=0.4


    # Power Multiplier for shiny gem ore clusters [range: 1.0E-4 ~ 1000.0, default: 1.0]  

    S:cluster_powermult_shiny_gem=1.0


    # Power Multiplier for shiny metal ore clusters [range: 1.0E-4 ~ 1000.0, default: 1.0]

    S:cluster_powermult_shiny_metal=1.0


    # Power Multiplier for uranium ore clusters [range: 1.0E-4 ~ 1000.0, default: 1.0]

    S:cluster_powermult_uranium=1.0


    # Multiplier to calculate value of furnace fuel burn time = RF for ore Drill. burnTime* <THIS_VALUE> = RF. Only for internal use of the ore Drill, no real RF generation. [range: 1.0 ~ 100000.0, default: 1000.0]

    S:oreDrillFuelMultiplier=1000.0


    # Fuel value for Liquid Fuel for use in ore Drills, this is per Millibucket, not Bucket, so 1/1000 of bucket value [range: 1.0 ~ 100000.0, default: 100.0]    [矿钻所需燃料的数量,以每毫桶为单位,即1/1000桶,即1mb,范围为1.0-100000.0,默认为100.0]

    S:oreDrillFuelValueFuel=100.0


    # Multiplier to default rate on how many ores an ore drill produces [range: 0.001 ~ 1000.0, default: 1.0]    [一个矿钻生成的矿簇的默认数量的倍数,范围为0.001-1000.0,默认为1.0]

    S:oreDrillMultiplierOre=1.0


    # Multiplier to default rate on how much power an ore drill requires [range: 0.0 ~ 1000.0, default: 1.0]    [一个矿钻需要功率的默认值的倍数,范围为0.001-1000.0,默认为1.0]

    S:oreDrillMultiplierPower=1.0

}



"world generation" {     [世界生成设置]

    # When worldgen is enabled, include structure spawns that contain ore clusters. [default: true]     [在生成世界前启用,生成世界时会生成该mod含有的矿簇,默认启用]

    B:SpawnOreClusterStructures=true


    # Should Structures (military bases) be spawned in the world? [default: true]      [陆军基地是否可以在世界中生成,默认开启]

    B:SpawnStructures=true


  •     # Every X chunks it's tried to spawnn a Big building. This is in both dimensions, ChunkX, and ChunkY modulo <this Value> must be 0 [range: 16 ~ 100000, default: 64]    [大型建筑生成的X轴上的区块的间隔范围,范围为16-100000,默认为64]

    I:StructureSpawnWeightBig=64


  •     # Every X chunks it's tried to spawnn a Medium building. This is in both dimensions, ChunkX, and ChunkY modulo <this Value> must be 0 [range: 8 ~ 100000, default: 32]    [中型建筑生成的X轴上的区块的间隔范围,范围为8-100000,默认为32]

    I:StructureSpawnWeightMedium=32


  •     # Every X chunks it's tried to spawnn a Small building. This is in both dimensions, ChunkX, and ChunkY modulo <this Value> must be 0 [range: 4 ~ 100000, default: 16]   [小型建筑生成的X轴上的区块的间隔范围,范围为4-100000,默认为16]

    I:StructureSpawnWeightSmall=16


    # Generate Copper Ore, disable if other mod does [default: true]     [生成铜矿石,如果其他mod也含有的话则建议禁用,默认开启]

    B:doOreGenCopper=true


    # Generate Lead Ore, disable if other mod does [default: true]    [生成铅矿石,如果其他mod也含有的话则建议禁用,默认开启]

    B:doOreGenLead=true


    # Generate Tin Ore, disable if other mod does [default: true]     [生成锡矿石,如果其他mod也含有的话则建议禁用,默认开启]

    B:doOreGenTin=true


    # Generate Titanium, not generated by most mods mods, leave it on in most cases [default: true]      [生成钛矿石,大多数mod不会生成这种矿石,大多数情况下建议开启,默认开启]

    B:doOreGenTitanium=true


    # Generate Uranium, disable if other mod already adds it and you want only 1 type. OreDictEntry:'oreUranium'  [default: true]     [生成铀矿石,如果其他mod添加了的话,建议只保留一种类型的此种矿石,OreDictEntry:'oreUranium'这就是铀矿石的矿辞 ,默认开启]

    B:doOreGenUranium=true

}