New Loot Types Loot Structure - Tmtravlr/LootOverhaul GitHub Wiki

New Loot Types - Loot Structure

Structure:

Tag Type Description
Name String The name of the structure to spawn.
Mirror String Mirrors the structure. Possible values are left-right, front-back, and none (Optional)
Rotation Integer Rotates the structure. Possible values are 90, 180, 270, and 0 (Optional)
IgnoreEntities Boolean If true, won't try placing entities saved with the structure (Optional)
Integrity Float The percentage of the structure from 0.0 to 1.0 that it will load instead of replacing with holes (Optional)
Seed Long The seed for the random number generator (Optional)

Description:

This item will generate a structure as soon as it enters the world

Example Usage: Generating a structure called minecraft:little_tree

 {
 	"type": "item",
 	"name": "lootoverhaul:loot_structure",
  	"weight": 1,
 	"functions": [
 		{
 			"function": "set_nbt",
 			"tag": "{Name:\"minecraft:little_tree\"}"
 		}
 	]
 }
Previous - Loot Block Back Next - Loot Fill
⚠️ **GitHub.com Fallback** ⚠️