mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-12-02 02:34:24 +00:00
Reference.LOOT_TABLE: an option that names a loot table of the platform
This commit is contained in:
1 parent
d2d746734f
commit
dcbac2ca59
2 files changed
+3
-1
No files matched your search
@@ -453,7 +453,7 @@ public final class FloraSettings implements IrisFeature {
|
|||||||
- `@Ref(Reference.X)` says what a `String` or `ResourceId` names, also on lists, sets and arrays of
|
- `@Ref(Reference.X)` says what a `String` or `ResourceId` names, also on lists, sets and arrays of
|
||||||
them, so studio offers the right list: `BLOCK`, `ITEM`, `ENTITY`, `BIOME`, `STRUCTURE`, `STRUCTURE_PREFIX`
|
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),
|
(a structure or a family prefix such as `minecraft:village`), `STRUCTURE_SET`, `TEMPLATE_POOL` (a jigsaw template pool),
|
||||||
`POTION_EFFECT`, `ENCHANTMENT` or `SPECIAL_ENTITY` (a mob of another plugin) from the server's registries, `NOISE_STYLE` from the host's noise
|
`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` or `PACK_IMAGE_MAP` 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 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.
|
the load.
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ public enum Reference {
|
|||||||
POTION_EFFECT,
|
POTION_EFFECT,
|
||||||
/** An enchantment, such as {@code minecraft:sharpness}. */
|
/** An enchantment, such as {@code minecraft:sharpness}. */
|
||||||
ENCHANTMENT,
|
ENCHANTMENT,
|
||||||
|
/** A loot table of the platform, such as {@code minecraft:chests/simple_dungeon}; not a loot table of the pack. */
|
||||||
|
LOOT_TABLE,
|
||||||
/** A mob of another plugin or content provider, such as {@code mythicmobs:skeleton_king}. */
|
/** A mob of another plugin or content provider, such as {@code mythicmobs:skeleton_king}. */
|
||||||
SPECIAL_ENTITY,
|
SPECIAL_ENTITY,
|
||||||
/** A biome of the pack. */
|
/** A biome of the pack. */
|
||||||
|
|||||||
Reference in new issue
Block a user