Jake Potrebic
ec8b5b419f
Use components properly in ProfileWhitelistVerifyEvent ( #11456 )
2024-10-02 05:32:05 -07:00
Jake Potrebic
0adf5876db
Finish converting most of the undeprecated api to jspecify
2024-09-30 11:44:36 -07:00
Jake Potrebic
29a25df60e
Finish converting all events to jspecify annotations
2024-09-29 16:48:34 -07:00
Jake Potrebic
64e918335c
Begin switching to JSpecify annotations ( #11448 )
...
* Begin switching to JSpecify annotations
* more
* fixes
2024-09-29 12:52:13 -07:00
Jake Potrebic
fa1f6a5d78
Call bucket events for cauldrons ( #7486 )
2024-09-28 15:04:11 -07:00
Jake Potrebic
a1cb6c43d2
Improve entity effect API ( #11444 )
2024-09-28 11:05:45 -07:00
Jake Potrebic
eba36b62bd
Fix console completions on invalid commands ( #7603 )
2024-09-27 11:05:15 -07:00
Jake Potrebic
e1c46e67a5
fix ItemStack#removeEnchantments creating non-stackable items ( #11442 )
2024-09-27 10:58:11 -07:00
Jake Potrebic
c40eeeefec
Remove redundant fillUsableCommands call ( #11425 )
2024-09-27 09:49:18 -07:00
Jake Potrebic
ddd068d513
Deprecate for removal Block#isValidTool ( #11439 )
...
The method's implementation uses Block#getDrops
which re-computes the drops from the loot table each
call leading to isValidTool returning different values
with subsequent calls.
2024-09-27 09:28:04 -07:00
Jake Potrebic
ae51e7b8ff
use correct types for preloading CraftRegistry
...
also add a check in CraftRegistryEntry constructor to
make sure preload class isn't in net.minecraft package
2024-09-26 14:20:09 -07:00
Jake Potrebic
ee957a53ba
Fix tag lifecycle event handlers not disabling /reload
2024-09-24 19:33:30 -07:00
Jake Potrebic
653a12cc46
Add missing key files and cleanup registry definition order
2024-09-23 17:36:29 -07:00
Jake Potrebic
660700a1d3
make MenuType implement FeatureDependant
2024-09-23 15:03:52 -07:00
Jake Potrebic
f137f3cf13
Only call EntityPortalExitEvent if entity is actually in a portal
2024-09-22 14:35:04 -07:00
Jake Potrebic
802cb228d7
Expand out datapack API ( #10828 )
...
* Expand out datapack API
* add getTitle
* better enable check
2024-09-22 14:28:45 -07:00
Jake Potrebic
5b9ea906ed
Create TileStateInventoryHolder ( #11420 )
...
Adds a missing interface to centralize getSnapshotInventory methods.
2024-09-21 11:09:29 -07:00
Jake Potrebic
7669a1097e
Set default drop behavior for player deaths ( #11380 )
2024-09-15 12:51:35 -07:00
Jake Potrebic
d503cbe01f
deprecate isEnabledByFeature in Item/BlockType
2024-09-09 19:19:46 -07:00
Jake Potrebic
969432263f
Tag Lifecycle Events ( #10993 )
...
* wip tags
* use generics in tag registrars
* comment out varargs methods for now
* split up patch
* cache loaded service provider
* finish renames
* use builderWithExpectedSize
* finalize
2024-09-08 11:56:09 -07:00
Jake Potrebic
d1190734bc
Enchantment is data-driven, so not FeatureDependant ( #11377 )
2024-09-08 10:42:44 -07:00
Jake Potrebic
fc2cdc7db9
Add FeatureFlag API ( #8952 )
...
* Add FeatureFlag API
* switch to index & move method
* fix test
2024-09-07 13:35:11 -07:00
Jake Potrebic
b91a342aa2
Deprecate for removal all OldEnum-related methods ( #11371 )
2024-09-07 13:02:45 -07:00
Jake Potrebic
2c264ee7c0
Fix shulkerbox loot table replenish ( #11366 )
...
* Fix shulkerbox loot table replenish
* re-add loot table if cleared
* add config
2024-09-07 12:49:28 -07:00
Jake Potrebic
d668e93940
Improve console completion with brig suggestions ( #9251 )
...
* Improve console completion with brig suggestions
* silence warning
* small fixes
* squashed
2024-09-06 13:37:09 -07:00
Jake Potrebic
0481feec57
Deprecate API relating to menu title changes ( #11309 )
2024-08-25 11:56:17 -07:00
Jake Potrebic
43f2d628d5
Fix despawn ranges by defaulting to an ellipsoid shape ( #11312 )
2024-08-25 11:26:33 -07:00
Jake Potrebic
01e05f9751
Fix SculkBloomEvent firing for block entity loading ( #11306 )
2024-08-19 14:28:03 -07:00
Jake Potrebic
0df31bdeb3
Add even more Enchantment API ( #11115 )
2024-08-17 13:58:36 -07:00
Jake Potrebic
c10949d863
Updated Upstream (Bukkit/CraftBukkit/Spigot) ( #11284 )
...
Updated Upstream (Bukkit/CraftBukkit/Spigot)
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:
4068c6aa PR-1053: Change docs for max power in FireworkMeta
6b3c241b SPIGOT-7783, SPIGOT-7784, PR-1051: Add Trial Vault & Spawner event API
5fe300ec PR-1052: Fix broken links and minor improvement for checkstyle.xml
CraftBukkit Changes:
7548afcf2 SPIGOT-7872: Fix crash with event-modified teleports
93480d5d6 SPIGOT-7868, PR-1463: Fix default and max power in FireworkMeta
5060d1a84 SPIGOT-7783, SPIGOT-7784, PR-1460: Add Trial Vault & Spawner event API
11dfcae71 PR-1462: Fix broken links and minor improvement for checkstyle.xml
Spigot Changes:
ca581228 Rebuild patches
2024-08-17 12:39:11 -07:00
Jake Potrebic
23550ec960
Fix BasicCommand suggestion arg count ( #11241 )
2024-08-12 00:40:39 -07:00
Jake Potrebic
0625ce9d09
[ci skip] Fix Effect javadocs ( #11182 )
2024-08-11 15:35:45 -07:00
Jake Potrebic and Bjarne Koll
3cb3616012
Re-add patches for can-place/can-destroy API ( #11238 )
...
* Re-add patches for can-place/can-destroy API
This API is all deprecated for removal and has to be replaced
as the structure of it has too radically changed
* update patches
* add link to MaterialRerouting
* Deprecation
---------
Co-authored-by: Bjarne Koll <git@lynxplay.dev >
2024-08-11 13:51:37 -07:00
Jake Potrebic
b366872963
Fix teleport event getTo returning null ( #11239 )
2024-08-11 13:42:39 -07:00
Jake Potrebic
e574dc326d
Correctly check enchants for ItemStack#damage ( #11240 )
2024-08-11 13:27:24 -07:00
Jake Potrebic
d34db05237
Add argument for FinePosition to brig API ( #11094 )
2024-07-28 11:23:18 -07:00
Jake Potrebic
a507e91bb3
fix exact choice shapeless recipes ( #10973 )
2024-07-17 12:48:31 -07:00
Jake Potrebic
412a28a37a
Don't store removed components in multiple places ( #11091 )
2024-07-16 16:39:57 -07:00
Jake Potrebic
2a8b311dfb
distinguish between null and empty map in API ( #10829 )
2024-07-16 11:36:07 -07:00
Jake Potrebic
14b789b68a
Add ItemType#getItemRarity ( #11049 )
2024-07-15 07:38:20 -07:00
Jake Potrebic
eb450b6025
Fix horse inventories ( #11028 )
2024-07-06 14:25:23 -07:00
Jake Potrebic
eaaeed5041
bump reflection-rewriter to 0.0.3 ( #10969 )
2024-06-23 16:39:45 -07:00
Jake Potrebic
fed26cf9a8
Bump reflection-rewriter to 0.0.2 ( #10927 )
2024-06-23 15:29:50 -07:00
Jake Potrebic
e015c297db
Call EntityPortalEnterEvent on endgateways and make cancellable ( #10892 )
2024-06-23 15:01:12 -07:00
Jake Potrebic
05dd6c2bec
Fixes exception log messages getting dropped during bootstrap ( #10935 )
2024-06-20 11:26:07 -07:00
Jake Potrebic
59da9d1a80
Fix NPE for Jukebox#setRecord
...
Fallback to the global registry if no level exists
Fixes #10899
2024-06-17 17:42:48 -07:00
Jake Potrebic
70f3730d25
Delegate ItemStack ( #10852 )
2024-06-17 12:12:42 -07:00
Jake Potrebic
a9fdf73f2e
make EntityPortalReadyEvent#setTargetWorld work again
2024-06-16 15:48:38 -07:00
Jake Potrebic
1862266320
remove remaining reference to 'pgive'
2024-06-16 15:38:59 -07:00
Jake Potrebic and Bjarne Koll
bb6b0b4cb1
Enchantment and GameEvent Registry builders ( #10889 )
...
Co-authored-by: Bjarne Koll <git@lynxplay.dev >
2024-06-16 15:00:12 -07:00
Jake Potrebic
25c3a98398
Registry Modification API ( #10893 )
...
* Registry Modification API
* some fixes
* even more fixes
2024-06-16 12:39:59 -07:00
Jake Potrebic
bff551166c
call EntityDamageItemEvent for thorns
2024-06-16 09:47:53 -07:00
Jake Potrebic
35a678ddb3
update 'improve mass craft perf' patch
2024-06-16 08:08:06 -07:00
Jake Potrebic
046bbf8a74
add some generated typed/tag keys
2024-06-15 15:52:14 -07:00
Jake Potrebic
80cb0a621b
correctly change enchantment registry to a 'delayed' version
2024-06-15 12:04:06 -07:00
Jake Potrebic
87f8c7ca9b
Fix Player#sendBlockState ( #10855 )
2024-06-15 08:05:21 -07:00
Jake Potrebic
2053f3bd83
Update AbstractArrow item method implementations for 1.20.6 ( #10885 )
2024-06-15 16:40:29 +02:00
Jake Potrebic
9b34dc14d9
remove api that was scheduled for removal
2024-06-14 14:07:44 -07:00
Jake Potrebic
abbb7415bd
remove old vanilla goals
2024-06-14 13:38:42 -07:00
Jake Potrebic
f7118d4e22
update generated API
2024-06-14 13:11:23 -07:00
Jake Potrebic
a0f4d303eb
788/1053
2024-06-13 18:30:23 -07:00
Jake Potrebic
4ff15b38e5
650/1053
2024-06-13 17:08:12 -07:00
Jake Potrebic
dfa326fc2f
585/1053
2024-06-13 16:32:45 -07:00
Jake Potrebic
02d989b548
531/1053
2024-06-13 14:42:02 -07:00
Jake Potrebic
29e69c49da
487/1053
2024-06-13 13:57:13 -07:00
Jake Potrebic
7bcc1a4674
385
2024-06-13 13:14:13 -07:00
Jake Potrebic
e07671b7df
279
2024-06-13 12:04:27 -07:00
Jake Potrebic
9120ce5d4b
194
2024-06-13 11:09:28 -07:00
Jake Potrebic
6a05c85176
117
2024-06-13 10:30:39 -07:00
Jake Potrebic
79da0788dd
62
2024-06-13 10:12:48 -07:00
Jake Potrebic
0ef31547a1
Finish API patches
2024-06-13 08:45:43 -07:00
Jake Potrebic
1eacf97f18
Make Bogged implement Shearable ( #10844 )
2024-06-04 13:26:40 -07:00
Jake Potrebic
a992033d60
Add since to deprecated for removals ( #10848 )
2024-06-04 12:40:18 -07:00
Jake Potrebic
a69530eb66
clarify what getEntityId actually returns ( #10839 )
2024-06-03 10:20:43 -07:00
Jake Potrebic
5db39ab195
Use RegistryOps in the correct places ( #10843 )
2024-06-02 15:19:17 -07:00
Jake Potrebic
3a135ada91
Fire TabCompleteEvent for legacy commands ( #10834 )
2024-05-31 08:46:42 -07:00
Jake Potrebic
ea9c42406e
fix knockback events ( #10831 )
...
* fix knockback events
* squash
* handle cancelled event for explosions
2024-05-30 13:17:16 -07:00
Jake Potrebic
25b99bc93a
Deprecate InvAction#HOTBAR_MOVE_AND_READD ( #10784 )
2024-05-29 14:56:14 -07: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
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
Jake Potrebic
e20678fb20
Prevent NPE if hooked entity was cleared ( #10712 )
2024-05-26 14:41:30 -07:00
Jake Potrebic
2b16bc2a30
Fix BlockStateMeta equals ( #10795 )
2024-05-26 13:49:00 -07: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
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
Jake Potrebic
169a23c23a
Fix CraftMetaBlockState for data components ( #10731 )
...
This will go on forever...
2024-05-25 16:37:35 -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
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
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