Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-7344

LivingEntity#getCollidableExemptions() not considered

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • Linux 6.2.11-arch1-1
      OpenJDK 64-Bit Server VM Corretto-20.0.0.36.1

    • 3737-Spigot-d1bd3bd-f92a41c
    • Yes

      At first I must say that since LivingEntity#setCollidable(boolean) is no longer in use SPIGOT-6399, it should be noted in documentation and marked as @Deprecated

      It seems to me that the getCollidableExemptions() Set is also not taken into account anywhere else, because the code using it just doesn't work. If it's been dropped out, I believe it should also be noted in javadocs and also marked as @Deprecated.

      Code that was used to test whether methods work: gist

      It was said in comments to #6399 that one «..need to utilize scoreboard teams API instead.», but as far as I'm concerned, it would not allow disabling collisions for two players on one entity, while preserving inter-players collisions. If I am wrong, could you please explain how we could do so?

            Unassigned Unassigned
            _voidpointer Vasiliy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: