Comments (7)
What functions would you like to have in the API?
from minibosses.
everything that involves creating, editing, spawning the boss etc, setting items, custom name, setting spawn location, setting if the boss spawns once or respawns continuously, the end goal is to be able to use this plugin for more than just bosses.
from minibosses.
The plugin in its current state, is quite tightly coupled with the main class and its config. It may require major refractoring to support being used as an API.
It is technically already possible to do all of that through the use of the public fields.
I do agree that having an API may make it easier for extension and integration.
from minibosses.
ok would it be possible for you to provide a basic usage of how to do that? until you create the API (if you do)
from minibosses.
You can create, edit, delete by directly accessing the config Main::$data
To make changes after spawning the boss you can directly modify the public fields in Boss
Spawn the boss with Main::spawnBoss()
from minibosses.
btw the hit box is messed up, if i aim at chest or higher there is no hit but if i aim at the legs it hits
https://www.youtube.com/watch?v=o5wDNvGyiVY
from minibosses.
Width & height can be configured. By default it is 1x1x1
Also please keep this thread solely for discussions regarding the API.
Open a discussion if you have any other questions. Thanks :D
from minibosses.
Related Issues (20)
- Reprint requst HOT 2
- more blood under the name of Boss
- Add Health Under Boss Name HOT 1
- cant create a boss
- Spawn multiple bosses HOT 4
- More attack types HOT 9
- Item NBT allow json to be used
- Spawn in random location defined in a list HOT 7
- Do you accept plugin in customization? HOT 4
- Projectile hit effects
- Question: How to change HOT 3
- Invalid skin: hex2bin(): Input string must be hexadecimal string HOT 4
- ArgumentCountError: "Too few arguments to function pocketmine\network\mcpe\protocol\types\entity\Attribute::__construct() HOT 1
- Add potion effects to player when hit by projectile HOT 1
- Boss width & height not as configured
- Spawn messages HOT 2
- Crash v3.2.6 HOT 1
- Boss phases & boss bar & custom attack modes HOT 2
- boss has no skin bug HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minibosses.