diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000000..2bca6f5e29 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,41 @@ +name: I found a bug! +description: "Report some other kind of issue. You should ask in the Discord first to make sure it's actually a bug with Create." +labels: [ "type: bug" ] +body: + - type: textarea + attributes: + label: Description + description: " + Please describe the issue with as much detail as possible. + Explain what happened, and what should have happened instead. + Add images, screenshots, or videos if they could be useful." + validations: + required: true + + - type: input + attributes: + label: Game Log + description: " + We need the game log for additional information about the bug. + This file can be found in the \"logs\" folder of your Minecraft folder as \"latest.log\". + Please upload the file to https://mclo.gs/ and put the link here. + Do **not** paste the *contents* of the file here, because that will make this issue very hard to read. + " + validations: + required: true + + - type: textarea + attributes: + label: Debug Information + description: " + Please run the \"/create debuginfo\" command in-game. + This will copy useful information to your clipboard that will greatly help with debugging. + Please paste this information here. + If this command does not exist, you can skip this part. + " + validations: + required: false + + - type: markdown + attributes: + value: "Thank you for taking the time to make a report and help improve Create!" diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml deleted file mode 100644 index 9f1f95a77c..0000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ /dev/null @@ -1,148 +0,0 @@ -name: Bug Report -description: Create a bug report to help us improve Create -labels: [ "bug" ] -body: - - type: textarea - attributes: - label: Describe the Bug - description: A clear and concise description of what the bug is - validations: - required: true - - type: textarea - attributes: - label: Reproduction Steps - description: Tell us about the steps to reproduce the bug. - value: | - 1. - 2. - 3. - ... - validations: - required: true - - type: textarea - attributes: - label: Expected Result - description: A clear and concise description of what you expected to happen - validations: - required: true - - type: textarea - attributes: - label: Screenshots and Videos - description: If applicable, add screenshots or videos to help explain your problem. - validations: - required: false - - type: input - attributes: - label: Crash Report or Log - description: If applicable, please add a **link** to the crash report or log that was created when this issue occured. You can upload the crash report to a site like Pastebin or GitHub Gist. Please **do not** paste the whole crash report in this issue. - validations: - required: false - - type: input - attributes: - label: Operating System - description: The operating system you were using when the bug occured - placeholder: Windows 11 - validations: - required: true - - type: dropdown - attributes: - label: Mod Version - description: The version of the mod you were using when the bug occured - options: - - "0.5.1f" - - "0.5.1e" - - "0.5.1d" - - "0.5.1c" - - "0.5.1b" - - "0.5.1a" - - "0.5.0i" - - "0.5.0h" - - "0.5.0g" - - "0.5.0f" - - "0.5.0e" - - "0.5.0d" - - "0.5.0c" - - "0.5.0b" - - "0.5.0a" - - "0.5.0" - - "0.4.1" - - "0.4.0f" - - "0.4.0e" - - "0.4.0d" - - "0.4.0c" - - "0.4.0b" - - "0.4.0a" - - "0.4.0" - - "0.3.2g" - - "0.3.2f" - - "0.3.2e" - - "0.3.2d" - - "0.3.2c" - - "0.3.2b" - - "0.3.2a" - - "0.3.2" - - "0.3.1c" - - "0.3.1b" - - "0.3.1a" - - "0.3.1" - - "0.3.0e" - - "0.3.0d" - - "0.3.0c" - - "0.3.0b" - - "0.3.0a" - - "0.3.0" - - "0.2.4e" - - "0.2.4d" - - "0.2.4c" - - "0.2.4b" - - "0.2.4a" - - "0.2.4" - - "0.2.3" - - "0.2.2b" - - "0.2.2a" - - "0.2.2" - - "0.2.1" - - "0.2.0" - - "0.1.1a" - - "0.1.1" - - "0.1.0" - - "0.0.5" - - "0.0.4" - - "0.0.3" - - "0.0.2" - - "0.0.1" - validations: - required: true - - type: dropdown - attributes: - label: Minecraft Version - description: The version of Minecraft you were using when the bug occured - options: - - "1.20.1" - - "1.19.2" - - "1.18.2" - - "1.18.1" - - "1.18" - - "1.17.1" - - "1.16.5" - - "1.16.4" - - "1.16.3" - - "1.15.2" - - "1.14.4" - validations: - required: true - - type: textarea - attributes: - label: Other Mods - description: Please list any other mods that were running when the crash happened. - validations: - required: false - - type: textarea - attributes: - label: Additional Context - description: Add any extra context about the bug here - validations: - required: false - - type: markdown - attributes: - value: "Thank you for taking the time to make this bug report and help improve Create!" diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..c9c7595f4f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: true +contact_links: + - name: I have a question! + url: https://discord.gg/hmaD7Se + about: Join us on Discord and ask the community. + - name: I have a suggestion or idea! + url: https://discord.gg/hmaD7Se + about: These are best discussed with the community and submitted on Discord. + - name: Talk to us on Discord. + url: https://discord.gg/hmaD7Se + about: Ask questions and get help from the community. diff --git a/.github/ISSUE_TEMPLATE/crash.yml b/.github/ISSUE_TEMPLATE/crash.yml new file mode 100644 index 0000000000..a5d70e2c5b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/crash.yml @@ -0,0 +1,27 @@ +name: My game crashed! +description: Report an issue that crashes the game. +labels: [ "type: crash" ] +body: + - type: textarea + attributes: + label: Context + description: What were you doing when the game crashed? Add images, screenshots, or videos if they could be useful. + validations: + required: true + + - type: input + attributes: + label: Crash Report + description: " + We need the crash report to figure out why the crash happened. + This file can be found in the \"crash-reports\" folder of your Minecraft folder. + It will be the newest file there. + Please upload the file to https://mclo.gs/ and put the link here. + Do **not** paste the *contents* of the file here, because that will make this issue very hard to read. + " + validations: + required: true + + - type: markdown + attributes: + value: "Thank you for taking the time to make a report and help improve Create!" diff --git a/.github/ISSUE_TEMPLATE/suggestion.yml b/.github/ISSUE_TEMPLATE/suggestion.yml deleted file mode 100644 index 1d09f83f3d..0000000000 --- a/.github/ISSUE_TEMPLATE/suggestion.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Suggestion -description: Suggest something that would improve Create -labels: [ "suggestion" ] -body: - - type: textarea - attributes: - label: Describe the Suggestion - description: > - What should we add or change to make Create better? - If your suggestion is not specific to the Fabric/Quilt - version of Create, please submit it to the Forge repo: - https://github.com/Creators-of-Create/Create - validations: - required: true - - type: textarea - attributes: - label: Screenshots and Videos - description: If applicable, add screenshots or videos to help explain your suggestion. - validations: - required: false - - type: textarea - attributes: - label: Additional Context - description: Add any extra context about the suggestion here. - validations: - required: false - - type: markdown - attributes: - value: "Thank you for taking the time to make this suggestion and help improve Create!" diff --git a/.github/config/labels.yml b/.github/config/labels.yml deleted file mode 100644 index 09fd7d0fbe..0000000000 --- a/.github/config/labels.yml +++ /dev/null @@ -1,4 +0,0 @@ -'1.18': - - '1\.18(?:\.\d)?' -'1.19': - - '1\.19(?:\.\d)?' diff --git a/.github/workflows/label_issues.yml b/.github/workflows/label_issues.yml deleted file mode 100644 index 2f58ebc78d..0000000000 --- a/.github/workflows/label_issues.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: "Label Issues" -on: - issues: - types: [opened, edited] - -jobs: - label: - runs-on: ubuntu-latest - steps: - - uses: github/issue-labeler@v3.0 - with: - configuration-path: .github/config/labels.yml - enable-versioned-regex: 0 - repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/build.gradle b/build.gradle index 5661381dcf..c809ac6637 100644 --- a/build.gradle +++ b/build.gradle @@ -233,43 +233,6 @@ jar { } } -tasks.register("createStubJar") { - outputs.upToDateWhen { false } - - ByteArrayOutputStream byteStream = new ByteArrayOutputStream() - JarOutputStream jarStream = new JarOutputStream(byteStream) - - try { - File fabricModJson = file("$projectDir/stubMod/fabric.mod.json") - if (fabricModJson.exists()) { - String content = fabricModJson.text.replace('${version}', mod_version) - jarStream.putNextEntry(new JarEntry("fabric.mod.json")) - jarStream.write(content.bytes) - jarStream.closeEntry() - } else { - throw new FileNotFoundException("Warning: fabric.mod.json not found at ${fabricModJson.path}") - } - } finally { - jarStream.close() - } - - File baseDir = file("$projectDir/build/stub") - baseDir.mkdirs() - File outputFile = file("$baseDir/create-stub-${mod_version}.jar") - outputFile.withOutputStream { os -> - byteStream.writeTo(os) - } - - outputs.file(outputFile) - - println "Stub jar created at: ${outputFile.path}" -} - -tasks.remapJar.configure { - dependsOn tasks.createStubJar - tasks.remapJar.nestedJars.from(createStubJar.outputs) -} - // see gradle/publishing.gradle for publishing apply from: "gradle/publishing/publishing.gradle" apply from: "gradle/compat/compat.gradle" diff --git a/src/main/java/com/simibubi/create/compat/emi/recipes/basin/BasinEmiRecipe.java b/src/main/java/com/simibubi/create/compat/emi/recipes/basin/BasinEmiRecipe.java index e8bf17f862..793377b459 100644 --- a/src/main/java/com/simibubi/create/compat/emi/recipes/basin/BasinEmiRecipe.java +++ b/src/main/java/com/simibubi/create/compat/emi/recipes/basin/BasinEmiRecipe.java @@ -67,7 +67,7 @@ public void addWidgets(WidgetHolder widgets) { for (int i = 0; i < inputSize; i++) { EmiIngredient stack = input.get(i); - addSlot(widgets, stack, xOff + 16 + (i % 3) * 19, yOff + 50 + (i / 3) * 19); + addSlot(widgets, stack, xOff + 16 + (i % 3) * 19, yOff + 50 - (i / 3) * 19); } for (int i = 0; i < outputSize; i++) { diff --git a/src/main/java/com/simibubi/create/content/fluids/OpenEndedPipe.java b/src/main/java/com/simibubi/create/content/fluids/OpenEndedPipe.java index dd336ca1bc..2181068adf 100644 --- a/src/main/java/com/simibubi/create/content/fluids/OpenEndedPipe.java +++ b/src/main/java/com/simibubi/create/content/fluids/OpenEndedPipe.java @@ -46,6 +46,7 @@ import net.minecraft.world.level.block.LiquidBlock; import net.minecraft.world.level.block.state.BlockState; import net.minecraft.world.level.block.state.properties.BlockStateProperties; +import net.minecraft.world.level.material.FlowingFluid; import net.minecraft.world.level.material.FluidState; import net.minecraft.world.level.material.Fluids; import net.minecraft.world.phys.AABB; @@ -188,6 +189,8 @@ private boolean provideFluidToSpace(FluidStack fluid, TransactionContext ctx) { return false; if (fluid.isEmpty()) return false; + if (!(fluid.getFluid() instanceof FlowingFluid)) + return false; if (!FluidHelper.hasBlockState(fluid.getFluid()) || fluid.getFluid().is(Milk.MILK_FLUID_TAG)) // fabric: milk logic is different return true; diff --git a/stubMod/fabric.mod.json b/stubMod/fabric.mod.json deleted file mode 100644 index 90d780349f..0000000000 --- a/stubMod/fabric.mod.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "schemaVersion": 1, - "id": "create-fabric", - "version": "${version}", - - "name": "Create - Stub Version Jar", - "description": "Technology that empowers the player. This is used to allow other mods to depend on sub-patches", - "authors": [ - "Fabricators of Create", - "Creators of Create" - ], - "contact": { - "issues": "https://github.com/Fabricators-of-Create/Create/issues", - "sources": "https://github.com/Fabricators-of-Create/Create" - }, - - "license": "MIT", - - "environment": "*", - - "custom": { - "modmenu": { - "badges": [ "library" ], - "parent": { - "id": "create" - } - } - } -}