470 Commits

Author SHA1 Message Date
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
Miles Holder
3dda99c06f
SPIGOT-7540, #1312: Add ServerTickManager API 2023-12-17 09:30:00 +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
Doc
492dd80ce7
SPIGOT-7527, #1310: Add WindCharge#explode() 2023-12-12 19:34:37 +11:00
Jishuna
cb2ea54def
SPIGOT-7440, #1292: Fire EntityTeleportEvent for end gateways 2023-12-08 19:35:57 +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
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
md_5
5a7080b580
Add unique ID to PlayerResourcePackStatusEvent 2023-12-06 20:27:59 +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
DerFrZocker
e54f39adca
SPIGOT-7487: entity.remove() on a leash drops a lead item 2023-12-01 08:01:44 +11:00
Jishuna
0478e0417b
#1266: Add support for virtual entities 2023-11-19 19:03:35 +13:00
DerFrZocker
eeb7dfc2dd
SPIGOT-7520: Attribute LootTableSeed missing for generated containers with attached LootTable 2023-11-14 20:19:45 +01:00
Parker Hawke
864f616da6
SPIGOT-7518: Fix NullPointerException when calling Block#applyBoneMeal() 2023-11-12 19:09:58 -05: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
Jishuna
6fa69f2357
#1281: Add hit entity/block to events extending ProjectileHitEvent 2023-10-25 18:54:07 +11:00
md_5
75502b6ddc
SPIGOT-7507: Fall back to world UUIDs if Dimension tag missing or invalid 2023-10-21 16:25:23 +11:00
md_5
f3ad63aad1
SPIGOT-7506: SculkBloomEvent.getBlock() world is null 2023-10-20 18:49:03 +11:00
md_5
2a381856b9
SPIGOT-7503: Remove special handling for minecraft:brand custom channel 2023-10-14 16:56:17 +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
DerFrZocker
1bf30a4e90
SPIGOT-7495: Spawning bee entity in asynchronous BlockPopulator causes IllegalStateException - Accessing LegacyRandomSource from multiple threads 2023-10-03 11:56:23 +02:00
Parker Hawke
476c5bccd3
#1267: Add more lightning API 2023-10-03 07:32:55 +11:00
md_5
dc45a6738f
SPIGOT-7496: Failure to load datapacks with multiple identical predicates 2023-10-02 20:01:30 +11:00
md_5
f508657d64
Fix decompile error affecting javac 2023-10-02 19:43:59 +11:00
Lauriichan
dab849f084
SPIGOT-7283, SPIGOT-7318: Add AsyncStructureGenerateEvent and BlockState cloning 2023-09-29 06:54:35 +10:00
md_5
e62905aabe
SPIGOT-7490: Fix entity equipment updates 2023-09-25 07:47:22 +10:00
md_5
069495671e
SPIGOT-7485: Allow air entity items since required for Vanilla logic 2023-09-22 07:14:27 +10:00
DerFrZocker
02d4907887
#1250: Standardize and centralize Bukkit / Minecraft registry conversion 2023-09-22 03:02:16 +10:00
md_5
6d4b25bf19
Increase diff stability 2023-09-22 02:57:13 +10:00
md_5
28c1023286
Update to Minecraft 1.20.2 2023-09-22 02:40:00 +10:00
DerFrZocker
ddc9a2dad3
SPIGOT-7475: Don't fire SculkBloomEvent during world generation 2023-09-06 19:09:38 +02:00
Collin
de421cf56b
#1242: Add more Sculk API (bloom, shriek, bloom event) 2023-09-06 20:44:19 +10:00
DerFrZocker
10219df3a6
#1248: Load GameEvent and MusicInstrument from registry 2023-09-02 12:55:23 +10:00
md_5
db4ba28978
SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender 2023-08-26 18:19:22 +10:00
md_5
f70a7b68de
SPIGOT-7465, MC-264979: Fresh installations print NoSuchFileException for server.properties 2023-08-22 20:51:34 +10:00
Brokkonaut
8ef7afef65
#1240: Call BlockGrowEvent for vines that are growing on additional sides of an existing vine block 2023-08-19 09:43:27 +10:00
md_5
d91e5aa0b6
SPIGOT-7447: Rewrite --forceUpgrade to minimise diff and properly handle CraftBukkit world layout 2023-08-07 20:16:07 +10:00
md_5
921ae06d60
Revert "SPIGOT-7447: Fix --forceUpgrade"
This reverts commit 70e0bc050a2ef1bb5b0d8ac97be24484f3891ceb.
2023-08-07 07:53:30 +10:00
md_5
70e0bc050a
SPIGOT-7447: Fix --forceUpgrade 2023-08-05 10:01:59 +10:00
Miles Holder
6752f1d63e
SPIGOT-7396: Add PlayerSignOpenEvent 2023-08-05 09:33:42 +10:00
Doc
847b4cad50
SPIGOT-7063, #1071: Add DragonBattle#initiateRespawn with custom EnderCrystals 2023-08-05 09:24:52 +10:00