TintedGlassBlock .java

net.minecraft.world.level.block.TintedGlassBlock (class, 21 lines): members: getLightDampening, propagatesSkylightDown. imports: BlockBehaviour.

net.minecraft.world.level.blockclass21 linescommonextends TransparentBlock501 B

API Surface (2)

boolean propagatesSkylightDown(final BlockState state)
int getLightDampening(final BlockState state)

Code Graph: Dependencies (3)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

TintedGlassBlock.java21 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.level.block;
2
3
import net.minecraft.world.level.block.state.BlockBehaviour;
4
import net.minecraft.world.level.block.state.BlockState;
5
6
public class TintedGlassBlock extends TransparentBlock {
7
	public TintedGlassBlock(final BlockBehaviour.Properties properties) {
8
		super(properties);
9
	}
10
11
	@Override
12
	protected boolean propagatesSkylightDown(final BlockState state) {
13
		return false;
14
	}
15
16
	@Override
17
	protected int getLightDampening(final BlockState state) {
18
		return 15;
19
	}
20
}
21

Decompiled Minecraft 26.3 source of TintedGlassBlock (net/minecraft/world/level/block/TintedGlassBlock.java) with Mojang official mappings, stored verbatim on the site.