public class PatrolPathMarkerEntity extendsEntityimplementsIPrefabPathWaypoint
Class PatrolPathMarkerEntity. Provides patrolpathmarkerentity functionality for the Hytale server.
java.lang.Object > Entity > PatrolPathMarkerEntity
Field Summary
pathId
Field pathId.
pathName
Field pathName.
order
Field order.
pauseTime
Field pauseTime.
observationAngle
Field observationAngle.
tempPathLength
Field tempPathLength.
parentPath
Field parentPath.
worldPathData
Field worldPathData.
playerComponent
Field playerComponent.
ref
Field ref.
transformComponent
Field transformComponent.
Method Detail
getComponentType
PatrolPathMarkerEntity>
getComponentType
()
Method getComponentType.
PatrolPathMarkerEntity
public
PatrolPathMarkerEntity
()
Method PatrolPathMarkerEntity.
getPathId
UUID
getPathId
()
Method getPathId.
setPathId
void
setPathId
(final UUID pathId)
Method setPathId.
- Parameters:
final UUIDpathId
getPathName
String
getPathName
()
Method getPathName.
setPathName
void
setPathName
(final String pathName)
Method setPathName.
- Parameters:
final StringpathName
generateDisplayName
String
generateDisplayName
(final int worldgenId, final PatrolPathMarkerEntity patrolPathMarkerEntity)
Method generateDisplayName.
- Parameters:
final intworldgenIdfinal PatrolPathMarkerEntitypatrolPathMarkerEntity
getTempPathLength
short
getTempPathLength
()
Method getTempPathLength.
initialise
void
initialise
(@Nonnull final UUID id, @Nonnull final String pathName, final int index, final double pauseTime, final float observationAngle, final int worldGenId, @Nonnull final ComponentAccessor componentAccessor)
Method initialise.
- Parameters:
@Nonnull final UUIDid@Nonnull final StringpathNamefinal intindexfinal doublepauseTimefinal floatobservationAnglefinal intworldGenId@Nonnull final ComponentAccessorcomponentAccessor
isCollidable
boolean
isCollidable
()
Method isCollidable.
isHiddenFromLivingEntity
boolean
isHiddenFromLivingEntity
(@Nonnull final Ref ref, @Nonnull final Ref targetRef, @Nonnull final ComponentAccessor componentAccessor)
Method isHiddenFromLivingEntity.
- Parameters:
@Nonnull final Refref@Nonnull final ReftargetRef@Nonnull final ComponentAccessorcomponentAccessor
getOrder
int
getOrder
()
Method getOrder.
setOrder
void
setOrder
(final int order)
Method setOrder.
- Parameters:
final intorder
getPauseTime
double
getPauseTime
()
Method getPauseTime.
setPauseTime
void
setPauseTime
(final double pauseTime)
Method setPauseTime.
- Parameters:
final doublepauseTime
getObservationAngle
float
getObservationAngle
()
Method getObservationAngle.
onReplaced
void
onReplaced
()
Method onReplaced.
setObservationAngle
void
setObservationAngle
(final float observationAngle)
Method setObservationAngle.
- Parameters:
final floatobservationAngle
getWaypointPosition
Method getWaypointPosition.
- Parameters:
@Nonnull final ComponentAccessorcomponentAccessor
getWaypointRotation
Method getWaypointRotation.
- Parameters:
@Nonnull final ComponentAccessorcomponentAccessor
toString
String
toString
()
Method toString.