PneumaticCraft: Repressurized

PneumaticCraft: Repressurized

43M Downloads

PCR Omnidirectional hopper with entity upgrade won't allow for villagers to breed with the food it pipes into them

Iris-xii opened this issue ยท 2 comments

commented

Minecraft Version

1.16.5

Forge Version

36.2.23

Mod Version

1.16.5-2.14.7-283

Describe your problem, including steps to reproduce it

Tested on an instance with just PCR, Patchouli and Forge, after encountering this issue on the E6 pack after trying to find a way to breed villagers with mob griefing turned off.
image

  1. Put down an omni-hopper piping carrots (with an entity upgrade) into a villager below.
  2. Do this for two villagers and let them roam around around their breeding area (which would work just fine using vanilla mechanics)
  3. Notice that they don't breed

However, piping into their armor slot (wtf??) and from above (both) does cause them to breed. Though it looks extremely janky
image

I am not sure what is going on here.

commented

I'm not sure either, but I'm going to put it down to vanilla villager weirdness.

The omnihopper just grabs the item handler capability for the entity on whatever side it's pointing at, and lets the entity itself decide what it wants to do with the items that get inserted. I verified with the debugger that villagers do indeed get food in their held item slot if inserted from above, and in their armor slot if inserted from the side (which is the Forge-defined behaviour for entity item handler capability handling).

What they do with the food at that point is down to vanilla logic, nothing I can do about that...

commented

Not sure there's anything I can really do here, gonna have to close this one...