Skip to content

Grinder

Jhefferson Marques edited this page Jan 25, 2022 · 2 revisions

Grinder

The grinder works by giving a sword to it, and hits in a area around it:

Methods Description
attack() Attack any living mob around it (apply sword enchantments)
hasSword() Returns a boolean if the grinder has a sword in it
pushSword(from, slot) By passing a input inventory name and slot, if it is a sword it will be equiped in the grinder
pullSword(to) By passing a output inventory name removes the sword from the Grinder

Clone this wiki locally