getAnimationResource(LasertagFlagItem)   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.item.model;
2
3
import de.pewpewproject.lasertag.LasertagMod;
4
import de.pewpewproject.lasertag.item.LasertagFlagItem;
5
import net.minecraft.util.Identifier;
6
import software.bernie.geckolib3.model.AnimatedGeoModel;
7
8
/**
9
 * Model for the lasertag flag
10
 *
11
 * @author Étienne Muser
12
 */
13
public class LasertagFlagItemModel extends AnimatedGeoModel<LasertagFlagItem> {
14
15
    @Override
16
    public Identifier getModelResource(LasertagFlagItem object) {
17
        return new Identifier(LasertagMod.ID, "geo/lasertag_flag.geo.json");
18
    }
19
20
    @Override
21
    public Identifier getTextureResource(LasertagFlagItem object) {
22
        return new Identifier(LasertagMod.ID, "textures/block/lasertag_flag.png");
23
    }
24
25
    @Override
26
    public Identifier getAnimationResource(LasertagFlagItem animatable) {
27
        return new Identifier(LasertagMod.ID, "animations/idle_animation.json");
28
    }
29
}
30