Skip to content

Cannon Ammo (Applied Energistics 2)

Description

Item and weight, where weight is a factor in how much damage is dealt.

Identifier

Refer to this via any of the following:

groovy
mods.ae2.cannon_ammo
mods.ae2.cannonammo
mods.ae2.cannonAmmo
mods.ae2.CannonAmmo
mods.ae2.cannon
mods.ae2.Cannon
mods.appliedenergistics2.cannon_ammo/* Used as page default */
mods.appliedenergistics2.cannonammo
mods.appliedenergistics2.cannonAmmo
mods.appliedenergistics2.CannonAmmo
mods.appliedenergistics2.cannon
mods.appliedenergistics2.Cannon

Adding Entries

  • Adds ammo in the format item, value:

    groovy
    mods.appliedenergistics2.cannon_ammo.add(ItemStack, double)
Example
groovy
mods.appliedenergistics2.cannon_ammo.add(item('minecraft:clay'), 10000)

Removing Entries

  • Removes the ammo entry for the given item:

    groovy
    mods.appliedenergistics2.cannon_ammo.remove(ItemStack)
  • Removes all registered recipes:

    groovy
    mods.appliedenergistics2.cannon_ammo.removeAll()
Example
groovy
mods.appliedenergistics2.cannon_ammo.remove(item('minecraft:gold_nugget'))
mods.appliedenergistics2.cannon_ammo.removeAll()

贡献者

页面历史

© 2024 CleanroomMC. All Rights Reserved.