Git Product home page Git Product logo

Comments (7)

diamond-gold avatar diamond-gold commented on July 17, 2024

What functions would you like to have in the API?

from minibosses.

EmporiumPvP avatar EmporiumPvP commented on July 17, 2024

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.

diamond-gold avatar diamond-gold commented on July 17, 2024

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.

EmporiumPvP avatar EmporiumPvP commented on July 17, 2024

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.

diamond-gold avatar diamond-gold commented on July 17, 2024

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.

EmporiumPvP avatar EmporiumPvP commented on July 17, 2024

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.

diamond-gold avatar diamond-gold commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.