Commit Graph
100 Commits
Author SHA1 Message Date
Jake Potrebic db81fd3455 net.minecraft.world.item.crafting 2024-12-14 10:07:55 -08:00
Jake Potrebic 368d2116ba net.minecraft.world.entity.raid 2024-12-13 19:53:42 -08:00
Jake Potrebic aa7204fd62 net.minecraft.commands.arguments.selector 2024-12-13 19:46:27 -08:00
Jake Potrebic 9793846a7e net.minecraft.world.level.redstone 2024-12-13 19:42:44 -08:00
Jake Potrebic c62af3a5b7 net.minecraft.world.level.saveddata.maps 2024-12-13 19:35:46 -08:00
Jake Potrebic d064a57573 fix a bunch of imports 2024-12-13 19:24:28 -08:00
Jake Potrebic 64500a201f net.minecraft.server 2024-12-13 19:12:33 -08:00
Jake Potrebic ce9d79a81b net.minecraft.world.entity.projectile.windcharge 2024-12-13 17:54:21 -08:00
Jake Potrebic 5b0289a248 net.minecraft.world.level.storage.loot.predicates 2024-12-13 17:50:51 -08:00
Jake Potrebic 9ef230aa31 net.minecraft.world.entity.projectile 2024-12-13 17:45:53 -08:00
Jake Potrebic cb5feced53 net.minecraft.world.entity.monster.warden 2024-12-13 16:08:40 -08:00
Jake Potrebic f98d879f07 net.minecraft.world.level.block.state.properties 2024-12-13 16:05:23 -08:00
Jake Potrebic fe1744dfd1 net.minecraft.world.item.alchemy 2024-12-13 16:02:20 -08:00
Jake Potrebic f60983ac06 net.minecraft.world.entity.animal.allay 2024-12-13 15:55:52 -08:00
Jake Potrebic f0e7d7e5f7 net.minecraft.world.level.block.state 2024-12-13 15:50:44 -08:00
Jake Potrebic f252b67a97 net.minecraft.core.dispenser 2024-12-13 13:30:09 -08:00
Jake Potrebic b97663fdf9 remove applied patches 2024-12-13 09:44:26 -08:00
Jake Potrebic e9b739bc48 some more directories 2024-12-13 09:40:09 -08:00
Jake PotrebicandBjarne Koll a53051b155 Switch Impl types to Holderable (#11662)
* Switch Impl types to Holderable

* Fix compile issues

* more improvements

* compile fixes

* remove unneeded unwrapAndConvertHolder call

---------

Co-authored-by: Bjarne Koll <git@lynxplay.dev>
2024-12-08 12:50:55 -08:00
Jake Potrebic e7ac163b76 Update getKey impls for inlineable types 2024-12-07 22:08:31 -08:00
Jake Potrebic da567b2d9a Port exact choice improvements (#11705) 2024-12-05 01:51:01 -08:00
Jake Potrebic b207266c7d deprecate adventure key() methods where applicable 2024-11-28 13:51:48 -08:00
Jake Potrebic b52fea44fe [ci skip] use more jspecify in server 2024-11-24 19:26:32 -08:00
Jake Potrebic ca5499c7fa Switch Impl types to Holderable 2024-11-24 15:08:19 -08:00
Jake Potrebic ebd2dc259d Add all missing TagKey constants files (#11661) 2024-11-24 13:32:52 -08:00
Jake PotrebicandKevin Raneri 564005cc5f Configurable Entity Despawn Time (#11454)
* Configurable Entity Despawn Time

Co-authored-by: Kevin Raneri <kevin.raneri@gmail.com>

* Rebase

* Rebase

* rebase

* throw exceptions for this map

---------

Co-authored-by: Kevin Raneri <kevin.raneri@gmail.com>
2024-11-23 13:27:37 -08:00
Jake Potrebic 0dc6316e04 Support tags for more SimpleRegistry (#11607) 2024-11-23 11:26:51 -08:00
Jake Potrebic c72a463cb5 Run 'freeze' listeners before tag events (#11606) 2024-11-23 10:52:00 -08:00
Jake Potrebic 73d496ea84 Improve performance of RecipeMap#removeRecipe (#11547) 2024-11-09 16:26:05 -08:00
Jake Potrebic 9ce7eb4087 Re-add exact choice shapeless support (#11546)
* Re-add exact choice shapeless support

* don't re-create maps every shapeless match

* add missing paper comment with last patch
2024-11-09 13:53:53 -08:00
Jake Potrebic 0943517953 [ci skip] better instructions for patch apply conflict (#11568) 2024-11-04 09:43:26 -08:00
Jake Potrebic 071b776261 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#11561)
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:
b9df8e9f SPIGOT-7933: Improve custom Minecart max speed
fc496179 Fix InstrumentTest
7c0ec598 PR-1075: Make Art an interface
c389f5a4 PR-1074: Make Sound an interface

CraftBukkit Changes:
df1efc0bb SPIGOT-7945: `Bukkit#dispatchCommand` throws `UnsupportedOperationException`
285df6e85 SPIGOT-7933: Improve custom Minecart max speed
a0f3d4e50 SPIGOT-7940: Recipe book errors after reload
9e0618ec2 SPIGOT-7937: Cannot spawn minecart during world generation with minecart_improvements enabled
1eb4d28da SPIGOT-7941: Fix resistance over 4 amplify causing issues in damage
52b99158a PR-1504: Make Art an interface
e18ae35f1 PR-1502: Make Sound an interface

Spigot Changes:
e65d67a7 SPIGOT-7934: Item entities start "bouncing" under certain conditions
2024-11-04 09:42:38 -08:00
Jake Potrebic 2b04a0a412 bunch more general fixes 2024-10-31 20:35:06 -07:00
Jake Potrebic dbdce60ac9 re-add a dispense fix patch 2024-10-31 19:51:36 -07:00
Jake Potrebic a4c7496404 Fix fix recipe iterator patch 2024-10-31 19:34:10 -07:00
Jake Potrebic 1bae0a3107 re-add improve perf of mass crafts 2024-10-26 12:50:32 -07:00
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 PotrebicandBjarne 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 PotrebicandBjarne 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