Commit Graph
3755 Commits
Author SHA1 Message Date
masmc05andGitHub 3af5e77132 Add Player#give (#11995) 2025-01-26 21:19:00 +01:00
WarriorandGitHub ce95b5d653 Use proper default for setting null display background color (#12010) 2025-01-25 21:33:47 +01:00
TamionandGitHub 939bb7828f Add RayTraceConfigurationBuilder (#11907) 2025-01-25 20:58:16 +01:00
CreeamandGitHub 336ea9dfeb Check for empty when sending equipment changes (#12008) 2025-01-25 20:04:47 +01:00
TomTomandGitHub 30046e0410 Fix a rare crash with a concurrent modification of scaled health attributes (#12002) 2025-01-22 18:58:44 +00:00
Shane Freeder e150ffd272 Add missing final
"muh checkstyle" more like "muh missing style config"
2025-01-17 13:49:38 +00:00
Shane Freeder 938a84fc39 Add missing TagSerializable to GsonDataComponentValue converter (Fixes #11768) 2025-01-17 13:47:28 +00:00
Nassim Jahnke cd9d6d6998 Allow duplicate relative flags in entity teleport
Fixes #11976
2025-01-15 12:13:58 +01:00
Jake Potrebic fe75eaf09a split direct holder support up from ctor accepting Holder
Enchantment shouldn't support direct holders despite the ctor
accepting a Holder type. We want to limit the types
to ones that are actually used as direct holders in the game
2025-01-13 20:12:13 -08:00
Jake PotrebicandGitHub 5e23d28ad2 Remove entity tag selector tag completion fix (#11964)
The fix was causing too many issues, it really needs a client-side fix
MC-235045
2025-01-12 15:07:24 -08:00
masmc05andGitHub 3709150bc1 Expose all possible block data states (#11958) 2025-01-12 14:56:56 -08:00
Lulu13022002andGitHub 2ea6aee343 Deprecate Turtle#isDigging (#11959) 2025-01-12 12:49:25 -08:00
masmc05andGitHub 08ac057fda Rename getPotentialBedLocation to getPotentialRespawnLocation (#11950) 2025-01-12 02:17:46 +01:00
Strokkur24andGitHub c2f24e1567 Feat: Add 'with' methods to CommandSourceStack (#11868) 2025-01-11 13:29:16 -08:00
MilesandGitHub c94922514a MenuType API addition InventoryView Builders (#11816) 2025-01-11 20:21:24 +01:00
Jake PotrebicandGitHub ac3aaa248b Don't use delayed registries in impl anywhere (#11918) 2025-01-11 20:02:28 +01:00
Spottedleaf 3d9ecc4e08 Log thread check parameters when the thread check fails
This provides additional debug information that may be useful.
2025-01-11 04:56:54 -08:00
SoSeDiKandGitHub b242f1eb15 Prevent day cycle on the client when using fixed time (#11924) 2025-01-11 10:59:50 +01:00
Spottedleaf 6316a50dbd Make CraftServer#isPrimaryThread use TickThread check
This diff was accidentally dropped when updating to hard fork.

This diff importantly:
 - Does not return true if the async catcher is disabled
 - Does not return true during shutdown
 - Returns true for any instance of TickThread (enables
   watchdog and Folia threads to be considered main)
2025-01-11 00:13:45 -08:00
Bjarne KollandGitHub 400717174e Correct obfuscation of oversized items (#11944) 2025-01-10 14:38:50 +01:00
55f3f280cb Reimplement ItemStack Obfuscation (#11817)
Reimplementation of the itemstack obfuscation config that
leverages the component patch map codec to drop
unwanted components on items or replaces them with
sanitized versions.

Co-authored-by: Bjarne Koll <git@lynxplay.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2025-01-09 18:58:18 +01:00
Lulu13022002andGitHub 49d15f6345 Fix DiscoveredDatapack#getSource (#11928) 2025-01-07 19:40:45 +01:00
WarriorandGitHub 337557044e Fix MapCanvas#drawImage (#11865) 2025-01-07 13:54:34 +01:00
Shane BeeandGitHub 4106da712c Fix retain passengers teleport flag (#11858) 2025-01-04 21:19:07 +01:00
Nassim Jahnke 1dd52bed49 Use playerlist whitelist status instead of properties
The actual property value is final, only the serialized output is changed. This uses the correct value from PlayerList instead
Fixes #11878
2025-01-01 18:53:23 +01:00
Hannes GreuleandGitHub 287eb52fa4 Use hidden classes for event executors (#11848)
Static final MethodHandles perform similar to direct calls. Additionally,
hidden classes simplify logic around ClassLoaders as they can be defined
weakly coupled to their defining class loader. All variants of methods
(static, private, non-void) can be covered by this mechanism.
2024-12-29 00:11:09 +01:00
Strokkur24andGitHub 93a3df085c Extend HumanEntity#dropItem API (#11810) 2024-12-28 23:47:21 +01:00
Jake PotrebicandGitHub feb8756567 Add datapack registration lifecycle event (#11804) 2024-12-28 13:30:43 -08:00
Bjarne KollandGitHub dac977a106 Correctly force particles (#11850) 2024-12-28 16:42:11 +01:00
Jake PotrebicandGitHub 0629524cb2 Directly build Art (#11813) 2024-12-27 16:07:48 -08:00
Bjarne Koll 33411ec0a1 Properly remove UnsafeValues#getDamageEffect 2024-12-28 00:21:27 +01:00
Chaosdave34andGitHub 5c7537cb5c Add DamageType RegistryEvent (#11783) 2024-12-28 00:13:27 +01:00
WarriorandGitHub 4b893907f6 Fix contextual map renderer memory leak (#11841) 2024-12-27 23:25:02 +01:00
Jake PotrebicandGitHub b4051dbff7 Handle disabled vanilla registry values correctly (#11781) 2024-12-27 23:11:26 +01:00
96DarkCode96andGitHub 13c94e40ad Updated adventure to 4.18.0 (#11809) 2024-12-27 22:04:17 +01:00
Nassim Jahnke 326c687047 Fix whack diff from last commit 2024-12-27 13:47:25 +01:00
Nassim Jahnke 2b73d1957c More var name fixes 2024-12-27 13:45:04 +01:00
Nassim Jahnke c530c39f4e More var name fixes 2024-12-27 12:31:54 +01:00
kokirigladeandGitHub 953f6f929e Banner pattern registry modification (#11803) 2024-12-26 18:57:34 -05:00
SoSeDiKandGitHub aac246ae29 Expand on entity serialization API (#11807) 2024-12-27 00:08:00 +01:00
YoungSoulluoSandGitHub 0efd3012c9 Fix suggestions for ResourceLocation (#11830) 2024-12-27 00:07:02 +01:00
af2812fb0f For new registry values, allow copying from existing (#11796)
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
2024-12-26 13:41:15 -08:00
Jake PotrebicandGitHub a8f850a128 temporarily revert OldEnum toString changes (#11829) 2024-12-26 10:11:18 -08:00
Jake PotrebicandGitHub 3a479eadd7 Add Registry#getTags (#11795) 2024-12-25 19:39:27 -08:00
masmc05andGitHub a07cec16f8 Add effective name to ItemStack (#11770) 2024-12-25 21:56:24 +01:00
Lulu13022002andGitHub 140577b762 Fix broken field rename compat for instrument "feel_goat_horn" (#11824) 2024-12-25 12:36:23 -08:00
Lulu13022002andGitHub 946314fb58 Remove disableTeleportationSuffocationCheck config (#11822) 2024-12-25 12:20:21 -08:00
WarriorandGitHub 25cc3d8578 Fix EnchantmentView#setOffers length precondition being flipped (#11818) 2024-12-25 11:08:07 +01:00
PedroandGitHub d568e175ee Port basic lookAt methods from Player to Entity (#11775) 2024-12-24 23:00:07 +01:00
Lulu13022002andGitHub 9e2d39cd26 Fix double chest identification (#11812) 2024-12-24 22:57:24 +01:00