Skip to content

Commit

Permalink
summon
Browse files Browse the repository at this point in the history
  • Loading branch information
hrmcngs committed Dec 15, 2024
1 parent 8e47fb8 commit e006605
Show file tree
Hide file tree
Showing 18 changed files with 189 additions and 37 deletions.
2 changes: 1 addition & 1 deletion elements/AlchemyCraftBlockBlockAdded.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=\"execute_command\"><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">summon minecraft:armor_stand ~ ~ ~ {Invisible:true,Invulnerable:true,PersistenceRequired:true,NoBasePlate:true,NoGravity:true,Small:true,DisabledSlots:4144959,Tags:[\"minecraft_armor_weapon_alchemy_craft_block_mahouzinn\"]}</field></block></value><value name=\"x\"><block type=\"coord_x\"></block></value><value name=\"y\"><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.5</field></block></value></block></value><value name=\"z\"><block type=\"coord_z\"></block></value></block></next></block><block type=\"text\" x=\"241\" y=\"179\"><field name=\"TEXT\">clear</field></block><block type=\"entity_execute_command\" x=\"45\" y=\"387\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block><block type=\"spawn_entity_with_rotation_velocity\" x=\"277\" y=\"424\"><field name=\"entity\">CUSTOM:AlchemyCraftBlockEntity</field><value name=\"x\"><block type=\"coord_x\"></block></value><value name=\"y\"><block type=\"coord_y\"></block></value><value name=\"z\"><block type=\"coord_z\"></block></value><value name=\"yaw\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"pitch\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"vx\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"vy\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"vz\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></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=\"execute_command\"><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">summon minecraft:armor_stand ~ ~ ~ {Invisible:true,Invulnerable:true,PersistenceRequired:true,NoBasePlate:true,NoGravity:true,Small:true,DisabledSlots:4144959,Tags:[\"minecraft_armor_weapon_alchemy_craft_block_mahouzinn\"]}</field></block></value><value name=\"x\"><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.5</field></block></value></block></value><value name=\"y\"><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\">1</field></block></value></block></value><value name=\"z\"><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.5</field></block></value></block></value></block></next></block><block type=\"text\" x=\"241\" y=\"179\"><field name=\"TEXT\">clear</field></block><block type=\"entity_execute_command\" x=\"45\" y=\"387\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block><block type=\"spawn_entity_with_rotation_velocity\" x=\"277\" y=\"424\"><field name=\"entity\">CUSTOM:AlchemyCraftBlockEntity</field><value name=\"x\"><block type=\"coord_x\"></block></value><value name=\"y\"><block type=\"coord_y\"></block></value><value name=\"z\"><block type=\"coord_z\"></block></value><value name=\"yaw\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"pitch\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"vx\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"vy\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value><value name=\"vz\"><block type=\"math_number\"><field name=\"NUM\">0</field></block></value></block></xml>"
}
}
20 changes: 20 additions & 0 deletions elements/AlchemyCraftBlockEffect.mod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"_fv": 43,
"_type": "potioneffect",
"definition": {
"effectName": "Alchemy Craft Block Effect",
"icon": "attack_in_guard.png",
"color": {
"value": -1,
"falpha": 0.0
},
"isInstant": false,
"isBad": false,
"isBenefitical": false,
"renderStatusInInventory": false,
"renderStatusInHUD": false,
"onActiveTick": {
"name": "AlchemyCraftBlockEffectOnEffectActiveTick"
}
}
}
7 changes: 7 additions & 0 deletions elements/AlchemyCraftBlockEffectOnEffectActiveTick.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><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_entity_compare\"><field name=\"entity\">EntityArmorStand</field><value name=\"compareTo\"><block type=\"entity_from_deps\"></block></value></block></value><statement name=\"DO0\"><block type=\"entity_execute_command\"><value name=\"command\"><block type=\"text\"><field name=\"TEXT\">tp @s ~ ~ ~ ~-.5 ~</field></block></value><value name=\"entity\"><block type=\"entity_from_deps\"></block></value><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_negate\"><value name=\"BOOL\"><block type=\"compare_mcblocks\"><value name=\"a\"><block type=\"world_data_blockat\"><value name=\"x\"><block type=\"entity_pos_x\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"y\"><block type=\"math_dual_ops\"><field name=\"OP\">MINUS</field><value name=\"A\"><block type=\"entity_pos_y\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><value name=\"B\"><block type=\"math_number\"><field name=\"NUM\">0.5</field></block></value></block></value><value name=\"z\"><block type=\"entity_pos_z\"><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value></block></value><value name=\"b\"><block type=\"mcitem_allblocks\"><field name=\"value\">CUSTOM:AlchemyCraftBlock</field></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></next></block></statement></block></next></block><block type=\"coord_x\" x=\"386\" y=\"231\"></block><block type=\"coord_z\" x=\"739\" y=\"227\"></block></xml>"
}
}
2 changes: 1 addition & 1 deletion elements/MukoukaGuard.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\">entity_attacked</field><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_entity_compare\"><field name=\"entity\">CUSTOM:Blackhole</field><value name=\"compareTo\"><block type=\"entity_from_deps\"></block></value></block></value><statement name=\"DO0\"><block type=\"cancel_event\"></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_entity_compare\"><field name=\"entity\">CUSTOM:Killotiru</field><value name=\"compareTo\"><block type=\"entity_from_deps\"></block></value></block></value><statement name=\"DO0\"><block type=\"cancel_event\"></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_entity_compare\"><field name=\"entity\">CUSTOM:Otiruyo</field><value name=\"compareTo\"><block type=\"entity_from_deps\"></block></value></block></value><statement name=\"DO0\"><block type=\"cancel_event\"></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_entity_compare\"><field name=\"entity\">CUSTOM:AlchemyCraftBlockEntity</field><value name=\"compareTo\"><block type=\"entity_from_deps\"></block></value></block></value><statement name=\"DO0\"><block type=\"cancel_event\"></block></statement></block></next></block></next></block></next></block></next></block><block type=\"is_curio\" x=\"182\" y=\"377\"></block><block type=\"entity_haspotioneffect\" x=\"183\" y=\"386\"><field name=\"potion\">CUSTOM:Guard</field><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block><block type=\"itemstack_to_mcitem\" x=\"-40\" y=\"448\"></block><block type=\"set_event_result\" x=\"-83\" y=\"498\"><field name=\"result\">DEFAULT</field></block><block type=\"set_event_result\" x=\"495\" y=\"510\"><field name=\"result\">DEFAULT</field></block><block type=\"controls_if\" x=\"68\" y=\"553\"><value name=\"IF0\"><block type=\"entity_haspotioneffect\"><field name=\"potion\">CUSTOM:Guard</field><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><statement name=\"DO0\"><block type=\"cancel_event\"></block></statement></block></xml>"
"procedurexml": "<xml xmlns=\"https://developers.google.com/blockly/xml\"><block type=\"event_trigger\" deletable=\"false\" x=\"40\" y=\"40\"><field name=\"trigger\">entity_attacked</field><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_entity_compare\"><field name=\"entity\">CUSTOM:Blackhole</field><value name=\"compareTo\"><block type=\"entity_from_deps\"></block></value></block></value><statement name=\"DO0\"><block type=\"cancel_event\"></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_entity_compare\"><field name=\"entity\">CUSTOM:Killotiru</field><value name=\"compareTo\"><block type=\"entity_from_deps\"></block></value></block></value><statement name=\"DO0\"><block type=\"cancel_event\"></block></statement><next><block type=\"controls_if\"><value name=\"IF0\"><block type=\"logic_entity_compare\"><field name=\"entity\">CUSTOM:Otiruyo</field><value name=\"compareTo\"><block type=\"entity_from_deps\"></block></value></block></value><statement name=\"DO0\"><block type=\"cancel_event\"></block></statement></block></next></block></next></block></next></block><block type=\"is_curio\" x=\"182\" y=\"377\"></block><block type=\"entity_haspotioneffect\" x=\"183\" y=\"386\"><field name=\"potion\">CUSTOM:Guard</field><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block><block type=\"itemstack_to_mcitem\" x=\"-40\" y=\"448\"></block><block type=\"controls_if\" x=\"765\" y=\"410\"><value name=\"IF0\"><block type=\"logic_entity_compare\"><field name=\"entity\">CUSTOM:AlchemyCraftBlockEntity</field><value name=\"compareTo\"><block type=\"entity_from_deps\"></block></value></block></value><statement name=\"DO0\"><block type=\"cancel_event\"></block></statement></block><block type=\"set_event_result\" x=\"-83\" y=\"498\"><field name=\"result\">DEFAULT</field></block><block type=\"set_event_result\" x=\"495\" y=\"510\"><field name=\"result\">DEFAULT</field></block><block type=\"controls_if\" x=\"68\" y=\"553\"><value name=\"IF0\"><block type=\"entity_haspotioneffect\"><field name=\"potion\">CUSTOM:Guard</field><value name=\"entity\"><block type=\"entity_from_deps\"></block></value></block></value><statement name=\"DO0\"><block type=\"cancel_event\"></block></statement></block></xml>"
}
}
2 changes: 1 addition & 1 deletion elements/SkinOfDragonTick.mod.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion elements/SwordStandLuna.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"_fv": 43,
"_type": "function",
"definition": {
"code": "summon minecraft:armor_stand ~-0.3 ~-0.5 ~0.025 {Invisible:true,Invulnerable:true,PersistenceRequired:true,NoBasePlate:true,NoGravity:true,ShowArms:true,DisabledSlots:65537,Pose:{RightArm:[90f,90f,0f]},HandItems:[{id:\"minecraft_armor_weapon:luna\",Count:1},{}],Tags:[\"minecraft_armor_weapon_item_stand_amor_stand\"]}\nparticle minecraft:cloud ~ ~1.5 ~ 1 1 1 0.1 200 normal\nparticle minecraft:end_rod ~ ~1.5 ~ 0.4 5 0.4 0.0 200 normal",
"code": "summon minecraft:armor_stand ~-0.3 ~-0.5 ~0.025 {Invisible:true,Invulnerable:true,PersistenceRequired:true,NoBasePlate:true,NoGravity:true,ShowArms:true,DisabledSlots:65537,Pose:{RightArm:[90f,90f,0f]},HandItems:[{id:\"minecraft_armor_weapon:luna\",Count:1},{}],Tags:[\"minecraft_armor_weapon_item_stand_amor_stand\"]}\nkill @e[sort=nearest,limit=1,type=item,nbt={Item:{id:\"minecraft_armor_weapon:iron_katana\",Count:1b}}]\nkill @e[sort=nearest,limit=1,type=item,nbt={Item:{id:\"minecraft:beacon\",Count:16b}}]\nkill @e[sort=nearest,limit=1,type=item,nbt={Item:{id:\"minecraft:iron_block\",Count:64b}}]\nparticle minecraft:cloud ~ ~1.5 ~ 1 1 1 0.1 200 normal\nparticle minecraft:end_rod ~ ~1.5 ~ 0.4 5 0.4 0.0 200 normal",
"name": "sword_stand_luna",
"namespace": "mod"
}
Expand Down
62 changes: 50 additions & 12 deletions minecraft_armor_weapon.mcreator
Original file line number Diff line number Diff line change
Expand Up @@ -9025,6 +9025,42 @@
}
]
}
},
{
"name": "AlchemyCraftBlockEffectOnEffectActiveTick",
"type": "procedure",
"sortid": 593,
"compiles": true,
"locked_code": false,
"registry_name": "alchemy_craft_block_effect_on_effect_active_tick",
"metadata": {
"files": [
"src/main/java/minecraftarmorweapon/procedures/AlchemyCraftBlockEffectOnEffectActiveTickProcedure.java"
],
"dependencies": [
{
"name": "entity",
"type": "entity"
},
{
"name": "world",
"type": "world"
}
]
}
},
{
"name": "AlchemyCraftBlockEffect",
"type": "potioneffect",
"sortid": 594,
"compiles": true,
"locked_code": false,
"registry_name": "alchemy_craft_block_effect",
"metadata": {
"files": [
"src/main/java/minecraftarmorweapon/potion/AlchemyCraftBlockEffectMobEffect.java"
]
}
}
],
"variable_elements": [
Expand Down Expand Up @@ -9254,19 +9290,19 @@
"itemGroup.tabmagic_books": "Magic Books",
"itemGroup.tabyopkeinamono": "建築とかに",
"effect.minecraft_armor_weapon.syugeki": "aa",
"item.minecraft_armor_weapon.illusioner_armor_boots": "Illusioner Armor Boots",
"item.minecraft_armor_weapon.das_herz_einer_fee_armor_helmet": "das herz einer fee armor helmet",
"item.minecraft_armor_weapon.illusioner_armor_boots": "Illusioner Armor Boots",
"item.minecraft_armor_weapon.ruami_284_spawn_egg": "ruami284 Spawn Egg",
"entity.minecraft_armor_weapon.comet": "Comet",
"entity.minecraft_armor_weapon.comet_kill": "Comet",
"effect.minecraft_armor_weapon.bow_attack": "illusioner_armor_effect",
"item.minecraft_armor_weapon.darkness": "§5Darkness",
"effect.minecraft_armor_weapon.bow_attack": "illusioner_armor_effect",
"entity.minecraft_armor_weapon.comet_kill": "Comet",
"block.minecraft_armor_weapon.stone_katana_block": "Netherite Katana Block",
"item.minecraft_armor_weapon.blackhole_spawn_egg": "Blackhole Spawn Egg",
"entity.minecraft_armor_weapon.blackhole": "Blackhole",
"advancements.magical_swordsman_achievements.descr": "§eGet Magisches feen katana",
"effect.minecraft_armor_weapon.suityuu": "suityuu",
"entity.minecraft_armor_weapon.ruami_284": "ruami284",
"effect.minecraft_armor_weapon.suityuu": "suityuu",
"advancements.you_have_become_a_vampire.descr": "You have become a vampire.",
"effect.minecraft_armor_weapon.bakuhatu": "explosion",
"effect.minecraft_armor_weapon.aaaa": "bunnsinn",
Expand All @@ -9286,8 +9322,8 @@
"block.minecraft_armor_weapon.stone_bricks_trap_door": "Stone Bricks Trap Door",
"item.minecraft_armor_weapon.stone_katana": "§7Stone Katana",
"item.minecraft_armor_weapon.dragon_black_armor_helmet": "§8Dragon black helmet",
"item.minecraft_armor_weapon.kaminari_kurikaraken_sword": "Kaminari Kurikaraken Sword",
"item.minecraft_armor_weapon.kurikarakensword": "§5倶利伽羅剣",
"item.minecraft_armor_weapon.kaminari_kurikaraken_sword": "Kaminari Kurikaraken Sword",
"item.minecraft_armor_weapon.scythe": "Scythe",
"item.minecraft_armor_weapon.wind_step": "§2Windstep",
"item.minecraft_armor_weapon.a": "A",
Expand All @@ -9298,8 +9334,9 @@
"effect.minecraft_armor_weapon.long_range_weapon_cut": "遠距離武器斬る",
"item.minecraft_armor_weapon.bogged_outer_chestplate": "Bogged Outer Chestplate",
"item.minecraft_armor_weapon.dragon_green_armor_boots": "§2Dragon green boots",
"item.minecraft_armor_weapon.magicwand": "Magicwand",
"item.minecraft_armor_weapon.rivers_of_blood": "§4§lRivers of Blood",
"item.minecraft_armor_weapon.magicwand": "Magicwand",
"effect.minecraft_armor_weapon.alchemy_craft_block_effect": "Alchemy Craft Block Effect",
"item.minecraft_armor_weapon.das_herz_einer_fee_armor_boots": "das herz einer fee armor boots",
"entity.minecraft_armor_weapon.killotiru": "Otiruyo",
"effect.minecraft_armor_weapon.kitterukitteru": "subetekirisuteru",
Expand Down Expand Up @@ -9516,19 +9553,19 @@
"itemGroup.tabmagic_books": "Magic Books",
"itemGroup.tabyopkeinamono": "建築とかに",
"effect.minecraft_armor_weapon.syugeki": "aa",
"item.minecraft_armor_weapon.illusioner_armor_boots": "Illusioner Armor Boots",
"item.minecraft_armor_weapon.das_herz_einer_fee_armor_helmet": "das herz einer fee armor helmet",
"item.minecraft_armor_weapon.illusioner_armor_boots": "Illusioner Armor Boots",
"item.minecraft_armor_weapon.ruami_284_spawn_egg": "ruami284 Spawn Egg",
"entity.minecraft_armor_weapon.comet": "Comet",
"effect.minecraft_armor_weapon.bow_attack": "illusioner_armor_effect",
"item.minecraft_armor_weapon.darkness": "§5Darkness",
"entity.minecraft_armor_weapon.comet_kill": "Comet",
"item.minecraft_armor_weapon.darkness": "§5Darkness",
"effect.minecraft_armor_weapon.bow_attack": "illusioner_armor_effect",
"block.minecraft_armor_weapon.stone_katana_block": "Netherite Katana Block",
"item.minecraft_armor_weapon.blackhole_spawn_egg": "Blackhole Spawn Egg",
"entity.minecraft_armor_weapon.blackhole": "Blackhole",
"advancements.magical_swordsman_achievements.descr": "Magisches feen katanaを得る",
"effect.minecraft_armor_weapon.suityuu": "suityuu",
"entity.minecraft_armor_weapon.ruami_284": "ruami284",
"effect.minecraft_armor_weapon.suityuu": "suityuu",
"advancements.you_have_become_a_vampire.descr": "吸血鬼になったよ",
"effect.minecraft_armor_weapon.bakuhatu": "explosion",
"effect.minecraft_armor_weapon.aaaa": "bunnsinn",
Expand All @@ -9548,8 +9585,8 @@
"block.minecraft_armor_weapon.stone_bricks_trap_door": "Stone Bricks Trap Door",
"item.minecraft_armor_weapon.dragon_black_armor_helmet": "§8Dragon black helmet",
"item.minecraft_armor_weapon.stone_katana": "§7石の刀",
"item.minecraft_armor_weapon.kurikarakensword": "§5倶利伽羅剣",
"item.minecraft_armor_weapon.kaminari_kurikaraken_sword": "Kaminari Kurikaraken Sword",
"item.minecraft_armor_weapon.kurikarakensword": "§5倶利伽羅剣",
"item.minecraft_armor_weapon.wind_step": "§2Windstep",
"item.minecraft_armor_weapon.scythe": "Scythe",
"item.minecraft_armor_weapon.a": "A",
Expand All @@ -9560,8 +9597,9 @@
"item.minecraft_armor_weapon.bogged_outer_chestplate": "Bogged Outer Chestplate",
"effect.minecraft_armor_weapon.long_range_weapon_cut": "遠距離武器斬る",
"item.minecraft_armor_weapon.dragon_green_armor_boots": "§2Dragon green boots",
"item.minecraft_armor_weapon.magicwand": "Magicwand",
"item.minecraft_armor_weapon.rivers_of_blood": "§4§lRivers of Blood",
"item.minecraft_armor_weapon.magicwand": "Magicwand",
"effect.minecraft_armor_weapon.alchemy_craft_block_effect": "Alchemy Craft Block Effect",
"entity.minecraft_armor_weapon.killotiru": "Otiruyo",
"item.minecraft_armor_weapon.das_herz_einer_fee_armor_boots": "das herz einer fee armor boots",
"effect.minecraft_armor_weapon.kitterukitteru": "subetekirisuteru",
Expand Down
Loading

0 comments on commit e006605

Please sign in to comment.