OreVein class

One ore of an OreTable.

Constructors

OreVein(int block, {int belowY = 1 << 30, required int upTo})
block below belowY, where a vein cell's roll (0..9999) is under upTo. Rolls are shared: a table is read in order and the first vein whose depth and roll match wins, so upTo is a cumulative bound.
const

Properties

belowY → int
The ore appears only at y < belowY.
final
block → int
The ore's block id.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
upTo → int
The cumulative roll bound, out of 10000.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited