5713 Commits

Author SHA1 Message Date
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
DerFrZocker
60d16d7cac
#1306: Centralize Bukkit and Minecraft entity conversion 2023-12-10 10:46:06 +11:00
Jishuna
cb2ea54def
SPIGOT-7440, #1292: Fire EntityTeleportEvent for end gateways 2023-12-08 19:35:57 +11:00
Jishuna
4fea66e448
#1299: Add new PersistentDataContainer methods and clean up docs 2023-12-08 19:29:38 +11:00
Jishuna
b483a20db0
#1303: Create registry for banner pattern and cat type 2023-12-08 19:26:30 +11:00
md_5
4642dd5261
SPIGOT-7535: Fix maps not having an ID and also call MapInitializeEvent in more places 2023-12-08 19:20:05 +11:00
md_5
51eea725f7
Update to Minecraft 1.20.4 2023-12-08 07:00:00 +11:00
md_5
c9cb085517
SPIGOT-7536: Using Crafter crashes server 2023-12-07 19:49:43 +11:00
md_5
368c48be1b
Fix formatting issue in previous commit 2023-12-07 08:41:56 +11:00
md_5
da8f91f317
SPIGOT-7534: Error when chunk with decorated pot trying to save 2023-12-07 08:37:37 +11:00
Jishuna
d20c9291a2
SPIGOT-7532: Entity#isValid() returns false after server restart 2023-12-07 08:24:27 +11:00
Doc
ec1fa2ead3
#1309: Add tests for Bukkit Pose 2023-12-07 08:21:33 +11:00
md_5
5a7080b580
Add unique ID to PlayerResourcePackStatusEvent 2023-12-06 20:27:59 +11:00
md_5
0fd734950f
SPIGOT-7528: Fix certain custom shaped recipes 2023-12-06 20:23:28 +11:00