Skip to content

WinExp/stackable-shulkers-fix

Repository files navigation

Stackable shulkers fix

A simple addon to the Carpet mod that fixes the 1.20.5+ behaviour of stacked shulker boxes to be the same as in older versions, as well as some optional features.

Features

Note

Features marked as intrusive are modifying the standard behaviour in their default state. This is done to maintain compatibility with older versions of the mod.

Fixed hopper transfers

Prevents hoppers from stacking shulker boxes, even if the max count is >1.
Setting this rule to false enables the functionality of this mod by preventing shulkers from being stacked by hoppers.

  • Name: hopperShulkerStacking
  • Type: boolean
  • Default: false
  • Categories: shulkerfix, bugfix, intrusive
  • Since: 1.5

Fixed comparator output

Makes stacked shulker boxes count as unstackable items, allowing comparator signal strength >15.

  • Name: overstackedShulkerSignalStrength
  • Type: boolean
  • Default: true
  • Categories: shulkerfix, bugfix, intrusive
  • Since: 1.5

Hopper collection

Makes hoppers pick up one shulker at a time from an entity stack. Note that this has a risk of breaking contraptions.

  • Name: hopperCollectSingleShulkers
  • Type: boolean
  • Default: false
  • Categories: shulkerfix, feature, experimental
  • Since: 1.5

Hopper minecart collection

Makes minecarts pick up one shulker at a time from an entity stack. Note that this has a risk of breaking contraptions.

  • Name: minecartCollectSingleShulkers
  • Type: boolean
  • Default: false
  • Categories: shulkerfix, feature, experimental
  • Since: 1.5

Minecart slowdown

Disables the additional slowdown caused by overstacked minecarts. The implementation makes shulker boxes count as 64-stackable when calculating the minecart slowdown. However if overstackedShulkerSignalStrength is enabled, reading the fill level will still output the overstacked value.
Setting this rule to false enables the functionality of this mod by removing the additional slowdown.

  • Name: overstackedMinecartSlowdown
  • Type: boolean
  • Default: true
  • Categories: shulkerfix, feature, experimental
  • Since: 1.5

Client count fix

Fixes Carpet issue #1899, where vanilla clients see stacked shulker boxes as single items inside containers.

  • Name: clientShulkerSync
  • Type: boolean
  • Default: false
  • Categories: shulkerfix, bugfix, experimental
  • Since: 1.4

Known issues/quirks

Item merging order

Some shulker box colour sorters may be broken even when using this mod. Before 1.20.5 Carpet used custom logic for merging shulker box item entities, but now it relies on the vanilla behaviour.
There are currently no plans to port the old behaviour, but if you need it, submit an issue or a pull request on the GitHub page.

About

Makes shulker boxes unstackable by hoppers when used with carpet on 1.20.5+

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages