4175 Commits

Author SHA1 Message Date
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
Doc
ec1fa2ead3
#1309: Add tests for Bukkit Pose 2023-12-07 08:21:33 +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
Jishuna
c8feb06296
#1291: Improve precondition message in Entity#playEffect 2023-11-09 06:48:57 +11:00
Jishuna
482c56a009
#1285: Add PlayerRecipeBookSettingsChangeEvent 2023-11-09 06:43:34 +11:00
Jishuna
cdf7988007
#1290: Add methods to get/set evoker fang attack delay 2023-11-09 06:36:06 +11:00
Miles Holder
2c1b5f78fc
SPIGOT-7514, #1289: Add "Enchantment Roll" API to enchant items according to Minecraft mechanics 2023-11-09 06:30:23 +11:00
md_5
6aa644ae98
#992: Add API to get full result of crafting items 2023-11-06 20:37:34 +11:00
Collin
ffb1319bcc
#1287: Fix scoreboards not updating in Player#setStatistic 2023-10-31 21:48:21 +11:00
DerFrZocker
5a72c3c040
SPIGOT-7510: Try to fix broken reflection usage of plugins 2023-10-26 07:46:30 +02:00
Jishuna
6fa69f2357
#1281: Add hit entity/block to events extending ProjectileHitEvent 2023-10-25 18:54:07 +11:00
Jishuna
224f733ac1
Fix NPE introduced in #f4d977e 2023-10-22 20:36:35 -04:00
DerFrZocker
67a52a6485
#1279: Back Particle by a minecraft registry 2023-10-21 13:42:09 +11:00
md_5
f4d977e794
Simplify texture updating in CraftMetaSkull 2023-10-21 13:39:52 +11:00
md_5
e42510b064
Increase outdated build delay 2023-10-20 18:50:05 +11:00
DerFrZocker
b59004114e
#1278: Return correct default light in chunk snapshot 2023-10-15 20:20:30 +11:00
Jishuna
2fa7644d08
#1277: Add keepSpawnInMemory setting to WorldCreator 2023-10-13 08:11:14 +11:00
DerFrZocker
71b0135cc7
SPIGOT-5753: Back PotionType by a minecraft registry 2023-10-09 20:22:53 +11:00
Jishuna
a6bcb84890
SPIGOT-7080: Add World#locateNearestBiome 2023-10-09 20:11:46 +11:00
md_5
ad0e574345
SPIGOT-7502: CraftMetaItem - cannot deserialize BlockStateTag 2023-10-09 07:16:14 +11:00
DerFrZocker
b3efca57ac
SPIGOT-6400: Use Mockito instead of InvocationHandler 2023-10-07 15:42:18 +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