# EntityPreviewComponent

Shows an entity or a block in 3D. The player drags it to turn it, or it follows the mouse.

```java
add(new EntityPreviewComponent(at(new Box("pig", 12, 26, 80, 120)), words, EntityView.of("minecraft:pig")));
add(new EntityPreviewComponent(at(new Box("me", 110, 26, 80, 120)), words, EntityView.player()).followMouse());
add(new EntityPreviewComponent(at(new Box("log", 208, 26, 80, 120)), words, EntityView.block("minecraft:oak_log")));
```

## Variants

- Turn: Drag to turn.

Page: https://minuit.dryaides.com/components/entity.html
