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

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

import com.hypixel.hytale.server.core.modules.entity.EntityModule;
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 Interactable implements Component<EntityStore>
{
    @Nonnull
    public static final Interactable INSTANCE;
    @Nonnull
    public static final BuilderCodec<Interactable> CODEC;
    
    public static ComponentType<EntityStore, Interactable> getComponentType() {
        return EntityModule.get().getInteractableComponentType();
    }
    
    private Interactable() {
    }
    
    @Override
    public Component<EntityStore> clone() {
        return Interactable.INSTANCE;
    }
    
    static {
        INSTANCE = new Interactable();
        CODEC = BuilderCodec.builder(Interactable.class, () -> Interactable.INSTANCE).build();
    }
}
