aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/api/0495-DataComponent-API.patch (renamed from patches/api/0495-WIP-DataComponent-API.patch)7
-rw-r--r--patches/server/1036-DataComponent-API.patch (renamed from patches/server/1036-WIP-DataComponent-API.patch)8
2 files changed, 13 insertions, 2 deletions
diff --git a/patches/api/0495-WIP-DataComponent-API.patch b/patches/api/0495-DataComponent-API.patch
index bab14a7f05..347715d17a 100644
--- a/patches/api/0495-WIP-DataComponent-API.patch
+++ b/patches/api/0495-DataComponent-API.patch
@@ -1,8 +1,13 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Owen1212055 <[email protected]>
Date: Sun, 28 Apr 2024 19:53:06 -0400
-Subject: [PATCH] WIP DataComponent API
+Subject: [PATCH] DataComponent API
+Exposes the data component logic used by vanilla ItemStack to API
+consumers as a version-specific API.
+The types and methods introduced by this patch do not follow the general
+API deprecation contracts and will be adapted to each new minecraft
+release without backwards compatibility measures.
diff --git a/src/main/java/io/papermc/paper/block/BlockPredicate.java b/src/main/java/io/papermc/paper/block/BlockPredicate.java
new file mode 100644
diff --git a/patches/server/1036-WIP-DataComponent-API.patch b/patches/server/1036-DataComponent-API.patch
index e2ab7e231d..d334354722 100644
--- a/patches/server/1036-WIP-DataComponent-API.patch
+++ b/patches/server/1036-DataComponent-API.patch
@@ -1,7 +1,13 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Owen1212055 <[email protected]>
Date: Sun, 28 Apr 2024 19:53:01 -0400
-Subject: [PATCH] WIP DataComponent API
+Subject: [PATCH] DataComponent API
+
+Exposes the data component logic used by vanilla ItemStack to API
+consumers as a version-specific API.
+The types and methods introduced by this patch do not follow the general
+API deprecation contracts and will be adapted to each new minecraft
+release without backwards compatibility measures.
== AT ==
public net/minecraft/world/item/component/ItemContainerContents MAX_SIZE