Quick Reference
Other 11
| stockTileLayer() | The tile layer inside one of the two canonical layers, when both are as this file makes them; null otherwise. |
| scriptName() | The file name of the script running now ("" outside one): a plugin while it loads. |
| watch() | Until settle(), notes which script assigns each of these methods. |
| settle() | The watched methods back to plain properties, holding what plugins left there. |
| gateReason() | The reason while a plugin in GATES draws the map itself, else null. |
| ageVerdicts() | Verdicts hold for one map and while the switch stays as it was. |
| verdict() | Whether fn stands in for the stock method name: { ok, reason }. |
| passes() | fn is the stock method name, or a plugin hook that stands in for it. |
| probe() | Every probe call in PROBES leaves the same record from fn as from the stock method. |
| trace() | Runs fn on a stand-in tilemap and returns, one line each and in order, every read, write, call and number con… |
| hookBlocker() | Why the tilemap's painting methods keep the full paint, or null. |
Other
stockTileLayer
static sourceTilemap.ChunkPaint.stockTileLayer(combined)
The tile layer inside one of the two canonical layers, when both are as this file makes them; null otherwise.
scriptName
static sourceTilemap.ChunkPaint.scriptName()
The file name of the script running now ("" outside one): a plugin while it loads.
watch
static sourceTilemap.ChunkPaint.watch(targets)
Until settle(), notes which script assigns each of these methods.
Details
Until settle(), notes which script assigns each of these methods. An assignment through an instance or a subclass prototype lands there as its own property, as it would on a plain property.
settle
static sourceTilemap.ChunkPaint.settle()
The watched methods back to plain properties, holding what plugins left there.
gateReason
static sourceTilemap.ChunkPaint.gateReason()
The reason while a plugin in GATES draws the map itself, else null.
ageVerdicts
static sourceTilemap.ChunkPaint.ageVerdicts()
Verdicts hold for one map and while the switch stays as it was.
Details
Verdicts hold for one map and while the switch stays as it was. Each is judged again RECHECK checks after it was made, one per check at most, so the work never lands on a single frame.
verdict
static sourceTilemap.ChunkPaint.verdict(fn, name)
Whether fn stands in for the stock method name: { ok, reason }.
passes
static sourceTilemap.ChunkPaint.passes(fn, name)
fn is the stock method name, or a plugin hook that stands in for it.
probe
static sourceTilemap.ChunkPaint.probe(fn, name)
Every probe call in PROBES leaves the same record from fn as from the stock method.
trace
static sourceTilemap.ChunkPaint.trace(fn, args, makesLayers)
Runs fn on a stand-in tilemap and returns, one line each and in order, every read, write, call and number conversion made on the stand-in, on LAYER arguments and on whatever those hand back, then the return value; null when it throws or runs past PROBE_LIMIT.
Details
Runs fn on a stand-in tilemap and returns, one line each and in order,
every read, write, call and number conversion made on the stand-in, on
LAYER arguments and on whatever those hand back, then the return value;
null when it throws or runs past PROBE_LIMIT. Every stand-in reads as 1.
makesLayers: Tilemap.CombinedLayer makes recorded stand-ins meanwhile.
hookBlocker
static sourceTilemap.ChunkPaint.hookBlocker(tilemap)
Why the tilemap's painting methods keep the full paint, or null.