Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/funnyboy-roks/drawlib
A simple library for drawing shapes using particles in PaperMC Plugins
https://github.com/funnyboy-roks/drawlib
minecraft papermc papermc-library papermc-plugin
Last synced: about 9 hours ago
JSON representation
A simple library for drawing shapes using particles in PaperMC Plugins
- Host: GitHub
- URL: https://github.com/funnyboy-roks/drawlib
- Owner: funnyboy-roks
- License: apache-2.0
- Created: 2022-11-13T05:22:02.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-15T20:56:03.000Z (5 months ago)
- Last Synced: 2024-06-15T21:48:26.049Z (5 months ago)
- Topics: minecraft, papermc, papermc-library, papermc-plugin
- Language: Java
- Homepage: https://maven.funnyboyroks.com/#/snapshots/com/funnyboyroks/DrawLib/1.0.0-SNAPSHOT
- Size: 3.31 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![](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.setStepSize(0.1);
renderer.setReceivers(player);
renderer.drawLine(point1, point2);
```## Current Shapes
- Point
- Line
- Cuboid
- Sphere