Skip to content

Commit

Permalink
version up
Browse files Browse the repository at this point in the history
  • Loading branch information
hrmcngs committed Oct 7, 2024
1 parent ab31ce1 commit 43f3435
Show file tree
Hide file tree
Showing 18 changed files with 487 additions and 34 deletions.
12 changes: 6 additions & 6 deletions command.mcfunction
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
リソースパックを導入したのちに実行するといろんなことが出来るコマンドたち。
#リソースパックを導入したのちに実行するといろんなことが出来るコマンドたち。

・カスタムアイコンをどん、と画面に表示
#・カスタムアイコンをどん、と画面に表示

/title @p title {"text":"\uE010\uE011\uE012\uE013\uE014\uE015\uE016\uE017\uE018\uE019\uE01A"}

・チェストを使ったカスタムGUI
#・チェストを使ったカスタムGUI

/give @p chest{display:{Name:'[{"text":"\\uF808\\uE200\\uF80C\\uF80A\\uF808\\uF801","color":"#FFFFFF"},{"text":"カスタムGUI","italic":"false","color":"#3F3F3F"}]'}} 1

・「やあ。」ふきだし村人
#・「やあ。」ふきだし村人

/summon villager ~ ~ ~ {Passengers:[{id:"minecraft:armor_stand",CustomNameVisible:1b,Invulnerable:1b,Small:1b,Invisible:1b,CustomName:'{"text":"\\uE003"}'}],CustomName:'{"text":"村人A"}'}

・暗転(/title @p time 5 50 5 (左のコマンドと併せて使えると良いかも。))
#・暗転(/title @p time 5 50 5 (左のコマンドと併せて使えると良いかも。))

/title @p title {"text":"\uE001"}

・詳細なページを持つ本(textures/font/book_area128book_area256.pngをいじれば自分だけのものも作れるよ。)
# ・詳細なページを持つ本(textures/font/book_area128やbook_area256.pngをいじれば自分だけのものも作れるよ。)

/give @p written_book{title:"",author:"",pages:['{"text":"\\uE102","color":white}']}
2 changes: 1 addition & 1 deletion elements/BluepurgeYoukuritukusitatoki.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"_fv": 43,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"40\" y=\"40\"><field name=\"trigger\">no_ext_trigger</field></block></xml>"
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable type=\"MCItem\" id=\"pickaxe\">pickaxe</variable><variable type=\"Number\" id=\"previousRecipe\">previousRecipe</variable><variable type=\"Number\" id=\"EnchtSize\">EnchtSize</variable><variable type=\"Number\" id=\"i\">i</variable><variable type=\"Number\" id=\"j\">j</variable><variable type=\"Number\" id=\"k\">k</variable><variable type=\"Number\" id=\"particleRadius\">particleRadius</variable><variable type=\"Number\" id=\"particleAmount\">particleAmount</variable></variables><block type=\"event_trigger\" deletable=\"false\" x=\"40\" y=\"40\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"variables_set_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:particleAmount</field><value name=\"VAL\"><block type=\"math_number\"><field name=\"NUM\">8</field></block></value><next><block type=\"variables_set_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:particleRadius</field><value name=\"VAL\"><block type=\"math_number\"><field name=\"NUM\">2</field></block></value><next><block type=\"controls_repeat_ext\"><value name=\"TIMES\"><block type=\"variables_get_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:particleAmount</field></block></value><statement name=\"DO\"><block type=\"spawn_particle\" inline=\"false\"><field name=\"particle\">SWEEP_ATTACK</field><value name=\"x\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"coord_x\"></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value><value name=\"B\"><block type=\"math_dual_ops\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><block type=\"math_random_number_between\"><value name=\"min\"><block type=\"math_number\"><field name=\"NUM\">-1</field></block></value><value name=\"max\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"B\"><block type=\"variables_get_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:particleRadius</field></block></value></block></value></block></value><value name=\"y\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"coord_y\"></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value><value name=\"B\"><block type=\"math_dual_ops\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><block type=\"math_random_number_between\"><value name=\"min\"><block type=\"math_number\"><field name=\"NUM\">-1</field></block></value><value name=\"max\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"B\"><block type=\"variables_get_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:particleRadius</field></block></value></block></value></block></value><value name=\"z\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"math_dual_ops\"><field name=\"OP\">ADD</field><value name=\"A\"><block type=\"coord_z\"></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></value><value name=\"B\"><block type=\"math_dual_ops\"><field name=\"OP\">MULTIPLY</field><value name=\"A\"><block type=\"math_random_number_between\"><value name=\"min\"><block type=\"math_number\"><field name=\"NUM\">-1</field></block></value><value name=\"max\"><block type=\"math_number\"><field name=\"NUM\">1</field></block></value></block></value><value name=\"B\"><block type=\"variables_get_number\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" is_player_var=\"false\" has_entity=\"false\"></mutation><field name=\"VAR\">local:particleRadius</field></block></value></block></value></block></value><value name=\"xs\"><block type=\"math_random_number_between\"><value name=\"min\"><block type=\"math_number\"><field name=\"NUM\">-0.001</field></block></value><value name=\"max\"><block type=\"math_number\"><field name=\"NUM\">0.001</field></block></value></block></value><value name=\"ys\"><block type=\"math_random_number_between\"><value name=\"min\"><block type=\"math_number\"><field name=\"NUM\">-0.001</field></block></value><value name=\"max\"><block type=\"math_number\"><field name=\"NUM\">0.001</field></block></value></block></value><value name=\"zs\"><block type=\"math_random_number_between\"><value name=\"min\"><block type=\"math_number\"><field name=\"NUM\">-0.001</field></block></value><value name=\"max\"><block type=\"math_number\"><field name=\"NUM\">0.001</field></block></value></block></value></block></statement></block></next></block></next></block></next></block></xml>"
}
}
2 changes: 1 addition & 1 deletion elements/DespornKentimobugaturudeGongJisaretatoki.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"_fv": 43,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"40\" y=\"40\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityPlayer</field><value name=\"compareTo\"><block type=\"source_entity_from_deps\"></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityPlayerMP</field><value name=\"compareTo\"><block type=\"source_entity_from_deps\"></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"entity_despawn\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></statement></block></statement></block></next></block><block type=\"controls_if\" x=\"126\" y=\"284\"><value name=\"IF0\"><block type=\"item_istype\"><field name=\"item_type\">Bow</field><value name=\"item\"><block type=\"entity_iteminhand\"><value name=\"entity\"><block type=\"source_entity_from_deps\"></block></value></block></value></block></value></block><block type=\"item_nbt_copy\" x=\"202\" y=\"309\"><value name=\"a\"><block type=\"entity_iteminhand\"></block></value><value name=\"b\"><block type=\"entity_iteminhand\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value></block><block type=\"entity_from_deps\" x=\"245\" y=\"603\"></block></xml>"
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"40\" y=\"40\"><field name=\"trigger\">no_ext_trigger</field><next><block type=\"controls_if\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityPlayer</field><value name=\"compareTo\"><block type=\"source_entity_from_deps\"></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"controls_if\"><mutation else=\"1\"></mutation><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityPlayerMP</field><value name=\"compareTo\"><block type=\"source_entity_from_deps\"></block></value></block></value></block></value><statement name=\"DO0\"><block type=\"entity_despawn\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></statement><statement name=\"ELSE\"><block type=\"entity_execute_command\"><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">kill @s</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></statement></block></statement><statement name=\"ELSE\"><block type=\"entity_execute_command\"><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">kill @s</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></statement></block></next></block><block type=\"controls_if\" x=\"169\" y=\"304\"><value name=\"IF0\"><block type=\"item_istype\"><field name=\"item_type\">Bow</field><value name=\"item\"><block type=\"entity_iteminhand\"><value name=\"entity\"><block type=\"source_entity_from_deps\"></block></value></block></value></block></value></block><block type=\"item_nbt_copy\" x=\"202\" y=\"309\"><value name=\"a\"><block type=\"entity_iteminhand\"></block></value><value name=\"b\"><block type=\"entity_iteminhand\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value></block><block type=\"entity_from_deps\" x=\"245\" y=\"603\"></block></xml>"
}
}
124 changes: 124 additions & 0 deletions elements/MeteorArrow.mod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
{
"_fv": 43,
"_type": "livingentity",
"definition": {
"mobName": "Meteor Arrow",
"mobLabel": "",
"mobModelName": "Biped",
"mobModelTexture": "toumei.png",
"mobModelGlowTexture": "",
"solidBoundingBox": {
"fixedValue": false
},
"modelWidth": 0.5,
"modelHeight": 0.5,
"modelShadowSize": 0.5,
"mountedYOffset": 0.5,
"hasSpawnEgg": true,
"spawnEggBaseColor": {
"value": -1,
"falpha": 0.0
},
"spawnEggDotColor": {
"value": -1,
"falpha": 0.0
},
"creativeTab": {
"value": "MISC"
},
"isBoss": false,
"bossBarColor": "PINK",
"bossBarType": "PROGRESS",
"equipmentMainHand": {
"value": ""
},
"equipmentOffHand": {
"value": ""
},
"equipmentHelmet": {
"value": ""
},
"equipmentBody": {
"value": ""
},
"equipmentLeggings": {
"value": ""
},
"equipmentBoots": {
"value": ""
},
"mobBehaviourType": "Creature",
"mobCreatureType": "UNDEFINED",
"attackStrength": 0,
"attackKnockback": 0.0,
"knockbackResistance": 1000.0,
"movementSpeed": 0.0,
"stepHeight": 0.0,
"armorBaseValue": 100.0,
"trackingRange": 0,
"followRange": 0,
"health": 1024,
"xpAmount": 0,
"waterMob": true,
"flyingMob": true,
"guiBoundTo": "<NONE>",
"inventorySize": 9,
"inventoryStackSize": 64,
"disableCollisions": false,
"ridable": false,
"canControlForward": false,
"canControlStrafe": false,
"immuneToFire": true,
"immuneToArrows": true,
"immuneToFallDamage": true,
"immuneToCactus": true,
"immuneToDrowning": true,
"immuneToLightning": true,
"immuneToPotions": true,
"immuneToPlayer": true,
"immuneToExplosion": true,
"immuneToTrident": true,
"immuneToAnvil": true,
"immuneToWither": true,
"immuneToDragonBreath": true,
"mobDrop": {
"value": ""
},
"livingSound": {
"value": ""
},
"hurtSound": {
"value": ""
},
"deathSound": {
"value": ""
},
"stepSound": {
"value": ""
},
"onInitialSpawn": {
"name": "MeteorArrowOnInitialEntitySpawn"
},
"hasAI": true,
"aiBase": "(none)",
"aixml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"aitasks_container\" deletable=\"false\" x=\"40\" y=\"40\"></block><block type=\"attack_on_collide\" x=\"207\" y=\"182\"><field name=\"speed\">1.2</field><field name=\"longmemory\">FALSE</field><field name=\"condition\">null,null</field><next><block type=\"wander\"><field name=\"speed\">1</field><field name=\"condition\">null,null</field><next><block type=\"attack_action\"><field name=\"callhelp\">FALSE</field><field name=\"condition\">null,null</field><next><block type=\"look_around\"><field name=\"condition\">null,null</field><next><block type=\"swim_in_water\"><field name=\"condition\">null,null</field></block></next></block></next></block></next></block></next></block></xml>",
"breedable": false,
"tameable": false,
"breedTriggerItems": [],
"ranged": false,
"rangedAttackItem": {
"value": ""
},
"rangedItemType": "Default item",
"rangedAttackInterval": 20,
"rangedAttackRadius": 10.0,
"spawnThisMob": false,
"doesDespawnWhenIdle": false,
"spawningProbability": 20,
"mobSpawningType": "monster",
"minNumberOfMobsPerGroup": 4,
"maxNumberOfMobsPerGroup": 4,
"restrictionBiomes": [],
"spawnInDungeons": false
}
}
7 changes: 7 additions & 0 deletions elements/MeteorArrowOnInitialEntitySpawn.mod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"_fv": 43,
"_type": "procedure",
"definition": {
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"40\" y=\"40\"><field name=\"trigger\">no_ext_trigger</field></block><block type=\"entity_nbt_logic_get\" x=\"-56\" y=\"467\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><value name=\"tagName\"><block type=\"text\"><field name=\"TEXT\">tagName</field></block></value></block></xml>"
}
}
Loading

0 comments on commit 43f3435

Please sign in to comment.