5676 Commits

Author SHA1 Message Date
md_5
0bb0f4f6a0
SPIGOT-7530, #1314: Improve Resource Pack API with new 1.20.3 functionality 2024-01-31 22:02:45 +11:00
DerFrZocker
4949f556d9
SPIGOT-3071, #1345: Add entity spawn method with spawn reason 2024-01-31 20:08:05 +11:00
Jishuna
20ac73ca28
#1353: Fix Structure#place not working as documented with 0 palette 2024-01-31 20:01:58 +11:00
DerFrZocker
3c1b778713
SPIGOT-6911, #1349: Change max book length in CraftMetaBook 2024-01-31 19:59:28 +11:00
DerFrZocker
333701839f
SPIGOT-7572: Bee nests generated without bees 2024-01-27 14:59:22 +11:00
Jishuna
f48f4174c3
SPIGOT-5553, #1336: Add EntityKnockbackEvent 2024-01-27 14:53:41 +11:00
Doc
292ec79e09
SPIGOT-7568: Call EntityChangeBlockEvent for DecoratedPot 2024-01-24 21:49:24 +11:00
Doc
b44bf5aa87
SPIGOT-7575: SuspiciousStewMeta creates invalid PotionEffect data 2024-01-24 21:45:52 +11:00
DerFrZocker
161784713a
#1340: Centralize the conversion from and to Minecraft / Bukkit registry items even more and add a test case for them 2024-01-22 20:36:36 +11:00
Nothixal
b93c5a30d2
#1338: Introduce getRespawnLocation as a replacement for getBedSpawnLocation 2024-01-22 20:27:09 +11:00
md_5
fb973486c2
SPIGOT-7570: PrepareItemCraftEvent#isRepair() always returns false 2024-01-18 22:19:05 +11:00
DaFeist
c9c24535ef
#1337: Add DragonBattle#setPreviouslyKilled 2024-01-17 18:23:36 +11:00
Nothixal
c8b4da803d
SPIGOT-6921, #1330: Add methods to remove all enchantments on an ItemStack 2024-01-16 07:38:55 +11:00
Jishuna
95bc1c4f52
#1333: Add BlockData#copyTo 2024-01-15 20:33:17 +11:00
Nothixal
36e2f9ce1e
#1329: Add method to get an offline player's location 2024-01-15 20:30:41 +11:00
Jishuna
771182f70c
#1327: Add methods to place structures with block/entity transformers 2024-01-10 18:44:31 +11:00
md_5
e41ad4c827
SPIGOT-7567: SpawnReason for SNOWMAN is reported as BUILD_IRONGOLEM 2024-01-09 19:29:52 +11:00
md_5
76931e8bd4
Add EntityMountEvent and EntityDismount Event
Adapted from Spigot commit ab1e1a2a5ae1e6cc42afe8bf48832721407365fd.
2024-01-07 08:59:55 +11:00
DerFrZocker
9b29b21c76
#1183: Better handle lambda expression and renaming of classes in Commodore 2024-01-06 16:15:23 +11:00
md_5
1462ebe85d
Reformat Commodore.java 2024-01-06 16:15:21 +11:00
Miles Holder
9fde4c037c
#1324: Improve ItemFactory#enchantItem consistency 2024-01-06 16:07:58 +11:00
Bjarne Koll
4e419c774c
#1295: Define native persistent data types for lists 2024-01-06 16:03:58 +11:00
md_5
dd8cca3882
SPIGOT-7562: Fix Score#getScore and Score#isScoreSet 2024-01-05 14:18:13 +11:00
Maxim Van de Wynckel
6902782005
Only fetch an online UUID in online mode
The previous code would get an online UUID even in offline mode that
breaks plugins if the player joins.

Example: You want to store data for player "Test" who never joined. An
online UUID is created and you save it using that UUID.

The player Test joins with an offline UUID but that will not match the
online UUID of the saved data.

Adapted from Spigot commit 25b673fd7e418e21eb445a9e39d51baa0c0ab8b6
2023-12-31 10:46:30 +11:00
md_5
1da8d9a53a
Fire PreLogin events even in offline mode
Adapted from Spigot commit 61400aa00ce70d3a115472a05d266b679a53e0dd
2023-12-30 07:48:39 +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
BlackHole
53ebb05e39
SPIGOT-7554, #1323: Add DecoratedPotInventory 2023-12-28 08:07:06 +11:00
md_5
33a2d87739
Ensure that PlayerMoveEvent is always fired where applicable
Adapted and improved version of Spigot commit eb9e4c0460a8acd55ccd58bd54b0b82473876591
2023-12-28 07:56:30 +11:00
blablubbabc
7df18510f6
SPIGOT-7555: Don't cast ItemFlags to byte
This fixes an issue with the HIDE_ARMOR_TRIM flag being lost during item
deserialization.
2023-12-27 11:15:24 +11:00
md_5
19aec59ea1
Use provided case for non-existent OfflinePlayers
Fixes issues with using scoreboards to provide information via pseudo players being all lowercased.

Ported from Spigot commit e11d481452829c1e3dfdc057bbfd0f43e5c75a66
2023-12-26 14:33:31 +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
DerFrZocker
7f833a2d15
SPIGOT-7462: Players no longer drop XP after dying near a Sculk Catalyst 2023-12-26 07:42:19 +11:00
md_5
752aac6697
Implement APIs for per world view and simulation distances 2023-12-23 14:32:49 +11:00
drXor
57d7ef433c
Preserve empty enchantment tags for glow effect
Adapted from Spigot commit cc9a1a417f1ac95a7957db8636e31c8fc2baf4e9.
2023-12-23 12:50:04 +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
md_5
f90ce621ef
Use one PermissibleBase for all command blocks
Inspired by Spigot commit 4bd27f7d0f8dcffab0062741416a612ea258dc68 by FrozenBrain.
2023-12-23 08:28:06 +11:00
Doc
5876cca442
SPIGOT-7550: Fix creation of Arrow instances 2023-12-21 08:19:29 +11:00
md_5
f03fc3aa3c
SPIGOT-7549: ServerTickManager#setTickRate incorrect Precondition 2023-12-18 18:45:09 +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
md_5
13fb3358ed
SPIGOT-7544: Scoreboard#getEntries() doesn't get entries but class names 2023-12-17 09:38:38 +11:00
Miles Holder
3dda99c06f
SPIGOT-7540, #1312: Add ServerTickManager API 2023-12-17 09:30:00 +11:00
Miles Holder
2ab4508c08
SPIGOT-6903, #1311: Add BlockData#getMapColor 2023-12-17 09:29:54 +11:00
Miles Holder
1dbdbbed49
#1238: Remove unnecessary sign ticking 2023-12-17 09:29:48 +11:00
Miles Holder
659728d2a7
MC-264285, SPIGOT-7439, #1237: Fix unbreakable flint and steel is completely consumed while igniting creeper 2023-12-17 09:29:44 +11:00
md_5
e37e29ce01
Increase outdated build delay 2023-12-16 09:56:19 +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
md_5
e11fbb9d76
Upgrade MySQL driver 2023-12-10 10:59:27 +11:00
md_5
9f3a0bd2ae
Attempt upgrade of resolver libraries 2023-12-10 10:57:24 +11:00