PneumaticCraft: Repressurized

PneumaticCraft: Repressurized

43M Downloads

mob filter "(breedable)" not work

onenok opened this issue ยท 4 comments

commented

Describe the bug

mob filter "(breedable)" does not work
it cant get the mob "is breedable" value

How to reproduce the bug

use any pnc item that has a mob filter, and write "[any things](breedable=[any])"

Expected behavior

@animal is ok
2022-04-03_12 30 25
but @animal(breedable=no/yes) not work
2022-04-03_12 31 15
this cow can breed but not work
2022-04-03_12 31 29
this cant breed also not work
2022-04-03_12 31 45
(filter: @animal(breedable=no))
2022-04-03_12 56 38
its 50s left, but breedable filter cant see
2022-04-03_12 56 52

Additional details

Pneumatic Craft version:

pneumaticcraft-repressurized-1.16.5-2.15.1-297.jar

other:

this pnc mod is in a mod pack -- cave_factory v1.2.0
maybe mod conflict
IDK

Which Minecraft version are you using?

1.16

Crash log

[empty]
[mpty]
[mt]
[ ]

commented

There is probably no reasonable fix for this (it likely hasn't ever worked since PNC was ported to 1.12). The problem is that the breedability information simply isn't available on the client (all the client knows is if the entity is a baby or an adult). And the entity tracker runs purely clientside.

My guess is that it worked back in 1.7.10 because more information was synced to the client then. The only possibility would be some custom syncing of entity age, but I'm not keen on that (a lot of coding, and a lot of network chatter, for a feature that isn't massively useful).

commented

@desht but why the one probe can get breeding cooldown

commented

Because the One Probe runs server-side.