public final class InstrumentProperty extends AbstractProperty<String,InstrumentType>
InstrumentProperty
provides the InstrumentType
that will be
used for the target block if a BlockTypes.NOTEBLOCK
is placed on top of it.Property.Operator
operator, value
Constructor and Description |
---|
InstrumentProperty(InstrumentType instrument)
Constructs a new
InstrumentProperty with the
specified InstrumentType . |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Property<?,?> o) |
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toString
public InstrumentProperty(InstrumentType instrument)
InstrumentProperty
with the
specified InstrumentType
.instrument
- The instrument typepublic int compareTo(Property<?,?> o)