public class TriggerSpawnMarkersInteraction extends SimpleInstantInteraction
Class TriggerSpawnMarkersInteraction. Provides triggerspawnmarkersinteraction functionality for the Hytale server.
java.lang.Object > SimpleInstantInteraction > TriggerSpawnMarkersInteraction
Field Summary
markerType
private
String
markerType
Field markerType.
range
private
double
range
Field range.
rangeSquared
private
double
rangeSquared
Field rangeSquared.
count
private
int
count
Field count.
commandBuffer
final
CommandBuffer
commandBuffer
Field commandBuffer.
self
final
Ref
self
Field self.
position
final
Vector3d
position
Field position.
spawnMarkerRef2
final
Ref
spawnMarkerRef2
Field spawnMarkerRef2.
spawnMarkerEntityComponent2
final
SpawnMarkerEntity
spawnMarkerEntityComponent2
Field spawnMarkerEntityComponent2.
targetTransformComponent
final
TransformComponent
targetTransformComponent
Field targetTransformComponent.
targetPosition
final
Vector3d
targetPosition
Field targetPosition.
targetMarkerEntityComponent
final
SpawnMarkerEntity
targetMarkerEntityComponent
Field targetMarkerEntityComponent.
Method Detail
TriggerSpawnMarkersInteraction
public
public
TriggerSpawnMarkersInteraction
()
Method TriggerSpawnMarkersInteraction.
firstRun
protected
void
firstRun
(@Nonnull final InteractionType type, @Nonnull final InteractionContext context, @Nonnull final CooldownHandler cooldownHandler)
Method firstRun.
- Parameters:
@Nonnull final InteractionTypetype@Nonnull final InteractionContextcontext@Nonnull final CooldownHandlercooldownHandler
filterMarker
protected
Ref
filterMarker
(@Nonnull final Ref targetRef, @Nonnull final Vector3d position, @Nonnull final CommandBuffer commandBuffer)
Method filterMarker.
- Parameters:
@Nonnull final ReftargetRef@Nonnull final Vector3dposition@Nonnull final CommandBuffercommandBuffer