Skip to content

Commit

Permalink
🌐 APIの説明を日本語から英語に
Browse files Browse the repository at this point in the history
  • Loading branch information
rarula committed May 27, 2023
1 parent 1268db7 commit ed72515
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 27 deletions.
6 changes: 3 additions & 3 deletions data/sketch/functions/api/build/auto.mcfunction
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#> sketch:api/build/auto
#
# 実行者のプレイヤーが開いている チェスト付きトロッコ または エンダーチェスト にメニューを作成します
# Create a menu in the Minecart with Chest or Ender Chest opened by the executing player
#
# @input
# storage sketch: in
# id: any
# 作成するメニューの識別子
# Identifier of the menu to be created
# contents: (string[] @ 9)[] @ 3
# 作成するメニューの内容
# Menu contents to be created
#
# @api

Expand Down
6 changes: 3 additions & 3 deletions data/sketch/functions/api/build/chest_minecart.mcfunction
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#> sketch:api/build/chest_minecart
#
# 実行者のチェスト付きトロッコにメニューを作成します
# Create a menu in the executor's inventory
#
# @input
# storage sketch: in
# id: any
# 作成するメニューの識別子
# Identifier of the menu to be created
# contents: (string[] @ 9)[] @ 3
# 作成するメニューの内容
# Menu contents to be created
#
# @api

Expand Down
6 changes: 3 additions & 3 deletions data/sketch/functions/api/build/ender_chest.mcfunction
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#> sketch:api/build/ender_chest
#
# 実行者のエンダーチェストにメニューを作成します
# Create a menu in the executor's ender chest
#
# @input
# storage sketch: in
# id: any
# 作成するメニューの識別子
# Identifier of the menu to be created
# contents: (string[] @ 9)[] @ 3
# 作成するメニューの内容
# Menu contents to be created
#
# @api

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#> sketch:api/register_chest_minecart
#
# 実行者のチェスト付きトロッコを登録します
# Register the executor (Minecart with Chest)
#
# @api

Expand Down
10 changes: 5 additions & 5 deletions data/sketch/functions/api/register_item/button.mcfunction
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
#> sketch:api/register_item/button
#
# アイテムをボタンとして登録します
# Register an item as a button
#
# @input
# vector 10000 0 10000
# container.0
# 登録するアイテム
# Item to be registered
# storage sketch: in
# key: string
# 登録するアイテムのキー
# Key of the item to be registered
# listener?: any
# 登録するアイテムのイベントリスナー (任意)
# Event listener for the item to be registered (Optional)
# isGlobal?: boolean
# すべての場所から参照可能かどうか デフォルトはfalse (任意)
# Whether it can be referenced from all locations (Default value: false) (Optional)
#
# @api

Expand Down
8 changes: 4 additions & 4 deletions data/sketch/functions/api/register_item/normal.mcfunction
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#> sketch:api/register_item/normal
#
# アイテムを通常のまま登録します
# Register the item as normal
#
# @input
# vector 10000 0 10000
# container.0
# 登録するアイテム
# Item to be registered
# storage sketch: in
# key: string
# 登録するアイテムのキー
# Key of the item to be registered
# isGlobal?: boolean
# すべての場所から参照可能かどうか デフォルトはfalse (任意)
# Whether it can be referenced from all locations (Default value: false) (Optional)
#
# @api

Expand Down
6 changes: 3 additions & 3 deletions data/sketch/functions/api/register_item/variable.mcfunction
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#> sketch:api/register_item/variable
#
# アイテムを仮のものとして登録します
# Register an item as temporary
#
# @input
# storage sketch: in
# key: string
# 登録するアイテムのキー
# Key of the item to be registered
# isGlobal?: boolean
# すべての場所から参照可能かどうか デフォルトはfalse (任意)
# Whether it can be referenced from all locations (Default value: false) (Optional)
#
# @api

Expand Down
4 changes: 2 additions & 2 deletions data/sketch/functions/api/set_menu.mcfunction
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#> sketch:api/set_menu
#
# 実行者のプレイヤーが チェスト付きトロッコ または エンダーチェスト を開いている場合、指定されたメニューで再設定します
# If the executor player has Minecart with Chest or Ender Chest open, it will be reconfigured in the specified menu
#
# @input
# storage sketch: in
# id: any
# 設定するメニューの識別子
# Identifier of the menu to be reconfigured
#
# @api

Expand Down
2 changes: 1 addition & 1 deletion data/sketch/functions/api/setup.mcfunction
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#> sketch:api/setup
#
# 実行地点のディメンションで Sketch を正常に動作させるためのセットアップを行います
# Set up Sketch to work properly in the dimension of the execution point
#
# @api

Expand Down
4 changes: 2 additions & 2 deletions data/sketch/functions/api/unregister_item.mcfunction
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#> sketch:api/unregister_item
#
# すべての場所から参照可能なアイテムの登録を解除します
# Unregister items that can be referenced from all locations
#
# @input
# storage sketch: in
# key: string
# 登録を解除するアイテムのキー
# Key of the item to be unregistered
#
# @api

Expand Down

0 comments on commit ed72515

Please sign in to comment.