Dragon Mounts: Legacy

Dragon Mounts: Legacy

19M Downloads

Low-code addon: some attributes not working

unknown-zero-fan opened this issue · 0 comments

commented

Hello friend :)

I've used the low-code addon approach for 1.20.1, and while almost everything works- the attributes don't seem to work!

here's an example breed:

{
  "primary_color": "383636",
  "secondary_color": "6B1616",
  "hatch_particles": {
    "type": "minecraft:snowflake"
  },
  "attributes": {
    "minecraft:generic.max_health": 74.0,
    "minecraft:generic.flying_speed": 0.3920000076293945,
    "minecraft:generic.armor": 8.0,
    "minecraft:generic.fall_damage_multiplier‌": 0.0
  },
  "abilities": [
    {
      "type": "dragonmounts:frost_walker",
      "radius_multiplier": 3.0
    },
    {
      "type": "dragonmounts:snow_stepper"
    }
  ],
  "habitats": [],
  "immunities": [
    "minecraft:cactus",
    "minecraft:sweet_berry_bush",
    "minecraft:dragon_breath",
    "minecraft:freeze"
  ],
  "ambient_sound": "mczero_dml_addon:entity.dragon.ambient.example",
  "growth_time": 44,
  "hatch_chance": 1.0,
  "size_modifier": 1,
  "reproduction_limit": 0
}

I would expect that the health of the dragon would be 74 as a result of this, however, the health of the dragon is always 60

Update

I've done some more testing, it turns out some attributes work and others break all attributes if added
So far, these attributes work fine:

- minecraft:generic.armor
- minecraft:generic.max_health
- minecraft:generic.flying_speed

But all attributes stop working if any of the following is added:

- minecraft:generic.attack_knockback‌
- minecraft:generic.armor_toughness‌
- minecraft:generic.fall_damage_multiplier‌

Thank you ^^