Skip to content

[1.20.1 Forge] Achivement exposed_paparazzi uses an invalid value for DistancePredicate #232

@pinkygrocket

Description

@pinkygrocket

I am developing a datapack for a modpack using Exposure on 1.20.1 Forge. With it, I am attempting to require that players get within a minimum distance of mods to get a valid photo for the advancement. However, the game ignores the distance property for entity_in_frame, and always acts as if the player/mob is within correct range at all times.

Here is a gist file of what I'm trying to do.

While I found this via developing a datapacck, this can be demonstrated by testing the Exposed Paparazzi advancement. If all other conditions are met, the advancement will be granted, regardless of distance to the Villager- the advancement still fires even if you get up in the villager's face.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions