API Update and workflow fix

This commit is contained in:
ThisTestUser
2024-09-18 19:54:28 +00:00
parent 67c5e33a78
commit c2e2dd4c39
4 changed files with 4 additions and 10 deletions

View File

@@ -25,7 +25,7 @@ jobs:
run: ./gradlew build run: ./gradlew build
- name: Upload a Build Artifact - name: Upload a Build Artifact
uses: actions/upload-artifact@v2.2.4 uses: actions/upload-artifact@v4
if: success() if: success()
with: with:
name: TerminatorPlus name: TerminatorPlus

View File

@@ -17,6 +17,6 @@ repositories {
} }
dependencies { dependencies {
compileOnly("io.papermc.paper:paper-api:1.19.3-R0.1-SNAPSHOT") compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
compileOnly("com.mojang:authlib:3.2.38") compileOnly("com.mojang:authlib:3.2.38")
} }

View File

@@ -31,7 +31,7 @@ public class LegacyMats {
Material.VINE, Material.VINE,
Material.FERN, Material.FERN,
Material.LARGE_FERN, Material.LARGE_FERN,
Material.GRASS, Material.SHORT_GRASS,
Material.TALL_GRASS, Material.TALL_GRASS,
Material.SEAGRASS, Material.SEAGRASS,
Material.TALL_SEAGRASS, Material.TALL_SEAGRASS,
@@ -207,7 +207,7 @@ public class LegacyMats {
public static final Set<Material> INSTANT_BREAK = new HashSet<>(concatTypes(Lists.newArrayList( public static final Set<Material> INSTANT_BREAK = new HashSet<>(concatTypes(Lists.newArrayList(
Material.TALL_GRASS, Material.TALL_GRASS,
Material.GRASS, Material.SHORT_GRASS,
Material.FERN, Material.FERN,
Material.LARGE_FERN, Material.LARGE_FERN,
Material.KELP_PLANT, Material.KELP_PLANT,

View File

@@ -17,12 +17,6 @@ dependencies {
//add the TerminatorPlus-API module //add the TerminatorPlus-API module
implementation(project(":TerminatorPlus-API")) implementation(project(":TerminatorPlus-API"))
// paperweightDevBundle("com.example.paperfork", "1.19-R0.1-SNAPSHOT")
// You will need to manually specify the full dependency if using the groovy gradle dsl
// (paperDevBundle and paperweightDevBundle functions do not work in groovy)
// paperweightDevelopmentBundle("io.papermc.paper:dev-bundle:1.19-R0.1-SNAPSHOT")
} }
tasks { tasks {