Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named mob spawn quests #44

Open
pandapaul opened this issue Apr 27, 2017 · 5 comments
Open

Named mob spawn quests #44

pandapaul opened this issue Apr 27, 2017 · 5 comments

Comments

@pandapaul
Copy link
Member

pandapaul commented Apr 27, 2017

This should be an entirely new quest type so that it is handled differently in terms of events and such. Spawn a mob with a name tag attached to it having some spiffy name based on the type of mob. e.g. A bat named Bruce.

Need to decide spawn location, but off the top of my head I'd guess something like between a radius of 32 and 64 blocks away from the player. Pick something that keeps the mob from spawning right on top of you but also in a reasonable distance away.

Perhaps the size of the mob could scale according to the difficulty of the quest. Certain named mobs could also have henchmen that defend them.

Suggested by snabul on curseforge

@frodare
Copy link
Member

frodare commented Apr 27, 2017

This code might be a useful reference:
https://github.com/ToroCraft/ToroQuest/blob/master/java/net/torocraft/toroquest/civilization/quests/QuestEnemyEncampment.java#L129

One of the problems I had was choosing mobs that can be in the sun light.

@pandapaul
Copy link
Member Author

Nice! That will absolutely be helpful.

@Twisted-Code
Copy link

what about spawning it in a cave? It might be a little mean, but it's not like people can't see the name tag through walls. Maybe only do that for the most difficult of quests, though. This should probably disqualify the mob from having any guards, but it maybe could still be a difficult type of mob, like nether?

@pandapaul
Copy link
Member Author

I dig that and I didn't realize you can see name tags through walls. That would make it viable I think.

@Twisted-Code
Copy link

Twisted-Code commented May 5, 2017

yeah nametags show up just like player names do for players that aren't sneaking. That said, you may want to make the name bold if you're going to intentionally spawn it underground... or not if you want to be really mean/difficult 😛

@pandapaul pandapaul modified the milestone: Release 8 Jun 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants