Skip to content

Commit

Permalink
Deploying to Daydream-API
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 20, 2025
1 parent 184f992 commit 7b29035
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 15 deletions.
9 changes: 9 additions & 0 deletions daydream-api/build.gradle.kts.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@

// Deprecate bungeecord-chat in favor of adventure
api("net.md-5:bungeecord-chat:$bungeeCordChatVersion-deprecated+build.19") {
@@ -93,7 +_,7 @@
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

-val generatedApiPath: java.nio.file.Path = layout.projectDirectory.dir("src/generated/java").asFile.toPath()
+val generatedApiPath: java.nio.file.Path = rootProject.layout.projectDirectory.dir("paper-api/src/generated/java").asFile.toPath()
idea {
module {
generatedSourceDirs.add(generatedApiPath.toFile())
@@ -103,6 +_,18 @@
main {
java {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,6 @@ Date: Tue, 12 Oct 2021 20:40:48 +0900
Subject: [PATCH] Add Brigadier Command API


diff --git a/src/main/java/io/papermc/paper/command/brigadier/CommandRegistrationFlag.java b/src/main/java/io/papermc/paper/command/brigadier/CommandRegistrationFlag.java
index 7e24babf746de474c8deec4b147e22031e8dadb2..5146498bc621d2e97fa63a6aaef8225807274dea 100644
--- a/src/main/java/io/papermc/paper/command/brigadier/CommandRegistrationFlag.java
+++ b/src/main/java/io/papermc/paper/command/brigadier/CommandRegistrationFlag.java
@@ -10,5 +10,6 @@ import org.jetbrains.annotations.ApiStatus;
*/
@ApiStatus.Internal
public enum CommandRegistrationFlag {
- FLATTEN_ALIASES
+ FLATTEN_ALIASES,
+ RELOADABLE // Daydream - (feature) Add Brigadier Command API
}
diff --git a/src/main/java/io/papermc/paper/command/brigadier/CommandSourceStack.java b/src/main/java/io/papermc/paper/command/brigadier/CommandSourceStack.java
index 109c0a89e25284df5f0551b9205e75c6f0d700ca..1d3ca1a2cf872e41958c8e13e4135b96241a3d44 100644
--- a/src/main/java/io/papermc/paper/command/brigadier/CommandSourceStack.java
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/src/main/java/org/bukkit/World.java
+++ b/src/main/java/org/bukkit/World.java
@@ -3443,6 +_,38 @@
@@ -3437,6 +_,38 @@
*/
void playSound(@NotNull Location location, @NotNull String sound, @NotNull SoundCategory category, float volume, float pitch);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- a/src/main/java/org/bukkit/block/Block.java
+++ b/src/main/java/org/bukkit/block/Block.java
@@ -594,6 +_,20 @@
@@ -591,6 +_,20 @@
*/
boolean breakNaturally(@NotNull ItemStack tool, boolean triggerEffect, boolean dropExperience);

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version = 1.21.4-R0.1-SNAPSHOT

mcVersion = 1.21.4

paperCommit = ab1b31206418cbb0e3528361ee60aacc76447a58
paperCommit = 30fdfb1aa173a8362e3a5bf19a4e309341f3ee19

org.gradle.configuration-cache = true
org.gradle.caching = true
Expand Down

0 comments on commit 7b29035

Please sign in to comment.