487 Commits

Author SHA1 Message Date
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
Bjarne Koll
4e419c774c
#1295: Define native persistent data types for lists 2024-01-06 16:03:58 +11:00
md_5
1da8d9a53a
Fire PreLogin events even in offline mode
Adapted from Spigot commit 61400aa00ce70d3a115472a05d266b679a53e0dd
2023-12-30 07:48:39 +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
md_5
33a2d87739
Ensure that PlayerMoveEvent is always fired where applicable
Adapted and improved version of Spigot commit eb9e4c0460a8acd55ccd58bd54b0b82473876591
2023-12-28 07:56:30 +11:00
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