883 Commits

Author SHA1 Message Date
Jishuna
8d3e67d865
#1378: Add methods to convert between an entity and a SNBT string 2024-04-24 01:15:00 +10:00
DerFrZocker
801767ed80
SPIGOT-5336: Field name parity with Minecraft keys 2024-04-24 01:15:00 +10:00
DerFrZocker
2f35ed0c45
#1328: Rename CraftArrow to CraftAbstractArrow and CraftTippedArrow to CraftArrow to better reflect Bukkit's names 2024-04-24 01:15:00 +10:00
DerFrZocker
e05615dc78
#1357: Remove legacy Particle values 2024-04-24 01:15:00 +10:00
md_5
735b2d0d7f
Update to Minecraft 1.20.5 2024-04-24 01:15:00 +10:00
md_5
51bbab2b9f
Move getItemInUse up to LivingEntity 2024-03-30 12:54:26 +11:00
gIsForGravity
668e09602c
#1331: Add access to current item's remaining ticks 2024-03-30 12:54:20 +11:00
md_5
a639406d1e
SPIGOT-7601: Add AbstractArrow#getItem 2024-03-30 12:17:57 +11:00
md_5
0398930fc7
SPIGOT-7602: Allow opening in-world horse and related inventories 2024-03-30 12:08:32 +11:00
DerFrZocker
a2736ddb06
SPIGOT-336, SPIGOT-3366, SPIGOT-5768, SPIGOT-6409, SPIGOT-6861, #1008: Add EntityRemoveEvent 2024-02-21 20:55:34 +11:00
Doc
80f0ce4be6
SPIGOT-7300, #1180: Add new DamageSource API providing enhanced information about entity damage 2024-02-11 09:54:25 +11:00
Doc
ea14b7d901
SPIGOT-7576, #1347: Add methods in MushroomCow to change stew effects 2024-02-08 22:54:51 +11:00
Jishuna
cb7dccce27
#1348: Add Player methods for client-side potion effects 2024-02-04 10:10:30 +11:00
Doc
4398a1b5b9
SPIGOT-7577: Make CraftWindCharge#explode discard the entity 2024-02-04 09:57:17 +11:00
md_5
0bb0f4f6a0
SPIGOT-7530, #1314: Improve Resource Pack API with new 1.20.3 functionality 2024-01-31 22:02:45 +11:00
Nothixal
b93c5a30d2
#1338: Introduce getRespawnLocation as a replacement for getBedSpawnLocation 2024-01-22 20:27:09 +11:00
DerFrZocker
2e88514ad3
#1325: Use CraftBlockType and CraftItemType instead of CraftMagicNumbers to convert between minecraft and bukkit block / item representation 2023-12-29 08:36:38 +11:00
DerFrZocker
bcf56171a6
#1321: Clean up some stuff which got missed during previous PRs
- Add missing CraftBukkit comment to CommandGive
- Remove no longer needed IRegistryCustom from CraftStructure conversion
- Use setBasePotionType instead of deprecated setBasePotionData
2023-12-26 07:44:21 +11:00
md_5
465ec3fb42
Remove connected check on setScoreboard
No other API uses such a check and it has been removed in Spigot since f7086eb96d9977d717af75c0dd2eb38349b2df2b in 2013.
2023-12-23 08:39:28 +11:00
Doc
5876cca442
SPIGOT-7550: Fix creation of Arrow instances 2023-12-21 08:19:29 +11:00
Parker Hawke
9d7f49b010
SPIGOT-7548: Fix wrong spawn location for experience orb and dropped item 2023-12-18 00:08:16 -05:00
md_5
b3b43a6ad2
Add Checkstyle check for unused imports 2023-12-17 10:26:49 +11:00
Doc
c00438b394
SPIGOT-7530, #1313: Add Player#removeResourcePack 2023-12-13 07:33:49 +11:00
Doc
492dd80ce7
SPIGOT-7527, #1310: Add WindCharge#explode() 2023-12-12 19:34:37 +11:00
DerFrZocker
60d16d7cac
#1306: Centralize Bukkit and Minecraft entity conversion 2023-12-10 10:46:06 +11:00
Jishuna
b483a20db0
#1303: Create registry for banner pattern and cat type 2023-12-08 19:26:30 +11:00
md_5
07e5dd5d59
Update to Minecraft 1.20.3 2023-12-06 03:40:00 +11:00
DerFrZocker
e54f39adca
SPIGOT-7487: entity.remove() on a leash drops a lead item 2023-12-01 08:01:44 +11:00
DerFrZocker
7580463199
#1305: Don't allow Player removal via Entity#remove 2023-11-27 19:10:53 +11:00
Jishuna
0478e0417b
#1266: Add support for virtual entities 2023-11-19 19:03:35 +13:00
Jishuna
8e162d0083
#1301: Various Sound API improvements 2023-11-17 19:54:48 +13:00
Jishuna
c8feb06296
#1291: Improve precondition message in Entity#playEffect 2023-11-09 06:48:57 +11:00
Jishuna
cdf7988007
#1290: Add methods to get/set evoker fang attack delay 2023-11-09 06:36:06 +11:00
Collin
ffb1319bcc
#1287: Fix scoreboards not updating in Player#setStatistic 2023-10-31 21:48:21 +11:00
DerFrZocker
67a52a6485
#1279: Back Particle by a minecraft registry 2023-10-21 13:42:09 +11:00
DerFrZocker
71b0135cc7
SPIGOT-5753: Back PotionType by a minecraft registry 2023-10-09 20:22:53 +11:00
DerFrZocker
38c599f9de
#1272: Only allow one entity in CraftItem instead of two
This pr reverts a change made in 2012 which allowed CraftItem to be a also other entities such as an arrow.
I don't see any practical reason why the original change was done, other than to allow plugin developers to do some stuff in a cursed way.
With the introduction of the PlayerPickupArrowEvent in 2016 there is also a way to access the arrow involved in a better way.
Generally I think the current behavior is a bit strange and should be reverted.
2023-10-06 07:16:11 +11:00
Parker Hawke
476c5bccd3
#1267: Add more lightning API 2023-10-03 07:32:55 +11:00
Jishuna
40d5e6c023
#1190: Add Entity#getTrackedBy 2023-10-03 07:26:56 +11:00
Parker Hawke
851a32cffc
#1263: Remove unused implementation of AbstractProjectile#doesBounce() and #setBounce() 2023-09-28 06:46:54 +10:00
Doc
df3738a241
SPIGOT-7489: Add TeleportDuration to Display Entity 2023-09-25 19:20:39 +10:00
DerFrZocker
02d4907887
#1250: Standardize and centralize Bukkit / Minecraft registry conversion 2023-09-22 03:02:16 +10:00
md_5
28c1023286
Update to Minecraft 1.20.2 2023-09-22 02:40:00 +10:00
DerFrZocker
b76ceb4f5d
#1235: Move EntityType return to base Entity class 2023-08-13 07:52:40 +10:00
Yannick Lamprecht
36b1076604
#1225: Add modern time API methods to ban API 2023-07-15 10:43:30 +10:00
md_5
ce545de57f
SPIGOT-7398: TextDisplay#setInterpolationDuration incorrectly updates the line width 2023-07-08 13:07:16 +10:00
Collin
b60a95c8cf
#1189: Add LivingEntity#playHurtAnimation() 2023-07-04 06:55:14 +10:00
Doc
0a0fc3beec
#1227: Refinements to new ban API for improved compatibility and correctness 2023-07-04 06:50:47 +10:00
Doc
648196070e
SPIGOT-6455, SPIGOT-7030, #1054: Improve ban API 2023-07-01 13:56:03 +10:00
Parker Hawke
9f64f0d22a
#1221: Add methods to get/set FallingBlock CancelDrop 2023-06-27 07:36:06 +10:00