mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
38 lines
920 B
Java
38 lines
920 B
Java
package com.hbm.handler;
|
|
|
|
import com.hbm.items.ModItems;
|
|
|
|
public class BulletConfigFactory {
|
|
|
|
/// configs should never be loaded manually due to syncing issues: use the syncing util and pass the UID in the DW of the bullet to make the client load the config correctly ////
|
|
|
|
protected static BulletConfiguration getTestConfig() {
|
|
|
|
BulletConfiguration bullet = new BulletConfiguration();
|
|
|
|
bullet.ammo = ModItems.gun_revolver_lead_ammo;
|
|
bullet.velocity = 5.0F;
|
|
bullet.spread = 0.05F;
|
|
bullet.dmgMin = 15;
|
|
bullet.dmgMax = 17;
|
|
bullet.gravity = 0D;
|
|
bullet.maxAge = 100;
|
|
bullet.doesRicochet = true;
|
|
bullet.ricochetAngle = 15;
|
|
bullet.doesPenetrate = true;
|
|
bullet.doesBreakGlass = true;
|
|
bullet.incendiary = 0;
|
|
bullet.emp = 0;
|
|
bullet.rainbow = 0;
|
|
bullet.nuke = 0;
|
|
bullet.boxcar = false;
|
|
bullet.destroysBlocks = false;
|
|
bullet.style = 0;
|
|
bullet.plink = 1;
|
|
|
|
return bullet;
|
|
|
|
}
|
|
|
|
}
|