public class ReachLocationTask extends ObjectiveTask
Class ReachLocationTask. Provides reachlocationtask functionality for the Hytale server.
java.lang.Object > ObjectiveTask > ReachLocationTask
Field Summary
completed
private
boolean
completed
Field completed.
markerLoaded
private
boolean
markerLoaded
Field markerLoaded.
targetLocationId
final
String
targetLocationId
Field targetLocationId.
reachLocationMarkerEntities
Field reachLocationMarkerEntities.
reachLocationMarkerComponent
final
ReachLocationMarker
reachLocationMarkerComponent
Field reachLocationMarkerComponent.
currentLocation
final
Vector3d
currentLocation
Field currentLocation.
closestMarker
final
Ref
closestMarker
Field closestMarker.
closestMarkerTransformComponent
final
TransformComponent
closestMarkerTransformComponent
Field closestMarkerTransformComponent.
closestMarkerReachComponent
final
ReachLocationMarker
closestMarkerReachComponent
Field closestMarkerReachComponent.
markerEntityReference
final
Ref
markerEntityReference
Field markerEntityReference.
markerTransformComponent
final
TransformComponent
markerTransformComponent
Field markerTransformComponent.
markerReachLocationComponent
final
ReachLocationMarker
markerReachLocationComponent
Field markerReachLocationComponent.
pos
final
Vector3d
pos
Field pos.
distance
final
double
distance
Field distance.
locationName
final
String
locationName
Field locationName.
markerId
final
String
markerId
Field markerId.
packet
final
com.hypixel.hytale.protocol.ObjectiveTask
packet
Field packet.
uuidComponent
final
UUIDComponent
uuidComponent
Field uuidComponent.
Method Detail
ReachLocationTask
public
public
ReachLocationTask
(@Nonnull final ObjectiveTaskAsset asset, final int taskSetIndex, final int taskIndex)
Method ReachLocationTask.
- Parameters:
@Nonnull final ObjectiveTaskAssetassetfinal inttaskSetIndexfinal inttaskIndex
checkCompletion
public
boolean
checkCompletion
()
Method checkCompletion.
setup0
protected
TransactionRecord[]
setup0
(@Nonnull final Objective objective, @Nonnull final World world, @Nonnull final Store store)
Method setup0.
- Parameters:
@Nonnull final Objectiveobjective@Nonnull final Worldworld@Nonnull final Storestore
MapMarker
public
new
MapMarker
(this.getMarkerId(objective)
Method MapMarker.
- Parameters:
this.getMarkerId(objectivethis.getMarkerId(objective
Transform
public
new
Transform
(closestPosition)
Method Transform.
- Parameters:
closestPositionclosestPosition
setupMarker
public
void
setupMarker
(@Nonnull final Objective objective, @Nonnull final ReachLocationMarker locationMarkerEntity, @Nonnull final Vector3d position, @Nonnull final CommandBuffer commandBuffer)
Method setupMarker.
- Parameters:
@Nonnull final Objectiveobjective@Nonnull final ReachLocationMarkerlocationMarkerEntity@Nonnull final Vector3dposition@Nonnull final CommandBuffercommandBuffer
onPlayerReachLocationMarker
public
void
onPlayerReachLocationMarker
(@Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final String locationMarkerId, @Nonnull final Objective objective)
Method onPlayerReachLocationMarker.
- Parameters:
@Nonnull final Storestore@Nonnull final Refref@Nonnull final StringlocationMarkerId@Nonnull final Objectiveobjective
toString
public
String
toString
()
Method toString.
KeyedCodec
public
new
KeyedCodec
("MarkerLoaded", Codec.BOOLEAN)
Method KeyedCodec.
- Parameters:
"MarkerLoaded""MarkerLoaded"Codec.BOOLEANCodec.BOOLEAN