public class OverrideNearbyRespawnPointPage extends RespawnPointPage
Class OverrideNearbyRespawnPointPage. Provides overridenearbyrespawnpointpage functionality for the Hytale server.
java.lang.Object > RespawnPointPage > OverrideNearbyRespawnPointPage
Field Summary
radiusLimitRespawnPoint
private
int
radiusLimitRespawnPoint
Field radiusLimitRespawnPoint.
headRotationComponent
final
HeadRotation
headRotationComponent
Field headRotationComponent.
playerRefComponent
final
PlayerRef
playerRefComponent
Field playerRefComponent.
direction
final
double
direction
Field direction.
selector
final
String
selector
Field selector.
nearbyRespawnPoint
final
PlayerRespawnPointData
nearbyRespawnPoint
Field nearbyRespawnPoint.
nearbyRespawnPointPosition
final
Vector3i
nearbyRespawnPointPosition
Field nearbyRespawnPointPosition.
distance
final
int
distance
Field distance.
angle
final
double
angle
Field angle.
respawnPointName
final
String
respawnPointName
Field respawnPointName.
playerComponent
final
Player
playerComponent
Field playerComponent.
Method Detail
OverrideNearbyRespawnPointPage
public
public
OverrideNearbyRespawnPointPage
(@Nonnull final PlayerRef playerRef, final InteractionType interactionType, final Vector3i respawnPointPosition, final RespawnBlock respawnPointToAdd, final PlayerRespawnPointData[] nearbyRespawnPoints, final int radiusLimitRespawnPoint)
Method OverrideNearbyRespawnPointPage.
- Parameters:
@Nonnull final PlayerRefplayerReffinal InteractionTypeinteractionTypefinal Vector3irespawnPointPositionfinal RespawnBlockrespawnPointToAddfinal PlayerRespawnPointData[]nearbyRespawnPointsfinal intradiusLimitRespawnPoint
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 Refref@Nonnull final UICommandBuildercommandBuilder@Nonnull final UIEventBuildereventBuilder@Nonnull final Storestore
handleDataEvent
public
void
handleDataEvent
(@Nonnull final Ref ref, @Nonnull final Store store, @Nonnull final RespawnPointEventData data)
Method handleDataEvent.
- Parameters:
@Nonnull final Refref@Nonnull final Storestore@Nonnull final RespawnPointEventDatadata
if
public
else
if
("Cancel".equals(data.getAction()
Method if.
- Parameters:
"Cancel".equals(data.getAction("Cancel".equals(data.getAction(