shoot_mount_test: type: world debug: true events: - on player right clicks at armor_stand: - - if ! && != stick: + after player right clicks at bomb_entity: + - if ! && != player_head: - mount | - - else: + - else if == : - - determine cancelled - on player right clicks with stick: - - if !: - - mount armor_stand| - on player damages armor_stand: - - if == : - - determine passively cancelled - mount cancel - wait 2t - shoot origin: destination: + after player right clicks with bomb_item: + - if !: + - mount bomb_entity| + +bomb_item: + type: item + debug: false + material: i@player_head[skull_skin=4bf7a3f5-0839-4fe3-a39c-ba6216130a52|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmM1NjNiOWI1ODI0MDlmNDFmMGUwNzgxYTk4M2FmZTNkOGZlMmZiZjM4M2M1M2E1ZDI3NDMxNTU1NjRkNjgifX19] + display name: Bomb + +bomb_entity: + type: entity + entity_type: e@armor_stand + invulnerable: false + custom_name: Bomb + is_small: true + equipment: li@i@air|i@air|i@air|i@player_head[skull_skin=4bf7a3f5-0839-4fe3-a39c-ba6216130a52|eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmM1NjNiOWI1ODI0MDlmNDFmMGUwNzgxYTk4M2FmZTNkOGZlMmZiZjM4M2M1M2E1ZDI3NDMxNTU1NjRkNjgifX19]|i@air + #visible: false + disabled_slots: HEAD|CHEST|LEGS|FEET