getTextureResource(LaserTargetBlockEntity)   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
package de.pewpewproject.lasertag.block.entity.render;
2
3
import de.pewpewproject.lasertag.LasertagMod;
4
import de.pewpewproject.lasertag.block.entity.LaserTargetBlockEntity;
5
import net.minecraft.util.Identifier;
6
import software.bernie.geckolib3.model.AnimatedGeoModel;
7
8
/**
9
 * Model for the lasertarget lights
10
 *
11
 * @author Étienne Muser
12
 */
13
public class LasertargetLightsModel extends AnimatedGeoModel<LaserTargetBlockEntity> {
14
    @Override
15
    public Identifier getModelResource(LaserTargetBlockEntity object) {
16
        return new Identifier(LasertagMod.ID, "geo/lasertarget_lights.geo.json");
17
    }
18
19
    @Override
20
    public Identifier getTextureResource(LaserTargetBlockEntity object) {
21
        return new Identifier(LasertagMod.ID, "textures/block/lasertag_target_light.png");
22
    }
23
24
    @Override
25
    public Identifier getAnimationResource(LaserTargetBlockEntity animatable) {
26
        return new Identifier(LasertagMod.ID, "animations/idle_animation.json");
27
    }
28
}
29