Contents
Class ReachLocationTask
java.lang.Object
com.hypixel.hytale.builtin.adventure.objectives.task.ObjectiveTask
com.hypixel.hytale.builtin.adventure.objectives.task.ReachLocationTask
- All Implemented Interfaces:
NetworkSerializer<Objective, ObjectiveTask>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<ReachLocationTask> static final StringFields inherited from class ObjectiveTask
BASE_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionReachLocationTask(ObjectiveTaskAsset asset, int taskSetIndex, int taskIndex) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAsset()voidonPlayerReachLocationMarker(Store<EntityStore> store, Ref<EntityStore> ref, String locationMarkerId, Objective objective) voidsetupMarker(Objective objective, ReachLocationMarker locationMarkerEntity, org.joml.Vector3d position, CommandBuffer<EntityStore> commandBuffer) toString()Methods inherited from class ObjectiveTask
addMarker, areTaskConditionsFulfilled, assetChanged, complete, completeTransactionRecords, consumeTaskConditions, getMarkers, getNonSerializedTransactionRecords, getSerializedTransactionRecords, isComplete, removeMarker, revertTransactionRecords, sendUpdateObjectiveTaskPacket, setAsset, setup, unloadTransactionRecords
-
Field Details
-
CODEC
-
MARKER_ICON
- See Also:
-
-
Constructor Details
-
ReachLocationTask
-
-
Method Details
-
checkCompletion
public boolean checkCompletion()- Specified by:
checkCompletionin classObjectiveTask
-
getAsset
- Overrides:
getAssetin classObjectiveTask
-
setupMarker
public void setupMarker(@Nonnull Objective objective, @Nonnull ReachLocationMarker locationMarkerEntity, @Nonnull org.joml.Vector3d position, @Nonnull CommandBuffer<EntityStore> commandBuffer) -
toPacket
-
onPlayerReachLocationMarker
public void onPlayerReachLocationMarker(@Nonnull Store<EntityStore> store, @Nonnull Ref<EntityStore> ref, @Nonnull String locationMarkerId, @Nonnull Objective objective) -
toString
- Overrides:
toStringin classObjectiveTask
-