name: "[🐛]: Bug report"
description: "Report a bug where something is not working as expected, but does not crash the game."
title: "[🐛]: "
labels: [ "Status: Backlog" ]
projects: ["TerraFirmaGreg-Team/10"]
type: "Bug"

body:
  - type: checkboxes
    id: exists
    attributes:
      label: "Was this bug reported before?"
      description: "Please search OPEN/CLOSED issues before submitting, as the issue may have already been reported/addressed."
      options:
        - label: "No, it was not."
          required: true

  - type: dropdown
    id: launcher
    validations:
      required: true
    attributes:
      label: "Are you using Prism or Curseforge?"
      description: "Prism and Curseforge are the only supported launchers for TFG. Some others may not work. TLAUNCHER DOES NOT WORK."
      options:
        - "Yes, I am using Prism or Curseforge."
        - "No, I am not using Prism or Curseforge."

  - type: checkboxes
    id: redownload
    attributes:
      label: "Have you tried redownloading the pack?"
      description: "For issues that you are experiencing singularly, redownloading the pack may fix the issue."
      options:
        - label: "Not Applicable / Yes, I have tried downloading a new instance."
          required: true

  - type: input
    id: os
    validations:
      required: true
    attributes:
      label: Computer OS
      description: Write which OS your PC is running on.
      placeholder: "Example: Windows 11"

  - type: input
    id: version
    validations:
      required: true
    attributes:
      label: Modpack Version Used
      description: Write which version of the modpack you are using.
      placeholder: "Example: 0.1.1"

  - type: dropdown
    id: environment
    validations:
      required: true
    attributes:
      label: Minecraft Environment
      options:
        - "Singleplayer"
        - "LAN"
        - "Forge Server"
        - "Sponge Server"
        - "Magma Server"
        - "Mohist Server"
        - "E4MC"
        - "Essential"
        - "Other"

  - type: dropdown
    id: world
    validations:
      required: true
    attributes:
      label: "New Worlds"
      description: "Does this bug occur on a newly generated world?"
      options:
        - "Yes"
        - "No"
        - "Unsure"

  - type: input
    id: log
    validations:
      required: true
    attributes:
      label: "Please provide a link to your latest.log, if relevant."
      description: |
        "The `latest.log` file is found in `/logs/` within the modpack files."
        "We recommend always using https://mclo.gs/."
        
        > [!CAUTION]
        > If you skip this step, this issue might be **labeled** with `please add a reproduction` and **closed.`
      placeholder: https://mclo.gs/MydIQBu...

  - type: textarea
    id: expected
    validations:
      required: true
    attributes:
      label: "Expected Behavior"
      description: "What you expected to happen. Attach screenshots here as necessary."
      placeholder: "Example: Expected to produce X by consuming Y."

  - type: textarea
    id: result
    validations:
      required: true
    attributes:
      label: "Actual Behavior"
      description: "What happened despite your expectations. Attach screenshots here as necessary."
      placeholder: "Example: Produced one X but Y was not consumed."

  - type: textarea
    id: reproduction
    validations:
      required: true
    attributes:
      label: "Steps to Reproduce"
      description: "How to reproduce the bug."
      placeholder: "Example: 1) I did X..."

  - type: textarea
    id: additional-info
    validations:
      required: false
    attributes:
      label: "Additional Information"
      description: "Any additional information you wish to provide. Please add anything which did not fit into the other sections here."
      placeholder: "Example: This is likely caused by X because..."

  - type: markdown
    attributes:
      value: Thank you for taking the time to fill out this bug report.