mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-11-26 12:27:30 +01:00
Updated Move holograms (markdown)
parent
e3852a0e2d
commit
fbf04d8e65
@ -1,5 +1,12 @@
|
||||
Moving holograms it's really simple. Just use the `teleport(Location loc)` method, as fast as you want. Previously using the `setLocation(Location loc)` and `update()` methods was creating new entities every time, generating possible lag if used frequently.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
**Example**: a hologram that follows a player above his head for 5 seconds.
|
||||
```java
|
||||
// Suppose that we have already a Player object called "player"
|
||||
|
Loading…
Reference in New Issue
Block a user