m
Undo revision 2939564 by 2A09:BAC3:BE34:15D7:0:0:22D:4C (talk) I'm fairly certain it only picks up bonemeal that is contained for a moment in the composter when the bonemeal is created
(→Pushing and pulling items: If a composter is above a hopper the hopper can still pick up item entities In Minecraft bedrock) Tag: Mobile edit |
m (Undo revision 2939564 by 2A09:BAC3:BE34:15D7:0:0:22D:4C (talk) I'm fairly certain it only picks up bonemeal that is contained for a moment in the composter when the bonemeal is created) Tag: Undo |
||
Line 97:
==== Pushing and pulling items ====
A hopper with a storage container above it (such as a [[furnace]], [[chest]], [[dropper]], [[composter]], or another hopper) attempts to pull from the container instead of checking for floating items above it, and hence can not collect dropped items. A hopper always tries to push or pull items using the leftmost available slot. When a hopper is removing items from a chest, the items disappear from left to right. Similarly, when filling up a chest, the chest fills up from left to right. Hoppers prioritize pulling from the first slot of a container over pulling into the first hopper slot. If a hopper has stone in its first slot and nothing in its second while the container it is pulling from has chicken in its first slot but stone in the second, the hopper pulls the chicken from the first slot of the container into its empty second slot. However, if the hopper is unable to pull the chicken, such as if all slots are filled with stone, the hopper pulls the stone from the second slot of the container instead. Similarly, hoppers prioritize pushing from their first slot over pushing into the first slot of a container. If a hopper has stone in its first slot and chicken in its second while the container it is pushing to has chicken it its first slot but stone in the second, the hopper pushes stone from its first slot into the second slot of the container.
{{IN|Java}}, the checks done by a hopper while pulling generally require less processing than the checks done by a hopper attempting collection. Therefore, a chain of hoppers topped with storage containers rather than air/solid blocks has better performance (measured as milliseconds of processing per tick) and lower potential for processing lag. <ref name=":0">{{ytl|LC3ZOOI1Rf0|Droppers Vs. Composters – The Effect Certain Blocks Have On Hopper Performance|ExperimentalIdea|November 25, 2019}}</ref> The performance improvement achieved is correlated with the number of storage slots the container has - for example a dropper will have better performance than a barrel. The single best block for performance is the composter.<ref name=":0" /> {{IN|Bedrock}}, a chain of hoppers with air or non-container blocks on top has better performance than a chain of hoppers topped by container blocks.<ref>https://cdn.discordapp.com/attachments/715523208530362389/890030941282631741/Redstone_MSPT_measure.xlsx</ref> This may be because, even though hoppers with containers on top do not check for items, they do check for hopper-minecarts and chest-minecarts to pull from, and that involves scanning the chunk entity list.<ref>{{bug|MCPE-109449}}</ref>
|