public interface IMatterCannonAmmoRegistry
Modifier and Type | Method and Description |
---|---|
float |
getPenetration(net.minecraft.item.ItemStack is)
get the penetration value for a particular ammo, 0 indicates a non-ammo.
|
void |
registerAmmo(net.minecraft.item.ItemStack ammo,
double weight)
register a new ammo, generally speaking this is based off of atomic weight to make it easier to guess at
|
void registerAmmo(net.minecraft.item.ItemStack ammo, double weight)
ammo
- new ammoweight
- atomic weightfloat getPenetration(net.minecraft.item.ItemStack is)
is
- ammo