SwordItem

Undocumented in source.
class SwordItem : ToolItem!(si, Tools.sword, material, durability, attack)(
sul.items.Item si
ubyte material
ushort durability
uint attack
) {}

Constructors

this
this(E args)
Undocumented in source.

Members

Functions

attackOnEntity
bool attackOnEntity(Player player, Entity entity)
Undocumented in source. Be warned that the author may not have intended to support it.
destroyOn
bool destroyOn(Player player, Block block, BlockPosition position)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta