Passed
Push — main ( 998a70...3dfaee )
by Etienne
01:28
created

getTextureResource(LasertagWeaponItem)   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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