Commit graph

4576 commits

Author SHA1 Message Date
CraftBukkit/Spigot
93df3d859c #1327: Add methods to place structures with block/entity transformers
By: Jishuna <joshl5324@gmail.com>
2024-01-10 18:44:31 +11:00
CraftBukkit/Spigot
48a803d3ec SPIGOT-7567: SpawnReason for SNOWMAN is reported as BUILD_IRONGOLEM
By: md_5 <git@md-5.net>
2024-01-09 19:29:52 +11:00
CraftBukkit/Spigot
eb6041d8f8 Add EntityMountEvent and EntityDismount Event
Adapted from Spigot commit ab1e1a2a5a.

By: md_5 <git@md-5.net>
2024-01-07 08:59:55 +11:00
CraftBukkit/Spigot
d63f71fcde #1183: Better handle lambda expression and renaming of classes in Commodore
By: DerFrZocker <derrieple@gmail.com>
2024-01-06 16:15:23 +11:00
CraftBukkit/Spigot
8f59d4abd3 Reformat Commodore.java
By: md_5 <git@md-5.net>
2024-01-06 16:15:21 +11:00
CraftBukkit/Spigot
19e69bb8fc #1324: Improve ItemFactory#enchantItem consistency
By: Miles Holder <mwholder2005@gmail.com>
2024-01-06 16:07:58 +11:00
CraftBukkit/Spigot
8cd8851498 #1295: Define native persistent data types for lists
By: Bjarne Koll <lynxplay101@gmail.com>
2024-01-06 16:03:58 +11:00
CraftBukkit/Spigot
71ca5a7bdf SPIGOT-7562: Fix Score#getScore and Score#isScoreSet
By: md_5 <git@md-5.net>
2024-01-05 14:18:13 +11:00
CraftBukkit/Spigot
5e82782283 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

By: Maxim Van de Wynckel <maxim_vdw@hotmail.com>
2023-12-31 10:46:30 +11:00
CraftBukkit/Spigot
b92cff8a2d Fire PreLogin events even in offline mode
Adapted from Spigot commit 61400aa00c

By: md_5 <git@md-5.net>
2023-12-30 07:48:39 +11:00
CraftBukkit/Spigot
d15575db91 #1325: Use CraftBlockType and CraftItemType instead of CraftMagicNumbers to convert between minecraft and bukkit block / item representation
By: DerFrZocker <derrieple@gmail.com>
2023-12-29 08:36:38 +11:00
CraftBukkit/Spigot
b245f22351 SPIGOT-7554, #1323: Add DecoratedPotInventory
By: BlackHole <black-hole@live.com>
2023-12-28 08:07:06 +11:00
CraftBukkit/Spigot
5f42dbf7fe Ensure that PlayerMoveEvent is always fired where applicable
Adapted and improved version of Spigot commit eb9e4c0460

By: md_5 <git@md-5.net>
2023-12-28 07:56:30 +11:00
CraftBukkit/Spigot
61281a3158 SPIGOT-7555: Don't cast ItemFlags to byte
This fixes an issue with the HIDE_ARMOR_TRIM flag being lost during item
deserialization.

By: blablubbabc <lukas@wirsindwir.de>
2023-12-27 11:15:24 +11:00
CraftBukkit/Spigot
d19f0e9b26 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 e11d481452

By: md_5 <git@md-5.net>
2023-12-26 14:33:31 +11:00
CraftBukkit/Spigot
61052d56b5 #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

By: DerFrZocker <derrieple@gmail.com>
2023-12-26 07:44:21 +11:00
CraftBukkit/Spigot
fd3e1799d3 SPIGOT-7462: Players no longer drop XP after dying near a Sculk Catalyst
By: DerFrZocker <derrieple@gmail.com>
2023-12-26 07:42:19 +11:00
CraftBukkit/Spigot
a9fb0c70f8 Implement APIs for per world view and simulation distances
By: md_5 <git@md-5.net>
2023-12-23 14:32:49 +11:00
CraftBukkit/Spigot
6a6ddbcb6d Preserve empty enchantment tags for glow effect
Adapted from Spigot commit cc9a1a417f1ac95a7957db8636e31c8fc2baf4e9.

By: drXor <mcyoung@mit.edu>
2023-12-23 12:50:04 +11:00
CraftBukkit/Spigot
3d36db0106 Remove connected check on setScoreboard
No other API uses such a check and it has been removed in Spigot since f7086eb96d in 2013.

By: md_5 <git@md-5.net>
2023-12-23 08:39:28 +11:00
CraftBukkit/Spigot
fe17e5f886 Use one PermissibleBase for all command blocks
Inspired by Spigot commit 4bd27f7d0f by FrozenBrain.

