4292 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
DerFrZocker
60d16d7cac
#1306: Centralize Bukkit and Minecraft entity conversion 2023-12-10 10:46:06 +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
0fd734950f
SPIGOT-7528: Fix certain custom shaped recipes 2023-12-06 20:23:28 +11:00
DerFrZocker
8232a74cf8
SPIGOT-6026: Pull PotionEffectType and Enchantment from registry 2023-12-06 03:40:00 +11:00
md_5
07e5dd5d59
Update to Minecraft 1.20.3 2023-12-06 03:40:00 +11:00
md_5
d485cdeaf8
Remove outdated build delay 2023-12-06 03:38:35 +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
DerFrZocker
d433f086d5
#1297: Change Consumer and Predicates to super 2023-11-14 19:50:14 +13:00
DerFrZocker
7c6bf15d44
Fix SkullMeta configuration serialization / deserialization with note block sound 2023-11-09 07:30:14 +01:00