-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: AlphaKR93 <[email protected]> | ||
Date: Mon, 6 May 2024 20:43:37 +0900 | ||
Subject: [PATCH] Various API Tweaks | ||
|
||
|
||
diff --git a/src/main/java/com/destroystokyo/paper/MaterialTags.java b/src/main/java/com/destroystokyo/paper/MaterialTags.java | ||
index be212b4fbeabab32a4dab6ae554768c368efaa88..2c08e2000fc1c2cfaae9b82c57c0f2a5079311f1 100644 | ||
--- a/src/main/java/com/destroystokyo/paper/MaterialTags.java | ||
+++ b/src/main/java/com/destroystokyo/paper/MaterialTags.java | ||
@@ -584,6 +584,15 @@ public class MaterialTags { | ||
.add(material -> material.name().startsWith("DEEPSLATE_") && material.name().endsWith("_ORE")) | ||
.ensureSize("DEEPSLATE_ORES", 8).lock(); | ||
|
||
+ // Plazma start - Various API Tweaks | ||
+ /** | ||
+ * Covers the variants of stone ores. | ||
+ */ | ||
+ public static final MaterialSetTag STONE_ORES = new MaterialSetTag(keyFor("stone_ores")) | ||
+ .add(material -> !material.name().startsWith("DEEPSLATE_") && !material.name().startsWith("NETHER_") && material.name().endsWith("_ORE")) | ||
+ .ensureSize("STONE_ORES", 8).lock(); | ||
+ // Plazma end - Various API Tweaks | ||
+ | ||
/** | ||
* Covers the variants of raw ore blocks. | ||
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters