{"id":451,"date":"2022-01-24T22:16:58","date_gmt":"2022-01-24T14:16:58","guid":{"rendered":"https:\/\/blog.dreamyxiam.xyz\/?p=451"},"modified":"2022-02-04T17:18:51","modified_gmt":"2022-02-04T09:18:51","slug":"sct-trmenu-%e6%8f%92%e4%bb%b6%e6%96%87%e6%a1%a3%e5%b8%ae%e5%8a%a9","status":"publish","type":"post","link":"https:\/\/blog.dreamyxiam.cloud\/?p=451","title":{"rendered":"[SCT] TrMenu \u63d2\u4ef6\u6587\u6863\u5e2e\u52a9"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\"><strong>\u521b\u5efa<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ji-chu\">\u57fa\u7840<\/h2>\n\n\n\n<p>TrMenu \u7684\u83dc\u5355\u662f\u4ee5 <strong>YAML<\/strong> (.yml) \u6587\u4ef6\u683c\u5f0f\u914d\u7f6e\u3001\u8bfb\u53d6\u52a0\u8f7d\u7684\u56e0\u6b64\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u83dc\u5355\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7\u65b0\u5efa\u4e00\u4e2a YAML \u6587\u4ef6\u5f00\u59cb<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"lu-jing\">\u8def\u5f84<\/h2>\n\n\n\n<p>\u83dc\u5355\u6587\u4ef6\u53ef\u4ee5\u653e\u5728\u9ed8\u8ba4\u83dc\u5355\u76ee\u5f55 \uff08menus\uff09\u4e2d\u6216\u81ea\u5b9a\u4e49\u8def\u5f84\uff08\u9700\u8981\u81ea\u884c\u914d\u7f6e\uff09\u83dc\u5355\u6587\u4ef6\u540d\uff08\u4e0d\u5305\u62ec\u62d3\u5c55\u540d\u540e\u7f00\uff09\u5373\u662f\u83dc\u5355\u7684\u552f\u4e00 ID\uff0c\u91cd\u590d ID \u7684\u83dc\u5355\u4ecd\u7136\u4f1a\u88ab\u52a0\u8f7d\uff0c\u4f46\u4f1a\u5f71\u54cd\u5f00\u542f\u547d\u4ee4\u7684\u6b63\u5e38\u5de5\u4f5c<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"pei-zhi\">\u914d\u7f6e<\/h2>\n\n\n\n<p>\u83dc\u5355\u7684\u914d\u7f6e\u9879\u5c06\u5728\u63a5\u4e0b\u6765\u7684\u7ae0\u8282\u8be6\u7ec6\u89e3\u6790\u8bf7\u5148\u6d4f\u89c8\u4e0b\u65b9\u6240\u63d0\u4f9b\u7684\u793a\u4f8b\u6a21\u5f0f\uff0c\u5feb\u901f\u4e86\u89e3\u83dc\u5355\u57fa\u672c\u7ed3\u6784<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># \u5bb9\u5668\u663e\u793a\u7684\u6807\u9898\nTitle: 'TrMenu'\n\n# \u5bb9\u5668\u6807\u9898\u5237\u65b0\u7684\u65f6\u95f4\nTitle-Update: 40\n\n# \u83dc\u5355\u5e03\u5c40\nLayout: &#91;]\n\n# \u83dc\u5355\u5e03\u5c40 - \u73a9\u5bb6\u5bb9\u5668\nPlayerInventory: &#91;]\n\n# \u83dc\u5355\u9009\u9879\nOptions:\n  # \u662f\u5426\u542f\u7528\u53c2\u6570\n  Arguments: false\n  # \u9ed8\u8ba4\u53c2\u6570\u586b\u5145\n  Default-Arguments: &#91; ]\n  # \u975e\u4e0a\u9501\u69fd\u4f4d\n  Free-Slots:\n    - 71\n    - 72\n  # \u9ed8\u8ba4\u9875\u7801\n  Default-Layout: 0\n  # \u662f\u5426\u9690\u85cf\u73a9\u5bb6\u5bb9\u5668\u7269\u54c1\n  Hide-Player-Inventory: false\n  # \u6700\u5c0f\u70b9\u51fb\u5ef6\u65f6\n  Min-Click-Delay: 200\n  # \u5f3a\u5236\u4f9d\u8d56\u7684 PlaceholderAPI \u62d3\u5c55\n  Depend-Expansions: &#91; 'server', 'player', 'progress', 'animations' ]\n\n# \u83dc\u5355\u7ed1\u5b9a\nBindings:\n  # \u547d\u4ee4\n  Commands:\n    - '(?i)example(-)?(gui)?(s)?'\n  # \u7269\u54c1\u7279\u5f81\n  Items:\n    - 'material:compass'\n    - 'material:clock,lore:OPEN_MENU'\n    - 'texture:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDRmNDUyZDk5OGVhYmFjNDY0MmM2YjBmZTVhOGY0ZTJlNjczZWRjYWUyYTZkZmQ5ZTZhMmU4NmU3ODZlZGFjMCJ9fX0='\n\n# \u83dc\u5355\u4e8b\u4ef6\u53cd\u5e94\nEvents:\n  # \u5f00\u542f\u4e8b\u4ef6\n  Open:\n    - condition: 'perm *trmenu.use'\n      actions:\n        - 'sound: BLOCK_CHEST_OPEN-1-0'\n      deny:\n        - 'sound: ENTITY_ITEM_BREAK-1-0'\n        - 'title: `&amp;c&amp;lPermission Required` `&amp;7&amp;lYou need permission &amp;6&amp;ltrmenu.use &amp;7&amp;lto open this menu` 15 20 15'\n        - 'return'\n  # \u5173\u95ed\u4e8b\u4ef6\n  Close:\n    - 'sound: BLOCK_CHEST_CLOSE-1-0'\n\n# \u83dc\u5355\u7684\u56fe\u6807\u4e3b\u4f53\nIcons:\n  # \u56fe\u6807 Id\n  'Close':\n    # \u663e\u793a\u5c5e\u6027\u66f4\u65b0\u9891\u7387\n    update: &#91;]\n    # \u5b50\u56fe\u6807\u91cd\u65b0\u8ba1\u7b97\u9891\u7387\n    refresh: -1\n    # \u663e\u793a\u90e8\u5206\n    display: &#91;]\n    # \u52a8\u4f5c\u90e8\u5206\n    actions: &#91;]\n\n# \u5b9a\u65f6\u4efb\u52a1\nTasks:\n  # \u4efb\u52a1 ID\n  tikTok:\n    # \u4efb\u52a1\u5468\u671f (in ticks)\n    period: 80\n    # \u4efb\u52a1\u53cd\u5e94 (reactions)\n    task:\n      - condition: '$ sender.isOp()'\n        actions:\n          - 'sound: BLOCK_NOTE_BLOCK_BIT-1-2'\n\n# \u5185\u7f6e\u81ea\u5b9a\u4e49 JavaScript \u51fd\u6570\nFunctions:\n  id: 'content'\n<\/code><\/pre>\n\n\n\n<h2 class=\"has-large-font-size wp-block-heading\" id=\"jie-gou\">\u7ed3\u6784<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6807\u9898<ul><li>\u5355\u4e2a\u6216\u591a\u4e2a\u6807\u9898<\/li><li>\u6807\u9898\u66f4\u65b0\u5468\u671f<\/li><\/ul><\/li><li>\u5e03\u5c40<ul><li>\u83dc\u5355\u5e03\u5c40<\/li><li>\u73a9\u5bb6\u5bb9\u5668\u5e03\u5c40<\/li><\/ul><\/li><li>\u9009\u9879<ul><li>\u9ed8\u8ba4\u8865\u5168\u53c2\u6570<\/li><li>\u9ed8\u8ba4\u5e03\u5c40\u9875\u7801<\/li><li>\u662f\u5426\u9690\u85cf\u73a9\u5bb6\u5bb9\u5668\u7269\u54c1<\/li><li>\u81ea\u7531\u69fd\u4f4d<\/li><li>\u9632\u9891\u7e41\u70b9\u51fb\u95f4\u9694<\/li><li>\u9700\u8981\u4f9d\u8d56\u7684 PlaceholderAPI \u62d3\u5c55<\/li><\/ul><\/li><li>\u7ed1\u5b9a<ul><li>\u7ed1\u5b9a\u6b63\u5219\u547d\u4ee4<\/li><li>\u7ed1\u5b9a\u7269\u54c1\u7279\u5f81<\/li><\/ul><\/li><li>\u4e8b\u4ef6<ul><li>\u5f00\u542f\u83dc\u5355\u6267\u884c\u52a8\u4f5c<\/li><li>\u5173\u95ed\u83dc\u5355\u6267\u884c\u52a8\u4f5c<\/li><\/ul><\/li><li>\u56fe\u6807<\/li><li>\u5185\u7f6e\u811a\u672c<\/li><li>\u5468\u671f\u4efb\u52a1<\/li><\/ul>\n\n\n\n<h1 class=\"wp-block-heading\">\u914d\u7f6e<\/h1>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u6807\u9898<\/strong><\/h3>\n\n\n\n<p class=\"has-medium-font-size\">\u793a\u4f8b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#\n# \u83dc\u5355\u7684\u6807\u9898, \u652f\u6301\u52a8\u6001\u6807\u9898\u5468\u671f\u5207\u6362\n# \u6807\u9898\u652f\u6301\u914d\u7f6e\u989c\u8272 &amp; \u51fd\u6570\u53d8\u91cf\n#\nTitle:\n  - 'Hello, TrMenu!'\n  - 'Hello, \n  - 'Support Animated Titles'\n\n#\n# \u82e5\u6709\u591a\u4e2a\u6807\u9898, \u52a8\u6001\u5207\u6362\u7684\u5468\u671f (ticks)\n#\nTitle-Update: 40<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>#\n# \u9759\u6001\u6807\u9898\n#\nTitle: 'TrMenu Menu'\n\n#\n# \u6b64\u9879\u53ef\u4ee5\u4e0d\u7528\u5199\uff0c\u9ed8\u8ba4\u503c\u5373\u662f -1\n#\n# Title-Update: -1<\/code><\/pre>\n\n\n\n<h3 class=\"has-large-font-size wp-block-heading\" id=\"zhu-yi\">\u6ce8\u610f<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5bb9\u5668\u6807\u9898\u672c\u8eab\u662f\u4e0d\u652f\u6301\u4fee\u6539\u7684\uff0c\u52a8\u6001\u6807\u9898\u5b9e\u73b0\u7684\u539f\u7406\u662f\u901a\u8fc7\u53d1\u9001 <code>PacketWindowOpen<\/code> \u5305\u518d\u6253\u5f00\u4e00\u4e2a\u65b0\u7684\u5bb9\u5668\uff0c\u5e76\u91cd\u65b0\u53d1\u9001\u5bb9\u5668\u5185\u6240\u6709\u7269\u54c1\u7684\u6570\u636e\u5305<\/li><li>\u52a8\u6001\u6807\u9898\u7684\u5468\u671f\u6027\u66f4\u65b0\u662f\u5168\u5c40\u83dc\u5355\u9002\u7528\uff0c\u4e0d\u652f\u6301\u5206\u9875\u72ec\u7acb\u914d\u7f6e<\/li><li>\u82e5\u9700\u4e0d\u540c\u9875\u9762\u4e0d\u540c\u6807\u9898\uff0c\u6709\u4e24\u79cd\u5b9e\u73b0\u65b9\u5f0f<ul><li>\u52a8\u6001\u6807\u9898\u914d\u7f6e\u51fd\u6570\u53d8\u91cf\uff0c\u5bf9\u9875\u7801\u8fdb\u884c\u5224\u65ad<\/li><li>\u914d\u7f6e\u9759\u6001\u6807\u9898\uff0c\u5207\u9875\u540e\u8c03\u7528\u52a8\u4f5c\u4e8c\u6b21\u4fee\u6539\u6807\u9898<\/li><\/ul><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u5e03\u5c40<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u793a\u4f8b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>#\n# \u83dc\u5355\u7684\u5e03\u5c40\u529f\u80fd\n# \u4f60\u53ef\u4ee5\u7528 ` ` \u6765\u6807\u8bb0\u8bbe\u7f6e\u591a\u4e2a\u5b57\u7b26\u540d\u79f0\u56fe\u6807\u7684\u4f4d\u7f6e\n#\nLayout:\n  - '########`Close`'\n  - '         '\n  - '         '\n  - '         '\n  - '########`Next`'\n\n#\n# \u73a9\u5bb6\u5bb9\u5668\u83dc\u5355\u7684\u5e03\u5c40\n#\nPlayerInventory:\n  - '         '\n  - '         '\n  - '         '\n  - '         '<\/code><\/pre>\n\n\n\n<p>\u6bcf\u4e2a\u5b57\u7b26\u4ee3\u8868\u4e00\u4e2a\u56fe\u6807\u5728\u83dc\u5355\u4e2d\u7684\u4f4d\u7f6e\uff0c\u4f60\u4e5f\u53ef\u4ee5\u7528 ` \u5c06\u5b57\u7b26\u4e32\u5305\u88f9\u8d77\u6765\uff0c\u4ece\u800c\u4e0d\u53d7\u9650\u4e8e\u5355\u4e2a\u5b57\u7b26\u5b57\u7b26\u5373\u662f\u56fe\u6807\u7684\u552f\u4e00 ID\uff0c\u901a\u8fc7\u5e03\u5c40\u5b9e\u73b0\u53ef\u89c6\u5316\u7f16\u8f91\u4ece\u800c\u4e0d\u518d\u9700\u8981\u4e3a\u56fe\u6807\u5355\u72ec\u8bbe\u7f6e\u69fd\u4f4d\u5e03\u5c40\u7684\u884c\u6570\u5c06\u540c\u65f6\u5b9a\u4e49\u7bb1\u5b50\u5bb9\u5668\u7684\u5927\u5c0f\u73a9\u5bb6\u5bb9\u5668\u83dc\u5355\u5e03\u5c40\u4ec5\u9650 4*9 \u5927\u5c0f<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u591a\u9875<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>Layout:\n  - - '########`Close`'\n    - '         '\n    - '         '\n    - '         '\n    - '########`Next`'\n\n  - - '########`Close`'\n    - '         '\n    - ' *       '\n    - '         '\n    - '`Pre`########'<\/code><\/pre>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>\u5e03\u5c40\u529f\u80fd\u53ef\u4ee5\u652f\u6301\u591a\u4e2a\u5e03\u5c40\uff0c\u4ece\u800c\u5728\u540c\u4e00\u4e2a\u83dc\u5355\u4e2d\u5feb\u901f\u5b9e\u73b0\u591a\u9875\u529f\u80fd<\/p><p>PlayerInventory \u540c\u7406\u5bf9\u5e94<\/p>  <\/blockquote>\n\n\n\n<h3 class=\"has-medium-font-size wp-block-heading\" id=\"zhu-yi\"><strong>\u6ce8\u610f<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u82e5\u65e0 <strong>\u73a9\u5bb6\u5bb9\u5668\u83dc\u5355\u5e03\u5c40<\/strong> \u4e0e <strong>\u83dc\u5355\u5e03\u5c40<\/strong> \u5bf9\u5e94\uff0c\u5219\u5728\u8be5\u83dc\u5355\u9875\u73a9\u5bb6\u5bb9\u5668\u4e3a\u7a7a<\/li><li>\u6807\u8bc6\u56fe\u6807\u7684\u5b57\u7b26\u652f\u6301\u6c49\u5b57<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u9009\u9879<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u793a\u4f8b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>#\n# \u83dc\u5355\u7684\u9009\u9879\u8bbe\u7f6e\n#\nOptions:\n  # \u662f\u5426\u542f\u7528\u83dc\u5355\u4f20\u53c2\u529f\u80fd \uff08\u9ed8\u8ba4\u5f00\u542f\uff09\n  Arguments: true\n  # \u9ed8\u8ba4\u586b\u5145\u53c2\u6570\n  Default-Arguments: &#91;]\n  # \u9ed8\u8ba4\u5e03\u5c40\u9875\u7801\n  Default-Layout: 0\n  # \u81ea\u7531\u69fd\u4f4d\n  Free-Slots:\n    - '71-73'\n  # \u662f\u5426\u9690\u85cf\u73a9\u5bb6\u5bb9\u5668\n  Hide-Player-Inventory: true\n  # \u9632\u9891\u7e41\u70b9\u51fb\u7684\u95f4\u9694\n  Min-Click-Delay: 200\n  # \u5f3a\u5236\u9700\u8981\u4f9d\u8d56\u7684 PlaceholderAPI \u62d3\u5c55\u53d8\u91cf\n  Depend-Expansions: &#91;'server', 'player', 'progress']<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u6ce8\u610f<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u82e5\u8bbe\u7f6e <strong>\u9ed8\u8ba4\u586b\u5145\u53c2\u6570<\/strong> \uff0c\u5219\u5c06\u81ea\u52a8\u8865\u5168\u73a9\u5bb6\u672a\u63d0\u4f9b\u7684\u53c2\u6570\uff0c\u4f8b\u5982<ul><li>Default-Arguments: [&#8220;TabooLib&#8221;, &#8220;Virus&#8221;]<\/li><li>\u73a9\u5bb6\u63d0\u4f9b\u7684\u53c2\u6570\u4e3a [&#8220;TabooLib&#8221;], \u5219\u7b2c\u4e8c\u4e2a\u53c2\u6570\u5c06\u81ea\u52a8\u8865\u5168\u4e3a Virus<\/li><\/ul><\/li><li><strong>\u9ed8\u8ba4\u83dc\u5355\u5e03\u5c40\u9875\u7801<\/strong> \u5373\u5728\u672a\u6307\u5b9a\u9875\u7801\u7684\u60c5\u51b5\u4e0b\u9ed8\u8ba4\u6253\u5f00\u83dc\u5355\u540e\u521d\u6b21\u663e\u793a\u7684\u9875\u7801<\/li><li><strong>\u4f9d\u8d56PAPI\u62d3\u5c55 <\/strong>\u83dc\u5355\u5f00\u542f\u65f6\u5c06\u68c0\u6d4b\u662f\u5426\u5b89\u88c5\u5b8c\u6574\uff0c\u5426\u5219\u62d2\u7edd\u5f00\u542f\u5e76\u81ea\u52a8\u8bf7\u6c42\u4e0b\u8f7d<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u7ed1\u5b9a<\/strong><\/h2>\n\n\n\n<h3 class=\"has-medium-font-size wp-block-heading\" id=\"shi-li\">\u793a\u4f8b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>#\n# \u83dc\u5355\u7ed1\u5b9a\u7684\u5feb\u6377\u6253\u5f00\u65b9\u5f0f\n#\nBindings:\n  # \u7ed1\u5b9a\u547d\u4ee4, \u652f\u6301\u6b63\u5219\n  Commands:\n    - 'tester'\n  # \u7ed1\u5b9a\u5230\u7269\u54c1\u7279\u5f81\n  Items:\n    - 'material:compass'<\/code><\/pre>\n\n\n\n<h3 class=\"has-medium-font-size wp-block-heading\" id=\"zhu-yi\">\u6ce8\u610f<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u7ed1\u5b9a\u547d\u4ee4\u652f\u6301<strong>\u6b63\u5219\u5339\u914d<\/strong>\uff0c\u4f8b\u5982 \u6dfb\u52a0 (?i) \u524d\u7f00\u53ef\u4ee5\u5ffd\u7565\u5927\u5c0f\u5199<\/li><li>\u7ed1\u5b9a\u547d\u4ee4\u652f\u6301<strong>\u7a7a\u683c &amp; \u5176\u5b83\u53c2\u6570<\/strong>\uff0c\u63d2\u4ef6\u5c06\u81ea\u52a8\u5339\u914d\u5e76\u8bfb\u53d6\u73a9\u5bb6\u63d0\u4f9b\u7684\u771f\u5b9e\u53c2\u6570<\/li><li>\u4e86\u89e3\u7ed1\u5b9a <strong>\u7269\u54c1\u7279\u5f81<\/strong> \u7684\u8be6\u7ec6\u5199\u6cd5\uff0c\u8bf7\u67e5\u770b\u4e0b\u9762\u7ae0\u8282<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e8b\u4ef6<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u793a\u4f8b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>#\n# \u83dc\u5355\u7684\u4e8b\u4ef6\u5904\u7406\n#\nEvents:\n  # \u5f00\u542f\u83dc\u5355\n  Open:\n    - condition: 'perm *trmenu.use'\n      actions:\n        - 'sound: BLOCK_CHEST_OPEN-1-0'\n      deny:\n        - 'sound: ENTITY_ITEM_BREAK-1-0'\n        - 'title: `&amp;c&amp;lPermission Required` `&amp;7&amp;lYou need permission &amp;6&amp;ltrmenu.use &amp;7&amp;lto open this menu` 15 20 15'\n        - 'return'\n  # \u5173\u95ed\u83dc\u5355\n  Close:\n    - 'sound: BLOCK_CHEST_CLOSE-1-0'\n<\/code><\/pre>\n\n\n\n<h3 class=\"has-medium-font-size wp-block-heading\" id=\"zhu-yi\">\u6ce8\u610f<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u4e8b\u4ef6\u914d\u7f6e\u7684\u5bf9\u8c61\u5747\u662f\u53cd\u5e94\uff08\u52a8\u4f5c\u7ec4\uff09<\/li><li>\u82e5\u6267\u884c RETURN \u52a8\u4f5c\uff0c\u5219\u4e8b\u4ef6\u5c06\u53d6\u6d88<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u5185\u7f6e\u51fd\u6570<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-argon-alert alert\" style=\"background-color:#7889e8\"><span class=\"alert-inner--icon\"><i class=\"fa fa-info-circle\"><\/i><\/span><span class=\"alert-inner--text\"> \u4f7f\u7528\u672c\u529f\u80fd\uff0c\u9700\u8981\u6709\u4e00\u4e9b JavaScript \u8bed\u6cd5\u57fa\u7840 <\/span><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u793a\u4f8b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>Functions:\n  flash: |-\n    function flash() {\n      var display = new Date().getSeconds() \n      return display ? args&#91;0] : \"  \"\n    }\n    flash()<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5728\u8be5\u4f8b\u4e2d\uff0c\u6211\u4eec\u5728 Functions \u4e0b\u5b9a\u4e49\u4e86\u4e00\u4e2a <code>flash<\/code> \u51fd\u6570\uff0c\u672c\u51fd\u6570\u6839\u636e\u5224\u65ad\u5f53\u524d\u7cfb\u7edf\u7684\u65f6\u95f4\uff08\u79d2\uff09\u662f\u5426\u4e3a\u5076\u6570\uff0c\u51b3\u5b9a\u662f\u8fd4\u56de\u4f20\u5165\u53c2\u6570\u8fd8\u662f\u4e00\u4e2a\u7a7a\u683c<\/li><li>\u8be5\u51fd\u6570\u53ef\u4ee5\u5b9e\u73b0\u95ea\u70c1\u7684\u52a8\u753b\u6548\u679c\uff0c\u4e14\u652f\u6301\u81ea\u5b9a\u4e49\u53c2\u6570\u53c2\u6570\u4f5c\u4e3a\u95ea\u70c1\u7b26\u53f7<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"zhu-yi\">\u6ce8\u610f<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u8c03\u7528\u683c\u5f0f\u4e3a <code>${[funcName]_[Arg1]_[Arg2]}<\/code> \u4f8b\u5982 ${flash_&gt;}<\/li><li>\u9ed8\u8ba4\u51fd\u6570\u4e0a\u65b9\u5c06\u81ea\u52a8\u6dfb\u52a0\u884c <code>var args = new Array()<\/code> \u5e76\u5199\u5165\u53c2\u6570\uff0c\u56e0\u6b64\u5728\u5185\u7f6e\u51fd\u6570\u4e2d\u4f20\u5165\u7684\u53c2\u6570\u53ef\u4ee5\u76f4\u63a5\u901a\u8fc7 args \u6570\u7ec4\u7684\u5f62\u5f0f\u4f7f\u7528<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u62d3\u5c55\u4f8b\u5b50<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>bStats:\n  servers: 'vars(\"${bStats.query_servers_&amp;a_&amp;7 servers}\")'\n  players: 'vars(\"${bStats.query_players_&amp;6_&amp;7 players}\")'\n  menus: 'vars(\"${bStats.query_menus_&amp;2_&amp;7 menus}\")'\n  opens: |-\n    function opens() {\n      var data = utils.query(\"https:\/\/bstats.org\/api\/v1\/plugins\/5742\/charts\/menu_open_counts\/data?maxElements=1\")\n      if (data.has()){\n        return \"&amp;b\" + data.asJson().getAsJsonArray().get(0).getAsJsonArray().get(1) + \"&amp;7\"\n      }\n      return \"&amp;8Loading.\" + vars(\"${flash_.}\") + \"&amp;7\"\n    }\n    opens()\n  query: |-\n    function query() {\n      var data = utils.query(\"https:\/\/bstats.org\/api\/v1\/plugins\/5742\/charts\/\" + args&#91;0] + \"\/data?maxElements=1\")\n      if (data.has()){\n        return args&#91;1] + data.asJson().getAsJsonArray().get(0).getAsJsonArray().get(1) + args&#91;2]\n      }\n      return \"&amp;8Loading.\" + vars(\"${flash_.}\")\n    }\n    query()<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u5468\u671f\u4efb\u52a1<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u793a\u4f8b<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>#\n# \u83dc\u5355\u81ea\u5b9a\u4e49\u5468\u671f\u6027\u4efb\u52a1\n#\nTasks:\n  # \u4efb\u52a1 Id\n  tikTok:\n    # \u5468\u671f ( Ticks )\n    period: 20\n    # \u53cd\u5e94\n    task:\n      - condition: '$ sender.isOp()'\n        actions:\n          - 'sound: BLOCK_NOTE_BLOCK_BIT-1-2'<\/code><\/pre>\n\n\n\n<h3 class=\"has-medium-font-size wp-block-heading\" id=\"zhu-yi\"><strong>\u6ce8\u610f<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6bcf\u4e2a\u5468\u671f\u4efb\u52a1\u7531 <strong>\u4efb\u52a1 ID\u3001\u5468\u671f\u3001\u53cd\u5e94<\/strong> \u4e09\u90e8\u5206\u7ec4\u6210<\/li><li>\u5207\u6362\u9875\u7801\u4e0d\u4f1a\u7ec8\u6b62\u5468\u671f\u4efb\u52a1<\/li><\/ul>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u56fe\u6807<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u7ed3\u6784<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"tu-biao-id\">\u56fe\u6807 ID<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u66f4\u65b0 \u5468\u671f<\/li><li>\u91cd\u65b0\u7b5b\u9009\u8ba1\u7b97\u5b50\u56fe\u6807 \u5468\u671f<\/li><li>\u662f\u5426\u7ee7\u627f *<\/li><li>\u6761\u4ef6 *<\/li><li>\u4f18\u5148\u7ea7 *<\/li><li>\u69fd\u4f4d<\/li><li><strong>\u663e\u793a\u90e8\u5206<\/strong><ul><li>\u6750\u8d28<\/li><li>\u5c5e\u6027<ul><li>NBT<\/li><li>\u6807\u7b7e<\/li><li>\u53d1\u5149<\/li><li>\u6570\u91cf<\/li><\/ul><\/li><li>\u540d\u79f0<\/li><li>\u63cf\u8ff0<\/li><\/ul><\/li><li><strong>\u4ea4\u4e92\u5904\u7406<\/strong><ul><li>&lt;\u7c7b\u578b&gt;\uff1a\u53cd\u5e94<\/li><\/ul><\/li><\/ul>\n\n\n\n<p>* \u8868\u793a\u8be5\u5c5e\u6027\u4e3a\u5b50\u56fe\u6807\u8bbe\u8ba1\u66f4\u65b0\/\u5237\u65b0 \u5468\u671f \u548c \u69fd\u4f4d\u662f\u56fe\u6807\u5168\u5c40\u5c5e\u6027\uff0c\u4e0d\u652f\u6301\u5b50\u56fe\u6807\u53e6\u884c\u8bbe\u7f6e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u8bbe\u7f6e<\/strong><\/h2>\n\n\n\n<h3 class=\"has-medium-font-size wp-block-heading\" id=\"geng-xin-zhou-qi\">\u66f4\u65b0\u5468\u671f<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u66f4\u65b0\u5468\u671f\u5305\u62ec 4 \u4e2a\uff08\u6750\u8d28\uff0c\u540d\u79f0\uff0cLore\uff0c\u69fd\u4f4d\uff09<\/li><li>\u4f60\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u6570\u7ec4\u7684\u5f62\u5f0f\u72ec\u7acb\u8bbe\u7f6e\u5b83\u4eec<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code># \u8bbe\u7f6e\u4e00\u4e2a\u503c\uff0c\u540c\u65f6\u5e94\u7528\u5230 \u6750\u8d28\uff0c\u540d\u79f0\uff0cLore\uff0c\u69fd\u4f4d \u4e2d\nupdate: 20<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code># \u4e0d\u5b8c\u5168\u8bbe\u7f6e\n# \u5206\u522b\u8bbe\u7f6e\u6750\u8d28\uff0c\u540d\u79f0\uff0cLore\u7684\u66f4\u65b0\u5468\u671f\u4e3a 20, -1, 15\n# \u69fd\u4f4d\u7684\u66f4\u65b0\u5468\u671f\u5c06\u9009\u53d6\u5176\u4e2d\u6700\u9ad8\u7684\u4e00\u4e2a\uff0c\u5373 20\nupdate: &#91;20, -1, 15]<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code># \u5b8c\u5168\u914d\u7f6e, \u5373\u6309\u987a\u5e8f\u5206\u522b\u5bf9\u5e94\nupdate: &#91;-1, 5, 25, 30]<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>\u4e0d\u914d\u7f6e\u66f4\u65b0\u5468\u671f\u9879\uff0c\u56fe\u6807\u5c06\u9ed8\u8ba4\u4e0d\u66f4\u65b0<\/li><li>\u66f4\u65b0\u5468\u671f\u5e94\u4e0e\u9ed8\u8ba4\u56fe\u6807\u540c\u7ea7\u8282\u70b9\uff0c\u5b50\u56fe\u6807\u4e0d\u652f\u6301\u81ea\u5b9a\u4e49\u66f4\u65b0\u5468\u671f<\/li><li>\u63d2\u4ef6\u4f1a\u6839\u636e\u5c5e\u6027\u662f\u5426\u9700\u8981\u66f4\u65b0\uff08\u5305\u542b\u52a8\u753b\u3001\u53d8\u91cf\uff09\u81ea\u52a8\u5206\u914d\u5468\u671f\uff0c\u56e0\u6b64\u4e0d\u5fc5\u5728\u8fd9\u9ebb\u70e6\u914d\u7f6e<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u5237\u65b0\u5468\u671f<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6309\u4f18\u5148\u7ea7\u3001\u6761\u4ef6\u91cd\u65b0\u8ba1\u7b97\u5b50\u56fe\u6807<\/li><li>\u53ea\u6709\u5b58\u5728\u5b50\u56fe\u6807\u65f6\uff0c\u6b64\u9879\u624d\u6709\u6548<\/li><li>\u4f7f\u7528\u52a8\u4f5c Refresh\uff0c\u53ef\u4ee5\u4e3b\u52a8\u5237\u65b0\u56fe\u6807\uff0c\u8fbe\u5230\u540c\u6837\u6548\u679c<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>refresh: 20<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u56fe\u6807\u69fd\u4f4d<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u9488\u5bf9\u9759\u6001\u69fd\u4f4d\u7684\u56fe\u6807\uff0c\u63a8\u8350\u901a\u8fc7 <strong>\u5e03\u5c40<\/strong> \u529f\u80fd\u6765\u5b9a\u4e49\u56fe\u6807\u69fd\u4f4d<\/li><li>\u624b\u52a8\u914d\u7f6e\u69fd\u4f4d\u5c06\u8986\u5199\u5e03\u5c40\u7684\u914d\u7f6e<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>slots: 6<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>slots:\n - 1\n - 2\n - 3\n # 4-6 = &#91;4, 5, 6]\n - '4-6'\n - '${js: varInt(\"\n - 7<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code># \u52a8\u6001\u69fd\u4f4d\uff0cList&lt;List&lt;Int&gt;&gt; \u5d4c\u5957\u6a21\u5f0f\nslots:\n- - 0\n  - 1\n- - 1\n  - 2\n- - 2\n  - 3<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>* \u7ee7\u627f<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>inherit: true<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>\u65e0\u8bba\u914d\u7f6e\u4e0e\u5426\uff0c\u9ed8\u8ba4\u5b50\u56fe\u6807\u90fd\u5c06\u7ee7\u627f\u4e3b\u56fe\u6807\u7684<strong>\u6750\u8d28<\/strong><\/li><li>\u5f00\u542f\u5b50\u56fe\u6807\u7ee7\u627f\uff0c\u5c06\u989d\u5916\u7ee7\u627f\u4e3b\u56fe\u6807\u7684<strong>\u540d\u79f0\uff0cLore<\/strong><\/li><li>\u201c\u7ee7\u627f\u201d \u662f\u6307\u5b50\u56fe\u6807\u672a\u914d\u7f6e\u7684\u524d\u63d0\u4e0b\uff0c\u7ee7\u627f\u72b6\u6001\u4e0b\u5b50\u56fe\u6807\u4ecd\u7136\u53ef\u4ee5\u901a\u8fc7\u914d\u7f6e\u6765\u8986\u5199<\/li><li>\u9ed8\u8ba4\u7ee7\u627f\u4e0e\u5426\u53ef\u901a\u8fc7\u7f16\u8f91 <code>settings.yml<\/code> \u6587\u4ef6\u6765\u8bbe\u7f6e<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>* \u6761\u4ef6<\/strong><\/h3>\n\n\n\n<p>* \u5b50\u56fe\u6807\u7684\u5c5e\u6027\uff0c\u6761\u4ef6\u8ba1\u7b97\u7ed3\u679c\u4e3a\u771f\u65f6\u624d\u53ef\u80fd\u663e\u793a\u6b64\u5b50\u56fe\u6807<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>condition: 'perm *trmenu.use'<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>* \u4f18\u5148\u7ea7<\/strong><\/h3>\n\n\n\n<p>\u51b3\u5b9a\u8be5\u5b50\u56fe\u6807\u7684\u6743\u91cd\uff08\u7b5b\u9009\u5b50\u56fe\u6807\u65f6\u7684\u987a\u5e8f\u5148\u540e\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>priority: 20<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>\u8be5\u9879\u4ec5\u5bf9\u5b50\u56fe\u6807\u6709\u6548<\/li><li>\u82e5\u4e0d\u8bbe\u7f6e\uff0c\u5219\u9ed8\u8ba4\u4f18\u5148\u7ea7\u4e3a <strong>0<\/strong><\/li><li>\u9009\u53d6\u6761\u4ef6\u5b50\u56fe\u6807\u65f6\uff0c\u6309\u4f18\u5148\u7ea7<strong>\u5347\u5e8f<\/strong>\u4f9d\u6b21\u8ba1\u7b97\u5b50\u56fe\u6807\u5230\u6ee1\u8db3\u6761\u4ef6\u7684\u4e3a\u6b62\uff0c\u5373\u4f18\u5148\u7ea7\u6700\u5c0f\u7684\u56fe\u6807\u6700\u5148\u8ba1\u7b97<\/li><\/ul>\n\n\n\n<p>\u5728\u5b9e\u9645\u914d\u7f6e YAML \u6587\u4ef6\u65f6\uff0c\u6b64\u9879\u4e3a\u975e\u5fc5\u987b\u9879\u63d2\u4ef6\u4f1a\u6839\u636e\u56fe\u6807\u7684 \u201c\u914d\u7f6e\u4f4d\u7f6e\u201d \uff0c\u6309\u987a\u5e8f\u81ea\u52a8\u7684\u5206\u914d\u4e00\u5b9a\u4f18\u5148\u7ea7\uff0c\u4f8b\u5982<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Icons:\n  'A':\n    display:\n      material: grass_block\n    icons:\n      - condition: 'perm *op'\n        display:\n          material: beacon\n      - condition: 'perm *mvp.user'\n        display:\n          material: diamond block\n      - condition: 'perm *vip.user'\n        display:\n          material: gold block<\/code><\/pre>\n\n\n\n<p>\u4f1a\u5148\u8ba1\u7b97\u6761\u4ef6\u4e3a <code>perm *op<\/code> \u7684\u5b50\u56fe\u6807\uff0c\u518d\u4f9d\u6b21 <code>perm *mvp.user<\/code> \u3001<code>perm *vip.user<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u663e\u793a<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u793a\u4f8b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>  # \u56fe\u6807 Id\n  'Close':\n    # \u663e\u793a\u5c5e\u6027\u66f4\u65b0\u9891\u7387\n    update: &#91;]\n    # \u663e\u793a\u90e8\u5206\n    display:\n      # \u6750\u8d28\uff0c\u652f\u6301\u591a\u4e2a\uff0c\u52a8\u6001\u66f4\u65b0\n      material: '' \n      # \u540d\u79f0\uff0c\u652f\u6301\u591a\u4e2a\uff0c\u52a8\u6001\u66f4\u65b0\n      name: ''\n      # Lore \u63cf\u8ff0\uff0c\u652f\u6301\u591a\u7ec4\uff0c\u52a8\u6001\u66f4\u65b0\n      lore: &#91;]\n      # NBT\n      nbt:\n        key: value\n      # \u7269\u54c1\u6807\u7b7e, List \u5f62\u5f0f\n      flags: &#91;]\n      # \u7269\u54c1\u6570\u91cf\n      amount: ''\n      # \u53d1\u5149\u6548\u679c\n      shiny: 'true'\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u6750\u8d28<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u666e\u901a\u6750\u8d28<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>material: 'Red Stained Glass Pane'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>material: 'Wool:3'<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u6750\u8d28\u5b9e\u73b0\u52a8\u753b\u7684\u65b9\u5f0f\u5c31\u662f\u5199\u6210\u96c6\u5408\u5f62\u5f0f\uff0c\u5c06\u5728\u8bbe\u5b9a\u5468\u671f\u5185\u5faa\u73af\u5207\u6362<\/strong><\/li><li>\u666e\u901a\u6750\u8d28\u4e5f\u652f\u6301\u4f7f\u7528\u51fd\u6570\u53d8\u91cf<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">\u7269\u54c1\u4ed3\u5e93<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>TrMenu \u5185\u7f6e\u7684\u7269\u54c1\u5b58\u50a8\u8c03\u7528\u529f\u80fd\uff0c\u901a\u8fc7\u5b50\u547d\u4ee4 Item \u5b9e\u73b0<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>material: 'repo:myCustomItem'\n\nmaterial: 'repo:\n\n\n\n<h4 class=\"wp-block-heading\">\u8f6c\u5316\u683c\u5f0f JSON<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>\u901a\u8fc7 <code>\/trmenu item toJson<\/code> \u8f6c\u5316\u5f97\u5230\u7684\u7269\u54c1\u6587\u672c\u683c\u5f0f<\/li><li>\u8be5\u65b9\u6cd5\u80fd\u652f\u6301\u4e00\u5207\u5f62\u5f0f\u7684\u7269\u54c1<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>material: '{\"type\":\"DIAMOND_SWORD\",\"data\":0,\"amount\":1,\"meta\":{\"Damage\":{\"type\":\"INT\",\"data\":0}}}'<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u5934\u9885\u6750\u8d28<\/strong><\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">\u73a9\u5bb6\u5934\u9885<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>material: 'head:\n\nmaterial: 'head:BlackSky'<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>TrMenu \u91c7\u7528\u672c\u5730 NMS \u8bfb\u53d6\u5728\u7ebf\u73a9\u5bb6\u7684\u76ae\u80a4 + \u5f02\u6b65\u8054\u7f51\u8bfb\u53d6\u79bb\u7ebf\u6b63\u7248\u73a9\u5bb6 \u76ae\u80a4\u6750\u8d28\u7684\u5f62\u5f0f\uff0c\u4e0d\u5361\u7ebf\u7a0b<\/li><li>\u5df2\u5bf9 SkinsRestorer \u8fdb\u884c\u5b8c\u6574\u652f\u6301\uff0c\u80fd\u591f\u83b7\u53d6\u5230\u73a9\u5bb6\u663e\u793a\u7684\u76ae\u80a4\uff01<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"zi-ding-yi-wen-li-tou-lu\">\u81ea\u5b9a\u4e49\u7eb9\u7406\u5934\u9885<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>material: 'head:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNDRmNDUyZDk5OGVhYmFjNDY0MmM2YjBmZTVhOGY0ZTJlNjczZWRjYWUyYTZkZmQ5ZTZhMmU4NmU3ODZlZGFjMCJ9fX0='\r\n\r\nmaterial: 'head:44f452d998eabac4642c6b0fe5a8f4e2e673edcae2a6dfd9e6a2e86e786edac0'<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"wu-pin-yuan\">\u7269\u54c1\u6e90<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>TrMenu \u5bf9\u6302\u94a9\u63d2\u4ef6\u7269\u54c1\u652f\u6301\u7684\u5b9e\u73b0<\/li><li>\u7edf\u4e00\u683c\u5f0f\u4e3a <code>source:&lt;ID&gt;:&lt;INPUT&gt;<\/code><\/li><\/ul>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"headdatabase\">HeadDatabase<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>material: 'source:HeadDatabase:myHead'\n\nmaterial: 'source:HDB:random'<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"oraxen\">Oraxen<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>material: 'source:ORAXEN:itemId'<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"itemsadder\">ItemsAdder<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>material: 'source:ITEMADDER:itemId'\nmaterial: 'source:IA:anotherItemId'<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"cai-zhi-can-shu\">* \u6750\u8d28\u53c2\u6570<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"fu-jia-zhi\">\u9644\u52a0\u503c<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>material: '3{data=2}'<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"model-data\">Model Data<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code># 1.14+\nmaterial: 'coal{model-data=15}'<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"pi-ge-ran-se\">\u76ae\u9769\u67d3\u8272<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>material: 'leather chestplate {dye=255,255,0}'<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\" id=\"qi-zhi-mo-shi\">\u65d7\u5e1c\u6a21\u5f0f<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>material: 'white banner {banner=RED MOJANG,WHITE}'<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u540d\u79f0<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u793a\u4f8b<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>  'Next':\n    display:\n      material: 'Cyan Stained Glass Pane'\n      name: '&amp;bN&amp;3ext Page'<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>  'Close':\n    update: &#91;25, 5, -1, -1]\n    display:\n      materials:\n      - 'Red Stained Glass Pane'\n      - 'Orange Stained Glass Pane'\n      # \u52a8\u6001\u540d\u79f0\uff0c\u66f4\u65b0\u5468\u671f 5 ticks\n      name: &#91;'&amp;cC&amp;7lose', '&amp;cCl&amp;7ose', '&amp;cClo&amp;7se', '&amp;cClos&amp;7e', '&amp;cClose']<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u63cf\u8ff0<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u793a\u4f8b<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code># \u5d4c\u5957 List\uff0c\u591a\u7ec4\u52a8\u6001 Lore\nlores:\n  - - '&amp;7Thanks &amp;f:&gt; &amp;7for using!'\n  - - '&amp;7Thanks &amp;f:) &amp;7for using!'\n\n# \u9759\u6001 Lore \u63cf\u8ff0\nlore:\n  - 'Hello There'\n  - 'Hello TrMenu!'<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u6761\u4ef6<\/h4>\n\n\n\n<div class=\"wp-block-argon-alert alert\" style=\"background-color:#7889e8\"><span class=\"alert-inner--icon\"><i class=\"fa fa-info-circle\"><\/i><\/span><span class=\"alert-inner--text\"> <p><strong>\u6b64\u529f\u80fd\u5c06\u5728\u6bcf\u6b21\u66f4\u65b0 Lore \u65f6\u8fdb\u884c\u8ba1\u7b97\u6761\u4ef6\uff0c\u53ef\u80fd\u5f71\u54cd\u63d2\u4ef6\u6027\u80fd\u8868\u73b0<\/strong><\/p><\/span><\/div>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\"><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>lore:\n  - 'Line 1'\n  - 'Line 2'\n  # \u5f53\u73a9\u5bb6\u6709 vip.user \u6743\u9650\u65f6\u663e\u793a\u6b64\u884c\n  - 'You are VIP User {condition=perm *vip.user}'\n  - 'Line 3'<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u5c5e\u6027<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">\u6570\u91cf<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code># \u9759\u6001\u6570\u91cf\namount: 10\n\n# \u52a8\u6001\u6570\u91cf (\u9700\u8981\u662f\u8fd4\u56de\u6570\u503c\u7684\u53d8\u91cf)\namount: '${js: varInt(\"\n\n\n\n<h4 class=\"wp-block-heading\"><strong>\u53d1\u5149<\/strong><\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code># \u76f4\u63a5\u8bbe\u7f6e\u5e03\u5c14\u503c\uff0c\u5f00\u542f\u6216\u5173\u95ed\uff08\u9ed8\u8ba4\uff1a\u5173\u95ed\uff09\n# \u5b9e\u8d28\u662f\u4e3a\u7269\u54c1\u6dfb\u52a0\u4e00\u4e2a\u9644\u9b54\u6548\u679c &amp; \u9690\u85cf\u9644\u9b54\u663e\u793a\u7684\u6807\u7b7e\uff0c\u56e0\u6b64\u4e0d\u80fd\u8ba9\u6240\u6709\u7269\u54c1\u90fd\u53d1\u5149\nshiny: true\n\n# \u52a8\u6001\u6548\u679c\uff08\u6761\u4ef6\u8868\u8fbe\u5f0f\uff09\nshiny: 'all &#91;perm *vip.user money *100]'<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\u6807\u7b7e<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>flags:\n- 'HIDE_ENCHANTS'\n- 'HIDE_ATTRIBUTES'<\/code><\/pre>\n\n\n\n<p>\u53ef\u7528\u7269\u54c1\u6807\u7b7e<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>HIDE_ENCHANTS<\/li><li>HIDE_ATTRIBUTES<\/li><li>HIDE_UNBREAKABLE<\/li><li>HIDE_POTION_EFFECTS<\/li><li>HIDE_DESTROYS<\/li><li>HIDE_PLACED_ON<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">NBT<\/h4>\n\n\n\n<pre class=\"wp-block-code\"><code>nbt:\n  balabala: 12345<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4ea4\u4e92<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u793a\u4f8b<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>'Close':\n  update: &#91;-1, 5, -1, -1]\n  display:\n    material: Red Stained Glass Pane\n    name: &#91;'&amp;cC&amp;7lose', '&amp;cCl&amp;7ose', '&amp;cClo&amp;7se', '&amp;cClos&amp;7e', '&amp;cClose']\n  # \u52a8\u4f5c\u90e8\u5206\n  actions:\n    # \u70b9\u51fb\u7c7b\u578b - \u53cd\u5e94\n    all: close<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>  '*':\n    update: &#91;-1, 5, 20, -1]\n    display: # ...\n    # \u52a8\u4f5c\u90e8\u5206\n    actions:\n      # \u70b9\u51fb\u7c7b\u578b\uff08\u5de6\u952e\uff09\n      left:\n        - 'set-meta: icon_server_hide true'\n        - 'sound: BLOCK_NOTE_BLOCK_BIT-1-0'\n        - 'refresh: *'<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u7c7b\u578b<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>ALL<\/p><p>LEFT<\/p><p>RIGHT<\/p><p>SHIFT_LEFT<\/p><p>SHIFT_RIGHT<\/p><p>OFFHAND<\/p><p>NUMBER_KEY<\/p><p>NUMBER_KEY_1<\/p><p>NUMBER_KEY_2<\/p><p>NUMBER_KEY_3<\/p><p>NUMBER_KEY_4<\/p><p>NUMBER_KEY_5<\/p><p>NUMBER_KEY_6<\/p><p>NUMBER_KEY_7<\/p><p>NUMBER_KEY_8<\/p><p>NUMBER_KEY_9<\/p><p>MIDDLE<\/p><p>DROP<\/p><p>CONTROL_DROP<\/p><p>ABROAD_LEFT_EMPTY<\/p><p>ABROAD_RIGHT_EMPTY<\/p><p>ABROAD_LEFT_ITEM<\/p><p>ABROAD_RIGHT_ITEM<\/p><p>LEFT_MOUSE_DRAG_ADD<\/p><p>RIGHT_MOUSE_DRAG_ADD<\/p><p>MIDDLE_MOUSE_DRAG_ADD<\/p><p>DOUBLE_CLICK<\/p><\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u53cd\u5e94 (\u52a8\u4f5c\u7ec4)<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u5e38\u89c4<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>actions:\n - 'tell: Hello, \n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>actions: 'tell: Hello, \n\n\n\n<h3 class=\"wp-block-heading\">\u4e09\u5143\u52a8\u4f5c\u7ec4<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>    actions:\n      all:\n        - condition: 'js: utils.chance(0.1)'\n          actions:\n            - 'tell: Prize 1'\n            - 'return'\n        - condition: 'js: utils.chance(0.5)'\n          actions:\n            - 'tell: Prize 2'\n            - 'return'\n        - condition: ''\n          actions:\n            - 'tell: Prize 3'<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"zhu-yi\">\u6ce8\u610f<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>\u52a8\u4f5c\u505a\u7684\u6267\u884c\u7ed3\u679c\u53d6\u51b3\u4e8e\u662f\u5426\u6709 return \u52a8\u4f5c\u8fd4\u56de\uff0c\u82e5\u6709\u8fd4\u56de\u5219\u4e3a false<\/li><\/ul>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u6761\u4ef6<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"yin-ru\">\u5f15\u5165<\/h2>\n\n\n\n<p>\u201c\u6761\u4ef6\u8868\u8fbe\u5f0f\u201d \u662f\u53ef\u7528\u5728\u4ee5\u4e0b\u573a\u666f\u4e2d\u4f7f\u7528\u7684\u5355\u4e2a\u5b57\u7b26\u4e32<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u52a8\u4f5c\u53c2\u6570<\/li><li>\u53cd\u5e94\uff08\u52a8\u4f5c\u7ec4\uff09\u6761\u4ef6<\/li><li>\u5b50\u56fe\u6807\u7b5b\u9009\u6761\u4ef6<\/li><\/ul>\n\n\n\n<p>\u5176\u6267\u884c\u7ed3\u679c\u5e94\u5f53\u8fd4\u56de\u5e03\u5c14\u503c\uff08Boolean\uff09\uff0c\u5373 <code>true<\/code> \/ <code>false<\/code>\u76ee\u524d\uff0cTrMenu \u4ee5\u652f\u6301 Kether \u548c JavaScript \u4e24\u79cd\u7c7b\u578b\u7684\u8868\u8fbe\u5f0f\u4f5c\u4e3a\u6761\u4ef6\u7f16\u8bd1\u4f7f\u7528\u5176\u4e2d\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u7edf\u4e00\u8c03\u7528 Kether *(\u63a8\u8350)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"shi-yong\">\u4f7f\u7528<\/h2>\n\n\n\n<p>Kether \u8868\u8fbe\u5f0f\u76f4\u63a5\u4f7f\u7528\uff0cJavaScript \u8868\u8fbe\u5f0f\u9700\u52a0\u4ee5 <code>js:<\/code> \u524d\u7f00\u4e14\u89c4\u8303\u53d8\u91cf\u5904\u7406\u4f8b\u5982\u521b\u5efa\u4e00\u4e2a\u5f53\u73a9\u5bb6\u6709 <code>vip.user<\/code> \u6743\u9650\u6216\u4f59\u989d\u5927\u4e8e\u7b49\u4e8e <code>1000<\/code> \u65f6\u624d\u6210\u7acb\u7684\u6761\u4ef6<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Kether: <code>any [ perm *vip.user money *1000 ]<\/code><\/li><li>JavaSctipt: <code>js: player.hasPermission(\"vip.user\") || utils.hasMoney(player, 1000.0)<\/code><\/li><\/ul>\n\n\n\n<p>\u4e24\u79cd\u8bed\u6cd5\u7684\u683c\u5f0f\u53ef\u7528\u901a\u8fc7 <code>SCRIPT<\/code> \u7ae0\u8282\u8fdb\u4e00\u6b65\u5b66\u4e60<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u8fdb\u9636<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-outline is-style-outline--1\"><a class=\"wp-block-button__link\" href=\"https:\/\/trmenu.trixey.cc\/script\/kether\" target=\"_blank\" rel=\"noreferrer noopener\">Kether<\/a><\/div>\n\n\n\n<div class=\"wp-block-button is-style-outline is-style-outline--2\"><a class=\"wp-block-button__link\" href=\"https:\/\/trmenu.trixey.cc\/script\/javascript\" target=\"_blank\" rel=\"noreferrer noopener\">JavaScipt<\/a><\/div>\n<\/div>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u63d2\u4ef6\u547d\u4ee4<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"zhu-ming-ling\">\u4e3b\u547d\u4ee4<\/h2>\n\n\n\n<p>\u63d2\u4ef6\u7684\u4e3b\u547d\u4ee4<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u540d\u79f0\uff1a<code>trmenu<\/code> <code>menu<\/code><\/li><li>\u6743\u9650: <code>trmenu.access<\/code><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"list\">List<\/h2>\n\n\n\n<p>\u5217\u51fa\u5df2\u52a0\u8f7d\u7684\u83dc\u5355<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6743\u9650: <code>trmenu.command.list<\/code><\/li><li>\u53c2\u6570<ul><li>&lt;Filter&gt; \u8fc7\u6ee4\u83dc\u5355\u540d\u79f0<\/li><\/ul><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"open\">Open<\/h2>\n\n\n\n<p>\u6253\u5f00\u6307\u5b9a\u83dc\u5355<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6743\u9650: <code>trmenu.command.open<\/code><\/li><li>\u53c2\u6570<ul><li>[ID]:&lt;Page&gt; \u83dc\u5355\u540d\u79f0\u548c\u6307\u5b9a\u9875\u7801<\/li><li>&lt;Player&gt; \u6307\u5b9a\u73a9\u5bb6\uff0c\u4e0d\u586b\u5219\u9ed8\u8ba4\u81ea\u5df1<\/li><li>&lt;\u83dc\u5355\u53c2\u6570&gt; \u4f20\u5165\u7684\u83dc\u5355\u53c2\u6570\uff0c\u4f5c\u4e3a\u53d8\u91cf\u4f7f\u7528<\/li><\/ul><\/li><li>\u793a\u4f8b<ul><li><code>trmenu open Example BlackSKY<\/code> \u4e3a BlackSKY \u73a9\u5bb6\u6253\u5f00 Example \u83dc\u5355<\/li><li><code>trmenu open Shop:3<\/code> \u4e3a\u81ea\u5df1\u6253\u5f00 Shop \u83dc\u5355\uff0c\u9875\u7801 3<\/li><\/ul><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"reload\">Reload<\/h2>\n\n\n\n<p>\u91cd\u65b0\u8f7d\u5165\u83dc\u5355<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6743\u9650: <code>trmenu.command.reload<\/code><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"template\">Template<\/h2>\n\n\n\n<p>\u6a21\u677f\u521b\u5efa\u529f\u80fd\uff0c\u5feb\u901f\u5e03\u5c40\u83dc\u5355\uff08\u5f53\u524d\u4ec5\u652f\u6301\u7bb1\u5b50\u5bb9\u5668\uff09<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6743\u9650: <code>trmenu.command.template<\/code><\/li><li>\u53c2\u6570<ul><li>&lt;Rows&gt; \u83dc\u5355\u7684\u884c\u6570\u5927\u5c0f\uff081~6\uff09<\/li><\/ul><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"action\">Action<\/h2>\n\n\n\n<p>\u6d4b\u8bd5 TrMenu \u52a8\u4f5c<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6743\u9650: <code>trmenu.command.action<\/code><\/li><li>\u53c2\u6570<ul><li>[ID] \u6267\u884c\u52a8\u4f5c\u73a9\u5bb6\u5bf9\u8c61\u7684\u540d\u79f0<\/li><li>[Action] \u52a8\u4f5c\u884c<\/li><\/ul><\/li><li>\u6ce8\u610f<ul><li>\u9ed8\u8ba4\u5c06\u5411\u547d\u4ee4\u6267\u884c\u8005\u6253\u5370\u52a8\u4f5c\u8fd4\u56de &amp; \u76f8\u5173\u6d88\u8017<\/li><li>\u9690\u85cf\u6b64\u6253\u5370\u529f\u80fd\u9700\u8981\u5728\u52a8\u4f5c\u884c\u6700\u524d\u9762\u52a0\u4ee5 <code>#<\/code> \u6807\u8bb0<\/li><\/ul><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"item\">Item<\/h2>\n\n\n\n<p>\u7ba1\u7406\u63a7\u5236\u7269\u54c1<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6743\u9650: <code>trmenu.command.item<\/code><\/li><li>\u53c2\u6570<ul><li>[Method] \u64cd\u4f5c\u7c7b\u578b<ul><li>toJson \u8f6c\u6362\u624b\u4e2d\u7269\u54c1\u4e3a JSON \u6587\u672c\u683c\u5f0f<\/li><li>fromJson \u5c06\u53c2\u65702\u7684\u6587\u672c\u5185\u5bb9\u8f6c\u6362\u4e3a\u7269\u54c1\u5bf9\u8c61<\/li><li>save \u4fdd\u5b58\u7269\u54c1\u5230\u7269\u54c1\u4ed3\u5e93<\/li><li>get \u53d6\u5f97\u7269\u54c1\u4ece\u7269\u54c1\u4ed3\u5e93<\/li><li>delete \u5220\u9664\u7269\u54c1\u81ea\u7269\u54c1\u4ed3\u5e93<\/li><\/ul><\/li><li>&lt;Value&gt; \u503c<\/li><\/ul><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"sounds\">Sounds<\/h2>\n\n\n\n<p>\u9884\u89c8\u97f3\u6548<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6743\u9650: <code>trmenu.command.sounds<\/code><\/li><li>\u53c2\u6570<ul><li>&lt;Filter&gt; \u8fc7\u6ee4\u97f3\u6548\u540d\u79f0<\/li><\/ul><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"debug\">Debug<\/h2>\n\n\n\n<p>\u8c03\u8bd5\u529f\u80fd<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6743\u9650: <code>trmenu.command.debug<\/code><\/li><\/ul>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u83dc\u5355\u4f20\u53c2<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"gong-neng-qi-yong\">\u529f\u80fd\u542f\u7528<\/h2>\n\n\n\n<p>\u82e5\u4e0d\u8fdb\u884c\u4efb\u4f55\u914d\u7f6e\uff0c\u83dc\u5355\u4f20\u53c2\u529f\u80fd\u9ed8\u8ba4\u662f<strong>\u5f00\u542f<\/strong>\u7684\uff0c\u82e5\u9047\u5230\u547d\u4ee4\u4e0d\u517c\u5bb9\u60c5\u51b5\uff0c\u53ef\u4ee5\u901a\u8fc7\u9009\u9879\u5173\u95ed<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"chuan-di-fang-shi\">\u4f20\u9012\u65b9\u5f0f<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>\u7ed1\u5b9a\u7684\u81ea\u5b9a\u4e49\u5f00\u542f\u547d\u4ee4\u4f20\u9012<\/li><li>\u63d2\u4ef6\u5f00\u542f\u83dc\u5355\u547d\u4ee4\u4f20\u9012<\/li><li>\u8c03\u7528\u52a8\u4f5c\u4e8c\u6b21\u4fee\u6539<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ru-he-shi-yong\">\u5982\u4f55\u4f7f\u7528<\/h2>\n\n\n\n<p>\u4f8b\u5982\u73a9\u5bb6\u5f53\u524d\u7684\u53c2\u6570\u4e3a apple, juice, orange\uff0c\u5373\u5927\u5c0f\u4e3a 3 \u7684\u4e00\u4e2a\u6570\u7ec4\u5728\u83dc\u5355\u51e0\u4e4e\u6240\u6709\u5730\u65b9\u90fd\u53ef\u4ee5\u5f53\u4f5c\u53d8\u91cf\u4f7f\u7528\uff0c{0} \u5c06\u8fd4\u56de apple, {1} \u8fd4\u56de juice, \u4f9d\u6b64\u7c7b\u63a8<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"zhu-yi\">\u6ce8\u610f<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u5173\u95ed\u83dc\u5355\u4e0d\u4f1a\u5220\u9664\u73b0\u6709\u53c2\u6570<\/li><\/ul>\n\n\n\n<h1 class=\"wp-block-heading\"><strong>\u7269\u54c1\u7279\u5f81<\/strong><\/h1>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"ge-shi\">\u683c\u5f0f<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>\u540c\u4e00\u4e2a\u7269\u54c1\u7684\u4e0d\u540c\u7279\u5f81\u5339\u914d\uff0c\u7528 , \u5206\u5f00<\/li><li>\u591a\u4e2a\u7269\u54c1\u7279\u5f81\u7528 ; \u5206\u5f00<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"shi-li\">\u793a\u4f8b<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>material:DIAMOND,amount:64 ; material:EMERALD,amount:32<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"te-zheng\">\u7279\u5f81<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>\u6750\u8d28: Material<\/li><li>\u635f\u4f24\u503c: Data<\/li><li>\u6570\u91cf: Amount<\/li><li>\u540d\u79f0: Name<\/li><li>\u63cf\u8ff0: Lore<\/li><li>\u5934\u9885\u6750\u8d28: Texture<\/li><li>ModelData<\/li><\/ul>\n\n\n\n<h1 class=\"wp-block-heading\"><strong><a href=\"https:\/\/trmenu.trixey.cc\/usage\/functions\" target=\"_blank\" rel=\"noreferrer noopener\">\u51fd\u6570\u53d8\u91cf<\/a><\/strong><\/h1>\n\n\n\n<div class=\"wp-block-argon-alert alert\" style=\"background-color:#7889e8\"><span class=\"alert-inner--icon\"><i class=\"fa fa-info-circle\"><\/i><\/span><span class=\"alert-inner--text\">\u51fd\u6570\u53d8\u91cf\u5185\u90e8 <code>{}<\/code> \u82e5\u9700\u8981\u4f7f\u7528 <code>}<\/code> \u53f3\u82b1\u62ec\u53f7\uff0c\u8bf7\u8f6c\u4e49\u4f7f\u7528 <code>\\}<\/code><\/span><\/div>\n\n\n\n<h1 class=\"wp-block-heading\"><strong><a href=\"https:\/\/trmenu.trixey.cc\/usage\/shortcuts\" target=\"_blank\" rel=\"noreferrer noopener\">\u5feb\u6377\u7ed1\u5b9a<\/a><\/strong><\/h1>\n\n\n\n<h1 class=\"wp-block-heading\"><strong><a href=\"https:\/\/trmenu.trixey.cc\/hook\/placeholders\" target=\"_blank\" rel=\"noreferrer noopener\">PAPI \u53d8\u91cf<\/a><\/strong><\/h1>\n\n\n\n<h1 class=\"wp-block-heading\"><strong><a href=\"https:\/\/trmenu.trixey.cc\/develop\/api\" target=\"_blank\" rel=\"noreferrer noopener\">API<\/a><\/strong><\/h1>\n\n\n\n<h1 class=\"wp-block-heading\"><strong><strong><a href=\"https:\/\/trmenu.trixey.cc\/appendix\/v3-guide\" target=\"_blank\" rel=\"noreferrer noopener\">\u5347\u7ea7\u5411\u5bfc<\/a><\/strong><\/strong><\/h1>\n","protected":false},"excerpt":{"rendered":"<p>\u63d2\u4ef6\u6587\u6863\u5e2e\u52a9<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-451","post","type-post","status-publish","format-standard","hentry","category-pwiki"],"_links":{"self":[{"href":"https:\/\/blog.dreamyxiam.cloud\/index.php?rest_route=\/wp\/v2\/posts\/451","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.dreamyxiam.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.dreamyxiam.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.dreamyxiam.cloud\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.dreamyxiam.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=451"}],"version-history":[{"count":54,"href":"https:\/\/blog.dreamyxiam.cloud\/index.php?rest_route=\/wp\/v2\/posts\/451\/revisions"}],"predecessor-version":[{"id":528,"href":"https:\/\/blog.dreamyxiam.cloud\/index.php?rest_route=\/wp\/v2\/posts\/451\/revisions\/528"}],"wp:attachment":[{"href":"https:\/\/blog.dreamyxiam.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=451"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.dreamyxiam.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=451"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.dreamyxiam.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=451"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}