package com.hypixel.hytale.server.npc.components.messaging;
import com.hypixel.hytale.component.Component;
import com.hypixel.hytale.component.ComponentType;
import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
import com.hypixel.hytale.server.npc.NPCPlugin;
import com.hypixel.hytale.server.npc.blackboard.view.event.EventNotification;
import com.hypixel.hytale.server.npc.blackboard.view.event.block.BlockEventType;
import javax.annotation.Nonnull;
public class PlayerBlockEventSupport extends EventSupport<BlockEventType, EventNotification> implements Component<EntityStore> {
public PlayerBlockEventSupport() {
}
public static ComponentType<EntityStore, PlayerBlockEventSupport> getComponentType() {
return NPCPlugin.get().getPlayerBlockEventSupportComponentType();
}
@Nonnull
public Component<EntityStore> clone() {
PlayerBlockEventSupport support = new PlayerBlockEventSupport();
this.cloneTo(support);
return support;
}
}