Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olijeffers0n/realphysics
A Plugin for Realistic TNT physics
https://github.com/olijeffers0n/realphysics
Last synced: 6 days ago
JSON representation
A Plugin for Realistic TNT physics
- Host: GitHub
- URL: https://github.com/olijeffers0n/realphysics
- Owner: olijeffers0n
- License: mit
- Created: 2021-05-18T18:04:03.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-05-22T19:18:24.000Z (over 3 years ago)
- Last Synced: 2024-10-12T03:49:06.543Z (about 1 month ago)
- Language: Java
- Size: 2.6 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![GIF](https://media3.giphy.com/media/yDqbkfwQTFJS9M9PI7/giphy.gif?cid=790b7611eb3752c5e260eba52da4a7df15d800594f0f54f0&rid=giphy.gif&ct=g)
# RealPhysics!
This is a plugin designed to replicate realistic physics on explosions using `FallingBlocks` in order to create the entities.
This plugin depends on ProtocolLib in order to work, as it uses the packets in order to stop the block despawing on contact with the ground.
## Bugs!
Multi-Explosion explosions are a bit choppy and laggy, this is due to an extra packet the server sends that i am having a hard time weeding out. Please, help me fix it!## Blocked Blocks!
Some Blocks just do not work when they are exploded, and i have included a few:
```
- TNT
- SNOW
- GRASS
- TALL_GRASS
- DEAD_BUSH
- FERN
- LARGE_FERN
- DARK_OAK_DOOR
- OAK_DOOR
- BIRCH_DOOR
- SPRUCE_DOOR
- IRON_DOOR
- ACACIA_DOOR
- JUNGLE_DOOR
- SPRUCE_DOOR
- CRIMSON_DOOR
- WARPED_DOOR
- FIRE
```
There are some more, so just add them to the file using the names from [here](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html)## Delay
The plugin uses a bell curve to distribute the despawning, the max and min times can be changed in the `config.yml` in the unit of ticks## Vector
The Vector is hard - coded into the program, however it definitely is not perfect. Feel free to open a PR with any changes!### Summary
Any changes, just make a PR or contact me on discord at `Ollie#0175`
:-)