public class SoundPlay3DCommand extends AbstractTargetPlayerCommand
Command for soundplay3 operations. Registered with the command system and callable by players.
java.lang.Object > AbstractTargetPlayerCommand > SoundPlay3DCommand
Field Summary
soundEvent
final
SoundEvent
soundEvent
Field soundEvent.
soundCategory
final
SoundCategory
soundCategory
Field soundCategory.
relativePosition
final
RelativeVector3i
relativePosition
Field relativePosition.
soundEventIndex
final
int
soundEventIndex
Field soundEventIndex.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
basePosition
final
Vector3d
basePosition
Field basePosition.
blockPosition
final
Vector3i
blockPosition
Field blockPosition.
Method Detail
SoundPlay3DCommand
public
public
SoundPlay3DCommand
()
Method SoundPlay3DCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nullable final Ref sourceRef, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world, @Nonnull final Store store)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nullable final RefsourceRef@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld@Nonnull final Storestore