mojira.dev

Allan Chong

Assigned

No issues.

Reported

MC-296866 Predicates of particular namespaces failed to be accessed on /execute Fixed

Comments

Dear Timur,

Attached is the command template that I used for testing.

execute if predicate [tab-complete] run function [tab-complete]

Simply replace any [tab-complete] with tab-complete suggestions.

Here is an example:

execute if predicate ._:bar run function ._:bar

Or simply:

execute if predicate ._:bar

Both examples should lead to the same result.

Can confirm happy ghasts do not scale their flight speed with either minecraft:movement_speed or minecraft:flying_speed, both values defaulted to 0.05.

Additionally, ordinary ghasts suffer from this issue as well. There were no visible changes to their speed despite having their minecraft:movement_speed stat set to 3.0 or 0.0.

Can confirm shearing a lead off an unarmored tamed wolf gives the advancement “Shear Brilliance”.

With tamed wolf:

[media]

With wild wolf:

[media]

These observations are further confirmed by analysing the JSON definition of this advancement:

[media]
...
  "criteria": {
    "remove_wolf_armor": {
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "minecraft:wolf"
            }
          }
        ],
        "item": {
          "items": "minecraft:shears"
        }
      },
      "trigger": "minecraft:player_interacted_with_entity"
    }
  },
...

The code above suggests that any successful right-click interaction with a wolf (in this case, shearing anything off a wolf) fulfills the advancement’s criteria.

Can confirm ghastlings become immobile below y = -64. With video proof.

With ghastling:

[media]

With grown happy ghast:

[media]

[media][media][media][media][media][media][media][media][media][media][media][media]