Init
This commit is contained in:
34
content/advanced/_index.en.md
Normal file
34
content/advanced/_index.en.md
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
title: Advanced
|
||||
type: docs
|
||||
weight: 6
|
||||
---
|
||||
|
||||
Advanced systems for networking, effects, and other specialized functionality.
|
||||
|
||||
{{< cards >}}
|
||||
{{< card link="networking" title="Networking" subtitle="Network communication and protocols" icon="wifi" >}}
|
||||
{{< card link="effects" title="Effects" subtitle="Particles, dynamic lights, and entity effects" icon="sparkles" >}}
|
||||
{{< /cards >}}
|
||||
|
||||
## Networking
|
||||
|
||||
Network communication allows plugins to send custom data between server and clients:
|
||||
|
||||
```java
|
||||
// Send custom packet
|
||||
CustomPacket packet = new CustomPacket(data);
|
||||
player.sendPacket(packet);
|
||||
```
|
||||
|
||||
## Effects
|
||||
|
||||
Create visual effects using particles, lights, and entity animations:
|
||||
|
||||
```java
|
||||
// Spawn particles
|
||||
world.spawnParticles(ParticleType.SMOKE, position, count);
|
||||
|
||||
// Add dynamic light
|
||||
entity.addComponent(new DynamicLight(Color.YELLOW, 10.0f));
|
||||
```
|
||||
Reference in New Issue
Block a user