SoSeDiK
2786ee1e8f
Extend fishing API ( #10634 )
...
Adds a missing fishing state when the fish is lured and fires an event for it.
Also adds a way to control the fish swimming time towards the bobber.
2024-05-30 00:45:01 +03:00
Jake Potrebic
a888e73efa
Add registry-related argument types ( #10770 )
...
* Add registry-related argument types
* fix tests
2024-05-29 14:11:52 -07:00
Jake Potrebic
3991e67f19
Several fixes and new api for experience merging/stacking ( #9242 )
2024-05-29 13:58:57 -07:00
Bjarne Koll
6496275397
Flatten namespaced vanilla command alias redirects ( #10821 )
...
The brigadier command dispatcher is not capable of executing commands
that redirect more than one.
The exemplary alias 'minecraft:tp' may hence not redirect to 'tp' it
instead has to redirect to 'teleport' as 'tp' itself is merely a
redirect.
2024-05-29 21:47:07 +02:00
Jake Potrebic
532b3df1ee
Fix skipping custom block entity tag ( #10812 )
2024-05-29 12:22:51 -07:00
Jake Potrebic
91b9b6b0de
Allow firework effects with no colors ( #10814 )
2024-05-29 11:50:44 -07:00
Jake Potrebic
966eda751d
Use RegistryOps for loadAdvancement ( #10799 )
2024-05-29 11:27:29 -07:00
Jake Potrebic
82ece252bc
handle BODY slot for non-mobs ( #10822 )
2024-05-29 11:23:51 -07:00
Lulu13022002
cae5734b19
Fix max temper API for llama ( #10823 )
2024-05-29 20:17:56 +02:00
Bjarne Koll
5100786ebf
[ci skip] Clean up paperclip build-pr workflow ( #10802 )
2024-05-28 14:19:31 +02:00
Bjarne Koll
4a8e32ec74
Only remove worldgen block entity on changed block ( #10794 )
2024-05-28 11:45:03 +02:00
Shane Freeder
1f743f10af
Fix missing debug trace
2024-05-27 18:33:34 +01:00
Tamion
cca7c50e9f
Fix Cancelling BlockPlaceEvent calling onRemove ( #10773 )
2024-05-27 00:03:48 +02:00
Jake Potrebic
e20678fb20
Prevent NPE if hooked entity was cleared ( #10712 )
2024-05-26 14:41:30 -07:00
Lulu13022002
0ca35d0dd9
Fix more item desync when an event is cancelled ( #10654 )
2024-05-26 23:30:45 +02:00
Cross
7c18a81fde
Extend Player Interact cancellation to cover Jigsaw blocks ( #10719 )
2024-05-26 21:54:55 +01:00
Jake Potrebic
2b16bc2a30
Fix BlockStateMeta equals ( #10795 )
2024-05-26 13:49:00 -07:00
Lulu13022002
dfcf0b3ac3
Fix integer overflow for lag compensating eating check ( #10797 )
2024-05-26 22:35:58 +02:00
Jake Potrebic
dd6b67a80a
fix and cleanup loot table patches ( #10100 )
...
* fix and cleanup loot table patches
* fixes
2024-05-26 12:51:15 -07:00
Lulu13022002
fff2347845
Clear firework item properly ( #10793 )
2024-05-26 19:57:38 +02:00
Jake Potrebic
37155664bb
readd itemstack data sanitization ( #10454 )
...
* readd itemstack data sanitization
* use autocloseable
2024-05-26 10:56:33 -07:00
Jake Potrebic
85894149b3
reset meta block state on BlockStateMeta#setBlockState
2024-05-25 22:36:55 -07:00
Jake Potrebic
476103747a
Fix NPE for color-related metas
...
Fixes #10789
2024-05-25 19:55:51 -07:00
Janet Blackquill
fe5c08d312
Expose anvil cost in the API ( #10682 )
2024-05-25 19:47:14 -04:00
Jake Potrebic
169a23c23a
Fix CraftMetaBlockState for data components ( #10731 )
...
This will go on forever...
2024-05-25 16:37:35 -07:00
Lulu13022002
f5963e84a3
Fix a few issues with ItemMeta ( #10740 )
2024-05-26 00:58:56 +02:00
jake-brennan714
10c04efb2a
[ci skip] Update Player#getListeningPluginChannels Jdoc ( #10778 )
2024-05-25 17:59:01 -04:00
Lulu13022002
8af4ab8bf7
Allow to define new map cursor types ( #10782 )
2024-05-25 23:56:44 +02:00
TonytheMacaroni
5af1dfa5cb
Use getter/setter on Mob for equipment drop chances ( #10780 )
2024-05-24 13:52:54 -04:00
Shane Freeder
e04d670f1d
Do not re-wrap vanilla goals ( #10751 )
...
There is no need to rewrap vanilla goals when they're being reregistered,
this breaks some expectations around behavior outside of general
wasting of resources.
Resolves : #10743
2024-05-24 15:22:41 +01:00
Jason Penilla
d644dfaa27
Allow using PluginLoader classpath API from Bukkit plugins ( #10758 )
...
Allows using the PluginLoader API without any of the other changes imposed by switching to a paper-plugin.yml.
Used by setting paper-plugin-loader in plugin.yml to the class name of your PluginLoader.
Also allows skipping the libraries field by setting paper-skip-libraries to true (by default both libraries and jars provided by the PluginLoader are added to the classpath).
2024-05-23 13:13:02 -07:00
Jake Potrebic
3636a1dcf5
Remove incorrect logic for Fireball#setVelocity ( #10764 )
2024-05-23 12:48:11 -07:00
Jake Potrebic
bbe01377d5
Improve default item attributes API ( #10765 )
2024-05-23 11:44:07 -07:00
Jason Penilla
cb60dbc9e3
Print CommandRegisteredEvent deprecation warnings again ( #10756 )
2024-05-23 10:44:45 -07:00
Jake Potrebic
d637706bbd
Fix equipment slot and group API ( #10767 )
2024-05-23 10:39:44 -07:00
Jake Potrebic
98853ee548
[ci skip] Move logic in our patches to ItemType/BlockType ( #10772 )
2024-05-23 10:32:02 -07:00
Jake Potrebic
c7e42591dd
Always show command exception stack traces in logs ( #10766 )
2024-05-22 10:24:09 -07:00
Jake Potrebic
0c9dd451de
fix default item attributes
2024-05-22 07:16:50 -07:00
Spottedleaf
dd88498616
Fix compile
2024-05-21 08:41:36 -07:00
Spottedleaf
e29a098cbe
Remove ThreadedWorldUpgrader patch
...
The patch does not implement Vanilla forceUpgrade behavior.
Specifically, poi/entity conversion and regionfile recreation.
The Vanilla force upgrader is also no longer broken by CB, so the
bug fixes from this patch are not relevant anymore.
2024-05-21 08:21:28 -07:00
Jason Penilla
e71c77f5e9
Add a better warning message than "Server performance will be affected" for CommandRegisteredEvent use ( #10754 )
2024-05-20 11:15:21 -07:00
Jake Potrebic
93cb23c488
Add an 'empty' RecipeChoice for certain ingredient slots ( #10710 )
2024-05-20 07:20:47 -07:00
Jake Potrebic
763f42fc65
Check for more correct profile validation ( #10730 )
2024-05-19 17:45:43 -07:00
Jake Potrebic
3fb22e8951
fix CompassMeta not being correct ( #10737 )
2024-05-19 17:15:44 -07:00
Shane Freeder
c889d48f8c
Make PaperSimplePluginClassLoader show class which is not found
2024-05-18 21:17:54 +01:00
Jake Potrebic
f14fe2e4f4
Fixes issues in the suppress dismount cancellation patch ( #10735 )
2024-05-17 14:37:16 -07:00
Jake Potrebic
5bd61ce801
Fix NPE sending resource pack without prompt
...
Fixes KyoriPowered/adventure#1075
2024-05-17 14:22:45 -07:00
Riley Park
1570ecc56c
Expose server build information ( #10729 )
...
* Expose server build information
* squash patches
* final tweaks
---------
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: masmc05 <masmc05@gmail.com>
2024-05-15 17:06:59 -07:00
Jason Penilla
b7e944756d
Show stacktrace when modifyItemStack fails
2024-05-13 22:58:50 -07:00
Jason Penilla
9e0c66cd6c
Correctly copy alias requirements in command upgrader
...
Fixes NPE when converting namespaced commands.
Since the brigadier command api, more aliased commands
(namespaced variants) are registered in the vanilla dispatcher,
which made this issue more apparent.
2024-05-13 15:55:15 -07:00