mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2025-01-03 06:38:06 +01:00
Updated Floating items (markdown)
parent
54e0664577
commit
acc52640d9
@ -2,6 +2,7 @@ You can create floating items in the same way you create text lines, by using th
|
||||
|
||||
|
||||
> **Example**: a floating melon block created above a player's head, 5 seconds later the melon block turns into a melon slice.
|
||||
|
||||
```java
|
||||
Location loc = player.getLocation().add(0.0, 2.0, 0.0);
|
||||
ItemStack itemStack = new ItemStack(Material.MELON_BLOCK);
|
||||
|
Loading…
Reference in New Issue
Block a user