-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
Added Spawn Egg Functionality #350
base: master
Are you sure you want to change the base?
Conversation
Any progress on this ? |
I was thinking that this should come in after an item manager. But maybe this could be merged in before that. However, I am finishing up the interactive blocks pr before this. |
For some reason the entity ids seem to be wrong at some type, For example spawning a Zombie will result in spawning a Zombie Horse (Which is the next Type), And Spawning a Zombie Horse will result in Spawning a Zombie Villager (Which is the next type) |
First 30 entities were correct. The |
Just made an entity extractor my own (wanted to do that for a long time already), It also has the max_health for living entities, (The health is always random so its the max_health and not a static number as of my understanding). See 29ed502 |
Fixed with new entities extractor support. All good to go. Idk why the cargo formatting check failed. |
Description
Adds initial mob support through spawn eggs. All spawn eggs work. No random characteristics are applied (ex. horse color or slime size). Serves as a basis for future work such as mob AI.
Testing
Tested both block placing and egg spawning
Tested spawning many different types of eggs
Future work on separate PRs:
Checklist
Things need to be done before this Pull Request can be merged.
cargo fmt
cargo clippy
cargo test
TODO: