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

Replace Item unnecessary command linting suggestion does not cover all use cases #30

Open
ThomasOrs opened this issue Jun 6, 2024 · 0 comments

Comments

@ThomasOrs
Copy link
Contributor

The avoid unnecessary command linting suggestion for /replaceitem does not take into account use cases which are not achievable in script apis such a setting equipment on non player entities.

/replaceitem allows creators to set equipment slots on any entity, ie /execute as @e[type=minecraft:zombie] run replaceitem entity @s slot.weapon.mainhand 0 iron_axe meanwhile non-player entities do not have the equipable component accessible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant