Home Getting Started With Scripts Using this wiki Commands CTGUI Global functions Bracket Handlers

Cannon

Importing

script.zs
import mods.appliedenergistics2.Cannon;

Adding

Adds ammo types for the matter cannon. Weight refers to (roughly) the atomic weight of the material.

script.zs
Cannon.registerAmmo(IItemStack ammo, double weight);
Cannon.registerAmmo(<minecraft:bone>, 40.07);