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

package com.hypixel.hytale.builtin.buildertools.prefabeditor;

import com.hypixel.hytale.builtin.buildertools.BuilderToolsPlugin;
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 PrefabAnchor implements Component<EntityStore>
{
    public static final PrefabAnchor INSTANCE;
    public static final BuilderCodec<PrefabAnchor> CODEC;
    
    public static ComponentType<EntityStore, PrefabAnchor> getComponentType() {
        return BuilderToolsPlugin.get().getPrefabAnchorComponentType();
    }
    
    private PrefabAnchor() {
    }
    
    @Override
    public Component<EntityStore> clone() {
        return PrefabAnchor.INSTANCE;
    }
    
    static {
        INSTANCE = new PrefabAnchor();
        CODEC = BuilderCodec.builder(PrefabAnchor.class, () -> PrefabAnchor.INSTANCE).build();
    }
}
