Commit Graph

390 Commits

Author SHA1 Message Date
Bjarne Koll
b2f3c2c94f Move over to non discarding reporter 2025-06-03 23:33:36 +02:00
Bjarne Koll
52880cec74 Fix LayeredCauldronBlock event call
Hello masmc05 o/
2025-06-03 17:17:52 +02:00
Lulu13022002
0c3879ac21 track block for lava/conduit damage
dropped diff
2025-06-02 22:02:52 +02:00
Bjarne Koll
5cfd638335 Fix compile issues 2025-06-02 17:14:12 +02:00
Bjarne Koll
4b6fae1079 1.21.6-pre2 2025-06-02 17:02:22 +02:00
Bjarne Koll
a1bfc19ab3 Some more compilation issues 2025-06-01 17:04:02 +02:00
Bjarne Koll
20136f71ca Some initial adoption of ValueInput/Output 2025-06-01 16:34:59 +02:00
Bjarne Koll
5933bd5bf3 TrialSpawner compile fixes 2025-06-01 14:39:40 +02:00
Owen1212055
e49b5e88fa Fix compile issues:
- Changes:
Turtle now included in the experience orb dropped
- Todo: See what spigot does for CraftEquippableComponent serialization
2025-05-31 13:21:48 -04:00
Bjarne Koll
19a36413c7 Last per file patches 2025-05-31 14:44:19 +02:00
Bjarne Koll
4fe0ac240b Some more comments 2025-05-31 14:28:59 +02:00
Bjarne Koll
4a903d8124 Readd dropped diff
Additionally, add some identifying messages to paper comments added by
our more junior developer during the update process.
2025-05-31 14:23:06 +02:00
Owen1212055
2f152e015d Fix some compile errors 2025-05-29 21:52:43 -04:00
Owen1212055
f44197c4da net/minecraft/world/entity/item
random other server classes

Note: Scoreboards may need handling for the waypoints.

/net/minecraft/world/entity/animal/wolf

Also properly mark the item dropped when shearing as force drops
2025-05-29 21:32:46 -04:00
Owen1212055
6d71abd25f Other random classes
net/minecraft/core/dispenser/
2025-05-29 21:32:46 -04:00
Owen1212055
4a82168542 ServerPlayer, ServerLevel, ServerEntity
net/minecraft/world/entity/vehicle/

Nothing much to note, reworked the loot table inventory serialization a bit

net/minecraft/world/level/

net/minecraft/world/entity/player
2025-05-29 21:32:46 -04:00
Owen1212055
62c4dda5f4 /net/minecraft/world/entity/monster
Some blocks

LayeredCauldronBlock.java.patch has strange diff-- the comment seems to be a red herring.

net/minecraft/network/protocol/login/
2025-05-29 17:15:45 -04:00
Owen1212055
e0437448dd /net/minecraft/world/entity/decoration/
Note that a method was removed on Armorstand for a bug fix that makes literally zero sense, probably very old.
Also added and fixed the logic for leashes, as any entity can hold leashes but anything can be leashed.

Also very sad hack used to detect if the value was set.

/net/minecraft/world/level/block/entity/trialspawner/

