// 
// 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 RespondToHit implements Component<EntityStore>
{
    public static final RespondToHit INSTANCE;
    public static final BuilderCodec<RespondToHit> CODEC;
    
    public static ComponentType<EntityStore, RespondToHit> getComponentType() {
        return EntityModule.get().getRespondToHitComponentType();
    }
    
    private RespondToHit() {
    }
    
    @Override
    public Component<EntityStore> clone() {
        return RespondToHit.INSTANCE;
    }
    
    static {
        INSTANCE = new RespondToHit();
        CODEC = BuilderCodec.builder(RespondToHit.class, () -> RespondToHit.INSTANCE).build();
    }
}
