#Left Click Detection

1 messages · Page 1 of 1 (latest)

spark stone
#

helpppp :>

#
[Actor][error]-Test Server #1 | actor_definitions | C:/Users/andre/AppData/Local/Packages/Microsoft.MinecraftUWP_8wekyb3d8bbwe/LocalState/games/com.mojang/development_behavior_packs/Horizon Kitpvp Test Server #1 Left Click | minecraft:player | minecraft:entity | components | minecraft:player's Component minecraft:animation_controller was not parsed.
#

controller_left_click.json:

#
{
    "format_version": "1.10.0",
    "animation_controllers": {
      "controller.animation.left_click": {
        "states": {
          "default": {
            "on_entry": [
              "/tag @s add LeftClick"
            ],
            "transitions": [
              {
                "left": "variable.attack_time > 0"
              }
            ]
          },
          "left": {
            "on_entry": [
              "/tag @s remove LeftClick"
            ],
            "transitions": [
              {
                "default": "variable.attack_time == 0"
              }
            ]
          }
        }
      }
    }
  }
#

player.json:

#
{
    "format_version": "1.10.0",
    "minecraft:entity": {
      "description": {
        "identifier": "minecraft:player",
        "is_experimental": false
      },
      "components": {
        "minecraft:animation_controller": {
          "controller.animation.left_click": true
        }
      }
    }
  }
scarlet raven
#

sorry, not script-api related

spark stone
#

oh

#

alr

#

molang?

#

idk where to go

#

i'll go to molang and pray

fierce sandal
#

|| It's so funny when people come up with properties/methods/components and then they don't work :) ||

fierce sandal
spark stone
#

e

#

i js opened a molang post too 😭

fierce sandal
spark stone
#

idk what is and isnt molang

fierce sandal
spark stone
#

ty

#

i'll close this