Trade

case
class Trade(inputItem1: Upto_1_17_1, outputItem: Upto_1_17_1, hasSecondItem: Boolean, inputItem2: Option[Upto_1_17_1], disabled: Boolean, usedCount: Int, maxUsageCount: Int, xp: Int, specialPrice: Int, priceMultiplier: Float, demand: Int)

see https://wiki.vg/index.php?title=Protocol&oldid=14929#Trade_List for details.

We use Slot.Upto_1_17_1 because this datatype was not present before 1.14.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product