Commit Graph

171 Commits

Author SHA1 Message Date
Bjarne Koll 1b38f2810e Fix reading recipes used on furnace (#11947) 2025-01-10 19:49:58 +01:00
Pedro 33a590bca6 Fix TargetHitEvent#getSignalStrength() post-hard-fork (#11897) 2025-01-04 21:30:41 +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
Lulu13022002 f51aa3e3e1 Fix BlockRedstoneEvent for tripwire hooks (#11791) 2024-12-26 19:42:03 +01:00
Lulu13022002 9e2d39cd26 Fix double chest identification (#11812) 2024-12-24 22:57:24 +01:00
Nassim Jahnke aa2c52baac Fix dropper inventory var 2024-12-23 20:21:31 +01:00
Lulu13022002 c76809973b Fix tripwires (#11790) 2024-12-23 19:14:35 +01:00
Nassim Jahnke 70ef43b8dd More cleanup of var names 2024-12-21 15:53:00 +01:00
Owen1212055 2935905ced Small sculk cleanup
Don't check for empty items anymore in FishingHook.

Removes some diff + we handle it gracefully in add fresh entity
2024-12-19 20:44:24 -05:00
Lulu13022002 25a7793b9c drop duplicate block update 2024-12-19 22:12:09 +01:00
Lulu13022002 1f86b55302 reapply SummonEntityEffect 2024-12-19 21:29:31 +01:00
Lulu13022002 5922e6334b fix allowPermanentBlockBreakExploits config 2024-12-18 23:35:47 +01:00
Lulu13022002 6126012369 readd beacon effect cause 2024-12-18 19:29:39 +01:00
Nassim Jahnke dedc6b3394 Fix more diffs in block package 2024-12-18 13:24:47 +01:00
Nassim Jahnke 71bcc8c845 Fix diffs in block package 2024-12-18 13:00:21 +01:00
Nassim Jahnke a5e786a578 Add back missing hunk in AbstractFurnaceBlockEntity 2024-12-18 12:36:30 +01:00
Lulu13022002 783b3b70e6 readd dropped event in InteractWithDoor 2024-12-16 17:29:46 +01:00
Jake Potrebic cb51a4fbcd more compile fixes 2024-12-15 14:12:59 -08:00
Lulu13022002 ec57b99bf5 readd removal cause for thrown eggs 2024-12-15 23:07:15 +01:00
MiniDigger | Martin 8f1dcdd0b7 update restamp, add back entity ATs, rebuild patches 2024-12-15 22:39:52 +01:00
Nassim Jahnke 6dcb4a33b6 Fix some compilation errors 2024-12-15 21:28:08 +01:00
Lulu13022002 62b6e85d1a prevent duplicate EntityInsideBlockEvent in fire 2024-12-15 19:57:44 +01:00
Lulu13022002 56e3949c61 call the right damage event for conduit damages 2024-12-15 18:57:22 +01:00
Lulu13022002 a5b1875b2d readd conduit effect cause 2024-12-15 18:47:15 +01:00
Lulu13022002 7b4afa8b82 readd EntityInsideBlockEvent for pitcher crop 2024-12-15 17:27:42 +01:00
Lulu13022002 da1947b2ad readd chorus flower events 2024-12-15 16:48:03 +01:00
Lulu13022002 46eccd8c7d readd cactus config 2024-12-15 16:40:47 +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 e9680a5afe partial: net.minecraft.world.level.block 2024-12-14 18:33:16 -08:00
Owen1212055 b16f6f533a net/minecraft/world/level/block/a-r 2024-12-14 21:31:12 -05:00
Owen1212055 97043e3e5b net/minecraft/world/level/block/piston/ 2024-12-14 16:24:09 -05: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
Noah van der Aa 6a84e88e76 net/minecraft/world/level/block/entity/vault 2024-12-14 19:37:38 +01:00
Bjarne Koll 216f3118ae net/minecraft/world/level/block/entity/trialspawner 2024-12-14 17:17:22 +01:00
Bjarne Koll afa25753de Fix compile issue in MinecraftServer 2024-12-14 05:48:25 +01:00
Bjarne Koll f25c1a33a0 Finish block entity 2024-12-14 05:45:11 +01:00
Jake Potrebic f98d879f07 net.minecraft.world.level.block.state.properties 2024-12-13 16:05:23 -08:00
Jake Potrebic f0e7d7e5f7 net.minecraft.world.level.block.state 2024-12-13 15:50:44 -08:00
Nassim Jahnke f73e864f18 Commands 2024-12-13 21:21:57 +01:00
Bjarne Koll 4091c6ac4d Follow up on block entities 2024-12-13 20:17:16 +01:00
Bjarne Koll e0fae5ef02 Part of block entities 2024-12-13 20:11:23 +01:00
Nassim Jahnke 45ddf764d9 Move patches to unapplied 2024-12-12 12:30:31 +01:00
Shane Freeder 8f7365707a Always send Banner patterns to the client
The mojang client will not remove patterns from a Banner when none
are sent inside of an update packet, given that this is not an expected
flow for them, this is not all too surprising. So, we shall resort to always
sending the patterns over the network for update packets.
2024-10-20 18:23:59 +01:00
Mariell Hoversholm 411498e394 Add PlayerInsertLecternBookEvent 2024-09-29 16:21:26 +02:00
Jake Potrebic 5b0133e675 Call bucket events for cauldrons 2022-01-16 10:13:33 -08:00
Tamion 8b8acbb898 Add recipeBrewTime
== AT ==
public net.minecraft.world.inventory.BrewingStandMenu brewingStandData
2024-09-15 19:17:12 +02:00
Bjarne Koll c8efaa46cb Remove wall-time / unused skip tick protection
Spigot still maintains some partial implementation of "tick skipping", a
practice in which the MinecraftServer.currentTick field is updated not
by an increment of one per actual tick, but instead set to
System.currentTimeMillis() / 50. This behaviour means that the tracked
tick may "skip" a tick value in case a previous tick took more than the
expected 50ms.

To compensate for this in important paths, spigot/craftbukkit
implements "wall-time". Instead of incrementing/decrementing ticks on
block entities/entities by one for each call to their tick() method,
they instead increment/decrement important values, like
an ItemEntity's age or pickupDelay, by the difference of
`currentTick - lastTick`, where `lastTick` is the value of
`currentTick` during the last tick() call.

These "fixes" however do not play nicely with minecraft's simulation
distance as entities/block entities implementing the above behaviour
would "catch up" their values when moving from a non-ticking chunk to a
ticking one as their `lastTick` value remains stuck on the last tick in
a ticking chunk and hence lead to a large "catch up" once ticked again.

Paper completely removes the "tick skipping" behaviour (See patch
"Further-improve-server-tick-loop"), making the above precautions
completely unnecessary, which also rids paper of the previous described
incompatibility with non-ticking chunks.
2024-09-16 23:07:29 +02:00