PrefabTeleportPage

public class PrefabTeleportPage extends InteractiveCustomUIPage

Class PrefabTeleportPage. Provides prefabteleportpage functionality for the Hytale server.

java.lang.Object > InteractiveCustomUIPage > PrefabTeleportPage

Field Summary

searchQuery

private String searchQuery

Field searchQuery.

matchScores

final Object2IntMap matchScores

Field matchScores.

fileName

final String fileName

Field fileName.

baseName

final String baseName

Field baseName.

fuzzyDistance

final int fuzzyDistance

Field fuzzyDistance.

stream

final Stream stream

Field stream.

obj

final Object2IntMap obj

Field obj.

prefabPath

final Path prefabPath

Field prefabPath.

fileName2

final String fileName2

Field fileName2.

displayName

final String displayName

Field displayName.

commandBuilder

final UICommandBuilder commandBuilder

Field commandBuilder.

eventBuilder

final UIEventBuilder eventBuilder

Field eventBuilder.

prefabUuid

final UUID prefabUuid

Field prefabUuid.

metadata

final PrefabEditingMetadata metadata

Field metadata.

playerComponent

final Player playerComponent

Field playerComponent.

minPoint

final Vector3i minPoint

Field minPoint.

maxPoint

final Vector3i maxPoint

Field maxPoint.

centerX

final int centerX

Field centerX.

centerZ

final int centerZ

Field centerZ.

world

final World world

Field world.

worldChunk

final WorldChunk worldChunk

Field worldChunk.

teleportY

final int teleportY

Field teleportY.

teleportPosition

final Vector3d teleportPosition

Field teleportPosition.

Method Detail

PrefabTeleportPage

public public PrefabTeleportPage (@Nonnull final PlayerRef playerRef, @Nonnull final PrefabEditSession prefabEditSession)

Method PrefabTeleportPage.

Parameters:
@Nonnull final PlayerRef playerRef
@Nonnull final PrefabEditSession prefabEditSession

build

public void build (@Nonnull final Ref ref, @Nonnull final UICommandBuilder commandBuilder, @Nonnull final UIEventBuilder eventBuilder, @Nonnull final Store store)

Method build.

Parameters:
@Nonnull final Ref ref
@Nonnull final UICommandBuilder commandBuilder
@Nonnull final UIEventBuilder eventBuilder
@Nonnull final Store store

buildPrefabList

private void buildPrefabList (@Nonnull final UICommandBuilder commandBuilder, @Nonnull final UIEventBuilder eventBuilder)

Method buildPrefabList.

Parameters:
@Nonnull final UICommandBuilder commandBuilder
@Nonnull final UIEventBuilder eventBuilder

handleDataEvent

public void handleDataEvent (@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final PageData data)

Method handleDataEvent.

Parameters:
@Nonnull final Ref ref
@Nonnull final Store store
@Nonnull final PageData data

Teleport

public new Teleport (teleportPosition, new Vector3f()

Method Teleport.

Parameters:
teleportPosition teleportPosition
new Vector3f(

getSearchQuery

public String getSearchQuery ()

Method getSearchQuery.

getPrefabUuid

public String getPrefabUuid ()

Method getPrefabUuid.

KeyedCodec

public new KeyedCodec ("PrefabUuid", Codec.STRING)

Method KeyedCodec.

Parameters:
"PrefabUuid" "PrefabUuid"
Codec.STRING Codec.STRING