1. Wiki
  2. /Blocks
  3. /minecraft:light_dampening

minecraft:light_dampening

Don't want to write this by hand? GodCraft sets minecraft:light_dampening for you with a switch.Get GodCraft

Overview

minecraft:light_dampening is a block component: it goes in the components object of a custom block. Sets how much light the block soaks up as light passes through, from 0 to 15. Use 0 for clear blocks like glass and 15 to stop light completely.

Example

Inside the components object of BP/blocks/<name>.json (values are the defaults or placeholders):

BP/blocks/<name>.json
{
  "minecraft:light_dampening": {}
}

Blocks: Behavior pack

We use cookies to improve your experience and analyse site traffic. Learn more