|
<!DOCTYPE html> |
|
<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">Generate .sb3</p> |
|
<p class="sideBtn">Save</p> |
|
<p class="sideBtn">Import</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="Motion" colour="#5597fc" web-class="category"> |
|
<label text="Motion"></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="Looks" colour="#9a65fc" web-class="category"> |
|
<label text="Looks"></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="Sound" colour="#ce62cd" web-class="category"> |
|
<label text="Sound"></label> |
|
<block type="play_sound"> |
|
<value name="value"> |
|
<shadow type="input"></shadow> |
|
</value> |
|
</block> |
|
</category> |
|
<category name="Events" colour="#fcbf29" web-class="category"> |
|
<label text="Events"></label> |
|
<block type="world_loads"></block> |
|
</category> |
|
<category name="Control" colour="#fcaa2f" web-class="category"> |
|
<label text="Control"></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="Sensing" colour="#62b1d4" web-class="category"> |
|
<label text="Sensing"></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="Operators" colour="#5dc05d" web-class="category"> |
|
<label text="Operators"></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">apple</field> |
|
</shadow> |
|
</value> |
|
<value name="value2"> |
|
<shadow type="input"> |
|
<field name="value">banana</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="Variables" colour="#fc8b2d" web-class="category"> |
|
<label text="Variables"></label> |
|
<button text="Make a Variable" 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="Data" colour="#fb642a" web-class="category"> |
|
<label text="Data"></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> |