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

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

import javax.annotation.Nonnull;
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 PropComponent implements Component<EntityStore>
{
    public static final BuilderCodec<PropComponent> CODEC;
    private static final PropComponent INSTANCE;
    
    public static ComponentType<EntityStore, PropComponent> getComponentType() {
        return EntityModule.get().getPropComponentType();
    }
    
    public static PropComponent get() {
        return PropComponent.INSTANCE;
    }
    
    @Nonnull
    @Override
    public Component<EntityStore> clone() {
        return this;
    }
    
    static {
        CODEC = BuilderCodec.builder(PropComponent.class, PropComponent::new).build();
        INSTANCE = new PropComponent();
    }
}
