Contents
Class ObjectiveLocationAreaBox
java.lang.Object
com.hypixel.hytale.builtin.adventure.objectives.config.markerarea.ObjectiveLocationMarkerArea
com.hypixel.hytale.builtin.adventure.objectives.config.markerarea.ObjectiveLocationAreaBox
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetPlayersInEntryArea(SpatialResource<Ref<EntityStore>, EntityStore> spatialComponent, List<Ref<EntityStore>> results, org.joml.Vector3d markerPosition) voidgetPlayersInExitArea(SpatialResource<Ref<EntityStore>, EntityStore> spatialComponent, List<Ref<EntityStore>> results, org.joml.Vector3d markerPosition) getRotatedArea(float yaw, float pitch) booleanhasPlayerInExitArea(SpatialResource<Ref<EntityStore>, EntityStore> spatialComponent, ComponentType<EntityStore, PlayerRef> playerRefComponentType, org.joml.Vector3d markerPosition, CommandBuffer<EntityStore> commandBuffer) booleanisPlayerInEntryArea(org.joml.Vector3d playerPosition, org.joml.Vector3d markerPosition) toString()Methods inherited from class ObjectiveLocationMarkerArea
getBoxForEntryArea, getBoxForExitArea
-
Field Details
-
CODEC
-
-
Constructor Details
-
ObjectiveLocationAreaBox
-
-
Method Details
-
getEntryArea
-
getExitArea
-
getPlayersInEntryArea
public void getPlayersInEntryArea(@Nonnull SpatialResource<Ref<EntityStore>, EntityStore> spatialComponent, @Nonnull List<Ref<EntityStore>> results, @Nonnull org.joml.Vector3d markerPosition) - Specified by:
getPlayersInEntryAreain classObjectiveLocationMarkerArea
-
getPlayersInExitArea
public void getPlayersInExitArea(@Nonnull SpatialResource<Ref<EntityStore>, EntityStore> spatialComponent, @Nonnull List<Ref<EntityStore>> results, @Nonnull org.joml.Vector3d markerPosition) - Specified by:
getPlayersInExitAreain classObjectiveLocationMarkerArea
-
hasPlayerInExitArea
public boolean hasPlayerInExitArea(@Nonnull SpatialResource<Ref<EntityStore>, EntityStore> spatialComponent, @Nonnull ComponentType<EntityStore, PlayerRef> playerRefComponentType, @Nonnull org.joml.Vector3d markerPosition, @Nonnull CommandBuffer<EntityStore> commandBuffer) - Specified by:
hasPlayerInExitAreain classObjectiveLocationMarkerArea
-
isPlayerInEntryArea
public boolean isPlayerInEntryArea(@Nonnull org.joml.Vector3d playerPosition, @Nonnull org.joml.Vector3d markerPosition) - Specified by:
isPlayerInEntryAreain classObjectiveLocationMarkerArea
-
getRotatedArea
- Overrides:
getRotatedAreain classObjectiveLocationMarkerArea
-
toString
- Overrides:
toStringin classObjectiveLocationMarkerArea
-