Ján Villim
25196237b1
Added ability to control player's insomnia and phantoms spawning ( #6500 )
2022-11-26 17:59:04 +01:00
Owen1212055
91869b8753
Schoolable Fish API ( #7089 )
2022-11-25 21:21:40 -05:00
SoSeDiK
c30dcbbc4c
Allow using degrees for ArmorStand rotations ( #7847 )
2022-11-26 03:42:30 +02:00
Noah van der Aa
0d81f1e394
Friction API ( #6611 )
2022-11-26 01:23:12 +01:00
Kezz
898dd9224a
Add Tick TemporalUnit ( #5445 )
2022-11-25 21:05:42 +00:00
Jake Potrebic
06be0d0b4d
Add displayName methods for advancements ( #8584 )
2022-11-24 23:05:48 -08:00
Jake Potrebic
26993f7801
ItemStack damage API ( #7801 )
2022-11-24 22:52:00 -08:00
Jake Potrebic
59db8e8bc9
Fix async entity add due to fungus trees ( #7626 )
2022-11-24 22:32:29 -08:00
Jake Potrebic
86b0932a3b
Fixes potential issues arising from optimizing getPlayerByUUID ( #8585 )
2022-11-24 22:22:19 -08:00
Amy
9cbb983d0d
Fix chest relooting mechanics ( #8580 )
2022-11-24 23:21:40 +00:00
Warrior
7f4f5f8f3b
Add /paper dumplisteners command ( #8507 )
...
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
Co-authored-by: TwoLeggedCat <80929284+TwoLeggedCat@users.noreply.github.com>
2022-11-23 23:28:38 +01:00
Lulu13022002
3375abab49
More vanilla friendly methods to update trades ( #8478 )
2022-11-23 22:38:49 +01:00
Jake Potrebic
48d31a56e9
Add api to resolve components ( #7648 )
2022-11-22 20:53:50 -08:00
Shane Freeder
3c0aa837c1
Fix Varint21FrameDecoder cached length buf usage
2022-11-22 17:50:31 +00:00
Lulu13022002
944be7b031
Avoid a cubed max search distance for POIs ( #8576 )
...
The max search distance used to get the closest Poi data on X/Z axis is cubed
instead of squared (one time in the parameter and another time in the function)
for almost all search.
Generally this has been hidden by another check that already does a pre
distance check between the poi pos and the source pos for individual
component but the issue still happens for diagonal distance search.
Discovered by Samsuik
2022-11-21 16:02:21 +01:00
Jakub Žáček
b36d2af7d5
Add Player Warden Warning API ( #8470 )
2022-11-20 19:53:58 +01:00
Jake Potrebic
b121c04895
Moving ATs from the at file to individual patches ( #8573 )
2022-11-19 15:53:20 -08:00
Noah van der Aa
14d69488ad
Strip coordinates from lodestone compasses ( #8561 )
2022-11-19 22:41:09 +01:00
Owen1212055
0bb4b6ead5
Add more collision code skipping logic ( #7581 )
2022-11-19 16:14:19 -05:00
Lulu13022002
f07cda9bb9
Sync chunk load command improvements ( #8554 )
2022-11-19 20:10:13 +01:00
William Blake Galbreath
7ad5dcb810
Fix MC-179072 ( #8421 )
2022-11-19 12:23:31 -06:00
Melncat
da7eb6b942
Fix MC-121048 ( #8429 )
...
This moves the setHealth call to below the recordDamage call to prevent
recordDamage from clearing the CombatTracker, since recordDamage will
clear the CombatTracker if the entity is dead. This fixes death messages
such as the "doomed to fall" messages.
2022-11-18 20:04:52 -08:00
Lulu13022002
72369d4f40
Reorder bukkit damage source entity for explosion ( #8553 )
2022-11-19 03:14:52 +01:00
Jake Potrebic
a81c97eafe
Fix/improve Affects Spawning API ( #7329 )
2022-11-15 11:15:01 -08:00
Jake Potrebic
f93eb6e135
update yarn param mappings ( #8563 )
2022-11-12 12:57:41 -08:00
braindead
97cb10205d
fix MC-252817 (green map markers do not dissappear) ( #8545 )
2022-11-12 14:16:25 -05:00
Jake Potrebic
1221fdbc95
ensure reset EnderDragon boss event name ( #8562 )
2022-11-12 10:34:14 -08:00
Owen1212055
af85b6071c
Cleanup reputation API + back with an EnumMap instead of array ( #8258 )
...
Resolves : #7142
2022-11-12 12:41:22 -05:00
Noah van der Aa
da071ba78f
Show exception when headless JRE detection is triggered ( #8559 )
2022-11-12 13:09:54 +01:00
Owen1212055
36d8f327e8
Add PrePlayerAttackEntityEvent ( #8369 )
...
Allows you to cancel player event attacking, preventing things like attack sounds from being played.
2022-11-09 22:05:58 -05:00
Jake Potrebic
ac7f94e4cf
Updated Upstream (CraftBukkit) ( #8548 )
2022-11-09 16:05:46 -08:00
Shane Freeder
435cc8ebd8
Cleanup misc import from last commit
2022-11-06 22:46:23 +00:00
Shane Freeder
f5e9a14a25
Prevent compass from loading chunks
2022-11-06 22:37:34 +00:00
Owen1212055
0ea0d39edf
Properly resend entities ( #7041 )
2022-11-05 14:50:16 -04:00
Jason Penilla
d8be0e795b
Update Commodore modifications ( #8542 )
...
* Handle ldc insn for getOriginalOrRewrite in Commodore
* Remove fastutil rewrite
It's no longer relocated upstream
2022-11-04 22:16:57 -07:00
Jake Potrebic
2f0e0c5f2b
Fix Advancement#getDisplay() api break ( #8541 )
2022-11-04 15:59:15 -07:00
Astro Angelfish
bf532ab0fb
[ci-skip] Rename Paper stop tp Paper end. ( #8539 )
2022-11-05 00:08:01 +08:00
Jake Potrebic
a5e916fc00
Remove old redundant fix ( #8530 )
2022-11-03 14:03:31 -07:00
Lulu13022002
4400eb6600
Call PlayerLaunchProjectileEvent for trident ( #8027 )
2022-11-03 19:43:50 +01:00
Shane Freeder
857ece0812
Fix setting difficulity inside of API ( Fixes #8533 )
...
Vanilla moved some logic around setting the world difficulty which
was not adopted for inside of upstream properly, this addresses another
such case
2022-11-01 18:29:52 +00:00
Jason Penilla
bfdafa934b
Build updates
2022-10-31 15:25:30 -07:00
Denery
ffceefa32f
Fix EntityCombustEvent cancellation issues ( #8529 )
2022-10-31 19:31:40 +03:00
Jake Potrebic
13442cd5c9
Updated Upstream (Bukkit/CraftBukkit/Spigot) ( #8515 )
...
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing
Bukkit Changes:
9a4de097 SPIGOT-7171: Ability to get the IP/hostname players are requesting status of
CraftBukkit Changes:
f43634ae4 SPIGOT-7170: Cannot set slots in custom smithing inventory
48f3a2258 SPIGOT-7171: Ability to get the IP/hostname players are requesting status of
30e31b4d1 SPIGOT-7177: Certain blocks don't call BlockCanBuildEvent
982364797 SPIGOT-7174: Avoid adding air to CraftMetaBundle
Spigot Changes:
6198b5ae PR-122: Add missing parentheses to pumpkin and melon growth modifier
1aec3fc1 Rebuild patches
2022-10-30 19:44:25 -07:00
Noah van der Aa
f40ba18fd0
Fix pumpkin growth modifier ( #8517 )
2022-10-30 13:27:37 +01:00
Owen1212055
4fad96576f
Deprecate unused VehicleEntityCollisionEvent methods ( #8498 )
2022-10-29 13:18:17 -04:00
William Blake Galbreath
d786bfda5c
Fix MC-147659 ( #8423 )
2022-10-27 19:53:16 -05:00
Hannes Greule
878600ebbc
Fix wrong descriptor in ASMEventExecutorGenerator ( #8506 )
2022-10-28 02:27:33 +02:00
Jason Penilla
3b7ad4bb6f
Make CommandSyntaxException implement ComponentMessageThrowable ( #8513 )
2022-10-27 10:10:28 -07:00
Jason Penilla
731f32f889
Fix EntityArgument suggestion permissions to align with EntitySelector#checkPermissions ( #8511 )
2022-10-26 18:31:55 -07:00
Jake Potrebic
f8cf06b774
Track projectile source for fireworks from dispensers ( #8044 )
2022-10-26 17:44:28 -07:00
Jake Potrebic
219d159e4d
Fix a bunch more forceDrops for dropping items ( #8095 )
2022-10-26 17:32:03 -07:00
Noah van der Aa
f84fb32dc5
Add allow server listing & text filtering client options ( #7595 )
2022-10-27 01:09:03 +02:00
Lulu13022002
0af5c64201
Fix new block data in EntityChangeBlockEvent for silverfish when mobGriefing isn't enabled ( #8099 )
2022-10-27 00:05:15 +02:00
Spottedleaf
1e44e31be7
Add dirty flag to chunk tick lists
...
For whatever reason, vanilla does not mark the chunk as
dirty when changing its tick lists.
We also have it return dirty if the time since the last
save has changed, since it would affect the tick offsets
in the ticklist.
2022-10-24 19:48:19 -07:00
Spottedleaf
11bb97e66c
Fix incorrect handling of mustNotSave
...
CB used the dirty flag to construct the chunk unload event,
but then sets mustNotSave to the inverted value of the event
after calling the event without considering that the chunk may
actually be brought up to loaded status again later. Then, CB
overrides the isUnsaved method of LevelChunk to additionally
use mustNotSave.
Thus, if the chunk is not marked dirty when unloading, the
mustNotSave value will be set to true. Then, once the chunk
is reloaded and edited the dirty flag will be set. However,
when unloading the chunk finally, the isUnsaved method
will return false due to mustNotSave being true. Thus, the
chunk will never be saved.
To fix these issues, no longer make mustNotSave override
isUnsaved and always set the save flag for the chunk unload
event.
This issue started popping up recently due to the recent
change to mark chunks as not dirty after saving them, which
increased the chance of the save issue occurring in the first
place.
2022-10-24 19:23:46 -07:00
Jason Penilla
b9481cae74
Move classes added to net.minecraft.server to paper packages ( #8500 )
2022-10-24 12:43:46 -07:00
evan
95bd943ca3
Only limit global sounds to same world if limiting radius ( #8499 )
2022-10-23 13:52:40 -05:00
Jake Potrebic
bac7ba4c5a
Updated Upstream (Bukkit/Spigot) ( #8445 )
2022-10-23 10:41:34 -07:00
Spottedleaf
0aa7d1a07f
Mark chunks as saved after saving them
...
Prevents re-saving them again later.
2022-10-23 09:09:18 -07:00
Owen1212055
646d59a575
Ignore impossible spawn tick ( #8493 )
...
Co-authored-by: dannyball710 <dannyball710@gmail.com>
2022-10-23 00:45:07 -04:00
Owen1212055
c1aac9ca35
Don't fire EntityToggleSitEvent on deserialization & reorder some api patches ( #8495 )
2022-10-22 22:55:28 -04:00
Owen1212055
fc19cbd800
Add Moving Piston API ( #7019 )
2022-10-22 20:37:37 -04:00
SoSeDiK
e7b3fba8e6
Add EquipmentSlot convenience methods ( #8477 )
2022-10-23 02:50:12 +03:00
uku
9e743bccff
Add config setting for grindstone overstacking ( #8156 )
2022-10-23 01:25:17 +02:00
vytskalt
201ba4d328
Add fire-tick-delay option ( #8037 )
2022-10-23 01:57:09 +03:00
IEatBeans
634f212bd5
Added EntityToggleSitEvent ( #7579 )
...
* Added EntityToggleSitEvent Patches
* Updated event phrasing, fixed Boolean not being primitive, pandas now fire event, and event is defined and called in 1 line
* Updated event phrasing, fixed Boolean not being primitive, pandas now fire event, and event is defined and called in 1 line
* Added EntityToggleSitEvent Patches
* Added EntityToggleSitEvent Patches
* Added EntityToggleSitEvent Patches
2022-10-22 15:20:52 -07:00
thelooter
28e6d9fd86
Add MaterialTags for the different Types of Tools ( #8049 )
...
* Add MaterialTags for the different Types of Tools
* Add Netherite Tools Tag
2022-10-22 23:51:34 +02:00
Lukas Alt
6ffb491076
Optimized dirt and snow spreading ( #5124 )
...
* Optimized dirt and snow spreading
* Add optimization to bukkit event call
* Clarify var names
Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
2022-10-22 20:13:59 +02:00
Lukas Alt
d68e096dd8
fixed entity vehicle collision event not called ( #5053 )
2022-10-22 19:09:45 +02:00
Noah van der Aa
95e37fca48
Detect headless JREs ( #8491 )
...
Crashes caused by the missing AWT dependency come up in the support channels fairly often.
This patch detects the missing dependency and stops the server with a clear error message,
containing a link to instructions on how to install a non-headless JRE.
2022-10-22 18:57:21 +02:00
Noah van der Aa
ddc8e1fd7c
Load Allay duplication cooldown as a long ( #8410 )
...
It is saved as a long, and the API exposes a long, so loading it as an int may cause issues like overflows.
2022-10-22 16:16:24 +02:00
Jason Penilla
13f7207665
Add stacktrace deobfuscation in more places ( #8484 )
2022-10-18 19:21:07 -07:00
Spottedleaf
03245caed0
Fix inconsistent isChunkLoaded calls
...
When we update the chunk state to border, it should be
the case that isChunkLoaded returns true and that
getChunkIfLoadedImmediately returns a non-null value.
Now add the chunk to the loaded map before making any
callbacks after updating to border state.
2022-10-18 08:11:23 -07:00
Nassim Jahnke
2f1aaaa85c
Fix another case of missing chat headers
2022-10-18 10:20:35 +02:00
Melncat
cd71f3c427
Add LivingEntity knockback API ( #8479 )
2022-10-18 00:33:58 -07:00
Jakub Žáček
154762a316
Add converted Slot number to PlayerInventorySlotChangeEvent ( #8482 )
2022-10-18 09:32:22 +02:00
SoSeDiK
50c3dccb29
Add LivingEntity#swingHand(EquipmentSlot) convenience method ( #8456 )
2022-10-16 14:49:56 +03:00
Jakub Žáček
fc419cfa50
Fix package for PlayerInventorySlotChangeEvent ( #8475 )
...
Co-authored-by: Jakub Zacek <dawon@dawon.eu>
2022-10-16 09:49:47 +02:00
19MisterX98
a35758c72d
FIx bedrock patterns ( #8474 )
2022-10-16 00:34:10 +02:00
Lexi
11281d0789
Avoid usages of RecipeChoice#getItemStack() ( #8453 )
...
Replaces some internal usages of this method with RecipeChoice#test(ItemStack) and deprecates every other method still utilizing this legacy method.
2022-10-15 15:20:12 -04:00
SoSeDiK
254a07415d
Allow changing bed's 'occupied' property ( #8458 )
2022-10-14 11:37:01 +03:00
Lulu13022002
c0e86f0599
Avoid cycle deprecation ( #8466 )
2022-10-13 13:52:04 +02:00
Lulu13022002
e827d176c4
Update settings directory path in exceptions ( #7968 )
2022-10-13 13:38:06 +02:00
SoSeDiK
683149f9a1
Elder Guardian appearance API ( #8455 )
2022-10-13 13:26:51 +03:00
Shane Freeder
c0e803bfd2
Make CraftMinecartTNT public
...
adding the getHandle method causes some issues with things like ProtocolLib
due to the expectation that all classes which provide a getHandle method
are public.
2022-10-12 16:10:52 +01:00
Jake Potrebic
c8d979234f
Fix a classloading issue in tests ( #8459 )
2022-10-11 20:05:28 -07:00
Jason Penilla
420e6ac365
Fix stacktrace in server tests
2022-10-11 16:52:49 -07:00
Jakub Žáček
07f0c9755b
Add PlayerInventorySlotChangeEvent ( #7321 )
2022-10-11 23:49:10 +02:00
Owen1212055
e7535118d9
Add missing Entity + Projectile API ( #7632 )
2022-10-11 17:04:26 -04:00
SoSeDiK
9ff21585db
Expose isUnderWater to Entity ( #8454 )
2022-10-11 15:43:10 +03:00
Jake Potrebic
5afab91756
Add missing structure set seed configs ( #8030 )
2022-10-09 13:19:35 -07:00
Jake Potrebic
5eb4ada324
Fix configs that relied on outdated min/max y levels ( #6986 )
2022-10-08 23:52:09 -07:00
Jake Potrebic
68ca16f075
Add Unmodifiable annotations to getDrops methods ( #8440 )
2022-10-07 11:51:54 -07:00
Warrior
3ef916da77
Exempt players in creative/spectator from nether ceiling damage ( #8427 )
2022-10-07 20:43:26 +02:00
Jake Potrebic
9e43d68e57
Correctly handle interactions with items on cooldown ( #8008 )
2022-10-07 08:22:45 -07:00
Jake Potrebic
365d10556b
EntityPickupItemEvent fixes ( #8096 )
2022-10-04 21:38:39 -07:00
Jake Potrebic
6e4207e2d9
Fix custom piglin interest items ( #8097 )
2022-10-04 20:28:46 -07:00
Nassim Jahnke
bf82a75a52
Remove unnecessary onTrackingStart during nav warning
...
Closes #8396
2022-10-03 20:50:53 +02:00
Gero
bb41ef89ff
Avoid resizing of ArrayList in ChunkMap#getPlayers ( #8416 )
2022-10-03 19:22:01 +02:00
Nassim Jahnke
ad03c22822
[ci skip] Minor patch cleanup
2022-10-03 19:07:03 +02:00