Initial commit
This commit is contained in:
15
config/bettercombat/client.json5
Normal file
15
config/bettercombat/client.json5
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"isHoldToAttackEnabled": true,
|
||||
"isMiningWithWeaponsEnabled": true,
|
||||
"isSwingThruGrassEnabled": true,
|
||||
"isAttackInsteadOfMineWhenEnemiesCloseEnabled": true,
|
||||
"isHighlightCrosshairEnabled": true,
|
||||
"hudHighlightColor": 16711680,
|
||||
"isShowingArmsInFirstPerson": false,
|
||||
"isShowingOtherHandFirstPerson": true,
|
||||
"isSweepingParticleEnabled": true,
|
||||
"isTooltipAttackRangeEnabled": true,
|
||||
"weaponSwingSoundVolume": 100,
|
||||
"isDebugOBBEnabled": true,
|
||||
"swingThruGrassBlacklist": "farmersdelight"
|
||||
}
|
||||
102
config/bettercombat/fallback_compatibility.json
Normal file
102
config/bettercombat/fallback_compatibility.json
Normal file
@@ -0,0 +1,102 @@
|
||||
{
|
||||
"schema_version": 1,
|
||||
"blacklist_item_id_regex": "pickaxe|farmersdelight",
|
||||
"fallback_compatibility": [
|
||||
{
|
||||
"item_id_regex": "claymore|great_sword|greatsword",
|
||||
"weapon_attributes": "bettercombat:claymore"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "great_hammer|greathammer|war_hammer|warhammer|maul",
|
||||
"weapon_attributes": "bettercombat:hammer"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "double_axe|doubleaxe|war_axe|waraxe|great_axe|greataxe",
|
||||
"weapon_attributes": "bettercombat:double_axe"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "scythe",
|
||||
"weapon_attributes": "bettercombat:scythe"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "halberd",
|
||||
"weapon_attributes": "bettercombat:halberd"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "glaive",
|
||||
"weapon_attributes": "bettercombat:glaive"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "spear|lance",
|
||||
"weapon_attributes": "bettercombat:spear"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "anchor",
|
||||
"weapon_attributes": "bettercombat:anchor"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "battlestaff|battle_staff",
|
||||
"weapon_attributes": "bettercombat:battlestaff"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "claw",
|
||||
"weapon_attributes": "bettercombat:claw"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "fist|gauntlet",
|
||||
"weapon_attributes": "bettercombat:fist"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "trident|impaled",
|
||||
"weapon_attributes": "bettercombat:trident"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "katana",
|
||||
"weapon_attributes": "bettercombat:katana"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "rapier",
|
||||
"weapon_attributes": "bettercombat:rapier"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "sickle",
|
||||
"weapon_attributes": "bettercombat:sickle"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "soul_knife",
|
||||
"weapon_attributes": "bettercombat:soul_knife"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "dagger|knife",
|
||||
"weapon_attributes": "bettercombat:dagger"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "staff|wand|sceptre|stave|rod",
|
||||
"weapon_attributes": "bettercombat:wand"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "mace|hammer|flail",
|
||||
"weapon_attributes": "bettercombat:mace"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "axe",
|
||||
"weapon_attributes": "bettercombat:axe"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "coral_blade",
|
||||
"weapon_attributes": "bettercombat:coral_blade"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "twin_blade|twinblade",
|
||||
"weapon_attributes": "bettercombat:twin_blade"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "cutlass|scimitar|machete",
|
||||
"weapon_attributes": "bettercombat:cutlass"
|
||||
},
|
||||
{
|
||||
"item_id_regex": "sword|blade",
|
||||
"weapon_attributes": "bettercombat:sword"
|
||||
}
|
||||
]
|
||||
}
|
||||
55
config/bettercombat/server.json5
Normal file
55
config/bettercombat/server.json5
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
/* Upswing (aka windup) is the first phase of the attack (between clicking and performing the damage).
|
||||
Typical duration of upswing is `weapon cooldown * 0.5`. (Weapon specific upswing values can be defined in weapon attributes)
|
||||
This config allows you to change upswing duration.
|
||||
Example values:
|
||||
- `0.5` (default, fast paced attack initiation) upswing typically lasts 25% of the attack cooldown
|
||||
- `1.0` (classic setting, realistic attack initiation) upswing typically lasts 50% of the attack cooldown
|
||||
*/
|
||||
"upswing_multiplier": 0.5,
|
||||
// Bypass damage receive throttling of LivingEntity from player attacks.
|
||||
"allow_fast_attacks": true,
|
||||
// Allows client-side target search and server-side attack request execution against currently mounted entity of the player
|
||||
"allow_attacking_mount": false,
|
||||
// The minimum number of ticks between two attacks
|
||||
"attack_interval_cap": 2,
|
||||
/* Blacklist for entities that are acting as vehicle but should not be treated as protected mounts.
|
||||
Classical example is an alexsmobs:crocodile attempting a death spin.
|
||||
(Note all hostile mobs hittable by default, this config is to fix faulty mobs)
|
||||
*/
|
||||
"hostile_player_vehicles": [
|
||||
"alexsmobs:crocodile"
|
||||
],
|
||||
// Allows vanilla sweeping mechanic to work and Sweeping Edge enchantment
|
||||
"allow_sweeping": true,
|
||||
// Allows client-side target search to ignore obstacles. WARNING! Setting this to `false` significantly increases the load on clients.
|
||||
"allow_attacking_thru_walls": false,
|
||||
// Applies movement speed multiplier while attacking. (Min: 0, Max: 1). Use `0` for a full stop while attacking. Use `1` for no movement speed penalty
|
||||
"movement_speed_while_attacking": 0.5,
|
||||
// Determines if applying the movement speed multiplier while attacking is done smoothly or instantly
|
||||
"movement_speed_applied_smoothly": true,
|
||||
// Determines whether or not to apply movement speed reduction while attacking mounted
|
||||
"movement_speed_effected_while_mounting": false,
|
||||
// Attacks faster than a vanilla sword will do smaller knockback, proportionally.
|
||||
"knockback_reduced_for_fast_attacks": false,
|
||||
// Combo is reset after idling `combo_reset_rate * weapon_cooldown`
|
||||
"combo_reset_rate": 3.0,
|
||||
// Multiplier for `attack_range`, during target lookup on both sides. Large sized entities may be colliding with weapon hitbox, but center of entities can have bigger distance than `attack_range`
|
||||
"target_search_range_multiplier": 2.0,
|
||||
// Total multiplier, (examples: +30% = 1.3, -30% = 0.7)
|
||||
"dual_wielding_attack_speed_multiplier": 1.2000000476837158,
|
||||
// Total multiplier, (examples: +30% = 1.3, -30% = 0.7)
|
||||
"dual_wielding_main_hand_damage_multiplier": 1.0,
|
||||
// Total multiplier, (examples: +30% = 1.3, -30% = 0.7)
|
||||
"dual_wielding_off_hand_damage_multiplier": 1.0,
|
||||
// Entities with `HOSTILE` relation will be hit by undirected weapon swings. NOTE: Vanilla sweeping will still happen, if not disabled via `allow_sweeping`
|
||||
"player_relation_to_teamless_players": "NEUTRAL",
|
||||
"player_relation_to_villagers": "NEUTRAL",
|
||||
"player_relation_to_passives": "HOSTILE",
|
||||
"player_relation_to_hostiles": "HOSTILE",
|
||||
"player_relation_to_other": "HOSTILE",
|
||||
// Try to guess and apply a preset for items without weapon attributes data file
|
||||
"fallback_compatibility_enabled": true,
|
||||
// Allow printing the content of weapon attributes registry
|
||||
"weapon_registry_logging": false
|
||||
}
|
||||
Reference in New Issue
Block a user