Skip to content

Template Pool Element Types

Apollo edited this page Nov 23, 2024 · 3 revisions

NEW

As of v1.3.5, both vanilla and Lithostitched jigsaw structures support guaranteed and limited elements!

limited

The limited pool element type limits the amount of times a given pool element can be placed in a structure.

{
  "element_type": "lithostitched:limited",
  "delegate": {
    "element_type": "minecraft:single_pool_element",
    "projection": "rigid",
    "location": "example:dungeon/rare_room",
    "processors": "minecraft:empty"
  },
  "limit": 2
}
  • delegate: The pool element that will actually be placed in the world. It cannot be another custom Lithostitched pool element type.
  • limit: The maximum number of times the element can generate in each instance of a structure. The piece can generate less times than the limit, but it won't go over it.
  • min_depth: The minimum depth in the structure that the element can be placed in. This can be used to ensure that a guaranteed piece doesn't generate too close to the starting piece. Defaults to 0.

guaranteed

The guaranteed pool element type forces a certain number of a pool elements to generate in each instance of a structure.

{
  "element_type": "lithostitched:guaranteed",
  "delegate": {
    "element_type": "minecraft:single_pool_element",
    "projection": "rigid",
    "location": "example:dungeon/boss_room",
    "processors": "minecraft:empty"
  },
  "count": 1,
  "min_depth": 4
}
  • delegate: The pool element that will actually be placed in the world. It cannot be another custom Lithostitched pool element type.
  • count: The number of times the element will generate in each instance of a structure.
  • min_depth: The minimum depth in the structure that the element can be placed in. This can be used to ensure that a guaranteed piece doesn't generate too close to the starting piece. Defaults to 0.