mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 16:25:36 +00:00
Make Y the height above the dimension's bottom everywhere in the API: document it, and drop GenerationContext.originY, which is always 0 now
This commit is contained in:
1 parent
33fc9adca9
commit
09afee8ae3
26 files changed
+91
-54
No files matched your search
@@ -1,8 +1,9 @@
|
||||
package com.volmit.mantle;
|
||||
|
||||
/**
|
||||
* Invocation-scoped access to typed mantle data. Coordinates are world block coordinates,
|
||||
* including negative Y; the host translates them to storage coordinates.
|
||||
* Invocation-scoped access to typed mantle data. X and Z are world block coordinates; Y is
|
||||
* the height above the dimension's bottom (0 = bottom), so it is never negative. The host translates
|
||||
* them to storage coordinates.
|
||||
*
|
||||
* <p>The host owns chunk acquisition, release, persistence and the permitted access area.
|
||||
* Out-of-area access throws IndexOutOfBoundsException. Access after the invocation ends
|
||||
|
||||
Reference in new issue
Block a user