Hi, I’m requesting a simple plugin that can be complex if the user so chooses.
I would like for this plugin to do several things
control spawnrate
control how far away a specified mob can ‘see’ a player (mass agro)
allow certain mobs to break blocks in a certain amount of time by block
Now all of this I would like to those event schedulers running in as much sync as possible.
And off course all of this has to be configurable so Config with each mob is a must.
I know this sounds like a difficult class but if all else fails i would love for people to just send me what they can do…I’m pretty good at piecing things together. Thanks
You understand that what you’re asking is almost impossible with the API since the AI is the stuff that controls how an entity looks etc. I mean, there’s so much that AI is doing that is better than just spawning a new scheduled task on the server, doing it all through what the API has currently would be super laggy on the server.
The Renderer is what controls models and textures you see on your screen. While ResourcePacks allow you to change some things, a lot of client resources aren’t controllable from the server.
AI is different…it is what simulates entities. A controller moves them around and a goal has them make choices. This is logic and is fully controllable by the server. In time, SpongeAPI will gain an AI portion.
that’s what i’m saying after they have a mob controller as an example…but how would they tie that into a scheduler is what i’m asking? i know the theory behind it is sound…now what i need is for someone to show me how that’s done. if i know how to code schedulers i’d do it…but i don’t know how lol