Spaces:
Running
Running
<html lang="ja"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Minecraft MOD Maker 4</title> | |
<link rel="stylesheet" href="./style.css"> | |
<link rel="icon" href="./icon.png"> | |
</head> | |
<body> | |
<div id="sideBar"> | |
<div> | |
<p class="sideBtn">.sb3 生成</p> | |
<p class="sideBtn">セーブ</p> | |
<p class="sideBtn">ロード</p> | |
</div> | |
</div> | |
<div id="display"> | |
<div id="blocklyDiv"></div> | |
<div id="costumes"> | |
<button id="cosBtn"> | |
<img src="./data/costume.svg" alt=""> | |
</button> | |
</div> | |
</div> | |
<xml id="toolbox"> | |
<category name="動き" colour="#5597fc" web-class="category"> | |
<label text="動き"></label> | |
<block type="set_player"> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="change_player"> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="30"></sep> | |
<block type="set_inventory"> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="place"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="set_flymode"></block> | |
<sep gap="30"></sep> | |
<block type="set_block"> | |
<value name="place"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="drop"> | |
<value name="place"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="quant"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="explosion"> | |
<value name="place"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="radius"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="30"></sep> | |
<block type="craft_recipe"> | |
<value name="1"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="2"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="3"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="4"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="5"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="6"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="7"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="8"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="9"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="quant"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="smelt_recipe"> | |
<value name="original"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="processed"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="30"></sep> | |
<block type="add_data"> | |
<value name="1"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="2"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="3"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="4"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="6"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="7"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="8"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="9"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="10"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="add_tool"> | |
<value name="1"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="2"> | |
<shadow type="input"> | |
<field name="value">6</field> | |
</shadow> | |
</value> | |
<value name="5"> | |
<shadow type="input"> | |
<field name="value">7</field> | |
</shadow> | |
</value> | |
<value name="6"> | |
<shadow type="input"> | |
<field name="value">1000</field> | |
</shadow> | |
</value> | |
<value name="7"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="add_food"> | |
<value name="1"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="2"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="3"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="4"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="5"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
</category> | |
<category name="見た目" colour="#9a65fc" web-class="category"> | |
<label text="見た目"></label> | |
<block type="set_texture"> | |
<value name="block"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="30"></sep> | |
<block type="set_skin"> | |
<value name="value"> | |
<shadow type="skin"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="player_skin"></block> | |
<sep gap="10"></sep> | |
<block type="skin"></block> | |
</category> | |
<category name="音" colour="#ce62cd" web-class="category"> | |
<label text="音"></label> | |
<block type="play_sound"> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
</category> | |
<category name="イベント" colour="#fcbf29" web-class="category"> | |
<label text="イベント"></label> | |
<block type="world_loads"></block> | |
</category> | |
<category name="制御" colour="#fcaa2f" web-class="category"> | |
<label text="制御"></label> | |
<block type="forever"></block> | |
<sep gap="30"></sep> | |
<block type="if"></block> | |
<sep gap="10"></sep> | |
<block type="else"></block> | |
<sep gap="30"></sep> | |
<block type="search"></block> | |
<sep gap="10"></sep> | |
<block type="search_place"></block> | |
</category> | |
<category name="調べる" colour="#62b1d4" web-class="category"> | |
<label text="調べる"></label> | |
<block type="press_key"> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="30"></sep> | |
<block type="player"></block> | |
<sep gap="10"></sep> | |
<block type="inventory"> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="get_block"> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="flymode"></block> | |
<sep gap="30"></sep> | |
<block type="get_data"> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="type"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="seed"></block> | |
</category> | |
<category name="演算" colour="#5dc05d" web-class="category"> | |
<label text="演算"></label> | |
<block type="input"></block> | |
<sep gap="10"></sep> | |
<block type="bool"></block> | |
<sep gap="30"></sep> | |
<block type="calc"> | |
<field name="type">1</field> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="value2"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="calc"> | |
<field name="type">2</field> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="value2"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="calc"> | |
<field name="type">3</field> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="value2"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="calc"> | |
<field name="type">4</field> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="value2"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="random"> | |
<value name="value"> | |
<shadow type="input"> | |
<field name="value">1</field> | |
</shadow> | |
</value> | |
<value name="value2"> | |
<shadow type="input"> | |
<field name="value">10</field> | |
</shadow> | |
</value> | |
</block> | |
<sep gap="30"></sep> | |
<block type="comparison"> | |
<field name="type">1</field> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="value2"> | |
<shadow type="input"> | |
<field name="value">50</field> | |
</shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="comparison"> | |
<field name="type">2</field> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="value2"> | |
<shadow type="input"> | |
<field name="value">50</field> | |
</shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="comparison"> | |
<field name="type">3</field> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="value2"> | |
<shadow type="input"> | |
<field name="value">50</field> | |
</shadow> | |
</value> | |
</block> | |
<sep gap="30"></sep> | |
<block type="logic"> | |
<field name="type">1</field> | |
</block> | |
<sep gap="10"></sep> | |
<block type="logic"> | |
<field name="type">2</field> | |
</block> | |
<sep gap="10"></sep> | |
<block type="not"></block> | |
<sep gap="30"></sep> | |
<block type="join"> | |
<value name="value"> | |
<shadow type="input"> | |
<field name="value">りんご</field> | |
</shadow> | |
</value> | |
<value name="value2"> | |
<shadow type="input"> | |
<field name="value">バナナ</field> | |
</shadow> | |
</value> | |
</block> | |
<sep gap="30"></sep> | |
<block type="place"> | |
<value name="x"> | |
<shadow type="input"></shadow> | |
</value> | |
<value name="y"> | |
<shadow type="input"></shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="split_place"> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
<field name="type">1</field> | |
</block> | |
<sep gap="10"></sep> | |
<block type="split_place"> | |
<value name="value"> | |
<shadow type="input"></shadow> | |
</value> | |
<field name="type">2</field> | |
</block> | |
</category> | |
<category name="変数" colour="#fc8b2d" web-class="category"> | |
<label text="変数"></label> | |
<button text="変数を作る" callbackKey="createVar" web-class="createVar"></button> | |
<block type="variable"></block> | |
<sep gap="30"></sep> | |
<block type="set_var"> | |
<value name="value"> | |
<shadow type="input"> | |
<field name="value">0</field> | |
</shadow> | |
</value> | |
</block> | |
<sep gap="10"></sep> | |
<block type="change_var"> | |
<value name="value"> | |
<shadow type="input"> | |
<field name="value">1</field> | |
</shadow> | |
</value> | |
</block> | |
</category> | |
<category name="データ" colour="#fb642a" web-class="category"> | |
<label text="データ"></label> | |
<block type="building_blocks"> | |
<field name="type">2</field> | |
</block> | |
<sep gap="10"></sep> | |
<block type="wooden_blocks"></block> | |
<sep gap="10"></sep> | |
<block type="ore_blocks"> | |
<field name="type">16</field> | |
</block> | |
<sep gap="10"></sep> | |
<block type="oreblocks"> | |
<field name="type">247</field> | |
</block> | |
<sep gap="10"></sep> | |
<block type="deco_blocks"> | |
<field name="type">312</field> | |
</block> | |
<sep gap="10"></sep> | |
<block type="wool_blocks"></block> | |
<sep gap="10"></sep> | |
<block type="stairs_blocks"> | |
<field name="type">239</field> | |
</block> | |
<sep gap="10"></sep> | |
<block type="terracotta_blocks"></block> | |
<sep gap="30"></sep> | |
<block type="plant_deco"></block> | |
<sep gap="10"></sep> | |
<block type="flower_deco"></block> | |
<sep gap="10"></sep> | |
<block type="decoration"> | |
<field name="type">47</field> | |
</block> | |
<sep gap="30"></sep> | |
<block type="redstone"></block> | |
<sep gap="30"></sep> | |
<block type="miscellanceous"> | |
<field name="type">95</field> | |
</block> | |
<sep gap="10"></sep> | |
<block type="spawnegg"> | |
<field name="type">128</field> | |
</block> | |
<sep gap="30"></sep> | |
<block type="food"></block> | |
<sep gap="30"></sep> | |
<block type="tool"> | |
<field name="type">39</field> | |
</block> | |
<sep gap="30"></sep> | |
<block type="weapon"> | |
<field name="type">108</field> | |
</block> | |
<sep gap="10"></sep> | |
<block type="armor"> | |
<field name="type">157</field> | |
</block> | |
<sep gap="30"></sep> | |
<block type="ore_mate"> | |
<field name="type">89</field> | |
</block> | |
<sep gap="10"></sep> | |
<block type="material"> | |
<field name="type">96</field> | |
</block> | |
<sep gap="10"></sep> | |
<block type="dye"></block> | |
</category> | |
</xml> | |
<script src="https://unpkg.com/blockly/blockly_compressed.js"></script> | |
<script src="https://unpkg.com/blockly/blocks_compressed.js"></script> | |
<script src="https://unpkg.com/blockly/javascript_compressed.js"></script> | |
<script src="https://unpkg.com/blockly/msg/ja.js"></script> | |
<script src="data.js"></script> | |
<script src="func.js"></script> | |
<script src="eel.js"></script> | |
<script src="script.js"></script> | |
</body> | |
</html> |