We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 147ed91 commit 4d3ed7dCopy full SHA for 4d3ed7d
1 file changed
README.md
@@ -205,6 +205,11 @@ class TestParticleGroup(private val bindPlayer: ServerPlayerEntity) :
205
"bindUUID" to ParticleControlerDataBuffers.uuid(bindPlayer.uuid)
206
)
207
}
208
+
209
+ override fun getClientType(): Class<out ControlableParticleGroup>{
210
+ return TestGroupClient::class.java
211
+ }
212
213
214
```
215
@@ -213,7 +218,6 @@ class TestParticleGroup(private val bindPlayer: ServerPlayerEntity) :
218
```kotlin
219
val serverGroup = TestParticleGroup(user as ServerPlayerEntity)
220
ServerParticleGroupManager.addParticleGroup(
216
- TestGroupClient::class.java,
217
221
// world必须是ServerWorld
222
serverGroup, user.pos, world as ServerWorld
223
0 commit comments