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

package com.hypixel.hytale.server.core.prefab;

import com.hypixel.hytale.server.core.modules.entity.EntityModule;
import com.hypixel.hytale.component.ComponentType;
import com.hypixel.hytale.codec.builder.BuilderCodec;
import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
import com.hypixel.hytale.component.Component;

public class PrefabCopyableComponent implements Component<EntityStore>
{
    public static final PrefabCopyableComponent INSTANCE;
    public static final BuilderCodec<PrefabCopyableComponent> CODEC;
    
    public static ComponentType<EntityStore, PrefabCopyableComponent> getComponentType() {
        return EntityModule.get().getPrefabCopyableComponentType();
    }
    
    public static PrefabCopyableComponent get() {
        return PrefabCopyableComponent.INSTANCE;
    }
    
    @Override
    public Component<EntityStore> clone() {
        return PrefabCopyableComponent.INSTANCE;
    }
    
    static {
        INSTANCE = new PrefabCopyableComponent();
        CODEC = BuilderCodec.builder(PrefabCopyableComponent.class, () -> PrefabCopyableComponent.INSTANCE).build();
    }
}
