
Predicate list does not work when more than one predicate
pietro-lopes opened this issue ยท 0 comments
When using @e
the first predicate is Entity::isAlive
and this test pass in all entities.
The subsequent test are virtually ignored
Minecraft condenses a List of predicate with Util.allOf
, that should be done here before starting the entities loop.
KubeJS/src/main/java/dev/latvian/mods/kubejs/player/EntityArrayList.java
Lines 124 to 140 in d7a4173