wood_gear: type: item Debug: false material: paper display name: <&6>Engrenage en bois mechanisms: custom_model_data: 5 recipes: 1: type: shaped input: - air|stick|air - stick|oak_planks|stick - air|stick|air stone_gear: type: item Debug: false material: paper display name: <&6>Engrenage en pierre mechanisms: custom_model_data: 6 recipes: 1: type: shaped input: - air|stone|air - stone|wood_gear|stone - air|stone|air iron_gear: type: item Debug: false material: paper display name: <&6>Engrenage en fer mechanisms: custom_model_data: 7 recipes: 1: type: shaped input: - air|iron_ingot|air - iron_ingot|stone_gear|iron_ingot - air|iron_ingot|air copper_gear: type: item Debug: false material: paper display name: <&6>Engrenage en cuivre mechanisms: custom_model_data: 8 recipes: 1: type: shaped input: - air|copper_ingot|air - copper_ingot|iron_gear|copper_ingot - air|copper_ingot|air diamond_gear: type: item Debug: false material: paper display name: <&6>Engrenage en diamant mechanisms: custom_model_data: 9 recipes: 1: type: shaped input: - air|diamond|air - diamond|copper_gear|diamond - air|diamond|air diamond_gear_plasma: type: item Debug: false material: paper display name: <&6>Engrenage en diamant infusé de plasma mechanisms: custom_model_data: 9 hides: ENCHANTS enchantments: - fire_protection:1 recipes: 1: type: shaped input: - air|plasma_pur|air - plasma_pur|diamond_gear|plasma_pur - air|plasma_pur|air plasma_gen: type: item Debug: false material: beacon display name: <&b><&l>Générateur de plasma lore: - <&b>Génère du plasma pur ! - <&7>======================= - <&6>Clic droit avec de la - <&6>redstone pour recharger mechanisms: hides: ENCHANTS enchantments: - fire_protection:1 recipes: 1: type: shaped input: - iron_plate|iron_plate|iron_plate - diamond_gear|beacon|diamond_gear - obsidian|obsidian|obsidian plasma_battery_empty: type: item Debug: false material: paper display name: <&b><&l>Batterie plasmatique vide mechanisms: custom_model_data: 14 recipes: 1: type: shaped input: - iron_plate|iron_plate|iron_plate - iron_plate|white_stained_glass|iron_plate - iron_plate|diamond_gear|iron_plate plasma_battery: type: item Debug: false material: paper display name: <&b><&l>Batterie plasmatique chargée mechanisms: custom_model_data: 15 hides: ENCHANTS enchantments: - fire_protection:1 recipes: 1: type: shaped input: - air|plasma_bucket|air - plasma_bucket|plasma_battery_empty|plasma_bucket - air|plasma_bucket|air plasma_core: type: item Debug: false material: paper display name: <&b><&l>Coeur plasmatique mechanisms: custom_model_data: 16 recipes: 1: type: shaped input: - diamond_gear|plasma_pur|diamond_gear - plasma_pur|redstone_block|plasma_pur - diamond_gear|plasma_pur|diamond_gear plasma_panel: type: item Debug: false material: paper display name: <&b><&l>Panel de contrôle plasmatique mechanisms: custom_model_data: 19 recipes: 1: type: shaped input: - iron_plate|diamond_gear_plasma|iron_plate - plasma_core|plasma_stabi_orb|plasma_core - iron_plate|diamond_gear_plasma|iron_plate plasma_pur: type: item Debug: false material: paper display name: <&b><&l>Plasma pur ! lore: - <&b>Du plasma pur et instable ! mechanisms: custom_model_data: 10 hides: ENCHANTS enchantments: - fire_protection:1 plasma_stabi: type: item Debug: false material: paper display name: <&b><&l>Plasma stabiliser mechanisms: custom_model_data: 11 hides: ENCHANTS enchantments: - fire_protection:1 plasma_stabi_rafi: type: item Debug: false material: paper display name: <&d><&l>Plasma stabiliser raffiné mechanisms: custom_model_data: 20 hides: ENCHANTS enchantments: - fire_protection:1 plasma_stabi_orb: type: item Debug: false material: paper display name: <&b><&l>Orbe de plasma stabiliser mechanisms: custom_model_data: 18 hides: ENCHANTS enchantments: - fire_protection:1 recipes: 1: type: shaped input: - plasma_stabi|plasma_stabi|plasma_stabi - plasma_stabi|plasma_stabi|plasma_stabi - plasma_stabi|plasma_stabi|plasma_stabi plasma_stabi_orb_rafi: type: item Debug: false material: paper display name: <&d><&l>Orbe de plasma stabiliser raffiné mechanisms: custom_model_data: 21 hides: ENCHANTS enchantments: - fire_protection:1 recipes: 1: type: shaped input: - plasma_stabi_orb|plasma_stabi_orb|plasma_stabi_orb - plasma_stabi_orb|plasma_stabi_orb|plasma_stabi_orb - plasma_stabi_orb|plasma_stabi_orb|plasma_stabi_orb sonic_screw_bottom: type: item Debug: false material: paper display name: <&b><&l>Poignée du tournevis sonique lore: - <&b>Permet de fabriquer le tournevis sonique ! mechanisms: custom_model_data: 12 recipes: 1: type: shaped input: - redstone|oak_planks|redstone - oak_planks|diamond_gear|oak_planks - redstone|oak_planks|redstone sonic_screw_top: type: item Debug: false material: paper display name: <&b><&l>Tête du tournevis sonique lore: - <&b>Permet de fabriquer le tournevis sonique ! mechanisms: custom_model_data: 13 recipes: 1: type: shaped input: - iron_plate|diamond|iron_plate - iron_plate|diamond_gear|iron_plate - iron_plate|repeater|iron_plate sonic_screw: type: item Debug: false material: iron_pickaxe display name: <&b><&l>Tournevis sonique lore: - <&b>Permet de récolter le plasma pur ! mechanisms: durability: 0 hides: ENCHANTS custom_model_data: 1 enchantments: - fire_protection:1 recipes: 1: type: shaped input: - air|air|air - air|sonic_screw_top|air - air|sonic_screw_bottom|air battery_station: type: item Debug: false material: paper display name: <&b><&l>Station de recharge plasmatique lore: - <&b>Permet de recharger des choses mechanisms: custom_model_data: 21 battery_station_event: type: world Debug: false events: on player right clicks block with:battery_station: - ratelimit 50t - take item:battery_station - modifyblock sea_lantern - modifyblock white_stained_glass - flag bottom_battery_station - flag top_battery_station on player right clicks block Location_flagged:bottom_battery_station: - if : - modifyblock air - modifyblock air - remove - flag bottom_battery_station:! - flag top_battery_station:! - flag screwOK:! - flag batteryOK:! - drop battery_station on player breaks block Location_flagged:bottom_battery_station: - determine passively cancelled - ratelimit 50t - narrate "<&4>Sneak + clic droit pour récupérer" - wait 1t - narrate "<&4><&l>ATTENTION <&r><&4>Vous perdrez les objets insérer dans la machine" on player right clicks block Location_flagged:top_battery_station: - if : - modifyblock air - modifyblock air - remove - flag bottom_battery_station:! - flag top_battery_station:! - flag screwOK:! - flag batteryOK:! - drop battery_station on player breaks block Location_flagged:top_battery_station: - determine passively cancelled - ratelimit 50t - narrate "<&4>Sneak + clic droit pour récupérer" - wait 1t - narrate "<&4><&l>ATTENTION <&r><&4>Vous perdrez les objets insérer dans la machine" on player right clicks sea_lantern with:plasma_battery: - if : - take item: quantity:1 - flag batteryOK - spawn inge_stand save:plasma_battery_as - equip head:plasma_battery - rotate infinite frequency:1t - if && : - wait 1s - playeffect at: effect:crit_magic quantity:10 offset:0.5 visibility:10 - playsound sound:item_armor_equip_iron sound:0.5 pitch:0.5 - wait 1s - playeffect at: effect:crit_magic quantity:10 offset:0.5 visibility:10 - playsound sound:item_armor_equip_iron sound:0.5 pitch:0.5 - wait 1s - playeffect at: effect:crit_magic quantity:10 offset:0.5 visibility:10 - playsound sound:item_armor_equip_iron sound:0.5 pitch:0.5 - remove - spawn inge_stand save:sonic_screw_as - equip head:sonic_screw - rotate infinite frequency:1t - flag sonic_screw_charged on player right clicks sea_lantern with:sonic_screw: - if : - take item: quantity:1 - flag screwOK - spawn inge_stand save:sonic_screw_as - equip head:sonic_screw - rotate infinite frequency:2t - if && : - wait 1s - playeffect at: effect:crit_magic quantity:10 offset:0.5 visibility:10 - playsound sound:item_armor_equip_iron sound:0.5 pitch:0.5 - wait 1s - playeffect at: effect:crit_magic quantity:10 offset:0.5 visibility:10 - playsound sound:item_armor_equip_iron sound:0.5 pitch:0.5 - wait 1s - playeffect at: effect:crit_magic quantity:10 offset:0.5 visibility:10 - playsound sound:item_armor_equip_iron sound:0.5 pitch:0.5 - remove - spawn inge_stand save:sonic_screw_as - equip head:sonic_screw - rotate infinite frequency:2t - flag sonic_screw_charged on player right clicks white_stained_glass: - if && : - remove - flag screwOK:! - flag batteryOK:! - give sonic_screw plasma_gen_event: type: world Debug: true enabled: false events: on player places plasma_gen: - flag server plasmagen_loc:->: - flag plasmagen_fuel:0 - flag plasmagenlocc on player right clicks block location_flagged:plasmagenlocc with:!redstone: - determine passively cancelled - if : - flag plasmagen_fuel:! - flag server plasmagen_loc:<-: - flag plasmagenlocc:! - define tagsb - if <[tagsb]> contains dragon_immune: - modifyblock air - drop plasma_gen - else: - modifyblock air - modifyblock air - drop plasma_gen on player breaks block location_flagged:plasmagenlocc: - determine passively cancelled - ratelimit 50t - narrate "<&4>Sneak + clic droit pour récupérer" - wait 1t - narrate "<&4><&l>ATTENTION <&r><&4>Vous perdrez les objets insérer dans la machine" on player right clicks block location_flagged:plasmagenlocc with:redstone: - if >= 100: - actionbar "<&b><&l>Générateur chargé à 100%" targets: - else: - flag plasmagen_fuel:+:1 - actionbar "<&b><&l>Générateur chargé à %" targets: - take item: quantity:1 on player right clicks beacon: - if : - actionbar "<&b><&l>Générateur chargé à %" targets: - determine cancelled on system time secondly: - foreach as:plasmagen: - if <[plasmagen].chunk.is_loaded>: - if <[plasmagen].flag[plasmagen_fuel].exists> && <[plasmagen].flag[plasmagen_fuel]> >= 10: - define plasmaloc <[plasmagen].above[1]> - define tagsb <[plasmaloc].material.vanilla_tags> - if <[tagsb]> contains dragon_immune: - determine cancelled - else: - flag plasmagen_fuel:-:10 - random: - repeat 1: - if : - playeffect effect:smoke at:<[plasmagen]> visibility:10 quantity:5 offset:0.8 - playsound <[plasmagen]> sound:block_metal_break volume:10 pitch:5.0 - repeat 1: - if : - modifyblock <[plasmaloc]> light_blue_stained_glass - flag <[plasmagen]> plasmagen_fuel:-:10 - playeffect effect:end_rod at:<[plasmagen]> visibility:10 quantity:5 offset:0.8 - playsound <[plasmagen]> sound:block_beacon_activate volume:10 pitch:5.0 - flag <[plasmaloc]> plasma_pur on player right clicks block Location_flagged:plasma_pur with:sonic_screw: - if >= : - narrate "<&4>Votre <&b>tournevis sonique <&4>as besoin d'être recharger !" - determine cancelled - else: - playsound sound:block_amethyst_cluster_break pitch:0.5 sound:0.5 - modifyblock air - drop plasma_pur - inventory adjust slot:hand durability: on player breaks block with:sonic_screw: - determine cancelled plasma_stabilizer: type: item Debug: false material: sculk_shrieker display name: <&b> <&l>Stabilisateur de plasma lore: - <&b>Transforme le plasma instable - <&b>en plasma stabilisé mechanisms: hides: ENCHANTS enchantments: - fire_protection:1 recipes: 1: type: shaped input: - obsidian|plasma_pur|obsidian - plasma_pur|diamond_gear_plasma|plasma_pur - obsidian|plasma_pur|obsidian plasma_stabilizer_event: type: world Debug: true events: on player places plasma_stabilizer: - flag server plasmastab_loc:->: - flag plasmastab_locc - flag plasma1 - flag plasmastab_fuel on generic game event type:SHRIEK: - if : - adjustblock NORMAL on player breaks block Location_flagged:plasmastab_locc: - flag plasmastab_fuel:! - flag server plasmastab_loc:<-: - flag plasmastab_locc:! - flag plasma1:! - determine plasma_stabilizer on player right clicks sculk_shrieker with:plasma_pur: - determine passively cancelled - flag plasmastab_fuel:+:1 - actionbar "<&b><&l>Générateur contient plasma pur en cours de stabilisation" targets: - take item:plasma_pur on player right clicks sculk_shrieker with:air: - if : - if && >= 1: - drop plasma_stabi quantity:1 speed:2 - flag plasma1:-:1 - actionbar "<&b><&l>Plasma pur : / Plasma stabiliser : " targets: - else: - actionbar "<&b><&l>Plasma pur : / Plasma stabiliser : " targets: # on system time secondly: # - foreach as:plasmastabi: # - if <[plasmastabi].flag[plasmastab_fuel].exists> && <[plasmastabi].flag[plasmastab_fuel]> >= 1: # - flag <[plasmastabi]> plasma1:+:1 # - flag <[plasmastabi]> plasmastab_fuel:-:1 base_presse: type: item Debug: false material: chiseled_deepslate display name: <&b><&l>Base de presse mechanisms: hides: ENCHANTS enchantments: - fire_protection:1 recipes: 1: type: shaped input: - chiseled_deepslate|chiseled_deepslate|chiseled_deepslate - chiseled_deepslate|obsidian|chiseled_deepslate - chiseled_deepslate|chiseled_deepslate|chiseled_deepslate tete_presse: type: item Debug: false material: piston display name: <&b><&l>Tête de presse mechanisms: hides: ENCHANTS enchantments: - fire_protection:1 recipes: 1: type: shaped input: - chiseled_deepslate|diamond_gear_plasma|chiseled_deepslate - chiseled_deepslate|oak_fence|chiseled_deepslate - chiseled_deepslate|obsidian|obsidian iron_plate: type: item Debug: false material: paper display name: <&7>Plaque de fer mechanisms: custom_model_data: 17 inge_stand: type: entity debug: false entity_type: armor_stand mechanisms: visible: false invulnerable: true persistent: true gravity: false arms: true disabled_slots: presse_event: type: world Debug: true events: on player places tete_presse: - flag tete_presse_loc - flag presse_setupt - wait 1s - modifyblock piston[direction=down] on player breaks block Location_flagged:tete_presse_loc: - flag tete_presse_loc:! - flag presse_setupt:! - determine tete_presse on player places base_presse: - flag base_presse_loc - flag presse_setupb - flag iron on player breaks block Location_flagged:base_presse_loc: - flag base_presse_loc:! - flag presse_setupb:! - flag iron:! - determine base_presse on player right clicks chiseled_deepslate with:iron_ingot: - if : - if : - if >= 1: - narrate "<&4>Base de presse déjà pleine" - determine cancelled - else: - take item:iron_ingot - spawn inge_stand save:iron_pressed - equip head:iron_ingot - rotate infinite frequency:2t - flag iron:+:1 on player right clicks piston: - if : - if : - if >= 1: - flag iron:-:1 - switch - remove - drop iron_plate quantity:1 speed:1 - flag ingot:! - else: - narrate "<&4>Rien sur la base de presse" base_bassin: type: item Debug: false material: lodestone display name: <&b><&l>Liquéfacteur de plasma mechanisms: hides: ENCHANTS enchantments: - fire_protection:1 recipes: 1: type: shaped input: - iron_plate|diamond_gear_plasma|iron_plate - smooth_stone|bucket|smooth_stone - smooth_stone|smooth_stone|smooth_stone bassin_plasma: type: item Debug: false material: cauldron display name: <&b><&l>Bassin de plasma mechanisms: hides: ENCHANTS enchantments: - fire_protection:1 recipes: 1: type: shaped input: - mud|air|mud - mud|air|mud - mud|mud|mud plasma_bucket: type: item Debug: false material: water_bucket display name: <&b><&l>Sceau de plasma liquide mechanisms: hides: ENCHANTS enchantments: - fire_protection:1 bassin_event: type: world Debug: true events: on player places bassin_plasma: - flag bassin_plasma_loc - flag bassin_setupbass on player breaks block Location_flagged:bassin_plasma_loc: - flag bassin_plasma_loc:! - flag bassin_setupbass:! - determine bassin_plasma on player places base_bassin: - flag base_bassin_loc - flag bassin_setupbase - flag plasmaliquid on player breaks block Location_flagged:base_bassin_loc: - flag base_bassin_loc:! - flag bassin_setupbase:! - flag plasmaliquid:! - determine base_bassin on player right clicks lodestone with:plasma_stabi: - if : - if : - if : - if >= 100: - narrate "<&4>Charge maximale atteinte" - determine cancelled - else: - take item:plasma_stabi from: - flag plasmaliquid:+:10 - if == 30: - modifyblock water_cauldron[level=1] - if == 70: - modifyblock water_cauldron[level=2] - if == 100: - modifyblock water_cauldron[level=3] - else: - narrate "<&4>Pas de bassin de plasma" on player right clicks water_cauldron with:bucket: - if : - determine passively cancelled - if : - if >= 100: - take item:bucket from: - give plasma_bucket quantity:1 to: - flag plasmaliquid:-:100 - modifyblock cauldron - else: - narrate "<&4>Le bassin de plasma n'est pas plein" on player right clicks block with:plasma_bucket: - narrate "<&4>Placer du plasma liquide ici ne semble pas être un très bonne idée" - determine cancelled on cauldron level changes: - if : - determine cancelled plasma_portal: type: item Debug: false material: sea_lantern display name: <&b><&l>Générateur du portail d'ingénieur mechanisms: hides: ENCHANTS enchantments: - fire_protection:1 portal_event: type: world Debug: true events: on player places plasma_portal: # - note ]> as:check_portalingé # - if : # - narrate "<&4>La zone doit être vide pour déployer le portail !" # - note remove as:check_portalingé # - determine cancelled # - else: - wait 20t - playsound sound:block_anvil_place volume:10 pitch:5 - modifyblock air - wait 20t - playsound sound:block_anvil_place volume:10 pitch:5 - modifyblock sea_lantern - wait 20t - playsound sound:block_anvil_place volume:10 pitch:5 - modifyblock air - wait 20t - modifyblock sea_lantern - playsound sound:block_anvil_place volume:10 pitch:5 - wait 20t - playeffect effect:explosion_large at: quantity:2 offset:0.5 - playsound sound:ENTITY_DRAGON_FIREBALL_EXPLODE volume:10 pitch:5 - wait 20t - playeffect effect:explosion_large at: quantity:5 offset:0.5 - playsound sound:ENTITY_DRAGON_FIREBALL_EXPLODE volume:10 pitch:5 - wait 20t - playeffect effect:explosion_huge at: quantity:1 offset:0.5 - playsound sound:ENTITY_DRAGON_FIREBALL_EXPLODE volume:10 pitch:5 - schematic load name:portal_inge - schematic paste name:portal_inge - modifyblock air - flag server portal_ingé_count:++ - note ]> as:cuboportingé - flag server portalingé:->:]> - note remove as:check_portalingé - flag pi1 - flag pi2 - flag pi3 - flag pi4 on player right clicks ochre_froglight: - if && : - playsound sound:block_ancient_debris_place sound:5 pitch:5 - take item: quantity:1 - spawn inge_stand save:plasma_stabi_as - equip head:plasma_stabi_orb - rotate infinite frequency:2t - flag pi1plasma_stabi - if && : - playsound sound:block_ancient_debris_place sound:5 pitch:5 - remove - give plasma_stabi_orb - flag pi1plasma_stabi:! - if && : - playsound sound:block_ancient_debris_place sound:5 pitch:5 - take item: quantity:1 - spawn inge_stand save:plasma_stabi_as - equip head:plasma_stabi_orb - rotate infinite frequency:2t - flag pi2plasma_stabi - if && : - playsound sound:block_ancient_debris_place sound:5 pitch:5 - remove - give plasma_stabi_orb - flag pi2plasma_stabi:! - if && : - playsound sound:block_ancient_debris_place sound:5 pitch:5 - take item: quantity:1 - spawn inge_stand save:plasma_stabi_as - equip head:plasma_stabi_orb - rotate infinite frequency:2t - flag pi3plasma_stabi - if && : - playsound sound:block_ancient_debris_place sound:5 pitch:5 - remove - give plasma_stabi_orb - flag pi3plasma_stabi:! - if && : - playsound sound:block_ancient_debris_place sound:5 pitch:5 - take item: quantity:1 - spawn inge_stand save:plasma_stabi_as - equip head:plasma_stabi_orb - rotate infinite frequency:2t - flag pi4plasma_stabi - if && : - playsound sound:block_ancient_debris_place sound:5 pitch:5 - remove - give plasma_stabi_orb - flag pi4plasma_stabi:! on player right clicks lodestone in:cuboportingé*: - define pi1check - define pi2check - define pi3check - define pi4check - if <[pi1check].has_flag[pi1plasma_stabi]> && <[pi2check].has_flag[pi2plasma_stabi]> && <[pi3check].has_flag[pi3plasma_stabi]> && <[pi4check].has_flag[pi4plasma_stabi]>: - if : - playsound sound:block_ancient_debris_place sound:5 pitch:5 - take item: quantity:1 - spawn inge_stand save:plasma_stabi_as - equip head:plasma_stabi - rotate infinite frequency:2t - flag pi0plasma_stabi - playeffect effect:spell_instant at: quantity:10 visibility:10 - playsound sound:entity_lightning_bolt_impact pitch:5 sound:5 - wait 1s - playeffect effect:spell_instant at: quantity:10 visibility:10 - playsound sound:entity_lightning_bolt_impact pitch:5 sound:5 - wait 1s - playeffect effect:spell_instant at: quantity:10 visibility:10 - playsound sound:entity_lightning_bolt_impact pitch:5 sound:5 - wait 1s - remove <[pi1check].find_entities[inge_stand].within[2]> - remove <[pi2check].find_entities[inge_stand].within[2]> - remove <[pi3check].find_entities[inge_stand].within[2]> - remove <[pi4check].find_entities[inge_stand].within[2]> - flag <[pi1check]> pi1plasma_stabi:! - flag <[pi2check]> pi2plasma_stabi:! - flag <[pi3check]> pi3plasma_stabi:! - flag <[pi4check]> pi4plasma_stabi:! - flag pi0plasma_stabi:! - remove - spawn inge_stand save:plasma_stabi_as - equip head:plasma_stabi_orb_rafi - rotate infinite - wait 1s - remove - drop plasma_stabi_orb_rafi quantity:1 speed:1 - playsound sound:entity_enderman_teleport pitch:5 sound:5 - else: - narrate "<&4>Placez les éléments extérieures avant l'élément centrale !" - if : - ratelimit 50t - narrate "<&4><&l>Compression du portail" - wait 30t - playsound sound:entity_enderman_teleport volume:10 pitch:5 - modifyblock ]> air - wait 10t - drop plasma_portal - flag server portalingé:<-:]> - flag pi1:! - flag pi2:! - flag pi3:! - flag pi4:! on player breaks block in:cuboportingé*: - determine cancelled on player fills bucket in:cuboportingé*: - determine cancelled on player fills glass_bottle in:cuboportingé*: - determine cancelled inge_pipe: type: item Debug: false material: mud_brick_wall display name: <&b><&l>Tuyeau plasmatérique direction_pipe: type: item Debug: false material: magenta_glazed_terracotta display name: <&b><&l>Aiguilleur de tuyeau plasmatérique haut_item_direction_pipe_MENU: type: item Debug: false material: player_head display name: <&b><&l>HAUT mechanisms: skull_skin: af777c2d-7de1-4886-982a-6818a184cbc2|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZjQ2MjhhY2U3YzNhZmM2MWE0NzZkYzE0NDg5M2FhYTY0MmJhOTc2ZDk1MmI1MWVjZTI2YWJhZmI4OTZiOCJ9fX0= bas_item_direction_pipe_MENU: type: item Debug: false material: player_head display name: <&b><&l>BAS mechanisms: skull_skin: d939a901-1216-469f-b1fd-9bab1acb8719|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmFlNDI1YzViYTlmM2MyOTYyYjM4MTc4Y2JjMjMxNzJhNmM2MjE1YTExYWNjYjkyNzc0YTQ3MTZlOTZjYWRhIn19fQ== droite_item_direction_pipe_MENU: type: item Debug: false material: player_head display name: <&b><&l>DROITE mechanisms: skull_skin: f05d8105-6b13-4014-b1ba-86976e866344|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjY3MWM0YzA0MzM3YzM4YTVjN2YzMWE1Yzc1MWY5OTFlOTZjMDNkZjczMGNkYmVlOTkzMjA2NTVjMTlkIn19fQ== gauche_item_direction_pipe_MENU: type: item Debug: false material: player_head display name: <&b><&l>GAUCHE mechanisms: skull_skin: 76ef6a19-7296-49df-9549-7498c9b2879d|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTM5NzExMjRiZTg5YWM3ZGM5YzkyOWZlOWI2ZWZhN2EwN2NlMzdjZTFkYTJkZjY5MWJmODY2MzQ2NzQ3N2M3In19fQ== info_item_direction_pipe_MENU: type: item Debug: false material: nether_star display name: <&6><&l>Choix de la direction des objets nul_item_MENU: type: item Debug: false material: gray_stained_glass_pane direction_pipe_MENU: type: inventory inventory: chest title: <&b>Aiguilleur de tuyeau plasmatérique definitions: haut: haut_item_direction_pipe_MENU bas: bas_item_direction_pipe_MENU droite: droite_item_direction_pipe_MENU gauche: gauche_item_direction_pipe_MENU info: info_item_direction_pipe_MENU nul: nul_item_MENU slots: - [] [] [] [] [haut] [] [] [] [] - [] [] [] [gauche] [info] [droite] [] [] [] - [] [] [] [] [bas] [] [] [] [] pipe_event: type: world Debug: true events: on player places inge_pipe: - flag ingepipe - flag server inge_pipe:->: on player breaks location_flagged:ingepipe: - flag ingepipe:! - flag server inge_pipe:<-: on player places direction_pipe: - flag direction_pipe_loc on player breaks location_flagged:direction_pipe_loc: - flag direction_pipe_loc:! - flag server direction_pipe_haut:<-: - flag server direction_pipe_bas:<-: - flag server direction_pipe_droite:<-: - flag server direction_pipe_gauche:<-: on player right clicks magenta_glazed_terracotta: - if : - inventory open destination:direction_pipe_MENU - flag set_direction_pipe: on player closes direction_pipe_MENU: - flag set_direction_pipe:! on player clicks haut_item_direction_pipe_MENU in direction_pipe_MENU: - determine passively cancelled - flag server direction_pipe_haut:->: - flag server direction_pipe_bas:<-: - flag server direction_pipe_droite:<-: - flag server direction_pipe_gauche:<-: on player clicks bas_item_direction_pipe_MENU in direction_pipe_MENU: - determine passively cancelled - flag server direction_pipe_haut:<-: - flag server direction_pipe_bas:->: - flag server direction_pipe_droite:<-: - flag server direction_pipe_gauche:<-: on player clicks droite_item_direction_pipe_MENU in direction_pipe_MENU: - determine passively cancelled - flag server direction_pipe_haut:<-: - flag server direction_pipe_bas:<-: - flag server direction_pipe_droite:->: - flag server direction_pipe_gauche:<-: on player clicks gauche_item_direction_pipe_MENU in direction_pipe_MENU: - determine passively cancelled - flag server direction_pipe_haut:<-: - flag server direction_pipe_bas:<-: - flag server direction_pipe_droite:<-: - flag server direction_pipe_gauche:->: on player clicks info_item_direction_pipe_MENU in direction_pipe_MENU: - determine passively cancelled on player clicks nul_item_MENU in direction_pipe_MENU: - determine passively cancelled after player places chest: - if : - flag chest_pipe_input - playeffect effect:crit_magic at: quantity:10 visibility:10 offset:0.5 - narrate "<&2>Coffre d'insertion d'objets enregistré" - if : - flag chest_pipe_output - playeffect effect:crit_magic at: quantity:10 visibility:10 offset:0.5 - narrate "<&2>Coffre d'extraction d'objets enregistré" on player breaks chest: - if : - flag chest_pipe_input:! - if : - flag chest_pipe_output:! on system time secondly every:10: - foreach as:pipe: - if <[pipe].above[1].has_flag[chest_pipe_input]>: - flag <[pipe]> items_pipe_bas:<[pipe].above[1].inventory.list_contents> - take item:<[pipe].above[1].inventory.list_contents> from:<[pipe].above[1].inventory> - if <[pipe].has_flag[items_pipe_bas]>: - foreach <[pipe].flag[items_pipe_bas]> as:pipe_flag_bas: - if <[pipe_flag_bas].below[1].has_flag[ingepipe]>: - flag <[pipe_flag_bas].below[1]> items_pipe_bas:<[pipe_flag_bas].flag[items_pipe_bas]> - flag <[pipe_flag_bas]> items_pipe_bas:! - playeffect effect:crit_magic at:<[pipe_flag_bas].below[1]> quantity:10 visibility:10 offset:0.5