By: md_5 <git@md-5.net>
2023-12-23 08:28:06 +11:00
CraftBukkit/Spigot
67a231d8d9 SPIGOT-7550: Fix creation of Arrow instances
By: Doc <nachito94@msn.com>
2023-12-21 08:19:29 +11:00
CraftBukkit/Spigot
1b81fe827e SPIGOT-7549: ServerTickManager#setTickRate incorrect Precondition
By: md_5 <git@md-5.net>
2023-12-18 18:45:09 +11:00
CraftBukkit/Spigot
a92362c927 SPIGOT-7548: Fix wrong spawn location for experience orb and dropped item
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-12-18 00:08:16 -05:00
CraftBukkit/Spigot
8c7156ce51 Add Checkstyle check for unused imports
By: md_5 <git@md-5.net>
2023-12-17 10:26:49 +11:00
CraftBukkit/Spigot
90ab7d39e5 SPIGOT-7544: Scoreboard#getEntries() doesn't get entries but class names
By: md_5 <git@md-5.net>
2023-12-17 09:38:38 +11:00
CraftBukkit/Spigot
46c67d7108 SPIGOT-7540, #1312: Add ServerTickManager API
By: Miles Holder <mwholder2005@gmail.com>
2023-12-17 09:30:00 +11:00
CraftBukkit/Spigot
3e5032caac SPIGOT-6903, #1311: Add BlockData#getMapColor
By: Miles Holder <mwholder2005@gmail.com>
2023-12-17 09:29:54 +11:00
CraftBukkit/Spigot
bbb64e5e0e #1238: Remove unnecessary sign ticking
By: Miles Holder <mwholder2005@gmail.com>
2023-12-17 09:29:48 +11:00
CraftBukkit/Spigot
6f023adfe9 MC-264285, SPIGOT-7439, #1237: Fix unbreakable flint and steel is completely consumed while igniting creeper
By: Miles Holder <mwholder2005@gmail.com>
2023-12-17 09:29:44 +11:00
CraftBukkit/Spigot
3c241dbb64 Increase outdated build delay
By: md_5 <git@md-5.net>
2023-12-16 09:56:19 +11:00
CraftBukkit/Spigot
6d495b5687 SPIGOT-7530, #1313: Add Player#removeResourcePack
By: Doc <nachito94@msn.com>
2023-12-13 07:33:49 +11:00
CraftBukkit/Spigot
889ce05e35 SPIGOT-7527, #1310: Add WindCharge#explode()
By: Doc <nachito94@msn.com>
2023-12-12 19:34:37 +11:00
CraftBukkit/Spigot
8b40071aa8 Upgrade MySQL driver
By: md_5 <git@md-5.net>
2023-12-10 10:59:27 +11:00
CraftBukkit/Spigot
b1cb1a8a1e Attempt upgrade of resolver libraries
By: md_5 <git@md-5.net>
2023-12-10 10:57:24 +11:00
CraftBukkit/Spigot
c90e518928 #1306: Centralize Bukkit and Minecraft entity conversion
By: DerFrZocker <derrieple@gmail.com>
2023-12-10 10:46:06 +11:00
CraftBukkit/Spigot
7656a539b6 SPIGOT-7440, #1292: Fire EntityTeleportEvent for end gateways
By: Jishuna <joshl5324@gmail.com>
2023-12-08 19:35:57 +11:00
CraftBukkit/Spigot
336afd230d #1299: Add new PersistentDataContainer methods and clean up docs
By: Jishuna <joshl5324@gmail.com>
2023-12-08 19:29:38 +11:00
CraftBukkit/Spigot
a5594be1c7 #1303: Create registry for banner pattern and cat type
By: Jishuna <joshl5324@gmail.com>
2023-12-08 19:26:30 +11:00
CraftBukkit/Spigot
aacf3bd308 SPIGOT-7535: Fix maps not having an ID and also call MapInitializeEvent in more places
By: md_5 <git@md-5.net>
2023-12-08 19:20:05 +11:00
CraftBukkit/Spigot
e3eb82a356 Update to Minecraft 1.20.4
By: md_5 <git@md-5.net>
2023-12-08 07:00:00 +11:00
CraftBukkit/Spigot
628e3adf0e SPIGOT-7536: Using Crafter crashes server
By: md_5 <git@md-5.net>
2023-12-07 19:49:43 +11:00
CraftBukkit/Spigot
07a9ff30de Fix formatting issue in previous commit
By: md_5 <git@md-5.net>
2023-12-07 08:41:56 +11:00
CraftBukkit/Spigot
64145dd66d SPIGOT-7534: Error when chunk with decorated pot trying to save
By: md_5 <git@md-5.net>
2023-12-07 08:37:37 +11:00
CraftBukkit/Spigot
bf7ca9b824 SPIGOT-7532: Entity#isValid() returns false after server restart
By: Jishuna <joshl5324@gmail.com>
2023-12-07 08:24:27 +11:00
CraftBukkit/Spigot
5690a0ab1f #1309: Add tests for Bukkit Pose
By: Doc <nachito94@msn.com>
2023-12-07 08:21:33 +11:00
CraftBukkit/Spigot
8672defea5 Add unique ID to PlayerResourcePackStatusEvent
By: md_5 <git@md-5.net>
2023-12-06 20:27:59 +11:00
CraftBukkit/Spigot
58cbbcd51a SPIGOT-7528: Fix certain custom shaped recipes
By: md_5 <git@md-5.net>
2023-12-06 20:23:28 +11:00
CraftBukkit/Spigot
dd8ca5c2dc SPIGOT-6026: Pull PotionEffectType and Enchantment from registry
By: DerFrZocker <derrieple@gmail.com>
2023-12-06 03:40:00 +11:00
CraftBukkit/Spigot
8398e12b34 Update to Minecraft 1.20.3
By: md_5 <git@md-5.net>
2023-12-06 03:40:00 +11:00