/net/minecraft/server/network
2025-05-29 15:56:14 -04:00
Bjarne Koll
0795cbed25 Entity 2025-05-28 22:36:46 +02:00
Noah van der Aa
912e35ba5e work 2025-05-28 15:32:29 +02:00
Noah van der Aa
8fee18401c patch batch 2025-05-28 15:08:46 +02:00
Bjarne Koll
40c8d4f900 Couple of block entities 2025-05-28 13:57:49 +02:00
Bjarne Koll
b745ab65e6 Begin 1.21.6-pre1
Initial move of patches to rejected and non rejected source patches to
publish to patch-roulette.
2025-05-28 13:23:32 +02:00
brickmonster
fa360aa836 Add some missing annotations and an incorrect one (#12204) 2025-05-18 18:31:49 -04:00
Miles
2754d7c3b9 Add Throw EntityChangeBlockEvent for BrushableBlockEntity#brush (#12133) 2025-04-30 14:03:40 -04:00
Dqu1J
646b80ca53 Fix unnecessary map data saves (#12296) 2025-04-30 11:51:13 -04:00
Warrior
f86b435228 Add vault change state event (#12069) 2025-04-26 16:34:12 +02:00
gecko10000
9cddf136d7 Fix portal create event block list (#12373) 2025-04-24 18:10:13 +02:00
David
33e8928f53 Add support for bonus chest configuration in WorldCreator (#12344) 2025-04-14 17:24:19 +02:00
Bjarne Koll
de410d13ef Fix reobf mappings regression in GameRules.Type (#12437)
The recent commit 121a7bf4eb added
the interface FeatureElement to the GameRules.Type class to expose the
stored feature flags of gamerules.
This however messed with the reobf mappings spigot uses, as the now
overridden method requiredFeatures needs to be mapped to the same
obfuscated name as FeatureElement#requiredFeatures.

To avoid having this in the mappings patch, the commit removes the
inheritance again and instead exposes a wrapper method.
2025-04-14 17:05:01 +02:00
DerEchtePilz
121a7bf4eb Make GameRule a FeatureDependant (#12429) 2025-04-14 13:21:14 +02:00
Nassim Jahnke
f00727c57e 1.21.5
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
Co-authored-by: MiniDigger | Martin <admin@minidigger.dev>
Co-authored-by: Nassim Jahnke <nassim@njahnke.dev>
Co-authored-by: Noah van der Aa <ndvdaa@gmail.com>
Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
Co-authored-by: Shane Freeder <theboyetronic@gmail.com>
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
Co-authored-by: Tamion <70228790+notTamion@users.noreply.github.com>
Co-authored-by: Warrior <50800980+Warriorrrr@users.noreply.github.com>
2025-04-12 17:27:00 +02:00
Lulu13022002
df96f8a0fa Correctly handle events for end portal (#12246) 2025-03-08 16:59:43 -05:00
Warrior
1d9b399427 Add config option for failed beehive release cooldowns (#12186) 2025-02-25 21:45:18 +01:00
Bjarne Koll
7b4d44f573 Revert "Always pass event block to damage source (#12158)"
This reverts commit ab984a0711.

The block damage is null *and has been* null in cases where the block
has already been cleared. Consumers are supposed to use the
getDamagerBlockState instead.
2025-02-21 11:52:04 +01:00
Bjarne Koll
ab984a0711 Always pass event block to damage source (#12158)
Always passes the respective block to a damage source when passing a
block state. While we could technically use the damageSourcePosition
here by, we'd have to translate it back to a block position by
subtracting .5 from all its components.
Such behaviour however relies on the caller logic's mutation of the
damageSourcePosition and will break once this position is not the centre
of the block.

Passing in the block at the specific callsite is a lot more future
proof.
2025-02-20 20:22:46 +01:00
Epic
e494f2894e Correctly call BlockFadeEvents (#12141) 2025-02-18 00:19:30 +01:00
Dqu1J
fd69140d80 Fix disable-tripwire-updates option not cancelling tripwire hook updates (#12129) 2025-02-17 20:07:02 +01:00
Miles
8eb8e44ac3 Allow For Default Titles in InventoryView Builders (#12013) 2025-02-16 23:07:00 +01:00
FlorianMichael
88cdd22076 Fixup luck and random implementation in CB loot-tables (#11926) 2025-02-16 13:06:01 -08:00
Lulu13022002
7bee99714a Cleanup damage source a bit (#12106) 2025-02-16 20:14:00 +01:00
Lulu13022002
0a04c3fe22 Fix some NPEs (#12105) 2025-02-12 23:15:37 +01:00
Warrior
e616498ed7 Add Vault block API (#12068) 2025-02-12 23:15:22 +01:00
Warrior
1be2e5f311 Fix vanilla map decorations sending when not dirty (#12098) 2025-02-12 23:13:34 +01:00
Owen
fa5824e4c8 Add skipTripwireHookPlacementValidation (#12091)
This allows for the configuration of tripwire hook duping.
2025-02-10 23:04:38 +01:00
masmc05
786ddf53c6 Default piston block entity direction to DOWN (#12039) 2025-02-08 20:17:45 +01:00
Shane Freeder
597dcfffb9 Add support for lz4 (#12053)
Mojang added this early 2024, however, it wasn't ever added to the actual config option
inside of paper
2025-02-08 19:07:43 +01:00
Warrior
5395ae37bd Fix composter block setting bukkit owner twice (#12058) 2025-02-02 22:38:01 +01:00
Lulu13022002
d4a957849c Experimental annotation changes (#12028) 2025-01-30 20:02:14 +01:00
Creeam
81bb82f521 Fix wrong piston world border check (#12007) 2025-01-25 21:13:21 +01:00