868 Commits

Author SHA1 Message Date
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
Parker Hawke
3be9ac1716
#1220: Add Player#sendHealthUpdate() 2023-06-27 07:36:06 +10:00
Owen1212055
c1279f7751
#1209: Clean up various patches 2023-06-24 17:15:05 +10:00
Parker Hawke
c432e43970
Fix Raider#setCelebrating() implementation 2023-06-23 17:27:06 -04:00
Parker Hawke
c68c1f1b35
#1216: Add missing Raider API and 'no action ticks' 2023-06-23 09:58:59 +10:00
Parker Hawke
3b557627cd
Fix Player#setScoreboard() checking incorrect state 2023-06-15 21:36:05 -04:00
md_5
ad6d0cffbe
SPIGOT-7394: Fix another issue with sendSignChange 2023-06-15 06:45:03 +10:00
Collin
ae3824f949
#1204: Add Enderman#teleport and Enderman#teleportTowards 2023-06-14 18:36:22 +10:00
md_5
5863a2eaef
Fix sendSignChange not working 2023-06-14 18:36:22 +10:00
Yannick Lamprecht
4a7eadc976
#1201: Add Player#sendBlockUpdate to send tile entity updates 2023-06-14 18:36:21 +10:00
md_5
6962456f98
Fix unintended change to playSound contract and various other issues 2023-06-12 21:29:41 +10:00
Doc
40945171bf
#1182: Consolidate Preconditions use and minor cleanup 2023-06-12 19:41:02 +10:00
md_5
8c5311c200
SPIGOT-7382: Player still on fire after respawn 2023-06-11 17:30:03 +10:00
Yannick Lamprecht
a2b6c27442
#1200: Implement open sign by side 2023-06-08 07:42:44 +10:00
md_5
e1188ed3a2
Update to Minecraft 1.20 2023-06-08 01:30:00 +10:00
Yannick Lamprecht
b346a5f6dd
#1170: Add preliminary support for multi sided signs 2023-05-25 07:21:35 +10:00