jsonファイルをmineflow/importsフォルダに入れて/mineflow
コマンドで読みこんでください
Put the json file in the mineflow/imports folder and import it with /mineflow
command
https://www.youtube.com/watch?v=w7foeznrqd0&list=PL2poTI_Jv_RgIrAT62jWQ55KSfonOxW6X
/id
コマンドで手に持っているアイテムのidを表示する
Send ID of the item in player's hand with the command /id
.
触ったブロックの情報をtip欄に送る
Send info about the block you touched to the tip field.
/clank
コマンドでお金を1000消費してガチャを引く
Draw a lottery with the command "/clank".
cost: <price>
items:
- id: <item id>
count: <item count>
language: <jpn or eng>
殴ったエンティティが追いかけてくる(ジャンプはしません)
The entity you attacked will track you down.
checkCoolDownの使用例
Example for checkCoolDown
指定した時間以内に呼び出すとfalseをそれ以外はtrueを返す
使用方法:
スクリプト > ほかのレシピを呼び出す
でにaieuo/function/checkCoolDown
を、に秒数を入力スクリプト > もし...」
を追加するもし
の条件にスクリプト > 文字列を比較する
を追加して{result}
とtrue
が等しいか調べる
使用例: BlockPlaceCoolDown
Returns false if it is executed within the specified interval or less, and true otherwise.
How to use:
- Enter
aieuo/function/checkCoolDown
in and seconds in ofScript > Call Other Recipes
- Add the action
Script > if
- Add
script > compare strings
to the condition and check if{result}
is equal totrue
Examples: BlockPlaceCoolDown
プレイヤーが特定のブロックに乗ったときにカスタムトリガーを発火します.
初期値では石ブロックに乗ったときにwalk_on_stone
という名前のカスタムトリガーが呼ばれます.
ブロックを変更するにはcustom_trigger/walk_on_specific_block/init
を編集してください.
使用するにはプレイヤーが動いた時
とサーバーが開始したとき
のイベントトリガーが有効になっている必要があります
Fires a custom trigger when a player walks on a specific block.
By default, a custom trigger named walk_on_stone
is called when the player walks on a stone block.
To change the block and trigger name, you can edit the custom_trigger/walk_on_specific_block/init
recipe.
Note: Make sure that the When a player moves
and When the server start
event triggers are enabled.