本篇教程由作者设定未经允许禁止转载。
# Configuration file
~CONFIG_VERSION: 4 【版本号】
general { 【全局设置】
# Add an additional sound when a critical strike happens [default: true] 【在暴击时额外的声音,默认:开启(true)】
B:"Additional crit sound"=true
# Add an additional sound when striking a target [default: true] 【攻击目标时额外声音,默认:开启(true)】
B:"Additional hit sound"=true
# Attacking an enemy while sprinting will no longer interrupt your sprint [default: true] 【在冲刺时攻击能否能打断冲刺,默认:开启(true)】
B:"Attack and Sprint"=true
# You may only attack if your energy is full [default: false] 【武器攻击间隔满时才能造成伤害,默认:关闭(false)】
B:"Attacks require full energy"=false
# Enables the capability to attack with your off-hand [default: true] 【是否开启副手持有武器时的攻击能力,默认:开启(true)】
B:"Enable Offhand Attacks"=true
# Blacklisted entity classes for attacking. You will not be able to attack any entity that extends this class! Please note that entities extending IEntityOwnable are by default blacklisted, when the entity is owned by the attacker. [default: [net.minecraft.entity.passive.EntityHorse], [net.minecraft.entity.item.EntityArmorStand], [net.minecraft.entity.passive.EntityVillager]] 【攻击实体的黑名单,玩家无法攻击此类实体,但实体为攻击者时,扩展 IEntity Ownable 的实体默认会被列入黑名单,default后面的是例子】
S:"Entity Blacklist" <
net.minecraft.entity.passive.EntityHorse
net.minecraft.entity.item.EntityArmorStand
net.minecraft.entity.passive.EntityVillager
>
# Whitelisted item classes for attacking. [default: [net.minecraft.item.ItemSword], [net.minecraft.item.ItemAxe], [net.minecraft.item.ItemSpade], [net.minecraft.item.ItemPickaxe], [net.minecraft.item.ItemHoe], [slimeknights.tconstruct.library.tools.SwordCore], [slimeknights.tconstruct.library.tools.AoeToolCore]] 【副手可用于攻击的白名单,白名单之外的所有物品无法在副手用于攻击】
S:"Item Class Whitelist" <
net.minecraft.item.ItemSword 【剑类】
net.minecraft.item.ItemAxe 【斧头】
net.minecraft.item.ItemSpade 【铲子】
net.minecraft.item.ItemPickaxe 【鹤嘴锄】
net.minecraft.item.ItemHoe 【锄头】
slimeknights.tconstruct.library.tools.SwordCore
slimeknights.tconstruct.library.tools.AoeToolCore 【多功能工具】
>
# Whitelisted items in the format "domain:itemname" for attacking. [default: ]
S:"Item Whitelist" <
>
# Melee attacks receive +1(block) range [default: true] 【是否开启增加1格近战的攻击距离,默认:开启(true)】
B:"Longer Attack"=true
# Every items can spawn the swipe animation [default: true] 【每个物品都会生成动画,默认:开启(true)】
B:"More swipe animation"=true
# The efficiency of an attack with offhanded weapon in percent (attack damage * efficiency) [range: 0.0 ~ 16384.0, default: 0.5] 【副手持有武器时造成伤害转化的比例,可用范围:0-16384,默认:0.5,也就是武器本身的伤害x0.5=最终造成的伤害】
S:"Offhand Efficiency"=0.5
# How likely it is to land a critical hit in percent [range: 0.0 ~ 1.0, default: 0.3] 【造成致命一击的可能性,可用范围:0-1,默认:0.3】
S:"Random Crit Chance"=0.3
# Melee attacks have now 30% chance to critically strike, critical strikes can no longer be forced by falling [default: true] 【是否开启造成伤害时有30%的概率让本次伤害暴击,默认:开启(true)】
B:"Random Crits"=true
# Melee attacks that don't hit the target won't cause cooldown [default: true] 【攻击时未攻击到生物时是否让武器进入攻击冷却,默认:开启(true)】
B:"Refound energy on miss"=true
# Attacks with the Off-hand does 50% less damage [default: true] 【用副手攻击造成的伤害减少50%,默认:开启(true)】
B:"Weaker Left Arm"=true
# Melee attacks hit in a wider area (easier to land hit) [default: true] 【近战攻击时是否增加目标的碰撞体积,默认:开启(true)】
B:"Wider Attack"=true
# How much bigger the hitbox will be extended for wider attacks. Vanilla is 0.5 [range: 0.0 ~ 64.0, default: 1.5] 【增加目标生物多少碰撞体积,原版为0.5,可用范围0-64,默认:1.5格】
S:"Wider Attack Width"=1.5
}