register()   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
package de.pewpewproject.lasertag.block;
2
3
import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap;
4
import net.minecraft.client.render.RenderLayer;
5
6
/**
7
 * Sets the render layers for specific blocks
8
 *
9
 * @author Étienne Muser
10
 */
11
public class BlockRenderLayers {
12
    public static void register() {
13
        BlockRenderLayerMap.INSTANCE.putBlock(Blocks.LASER_TARGET, RenderLayer.getTranslucent());
14
    }
15
}
16