-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
222f617
commit dfd6b30
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
![](https://maven.funnyboyroks.com/api/badge/latest/snapshots/com/funnyboyroks/DrawLib?color=40c14a&name=DrawLib&prefix=v) | ||
|
||
# DrawLib | ||
|
||
(Name Pending to Change) | ||
|
||
A simple library to draw some simple shapes using particles in Paper servers | ||
|
||
![Screenshot](./img/screenshot.png) | ||
|
||
## Usage | ||
|
||
See the [maven repo](https://maven.funnyboyroks.com/#/snapshots/com/funnyboyroks/DrawLib/1.0.0-SNAPSHOT) for the latest version and code snippets for your `pom.xml`. | ||
|
||
```java | ||
ShapeRenderer renderer = new ShapeRenderer(); | ||
|
||
renderer.setColor(Color.RED); | ||
renderer.setReceivers(player); | ||
renderer.drawLine(point1, point2); | ||
``` | ||
|
||
## Current Shapes | ||
|
||
- Point | ||
- Line | ||
- Cuboid | ||
- Sphere |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.