Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Yancey2023 committed Feb 16, 2024
1 parent 8aa20d6 commit 5b16f82
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,27 @@ Multithreading particle VBO filling can greatly improve your particle rendering
load particle in file:

```mcfunction
par file load path_to_your_file
par load path_to_your_file
```

run particle:

```mcfunction
par file run
par run
```

load particle in file and run it:

```mcfunction
par file loadAndRun path_to_your_file
par loadAndRun path_to_your_file
```

## How to create a particle file

You can find the api in this package: `yancey.openparticle.api.common`.
[OpenParticle Java API](https://github.com/Yancey2023/OpenParticleAPI)

clone it to your java project, or implement the same logic in whatever language you like.
[OpenParticle Python API](https://github.com/Yancey2023/OpenParticleAPI-py)

if you want to use other languages, you can find the basic java api in this package: `yancey.openparticle.api.common`. You can implement the same logic in whatever language you like.

Have fun!!!

0 comments on commit 5b16f82

Please sign in to comment.