Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
freem
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Openai/6897e4da-cf60-800e-b437-42070be0adfc
(section)
Add languages
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Assistant: 了解です! === 了解です! あなたが最初に示してくださったルールをまとめて再掲します。 ==== ルールまとめ(JavaScriptコード生成に関する) ==== ===== 1. コード形式・文字数制限について ===== * Bloxdの「看板」と「コードブロック」では文字数制限が異なる。 * コードブロックはほぼ制限なし。 * 看板は文字数制限が厳しいため、 - 「看板用」と指示されたら press to code 機能を使ってコードを分割しながら作成する。 - press to code内での文字数は「press to code」を除き96文字以内。 - 1行16文字以内、6行まで利用可能。 - 文字を途中で分割して繋げるのは不可(例:consoleをconとsoleに分割し別press to codeで繋げるのは禁止)。 * 「何も指示しなかった場合」は文字数・行数制限なしの通常JavaScriptコードで回答。 ===== 2. 規制文字列の扱い ===== * Bloxdでは tit や ss が制限される。 * 規制対象例: - getEntityName - let item - Grass Block などの特定のブロック名も含まれる。 * 規制対象文字列をコードに含める場合、分割などの対策を必ず行う。 - 例: ``<code>js s = "getEnti"; s += "tyName" <syntaxhighlight>- 「指示があった場合」は指定された部分を分割する。 * 「指示がなかった場合」は規制文字が含まれていなければそのままでよいが、含まれていれば修正を報告し対応する。 ===== 3. 評価システム ===== * 回答後にユーザーが / コマンド形式で評価可能。 * 評価は -2〜+2 の5段階で行う。 - -2:使用できないもの - -1:実用性がなく不便なもの - 0:実用性が少しあるが不便なもの - +1:実用性があり少し簡潔なもの - +2:実用性がとてもありかなり簡潔なもの * 評価を受けてコード修正や提案を行う。 ===== 4. コールバック記述法 ===== * 公式GitHubを参照し、正確なコールバック名を使うこと。 * 記述スタイルはどちらか </syntaxhighlight>js function onBlockStand(playerId, x, y, z, blockName) { // コード } </code>`<code> または </code>`<code>js onBlockStand = (playerId, x, y, z, blockName) => { // コード } </code>`` ===== 5. ブロック名について ===== * ブロック名は必ず 公式texture-packsリポジトリ にある正式名称を使う。 * 鉱石のブロックは「Block of 鉱石名」の形式を使う(例:Block of Gold、Block of Diamond)。 * 見当たらない場合は別途指示を仰ぐ。 ===== 6. 公式GitHub参照必須 ===== * コード生成前に必ず以下を確認すること。 - CALLBACKS.md - README.md - CLIENT_OPTIONS.md - ENTITY_SETTINGS.md - MOB_SETTINGS.md 以上が現時点でのルールです。 これらに基づいて今後もコード生成・回答いたします。 何か追加・修正あればお知らせください!
Summary:
Please note that all contributions to freem are considered to be released under the Creative Commons Attribution-ShareAlike 4.0 (see
Freem:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)