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

package com.hypixel.hytale.server.npc.instructions;

import com.hypixel.hytale.server.core.universe.world.World;
import com.hypixel.hytale.component.ComponentAccessor;
import com.hypixel.hytale.server.npc.movement.controllers.MotionController;
import javax.annotation.Nonnull;
import com.hypixel.hytale.server.npc.entities.NPCEntity;
import javax.annotation.Nullable;
import com.hypixel.hytale.server.core.universe.world.storage.EntityStore;
import com.hypixel.hytale.component.Ref;
import com.hypixel.hytale.server.npc.role.Role;

public interface RoleStateChange
{
    default void registerWithSupport(final Role role) {
    }
    
    default void motionControllerChanged(@Nullable final Ref<EntityStore> ref, @Nonnull final NPCEntity npcComponent, final MotionController motionController, @Nullable final ComponentAccessor<EntityStore> componentAccessor) {
    }
    
    default void loaded(final Role role) {
    }
    
    default void spawned(final Role role) {
    }
    
    default void unloaded(final Role role) {
    }
    
    default void removed(final Role role) {
    }
    
    default void teleported(final Role role, final World from, final World to) {
    }
}
