public class PrefabSelectionInteraction extends SimpleInstantInteraction
Class PrefabSelectionInteraction. Provides prefabselectioninteraction functionality for the Hytale server.
java.lang.Object > SimpleInstantInteraction > PrefabSelectionInteraction
Field Summary
commandBuffer
final
CommandBuffer
commandBuffer
Field commandBuffer.
ref
final
Ref
ref
Field ref.
playerComponent
final
Player
playerComponent
Field playerComponent.
uuidComponent
final
UUIDComponent
uuidComponent
Field uuidComponent.
uuid
final
UUID
uuid
Field uuid.
prefabEditSessionManager
final
PrefabEditSessionManager
prefabEditSessionManager
Field prefabEditSessionManager.
prefabEditSession
final
PrefabEditSession
prefabEditSession
Field prefabEditSession.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
playerPosition
final
Vector3d
playerPosition
Field playerPosition.
playerLocation
final
Vector3d
playerLocation
Field playerLocation.
centerPoint
final
Vector3d
centerPoint
Field centerPoint.
distanceTo
final
double
distanceTo
Field distanceTo.
targetLocation
final
Vector3i
targetLocation
Field targetLocation.
isWithinPrefab
final
boolean
isWithinPrefab
Field isWithinPrefab.
targetBlock
final
Vector3i
targetBlock
Field targetBlock.
targetEntityRef
final
Ref
targetEntityRef
Field targetEntityRef.
entityTransformComponent
final
TransformComponent
entityTransformComponent
Field entityTransformComponent.
Method Detail
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
Vector3d
public
new
Vector3d
((value.getMaxPoint()
Method Vector3d.
- Parameters:
(value.getMaxPoint((value.getMaxPoint(
getTargetLocation
static
Vector3i
getTargetLocation
(@Nonnull final Ref ref, @Nonnull final ComponentAccessor componentAccessor)
Method getTargetLocation.
- Parameters:
@Nonnull final Refref@Nonnull final ComponentAccessorcomponentAccessor