mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 20:07:41 +01:00
API 'done'
This commit is contained in:
parent
08ab8edb76
commit
7936e7a615
@ -9,10 +9,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
--- a/src/main/java/org/bukkit/Tag.java
|
||||
+++ b/src/main/java/org/bukkit/Tag.java
|
||||
@@ -0,0 +0,0 @@ public interface Tag<T extends Keyed> extends Keyed {
|
||||
* Vanilla tag representing entities which are dismounted when underwater.
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
Tag<EntityType> SKELETONS = ENTITY_TYPES_SKELETONS;
|
||||
+
|
||||
Tag<EntityType> ENTITY_TYPES_DISMOUNTS_UNDERWATER = Bukkit.getTag(REGISTRY_ENTITY_TYPES, NamespacedKey.minecraft("dismounts_underwater"), EntityType.class);
|
||||
+ // Paper start
|
||||
+ String REGISTRY_GAME_EVENTS = "game_events";
|
||||
+
|
||||
+ /**
|
||||
@ -24,6 +24,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ * Tag for game events that are ignored if the entity is sneaking
|
||||
+ */
|
||||
+ Tag<GameEvent> GAME_EVENT_IGNORE_VIBRATIONS_SNEAKING = Bukkit.getTag(REGISTRY_GAME_EVENTS, NamespacedKey.minecraft("ignore_vibrations_sneaking"), GameEvent.class);
|
||||
// Paper end
|
||||
+
|
||||
+ /**
|
||||
+ * Tag for game events that an allay can listen to
|
||||
+ */
|
||||
+ Tag<GameEvent> GAME_EVENT_ALLAY_CAN_LISTEN = Bukkit.getTag(REGISTRY_GAME_EVENTS, NamespacedKey.minecraft("allay_can_listen"), GameEvent.class);
|
||||
+ // Paper end
|
||||
|
||||
/**
|
||||
* Returns whether or not this tag has an entry for the specified item.
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user