車アドオンのプログラムの問題点を教えてほしです。

マイクラの配布サイト フォーラム 技術相談(統合版) 車アドオンのプログラムの問題点を教えてほしです。

  • このトピックには0件の返信、1人の参加者があり、最後にArusuにより1ヶ月前に更新されました。
0件の返信スレッドを表示中
  • 投稿者
    投稿
    • #179270返信
      Arusu
      参加者

      下のプログラムの問題点を教えてほしいです↓。
      {
      “format version”: “1.21.14”,
      “Minecraft: entity”: {
      “description”: {
      “identifier”: “car:car_lb”,
      “is_spawnable”: true,
      “is_summonable”: true,
      “is_experimental”: false,
      “animations”: {
      “drive”: “animation.car.drive”
      },
      “scripts”: {
      “animate”: [
      “drive”
      ]
      }
      },
      “components”: {
      “minecraft:is_hidden_when_invisible”: true,
      “minecraft:type_family”: {
      “family”: [ “car” ]
      },
      “minecraft:collision_box”: {
      “width”: 2.0,
      “height”: 1.5
      },
      “minecraft:health”: {
      “value”: 20,
      “max”: 20
      },
      “minecraft:rideable”: {
      “seat_count”: 1,
      “seats”: [
      {
      “position”: [ -0.5, 0.5, 0.5 ],
      “min_rider_count”: 0,
      “max_rider_count”: 1,
      “lock_rider_rotation”: false
      }
      ]
      },
      “minecraft:leashable”: {},
      “minecraft:nameable”: {},
      “minecraft:movement.amphibious”: {
      “max_speed”: 0.4
      },
      “minecraft:input_ground_controlled”: {},
      “minecraft:behavior.float”: {
      “priority”: 0
      },
      “minecraft:behavior.random_look_around”: {
      “priority”: 4
      },
      “minecraft:timer”: {
      “looping”: true,
      “time”: 0.05,
      “time_down_event”: {
      “event”: “car:drive_logic”
      }
      },
      “minecraft:navigation.walk”: {
      “can_path_over_water”: true,
      “can_walk”: true,
      “is_amphibious”: true,
      “is_pathfinding_enabled”: true,
      “can_ride”: true,
      “max_step”: 1.0
      }
      },
      “events”: {
      “car:drive_logic”: {
      “run_command”: { //
      “commands”: [
      “execute as @s at @s if entity @s[has_rider=true] run tp @s ~ ~ ~ facing entity @s[family=player, r=10]”,
      “execute as @s at @s if entity @s[has_rider=true] run tp @s ^ ^ ^0.15”
      ]
      }
      }
      }
      }
      }

0件の返信スレッドを表示中
返信先: 車アドオンのプログラムの問題点を教えてほしです。
あなたの情報: