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

[1.12.2] When hoeing grass to get seeds, seeds get spawned inside the block #161

Closed
Insane96 opened this issue Dec 23, 2017 · 0 comments
Closed

Comments

@Insane96
Copy link

Insane96 commented Dec 23, 2017

The issue might be here

EntityItem ei = new EntityItem(world, pos.getX() + .5, pos.getY() + .5, pos.getZ() + .5, seed.copy());

As even if the seed dropped has some motion on the Y axis, it's spawned inside the block

To fix, the Y in new EntityItem() should be changed to pos.getY() + 1.0

@Insane96 Insane96 changed the title [1.12.2] When hoeing grass to get seeds, seeds get spawned inside the block and then pops out randomly [1.12.2] When hoeing grass to get seeds, seeds get spawned inside the block Dec 23, 2017
alexbegt pushed a commit that referenced this issue Jan 10, 2018
Fixed #161 When hoeing grass to get seeds, seeds get spawned inside the block
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

2 participants