TeleporterPlugin

public class TeleporterPlugin extends JavaPlugin

The main plugin class for Teleporter. This plugin provides gameplay features for the Hytale server. Extend this class to create a plugin.

java.lang.Object > JavaPlugin > TeleporterPlugin

Field Summary

ownedWarp

final String ownedWarp

Field ownedWarp.

component

final Teleporter component

Field component.

Method Detail

get

static TeleporterPlugin get ()

Method get.

TeleporterPlugin

public public TeleporterPlugin (@Nonnull final JavaPluginInit init)

Method TeleporterPlugin.

Parameters:
@Nonnull final JavaPluginInit init

setup

protected void setup ()

Method setup.

TeleporterOwnedWarpRefChangeSystem

public new TeleporterOwnedWarpRefChangeSystem ()

Method TeleporterOwnedWarpRefChangeSystem.

TeleporterOwnedWarpRefSystem

public new TeleporterOwnedWarpRefSystem ()

Method TeleporterOwnedWarpRefSystem.

CreateWarpWhenTeleporterPlacedSystem

public new CreateWarpWhenTeleporterPlacedSystem ()

Method CreateWarpWhenTeleporterPlacedSystem.

getTeleporterComponentType

public Teleporter> getTeleporterComponentType ()

Method getTeleporterComponentType.

componentType

public Teleporter> componentType ()

Method componentType.

onComponentAdded

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

Method onComponentAdded.

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

onComponentSet

public void onComponentSet (@Nonnull final Ref ref, @Nullable final Teleporter oldComponent, @Nonnull final Teleporter newComponent, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentSet.

Parameters:
@Nonnull final Ref ref
@Nullable final Teleporter oldComponent
@Nonnull final Teleporter newComponent
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

onComponentRemoved

public void onComponentRemoved (@Nonnull final Ref ref, @Nonnull final Teleporter component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentRemoved.

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

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

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