Commit Graph
100 Commits
Author SHA1 Message Date
Jake PotrebicandGitHub d0d0efee02 Partially revert 083c083188 for Transformation (#11798)
* Partially revert 083c083188 for Transformation

The type is used in a way that requires mutability

* keep copy in ctors
2024-12-23 15:46:17 -08:00
Jake Potrebic a0b3326609 refactor registry entry to detach 'delayed' from other meta
Also fixes an issue with direct holders
2024-12-22 21:17:34 -08:00
Jake Potrebic eb793c3131 [ci skip] more cleanup from repo reorg 2024-12-22 19:07:17 -08:00
Jake PotrebicandGitHub 083c083188 Fix a bunch more issues arising from mutable types (#11769) 2024-12-22 22:50:00 +01:00
Jake Potrebic 90d50aafc5 update .editorconfig 2024-12-22 11:48:32 -08:00
Jake Potrebic c31d95eccb remove test plugin diff accidentally committed 2024-12-22 11:44:49 -08:00
Jake Potrebic 4c6ea8416b move junit platform dep to -server and -api 2024-12-21 15:10:08 -08:00
Jake Potrebic 46c6f497c7 Fix Registry#getKey implementation 2024-12-21 14:56:01 -08:00
Jake Potrebic 15ad7cc156 improve comment and better local var name 2024-12-18 18:54:31 -08:00
Jake Potrebic 49f715fdda update brig in the API and patch cleanup 2024-12-18 18:30:29 -08:00
Jake PotrebicandNassim Jahnke ac69f75d23 Apply Improve-performance-of-mass-crafts directly 2024-12-17 11:45:39 +01:00
Jake Potrebic 9dd321396f temporarily disable config cache 2024-12-15 15:29:21 -08:00
Jake Potrebic 4912737b8d fix issue in ServerPlayerGameMode 2024-12-15 15:20:33 -08:00
Jake Potrebic e3b23b59f3 more runtime errors 2024-12-15 15:16:33 -08:00
Jake Potrebic b40c4e2179 fix initial runtime errors 2024-12-15 15:07:32 -08:00
Jake Potrebic 7617b7cd09 adjust classreader tests for new directory structure 2024-12-15 14:45:40 -08:00
Jake Potrebic 4cc2be301d it compiles? 2024-12-15 14:36:05 -08:00
Jake Potrebic cb51a4fbcd more compile fixes 2024-12-15 14:12:59 -08:00
Jake Potrebic acd43900f5 remove more imports and cleanup 2024-12-15 12:51:34 -08:00
Jake Potrebic de10a277e2 fix a mis-applied hunk in Projectile 2024-12-15 12:09:18 -08:00
Jake Potrebic 8cca65b8ac remove all the rest of the import hunks 2024-12-15 11:42:42 -08:00
Jake Potrebic 42cecc53c1 fix more compile issues 2024-12-14 22:43:34 -08:00
Jake Potrebic 172a80cb66 Somehow a bunch of items were missed 2024-12-14 22:35:35 -08:00
Jake Potrebic 0262d9a165 fix a bunch of compile issues 2024-12-14 20:15:49 -08:00
Jake Potrebic 7ac9b00916 PlayerList 2024-12-14 19:52:00 -08:00
Jake Potrebic aaf151c03d net.minecraft.world.entity.ai.goal 2024-12-14 18:55:46 -08:00
Jake Potrebic 1b5b2d8d45 net.minecraft.world.level.chunk.status 2024-12-14 18:43:52 -08:00
Jake Potrebic 92aec10cc4 net.minecraft.server.rcon.thread 2024-12-14 18:40:23 -08:00
Jake Potrebic e9680a5afe partial: net.minecraft.world.level.block 2024-12-14 18:33:16 -08:00
Jake Potrebic 11b1877545 net.minecraft.world.entity.ai.attributes 2024-12-14 16:44:37 -08:00
Jake Potrebic 6bb7e658de net.minecraft.world.entity.player 2024-12-14 16:39:48 -08:00
Jake Potrebic d3ec6a433b net.minecraft.world.level.storage 2024-12-14 15:58:34 -08:00
Jake Potrebic 5deb3e9671 net.minecraft.world.entity.decoration 2024-12-14 15:38:37 -08:00
Jake Potrebic d1369750e2 net.minecraft.world.level.levelgen 2024-12-14 15:00:22 -08:00
Jake Potrebic 630c815714 net.minecraft.world.item.trading 2024-12-14 14:45:10 -08:00
Jake Potrebic 2546348b9d net.minecraft.world.level.chunk.storage 2024-12-14 14:36:51 -08:00
Jake Potrebic 9524c006d7 net.minecraft.world.entity.ai.village 2024-12-14 13:44:30 -08:00
Jake Potrebic 93114d09f2 net.minecraft.server.commands 2024-12-14 13:42:45 -08:00
Jake Potrebic 004ee8651c net.minecraft.world.effect 2024-12-14 13:12:42 -08:00
Jake Potrebic 8ec3dedfbd net.minecraft.world.level.block.grower 2024-12-14 13:03:13 -08:00
Jake Potrebic 636e4ccaf2 net.minecraft.world.entity.monster.hoglin 2024-12-14 12:59:43 -08:00
Jake Potrebic 31913c0b0a net.minecraft.world.item 2024-12-14 12:50:23 -08:00
Jake Potrebic 718d970f97 net.minecraft.world.level.levelgen.structure 2024-12-14 12:50:23 -08:00
Jake Potrebic e28654cfb2 net.minecraft.world.food 2024-12-14 12:50:23 -08:00
Jake Potrebic 3cce21ddce net.minecraft.world.level.portal 2024-12-14 12:50:23 -08:00
Jake Potrebic 7b75c1b42e net.minecraft.world.entity.boss.wither 2024-12-14 12:50:23 -08:00
Jake Potrebic ca35cc216e net.minecraft.world.level.levelgen.structure.structures 2024-12-14 12:50:23 -08:00
Jake Potrebic ce87e69d53 net.minecraft.world.level.storage.loot 2024-12-14 12:50:23 -08:00
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