@@ -11,10 +11,10 @@ public class CrossbowverhaulConfigHolder {
11
11
private static final int defaultCrossbowDurability = 512 ;
12
12
private static final int defaultNetheriteCrossbowDurability = 1024 ;
13
13
private static final int defaultModifyMultiShotEnchantment = 3 ;
14
- private static final double defaultModCrossbowChargeTime = 2.0D ;
15
- private static final double defaultModNetheriteCrossbowChargeTime = 3.0D ;
16
- private static final float defaultModCrossbowProjectileSpeed = 1.0F ;
17
- private static final float defaultModNetheriteCrossbowProjectileSpeed = 1.5F ;
14
+ private static final Integer defaultModCrossbowChargeTime = 50 ;
15
+ private static final Integer defaultModNetheriteCrossbowChargeTime = 75 ;
16
+ private static final double defaultModCrossbowProjectileSpeed = 1.0F ;
17
+ private static final double defaultModNetheriteCrossbowProjectileSpeed = 1.5F ;
18
18
private static final double defaultModCrossbowProjectileRange = 1.0D ;
19
19
private static final double defaultModNetheriteCrossbowProjectileRange = 1.5D ;
20
20
@@ -24,11 +24,11 @@ public class CrossbowverhaulConfigHolder {
24
24
public static final ConfigValue <Integer > coModMultishot ;
25
25
public static final ConfigValue <Integer > coCrossbowDurability ;
26
26
public static final ConfigValue <Integer > coNetheriteCrossbowDurability ;
27
- public static final ConfigValue <Double > coModCrossbowChargeTime ;
28
- public static final ConfigValue <Double > coModNetheriteCrossbowChargeTime ;
29
- public static final ConfigValue <Float > coModCrossbowProjectileSpeed ;
27
+ public static final ConfigValue <Integer > coModCrossbowChargeTime ;
28
+ public static final ConfigValue <Integer > coModNetheriteCrossbowChargeTime ;
29
+ public static final ConfigValue <Double > coModCrossbowProjectileSpeed ;
30
30
public static final ConfigValue <Double > coModCrossbowProjectileRange ;
31
- public static final ConfigValue <Float > coModNetheriteCrossbowProjectileSpeed ;
31
+ public static final ConfigValue <Double > coModNetheriteCrossbowProjectileSpeed ;
32
32
public static final ConfigValue <Double > coModNetheriteCrossbowProjectileRange ;
33
33
34
34
public static final ForgeConfigSpec .Builder BUILDER = new ForgeConfigSpec .Builder ();
@@ -63,20 +63,20 @@ public class CrossbowverhaulConfigHolder {
63
63
.define ("Explosive bolts on non-netherite crossbow" , defaultAllowExplosiveBoltsOnNormalCrossbow );
64
64
65
65
coModCrossbowChargeTime = BUILDER
66
- .comment ("Multiplier for the standard crossbow's charge time, base charge time is 25 ticks" )
67
- .defineInRange ("Crossbow charge-time modifier" , defaultModCrossbowChargeTime , 0.0D , Double .MAX_VALUE );
66
+ .comment ("Standard crossbow charge time, vanilla charge time is 25 ticks" )
67
+ .defineInRange ("Crossbow charge-time modifier" , defaultModCrossbowChargeTime , 1 , Integer .MAX_VALUE );
68
68
69
69
coModNetheriteCrossbowChargeTime = BUILDER
70
- .comment ("Multiplier for the netherite crossbow's charge time, base charge time is 25 ticks" )
71
- .defineInRange ("Netherite Crossbow charge-time modifier" , defaultModNetheriteCrossbowChargeTime , 0.0D , Double .MAX_VALUE );
70
+ .comment ("Netherite crossbow charge time, vanilla charge time is 25 ticks" )
71
+ .defineInRange ("Netherite Crossbow charge-time modifier" , defaultModNetheriteCrossbowChargeTime , 1 , Integer .MAX_VALUE );
72
72
73
73
coModCrossbowProjectileSpeed = BUILDER
74
74
.comment ("Multiplier for the projectile speed for projectiles shot from the standard crossbow" )
75
- .defineInRange ("Crossbow projectile speed multiplier" , defaultModCrossbowProjectileSpeed , 1.0F , Float .MAX_VALUE , Float . class );
75
+ .defineInRange ("Crossbow projectile speed multiplier" , defaultModCrossbowProjectileSpeed , 1.0D , Float .MAX_VALUE );
76
76
77
77
coModNetheriteCrossbowProjectileSpeed = BUILDER
78
78
.comment ("Multiplier for the projectile speed for projectiles shot from the netherite crossbow" )
79
- .defineInRange ("Netherite Crossbow projectile speed multiplier" , defaultModNetheriteCrossbowProjectileSpeed , 1.0F , Float .MAX_VALUE , Float . class );
79
+ .defineInRange ("Netherite Crossbow projectile speed multiplier" , defaultModNetheriteCrossbowProjectileSpeed , 1.0D , Float .MAX_VALUE );
80
80
81
81
coModCrossbowProjectileRange = BUILDER
82
82
.comment ("Multiplier for the projectile rabge for projectiles shot from the standard crossbow" )
0 commit comments