// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.server.core.modules.projectile.component;

import com.hypixel.hytale.server.core.modules.projectile.ProjectileModule;
import com.hypixel.hytale.component.ComponentType;
import com.hypixel.hytale.codec.builder.BuilderCodec;
import javax.annotation.Nonnull;
import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
import com.hypixel.hytale.component.Component;

public class Projectile implements Component<EntityStore>
{
    @Nonnull
    public static Projectile INSTANCE;
    @Nonnull
    public static final BuilderCodec<Projectile> CODEC;
    
    public static ComponentType<EntityStore, Projectile> getComponentType() {
        return ProjectileModule.get().getProjectileComponentType();
    }
    
    private Projectile() {
    }
    
    @Nonnull
    @Override
    public Component<EntityStore> clone() {
        return this;
    }
    
    static {
        Projectile.INSTANCE = new Projectile();
        CODEC = BuilderCodec.builder(Projectile.class, () -> Projectile.INSTANCE).build();
    }
}
