Skip to content

LanternServer/MineflowExamples

 
 

Repository files navigation

MineflowExamples

How To Use

jsonファイルをmineflow/importsフォルダに入れて/mineflowコマンドで読みこんでください
Put the json file in the mineflow/imports folder and import it with /mineflow command

videos

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".

config: clank.yml

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

functions

指定した時間以内に呼び出すとfalseをそれ以外はtrueを返す
使用方法:

  1. スクリプト > ほかのレシピを呼び出すでにaieuo/function/checkCoolDownを、に秒数を入力
  2. スクリプト > もし...」を追加する
  3. もしの条件にスクリプト > 文字列を比較するを追加して{result}trueが等しいか調べる

使用例: BlockPlaceCoolDown

Returns false if it is executed within the specified interval or less, and true otherwise.
How to use:

  1. Enter aieuo/function/checkCoolDown in and seconds in of Script > Call Other Recipes
  2. Add the action Script > if
  3. Add script > compare strings to the condition and check if {result} is equal to true

Examples: BlockPlaceCoolDown

Releases

No releases published

Packages

No packages published