Commit Graph

336 Commits

Author SHA1 Message Date
Nassim Jahnke eec5ec406e Fix parrot hurtServer call, revert a bunch of comments 2024-12-15 14:59:04 +01:00
Nassim Jahnke b69631ba21 Readd dropped ServerScoreboard hunk 2024-12-15 14:29:01 +01:00
Nassim Jahnke 171fb2ec07 Move FeatureHooks to patch 2024-12-15 09:49:45 +01: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 aaf151c03d net.minecraft.world.entity.ai.goal 2024-12-14 18:55:46 -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 5deb3e9671 net.minecraft.world.entity.decoration 2024-12-14 15:38:37 -08:00
Noah van der Aa 6a85106951 net/minecraft/world/entity/ambient 2024-12-15 00:03:08 +01:00
Owen1212055 d096e6baaf net/minecraft/world/entity/ai/behavior/ 2024-12-14 17:25:17 -05:00
Jake Potrebic 9524c006d7 net.minecraft.world.entity.ai.village 2024-12-14 13:44:30 -08:00
Owen1212055 973fe2a945 net/minecraft/world/entity/monster/creaking 2024-12-14 16:38:13 -05:00
Jake Potrebic 636e4ccaf2 net.minecraft.world.entity.monster.hoglin 2024-12-14 12:59:43 -08:00
Jake Potrebic 7b75c1b42e net.minecraft.world.entity.boss.wither 2024-12-14 12:50:23 -08:00
Nassim Jahnke b0f627d7bb Small cleanup 2024-12-14 21:47:32 +01:00
Nassim Jahnke 9aa5f1a955 LivingEntity 2024-12-14 21:21:09 +01:00
Owen1212055 c31ab10475 Fixy 2024-12-14 14:43:19 -05:00
Owen1212055 ea5c599077 /net/minecraft/world/entity/monster 2024-12-14 14:39:44 -05:00
Shane Freeder a890e322f1 net/minecraft/world/entity/ai/sensing (but, actually) 2024-12-14 18:42:28 +00:00
Shane Freeder e90ba22ef7 net/minecraft/world/entity/ai/sensing 2024-12-14 18:40:19 +00:00
Noah van der Aa ff9cf280c2 net.minecraft.world.entity.animal.{armadillo|camel|sniffer} 2024-12-14 19:16:36 +01:00
Shane Freeder 1a214aed6a net/minecraft/world/entity/item 2024-12-14 17:58:14 +00:00
Nassim Jahnke e50b519542 Next one unfortunately is LivingEntity 2024-12-14 18:45:01 +01:00
Owen1212055 016503a85f net/minecraft/world/entity/animal/goat/ 2024-12-14 12:28:50 -05:00
Nassim Jahnke ea14971545 More entity classes 2024-12-14 18:12:30 +01:00
Shane Freeder 3672a7d70f net/minecraft/world/entity/npc 2024-12-14 16:44:20 +00:00
Noah van der Aa 2a9bf40295 net.minecraft.world.entity.animal (thank you wheel of pain) 2024-12-14 17:27:12 +01:00
Bjarne Koll dde17defa5 net/minecraft/world/entity/vehicle 2024-12-14 17:17:22 +01:00
MiniDigger | Martin f803e7cc28 update mache, rebuild patches for concurrency fix 2024-12-14 16:08:32 +01:00
Noah van der Aa 729c6e5369 Random small stuff 2024-12-14 14:31:00 +01:00
Nassim Jahnke 679c2f7c9f More more entity classes 2024-12-14 13:05:27 +01:00
Nassim Jahnke 07642b457e More entity classes 2024-12-14 12:36:08 +01:00
Nassim Jahnke 03daab51f7 Entity class 2024-12-14 11:41:23 +01:00
Jake Potrebic 368d2116ba net.minecraft.world.entity.raid 2024-12-13 19:53:42 -08:00
Jake Potrebic ce9d79a81b net.minecraft.world.entity.projectile.windcharge 2024-12-13 17:54:21 -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 f60983ac06 net.minecraft.world.entity.animal.allay 2024-12-13 15:55:52 -08:00
Lulu13022002 c6a426beda warden AI 2024-12-13 21:36:11 +01:00
Nassim Jahnke f73e864f18 Commands 2024-12-13 21:21:57 +01:00
Nassim Jahnke 0135513d3d More mobs 2024-12-13 20:01:24 +01:00
Nassim Jahnke 3ef3394311 More mobs 2024-12-13 19:25:16 +01:00
Noah van der Aa 7d42b87010 net/minecraft/world + Tadpole? 2024-12-13 19:17:03 +01:00
Nassim Jahnke e20952c643 Make Tadpole apply 2024-12-13 18:55:47 +01:00
Jake Potrebic e9b739bc48 some more directories 2024-12-13 09:40:09 -08:00
Noah van der Aa 1ed5242f38 Ender dragon 2024-12-13 18:36:33 +01:00
Bjarne Koll ee51737be6 More work 2024-12-13 17:24:35 +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