de.pewpewproject.lasertag.client.screen.ILasertagTeamSelectorScreenOpener   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A openLasertagTeamSelectorScreen(PlayerEntity) 0 1 1
1
package de.pewpewproject.lasertag.client.screen;
2
3
import net.minecraft.entity.player.PlayerEntity;
4
5
/**
6
 * Interface to open the lasertag team selector screen. Gets injected into the client player entity
7
 *
8
 * @author Étienne Muser
9
 */
10
public interface ILasertagTeamSelectorScreenOpener {
11
    /**
12
     * Open the lasertag team selector gui on this client
13
     */
14
    default void openLasertagTeamSelectorScreen(PlayerEntity player) {
15
        // Default empty
16
    }
17
}
18