Bjarne Koll
a24f9b204c
1.21.6 dev
...
Co-authored-by: Bjarne Koll <git@lynxplay.dev>
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
Co-authored-by: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
Co-authored-by: Noah van der Aa <ndvdaa@gmail.com>
Co-authored-by: Owen1212055 <23108066+Owen1212055@users.noreply.github.com>
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
2025-06-17 15:45:25 +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
Bjarne Koll
e5d988df85
Revert "Fix cancelling PlayerInteractEvent at (0, 0, 0) ( #12215 )"
...
This reverts commit a2b0ff0644
.
2025-03-09 18:39:08 +01:00
Noah van der Aa
a2b0ff0644
Fix cancelling PlayerInteractEvent at (0, 0, 0) ( #12215 )
...
---------
Co-authored-by: Warrior <50800980+warriorrrr@users.noreply.github.com>
2025-03-08 16:52:10 -05:00
Nassim Jahnke
3b0b3a0aef
and some more
2024-12-21 13:45:04 +01:00
Bjarne Koll
fd1b6b1ae9
Readd configurable auth server down kick message
2024-12-20 03:07:59 +01:00
Nassim Jahnke
a438cc45f6
Small diff cleanup
2024-12-19 15:55:01 +01:00
Lulu13022002
6126012369
readd beacon effect cause
2024-12-18 19:29:39 +01:00
Jake Potrebic
4912737b8d
fix issue in ServerPlayerGameMode
2024-12-15 15:20:33 -08:00
Jake Potrebic
acd43900f5
remove more imports and cleanup
2024-12-15 12:51:34 -08:00
Bjarne Koll
35afd218f5
net/minecraft/server/level
2024-12-15 06:22:17 +01:00
Nassim Jahnke
45ddf764d9
Move patches to unapplied
2024-12-12 12:30:31 +01:00
Owen1212055
d300c94ec2
Properly resend entities
...
This resolves some issues which caused entities to not be resent correctly.
Entities that are interacted with need to be resent to the client, so we resend all the entity
data to the player whilst making sure not to clear dirty entries from the tracker. This makes
sure that values will be correctly updated to other players.
This also adds utilities to aid in further preventing entity desyncs.
This also also fixes the bug causing cancelling PlayerInteractEvent to cause items to continue
to be used despite being cancelled on the server.
For example, items being consumed but never finishing, shields being put up, etc.
The underlying issue of this is that the client modifies their synced data values,
and so we have to (forcibly) resend them in order for the client to reset their using item state.
See: https://github.com/PaperMC/Paper/pull/1896
== AT ==
public net.minecraft.server.level.ChunkMap$TrackedEntity serverEntity
2022-12-07 17:25:19 -05:00
Tamion
2742ad6a9a
Fix InventoryOpenEvent cancellation
2024-08-19 18:05:26 +02:00
Owen1212055
893616e851
Dont resend blocks on interactions
...
In general, the client now has an acknowledgment system which will prevent block changes made by the client to be reverted correctly.
It should be noted that this system does not yet support block entities, so those still need to resynced when needed.
2023-06-27 21:09:11 -04:00
aerulion
edb4225d90
Add BlockFace to BlockDamageEvent
2023-08-21 04:36:07 +02:00
Jake Potrebic
597cb633e8
Properly handle BlockBreakEvent#isDropItems
...
Setting whether a block break dropped items controlled
far more than just whether blocks dropped, like stat increases
food consumption, turtle egg count decreases, ice to water
conversions and beehive releases
2023-03-04 10:52:52 -08:00
Jake Potrebic
e56f757b1c
Correctly handle interactions with items on cooldown
2022-06-16 21:57:02 -07:00
Jake Potrebic
0b9ef3701e
Fix a bunch of vanilla bugs
...
https://bugs.mojang.com/browse/MC-253721
wrong msg for opping multiple players
https://bugs.mojang.com/browse/MC-248588
respect mob griefing gamerule for draining water cauldrons
https://bugs.mojang.com/browse/MC-244739
play goat eating sound for last item in stack
https://bugs.mojang.com/browse/MC-243057
ignore furnace fuel slot in recipe book click
https://bugs.mojang.com/browse/MC-147659
Some witch huts spawn the incorrect cat
Note: Marked as Won't Fix, makes 0 sense
https://bugs.mojang.com/browse/MC-179072
Creepers do not defuse when switching from Survival to Creative/Spectator
https://bugs.mojang.com/browse/MC-259571
Fix changeGameModeForPlayer to use gameModeForPlayer
https://bugs.mojang.com/browse/MC-262422
Fix lightning being able to hit spectators
https://bugs.mojang.com/browse/MC-263999
Fix mobs breaking doors not spawning block break particles
https://bugs.mojang.com/browse/MC-210802
Fixes sheep eating blocks outside of ticking range
https://bugs.mojang.com/browse/MC-123848
Fixes item frames dropping items above when pointing down
https://bugs.mojang.com/browse/MC-174630
Fix secondary beacon effect remaining after switching effect
https://bugs.mojang.com/browse/MC-153086
Fix the beacon deactivation sound always playing when broken
https://bugs.mojang.com/browse/MC-200092
Fix yaw being ignored for a player's first spawn pos
https://bugs.mojang.com/browse/MC-158900
Fix error when joining after tempban expired
https://bugs.mojang.com/browse/MC-99075
Fix inventory desync within spawn protected area
https://bugs.mojang.com/browse/MC-273635
Fix TrialSpawner forgets assigned mob when placed by player
== AT ==
public net/minecraft/world/entity/Mob leashInfoTag
public net/minecraft/server/level/ChunkMap anyPlayerCloseEnoughForSpawning(Lnet/minecraft/world/level/ChunkPos;)Z
Co-authored-by: William Blake Galbreath <blake.galbreath@gmail.com>
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
2022-07-11 11:56:41 -07:00
Owen1212055
8a49cbc3a7
Send block entities after destroy prediction
...
Minecraft's prediction system does not handle block entities, so if we are manually sending block entities during
block breaking we need to set it after the prediction is finished. This fixes block entities not showing when cancelling the BlockBreakEvent.
2022-06-25 19:45:20 -04:00
Jake Potrebic
fc19bf4dc5
Trigger bee_nest_destroyed trigger in the correct place
2022-02-02 13:50:06 -08:00
Jake Potrebic
d6b69e74a9
Expand PlayerGameModeChangeEvent
2021-05-15 10:04:43 -07:00
Shane Freeder
af1fabed04
Extend block drop capture to capture all items added to the world
2020-09-17 00:36:05 +01:00
Mariell Hoversholm
2a6962e59e
Add permission for command blocks
2020-05-16 10:05:30 +02:00
Shane Freeder
4da5176b89
Don't allow digging into unloaded chunks
2018-11-11 21:01:09 +00:00
Shane Freeder
794fc9799b
Extend Player Interact cancellation
...
GUIs are opened on the client, meaning that the server cannot block them from opening,
However, it is possible to close these GUIs from the server.
Flower pots are also not updated on the client when interaction is cancelled, this patch
also resolves this.
2018-02-11 10:43:46 +00:00
Aikar
110bcadcdf
ExperienceOrbs API for Reason/Source/Triggering player
...
Adds lots of information about why this orb exists.
Replaces isFromBottle() with logic that persists entity reloads too.
2017-12-19 16:31:46 -05:00
CraftBukkit/Spigot
6fcc9cce6d
Add creative mode NBT permissions
...
By: md_5 <git@md-5.net>
2019-02-25 19:26:56 +11:00
CraftBukkit/Spigot
30e4583dbe
Remap CraftBukkit to Mojang+Yarn Mappings
...
By: Initial Source <noreply+automated@papermc.io>
2024-12-11 22:26:55 +01:00