// 
// 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 com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
import com.hypixel.hytale.component.Component;

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