mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-30 01:34:04 +00:00
Add PackBiome and PackRegion so modules can look up pack biomes and regions through PackResources
This commit is contained in:
1 parent
50f51db8b2
commit
33fc9adca9
6 files changed
+67
-3
No files matched your search
@@ -423,6 +423,8 @@ and closes the edit in every case. Stages get buffered `PlacementAccess` without
|
||||
|
||||
- `ResourceId` requires a namespace. `ResourceKey<T>` pairs it with a public type.
|
||||
- `PackResources` serves one immutable pack snapshot; caches must not survive a reload.
|
||||
It serves pack objects (`GeneratedObject`), biomes (`PackBiome`) and regions (`PackRegion`); the
|
||||
requested type selects the kind, so `BiomeSample` ids look up directly.
|
||||
- `BlockState` has value equality and sorted properties; `BlockRegistry` checks it against the
|
||||
platform. `BlockPalette` and `NoiseSampler` are typed resources.
|
||||
- `GeneratedObject` is sparse, immutable local geometry. `PlacementRequest` aligns its anchor
|
||||
|
||||
Reference in new issue
Block a user