fix 2 of our javadoc errors

This commit is contained in:
Jake Potrebic 2024-04-23 16:30:24 -07:00
parent 862d00478e
commit d6a3c0c239
No known key found for this signature in database
GPG key ID: ECE0B3C133C016C5
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@ Subject: [PATCH] Add TNTPrimeEvent
diff --git a/src/main/java/com/destroystokyo/paper/event/block/TNTPrimeEvent.java b/src/main/java/com/destroystokyo/paper/event/block/TNTPrimeEvent.java
new file mode 100644
index 0000000000000000000000000000000000000000..d8de7332b63feb16c855bf7ea1986fd229489c7c
index 0000000000000000000000000000000000000000..676c67d04cbbad0641c2760f9ea62246d248ac87
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/event/block/TNTPrimeEvent.java
@@ -0,0 +1,125 @@
@ -125,7 +125,7 @@ index 0000000000000000000000000000000000000000..d8de7332b63feb16c855bf7ea1986fd2
+
+ /**
+ * When TNT prime was caused by an {@link Entity} shooting TNT
+ * using a bow with {@link Enchantment#ARROW_FIRE} enchantment
+ * using a bow with {@link Enchantment#FLAME} enchantment
+ */
+ PROJECTILE,
+

View file

@ -5,7 +5,7 @@ Subject: [PATCH] Mob Spawner API Enhancements
diff --git a/src/main/java/org/bukkit/block/CreatureSpawner.java b/src/main/java/org/bukkit/block/CreatureSpawner.java
index c33f6573a9cb0a1516539a1947760a093aa08051..5e0fae5a602ab242f00c1f6aead68cc12579bc97 100644
index c33f6573a9cb0a1516539a1947760a093aa08051..1896adcb15479eb8f26fe7185e4755ca7271a75a 100644
--- a/src/main/java/org/bukkit/block/CreatureSpawner.java
+++ b/src/main/java/org/bukkit/block/CreatureSpawner.java
@@ -277,4 +277,30 @@ public interface CreatureSpawner extends TileState {
@ -27,7 +27,7 @@ index c33f6573a9cb0a1516539a1947760a093aa08051..5e0fae5a602ab242f00c1f6aead68cc1
+ public void resetTimer();
+
+ /**
+ * Sets the {@link EntityType} to {@link EntityType#DROPPED_ITEM} and sets the data to the given
+ * Sets the {@link EntityType} to {@link EntityType#ITEM} and sets the data to the given
+ * {@link org.bukkit.inventory.ItemStack ItemStack}.
+ * <p>
+ * {@link #setSpawnCount(int)} does not dictate the amount of items in the stack spawned, but rather how many