mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-12-01 02:04:51 +00:00
Reference.PACK_STRUCTURE: a jigsaw structure of the pack
Lets a settings class name the pack's structures by key without naming the host's structure class, like PACK_BIOME and PACK_OBJECT.
This commit is contained in:
1 parent
f44b31edd0
commit
e3e8db3329
4 files changed
+6
-4
No files matched your search
@@ -465,7 +465,7 @@ public final class FloraSettings implements IrisFeature {
|
||||
them, so studio offers the right list: `BLOCK`, `ITEM`, `ENTITY`, `BIOME`, `STRUCTURE`, `STRUCTURE_PREFIX`
|
||||
(a structure or a family prefix such as `minecraft:village`), `STRUCTURE_SET`, `TEMPLATE_POOL` (a jigsaw template pool),
|
||||
`POTION_EFFECT`, `ENCHANTMENT`, `LOOT_TABLE` or `SPECIAL_ENTITY` (a mob of another plugin) from the server's registries, `NOISE_STYLE` from the host's noise
|
||||
styles, or `PACK_BIOME`, `PACK_REGION`, `PACK_OBJECT`, `PACK_EXPRESSION` or `PACK_IMAGE_MAP` of the pack.
|
||||
styles, or `PACK_BIOME`, `PACK_REGION`, `PACK_OBJECT`, `PACK_EXPRESSION`, `PACK_IMAGE_MAP` or `PACK_STRUCTURE` (a jigsaw structure) of the pack.
|
||||
The pack kinds fit `String` only, in the form packs use (`desert/dunes`), never `ResourceId`. `BlockState` fields name blocks without it. `@Ref` on any other field fails
|
||||
the load.
|
||||
- `@ResourceRef(Keep.class)` says that a `String`, or a list, set or array of them, names a resource of the
|
||||
|
||||
Reference in new issue
Block a user