Hbm-s-Nuclear-Tech-GIT/com/hbm/handler/BulletConfiguration.java

50 lines
1.1 KiB
Java

package com.hbm.handler;
import java.util.List;
import net.minecraft.item.Item;
import net.minecraft.potion.PotionEffect;
public class BulletConfiguration {
//what item this specific configuration consumes
public Item ammo;
//spread of bullets in gaussian range
public float spread;
//damage bounds
public float dmgMin;
public float dmgMax;
//acceleration torwards neg Y
public double gravity;
//max age in ticks before despawning
public int maxAge;
//whether the projectile should be able to bounce off of blocks
public boolean doesRicochet;
//the maximum angle at which the projectile should bounce
public double ricochetAngle;
//whether or not the bullet should penetrate mobs
public boolean doesPenetrate;
//whether or not the bullet should break glass
public boolean doesBreakGlass;
//bullet effects
public List<PotionEffect> effects;
public int incendiary;
public int emp;
public int explosive;
public int rainbow;
public int nuke;
public boolean boxcar;
public boolean destroysBlocks;
//appearance
public int style;
//0: no plinking, 1: bullet plink, 2: grenade plink
public int plink;
}