adding missing annotations

This commit is contained in:
Jake Potrebic 2024-05-12 20:11:48 -07:00
parent b4589d8248
commit 2bccd25268
No known key found for this signature in database
GPG Key ID: ECE0B3C133C016C5
1 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ index 7b2ab0be10a21e0496ad1d485ff8cb2c0b92a2cb..e6037cc5b79b5206e5da8d53c5009932
}
diff --git a/src/main/java/io/papermc/paper/datapack/DatapackRegistrar.java b/src/main/java/io/papermc/paper/datapack/DatapackRegistrar.java
new file mode 100644
index 0000000000000000000000000000000000000000..257999ad95be6be5feb890cc064a3f6c00215bce
index 0000000000000000000000000000000000000000..0ba2252d54999108f19a772f65ba75e5cb25b57d
--- /dev/null
+++ b/src/main/java/io/papermc/paper/datapack/DatapackRegistrar.java
@@ -0,0 +1,122 @@
@ -123,7 +123,7 @@ index 0000000000000000000000000000000000000000..257999ad95be6be5feb890cc064a3f6c
+ * @return the configurer for chaining
+ */
+ @Contract(value = "_ -> this", mutates = "this")
+ Configurer title(Component title);
+ @NotNull Configurer title(Component title);
+
+ /**
+ * Sets if this pack is required. Defaults to false.
@ -133,7 +133,7 @@ index 0000000000000000000000000000000000000000..257999ad95be6be5feb890cc064a3f6c
+ * @return the configurer for chaining
+ */
+ @Contract(value = "_ -> this", mutates = "this")
+ Configurer required(boolean required);
+ @NotNull Configurer required(boolean required);
+
+ /**
+ * Configures the position in the
@ -144,7 +144,7 @@ index 0000000000000000000000000000000000000000..257999ad95be6be5feb890cc064a3f6c
+ * @return the configurer for chaining
+ */
+ @Contract(value = "_, _ -> this", mutates = "this")
+ Configurer position(boolean fixed, Datapack.Position position);
+ @NotNull Configurer position(boolean fixed, Datapack.Position position);
+ }
+}
diff --git a/src/main/java/io/papermc/paper/plugin/lifecycle/event/types/LifecycleEvents.java b/src/main/java/io/papermc/paper/plugin/lifecycle/event/types/LifecycleEvents.java