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
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 Refref@Nonnull final Teleportercomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
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 Refref@Nullable final TeleporteroldComponent@Nonnull final TeleporternewComponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
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 Refref@Nonnull final Teleportercomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
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 Refref@Nonnull final AddReasonreason@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
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 Refref@Nonnull final RemoveReasonreason@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer