Giter Site home page Giter Site logo

Comments (4)

NeptuneDaFish avatar NeptuneDaFish commented on June 3, 2024

After a bit more testing i realised that the hit-frequency works as inteded only if i reload the plugin after i spawn the mob, but my issue still kind of stands

from bukkitoldcombatmechanics.

kernitus avatar kernitus commented on June 3, 2024

This implies that mythicmobs is not calling the CreatureSpawnEvent like entities are supposed to. When you reload the plugin it applies the new delay to all existing entities, otherwise this happens at entity spawn. Evidently mythicmobs is not letting other plugins know a spawn happened.

from bukkitoldcombatmechanics.

NeptuneDaFish avatar NeptuneDaFish commented on June 3, 2024

Alright, say i made a script using another plugin that reloads the oldcombatplugin every 2 ticks, all works well, except is there any way to disable the output in the console when the plugin reloads?

from bukkitoldcombatmechanics.

kernitus avatar kernitus commented on June 3, 2024

That seems like a terrible idea, it would be incredibly computationally expensive to run every 2 ticks. Through a lot of digging I have found MythicMobs has an API that can be used to know when a MythicMob is spawned.

from bukkitoldcombatmechanics.

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.