NPCMountSystems

public class NPCMountSystems

Class NPCMountSystems. Provides npcmountsystems functionality for the Hytale server.

java.lang.Object > NPCMountSystems

Field Summary

mountComponent

final NPCMountComponent mountComponent

Field mountComponent.

playerRef

final PlayerRef playerRef

Field playerRef.

npcComponent

final NPCEntity npcComponent

Field npcComponent.

networkIdComponent

final NetworkId networkIdComponent

Field networkIdComponent.

networkId

final int networkId

Field networkId.

packet

final MountNPC packet

Field packet.

playerComponent

final Player playerComponent

Field playerComponent.

Method Detail

OnAdd

public public OnAdd (@Nonnull final ComponentType mountRoleChangeComponentType)

Method OnAdd.

Parameters:
@Nonnull final ComponentType mountRoleChangeComponentType

getQuery

public Query getQuery ()

Method getQuery.

onEntityAdded

public void onEntityAdded (@Nonnull final Ref ref, @Nonnull final AddReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onEntityAdded.

Parameters:
@Nonnull final Ref ref
@Nonnull final AddReason reason
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

MountNPC

public new MountNPC (mountComponent.getAnchorX()

Method MountNPC.

Parameters:
mountComponent.getAnchorX( mountComponent.getAnchorX(

resetOriginalRoleMount

static void resetOriginalRoleMount (@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer, @Nonnull final NPCMountComponent mountComponent)

Method resetOriginalRoleMount.

Parameters:
@Nonnull final Ref ref
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer
@Nonnull final NPCMountComponent mountComponent

onEntityRemove

public void onEntityRemove (@Nonnull final Ref ref, @Nonnull final RemoveReason reason, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onEntityRemove.

Parameters:
@Nonnull final Ref ref
@Nonnull final RemoveReason reason
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

onComponentAdded

public void onComponentAdded (@Nonnull final Ref ref, @Nonnull final DeathComponent component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentAdded.

Parameters:
@Nonnull final Ref ref
@Nonnull final DeathComponent component
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer