public class PrefabEditSelectCommand extends AbstractPlayerCommand
Command for prefabeditselec operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > PrefabEditSelectCommand
Field Summary
prefabEditSessionManager
final
PrefabEditSessionManager
prefabEditSessionManager
Field prefabEditSessionManager.
prefabEditSession
final
PrefabEditSession
prefabEditSession
Field prefabEditSession.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
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.
playerComponent
final
Player
playerComponent
Field playerComponent.
targetBlock
final
Vector3i
targetBlock
Field targetBlock.
targetEntityRef
final
Ref
targetEntityRef
Field targetEntityRef.
entityTransformComponent
final
TransformComponent
entityTransformComponent
Field entityTransformComponent.
Method Detail
PrefabEditSelectCommand
public
public
PrefabEditSelectCommand
()
Method PrefabEditSelectCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld
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