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

Mobs don't properly obtain handitems in onslaughts when they naturally spawn with items in that slot #24

Open
howisthisman opened this issue Apr 11, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@howisthisman
Copy link

howisthisman commented Apr 11, 2021

Mobs with predetermined weapon spawns (ie. skeletons with their bows) will not have that HandItem place overwritten with an item defined in the mob file. Mobs that do not have a predetermined weapon will properly obtain HandItems from Onslaught.

Corresponding Discord message: https://canary.discord.com/channels/620840315498004480/796434642038161428/826959324768894976

@SekretOne
Copy link
Contributor

NuclearFarts pointed out that the behavior actually could be related to: onInitialSpawn which is overriding the gear.

Since the intention is to craft specific encounters- I may do some quick logic that if given an NBT tag with either HandItems or ArmorItems to avoid calling onInitialSpawn.

@democat3457 democat3457 added the bug Something isn't working label Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants