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

Owls get hurt flying under trees #196

Open
SSyl opened this issue Jan 20, 2018 · 4 comments
Open

Owls get hurt flying under trees #196

SSyl opened this issue Jan 20, 2018 · 4 comments

Comments

@SSyl
Copy link

SSyl commented Jan 20, 2018

If an owl tries to fly up on top of a tree and gets caught underneath a block (like tree leaves), it continually takes damage and eventually dies.

@MeltPels
Copy link

MeltPels commented Mar 13, 2018

Can confirm. Its really sad, because I made a very nice home for them, but they just off themselves :(
Its not just trees. Its any ceiling.

@naqaden
Copy link

naqaden commented Mar 30, 2018

Same here. As a temporary workaround I added this to EntityOwl:

@Override
public boolean attackEntityFrom(DamageSource source, float amount)
{
  if(source == DamageSource.IN_WALL)
    return false;
    
  return super.attackEntityFrom(source, amount);
}

I tried filtering it to just Blocks.LEAVES but it didn't jive with the tree mod I use, or I did it wrong.

@demfels
Copy link

demfels commented Apr 12, 2018

I can also confirm this behavior happening. It would be nice if the mod author would update this workaround supplied by Naqaden. Seems like an Owl being immune to suffocate damage would not be an issue...

@Corosauce
Copy link

Tracked down the true cause, submitted a fix to the new repo for enderzoo: SleepyTrousers/EnderIO-1.5-1.12#5036

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

5 participants