UNPKG

feeles-ide

Version:

The hackable and serializable IDE to make learning material

119 lines (116 loc) 4.11 kB
アクション: - label: いきもの code: | mc.summon(('▼ いきもの', '豚'), 0, 0, 0); - label: モンスター code: | mc.summon(('▼ モンスター', 'クリーパー'), 0, 0, 0); - label: のりもの code: | mc.summon(('▼ のりもの', 'トロッコ'), 0, 0, 0); - label: ブロック code: | mc.setBlock(('▼ ブロック', 'エンドストーン'), 0, 0, 0); - label: せっち code: | mc.setBlock(('▼ せっち', '作業台'), 0, 0, 0); - label: レッドストーン code: | mc.setBlock(('▼ レッドストーン', 'レッドストーン'), 0, -1, 0); - label: ステンドグラス code: | mc.setBlock(('▼ ステンドグラス', '白のステンドグラス'), 0, 3, 0); - label: ウール code: | mc.setBlock(('▼ ウール', 'ピンクのウール'), 0, 0, 0); - label: そうしょく code: | mc.setBlock(('▼ そうしょく', 'たいまつ'), 0, 0, 0); - label: しぜん code: | mc.setBlock(('▼ しぜん', '水'), 0, 0, 0); - label: タイトル code: | mc.title('もじ', ('▼ タイトル', 'title')); - label: チャット code: | mc.say('マイクラ!'); - label: たべもの code: | mc.give(('▼ たべもの', 'ケーキ'), 1); - label: ポーション code: | mc.give(('▼ ポーション', '暗視のポーション'), 1); - label: スプラッシュポーション code: | mc.give(('▼ スプラッシュポーション', '暗視のスプラッシュポーション'), 1); - label: 残留ポーション code: | mc.give(('▼ 残留ポーション', '暗視の残留ポーション'), 1); - label: ざいりょう code: | mc.give(('▼ ざいりょう', '金の延べ棒'), 1); - label: どうぐ code: | mc.give(('▼ どうぐ', '弓')); - label: そうび code: | mc.give(('▼ そうび', 'ダイヤモンドの剣')); - label: ベッド code: | mc.give(('▼ ベッド', 'ベッド')); - label: けいけんち code: | mc.summon(('▼ けいけんち', '経験値オーブ')); - label: なんいどを設定する code: | mc.difficulty(('▼ なんいど', 'e')); - label: タイマー code: | // 1000 なら 1 秒のタイマー await mc.utils.wait(1000); - label: 時計の時間を設定する code: | mc.setTime(0); - label: じぶんをたおす code: | mc.kill(); - label: サイコパス code: | // きょり 20 までに近づくと...(闇) mc.kill(('▼ モンスター', 'ゾンビ'), 20); - label: ゲームモードを設定する code: | mc.gamemode(('▼ ゲームモード', 'c')); # - label: ブロックで埋める # code: | # // (プレイヤーの位置からみて) -5 から +5 の範囲を TNT で埋める # mc.fill(('▼ ブロック', 'TNT 火薬'), -5, -5, -5, 5, 5, 5); - label: ブロックをおきかえる code: | // (プレイヤーの位置からみて) -5 から +5 の範囲の水を // ダイヤモンドブロックにおきかえる mc.replace(('▼ ブロック', 'ダイヤモンド'), ('▼ ブロック', '水'), -5, -5, -5, 5, 5, 5); - label: ワープする(相対座標) code: | mc.locateBy(0, 3, 0); - label: ワープする(絶対座標) code: | mc.locateTo(0, 100, 0); # - label: スクショ # code: | # mc.utils.capture(mc, 0, 100, 0); - label: まわりの座標 code: | for (const [x, z] of mc.utils.way(8, 10)) { mc.setBlock(('▼ ブロック', 'TNT 火薬'), x, 0, z); } - label: コマンド実行 code: | mc.execute('/say execute!!!!'); - label: 天気 code: | mc.execute(`weather ${('▼ 天気', 'rain')}`); - label: サウンド code: | mc.execute(`playsound ${('▼ サウンド', 'mob.pig.say')} @p`);