279 Commits

Author SHA1 Message Date
md_5
38fd4bd503
Fix accidentally renamed internal damage method 2024-02-11 09:58:07 +11:00
Doc
80f0ce4be6
SPIGOT-7300, #1180: Add new DamageSource API providing enhanced information about entity damage 2024-02-11 09:54:25 +11:00
md_5
7e43f3b164
SPIGOT-7581: Fix typo in BlockMushroom 2024-02-09 19:00:25 +11:00
Doc
ea14b7d901
SPIGOT-7576, #1347: Add methods in MushroomCow to change stew effects 2024-02-08 22:54:51 +11:00
md_5
22a541a29f
Improve support for per-world game rules 2024-02-04 10:54:20 +11:00
coll1234567
b8d6109f0c
#1335: Add API for in-world structures 2024-02-04 10:04:35 +11:00
md_5
e74107678c
Fix Crafter maximum stack size 2024-02-03 13:52:43 +11:00
Jishuna
20ac73ca28
#1353: Fix Structure#place not working as documented with 0 palette 2024-01-31 20:01:58 +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
292ec79e09
SPIGOT-7568: Call EntityChangeBlockEvent for DecoratedPot 2024-01-24 21:49:24 +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
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
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
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
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
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
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
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
f3ad63aad1
SPIGOT-7506: SculkBloomEvent.getBlock() world is null 2023-10-20 18:49:03 +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
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