Loot Conditions Can See Sky - Tmtravlr/LootOverhaul GitHub Wiki

Loot Conditions - Can See Sky

Structure:

Property Type Description
direct Boolean If true, there can't be any blocks between this position and the sky. (Optional, defaults to false)

Description:

Will pass if this position can see the sky. If 'direct' is true, the position must see the sky directly. Otherwise, transparent blocks can be in between (like glass).

Example Usage: (only applies if there are no blocks between the loot position and the sky)

"conditions": [
 	{
 		"condition": "lootoverhaul:can_see_sky",
 		"direct": true
 	}
]
Previous - Random Chance With Fortune Back Next - Silk Touch
⚠️ **GitHub.com Fallback** ⚠️