mirror of
https://github.com/PaperMC/Folia.git
synced 2024-11-21 11:55:11 +01:00
55796e2084
Merge the container is empty and move checks when attempting to pull from other containers, as in both cases the container needs to be searched entirely anyways. Use getEntitiesOfClass when searching for entity containers, so that non-containers are not searched. For tryMoveItems, merge both the empty and full checks into one as they basically perform the same logic. Note that it relies on ejectItems returning true if _any_ item is moved, as moving items out of the hopper would affect whether the hopper is full or not. |
||
---|---|---|
.. | ||
0001-Build-changes.patch | ||
0002-MC-Dev-fixes.patch | ||
0003-Threaded-Regions.patch | ||
0004-Max-pending-logins.patch | ||
0005-Add-chunk-system-throughput-counters-to-tps.patch | ||
0006-Make-CraftEntity-getHandle-and-overrides-perform-thr.patch | ||
0007-Disable-mid-tick-task-execution.patch | ||
0008-Throw-UnsupportedOperationException-for-broken-APIs.patch | ||
0009-Fix-tests-by-removing-them.patch | ||
0010-Work-around-https-github.com-PaperMC-paperweight-iss.patch | ||
0011-Require-plugins-to-be-explicitly-marked-as-Folia-sup.patch | ||
0012-Lag-compensate-block-breaking.patch | ||
0013-Prevent-block-updates-in-non-loaded-or-non-owned-chu.patch | ||
0014-Block-reading-in-world-tile-entities-on-worldgen-thr.patch | ||
0015-Skip-worldstate-access-when-waking-players-up-during.patch | ||
0016-Do-not-access-POI-data-for-lodestone-compass.patch | ||
0017-Synchronize-PaperPermissionManager.patch | ||
0018-Fix-off-region-raid-heroes.patch | ||
0019-Remove-unused-skyLightSources.patch | ||
0020-fixup-Rewrite-chunk-system.patch | ||
0021-Do-not-read-tile-entities-in-chunks-that-are-positio.patch | ||
0022-fixup-Rewrite-chunk-system.patch | ||
0023-Sync-vehicle-position-to-player-position-on-player-d.patch | ||
0024-Make-loadChunksAsync-callback-thread-safe.patch | ||
0025-Fix-race-condition-on-UpgradeData.BlockFixers-class-.patch | ||
0026-fixup-Optimize-Hoppers.patch |