for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
package de.pewpewproject.lasertag.block.entity.render;
import de.pewpewproject.lasertag.LasertagMod;
import de.pewpewproject.lasertag.block.entity.LasertagFlagBlockEntity;
import net.minecraft.util.Identifier;
import software.bernie.geckolib3.model.AnimatedGeoModel;
/**
* Model for the lasertag flag
*
* @author Étienne Muser
*/
public class LasertagFlagModel extends AnimatedGeoModel<LasertagFlagBlockEntity> {
@Override
public Identifier getModelResource(LasertagFlagBlockEntity object) {
return new Identifier(LasertagMod.ID, "geo/lasertag_flag.geo.json");
}
public Identifier getTextureResource(LasertagFlagBlockEntity object) {
return new Identifier(LasertagMod.ID, "textures/block/lasertag_flag.png");
public Identifier getAnimationResource(LasertagFlagBlockEntity animatable) {
return new Identifier(LasertagMod.ID, "animations/idle_animation.json");