https://github.com/kikugie/stackable-shulkers-fix
Makes shulker boxes unstackable by hoppers when used with carpet on 1.20.5+
https://github.com/kikugie/stackable-shulkers-fix
carpet-extension-mod fabric-mod technical-minecraft
Last synced: about 1 year ago
JSON representation
Makes shulker boxes unstackable by hoppers when used with carpet on 1.20.5+
- Host: GitHub
- URL: https://github.com/kikugie/stackable-shulkers-fix
- Owner: kikugie
- License: mit
- Created: 2024-06-22T14:45:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-08T10:16:49.000Z (about 1 year ago)
- Last Synced: 2025-04-08T11:25:48.530Z (about 1 year ago)
- Topics: carpet-extension-mod, fabric-mod, technical-minecraft
- Language: Java
- Homepage: https://modrinth.com/mod/stackable-shulkers-fix
- Size: 129 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stackable shulkers fix
A simple addon to the [Carpet mod](https://www.curseforge.com/minecraft/mc-mods/carpet) 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
Changes how stacked shulker boxes affect comparator output:
1. `true`: Shulkers have signal strength of unstackable items, allowing output up to 897 (AKA OSS/HSS);
2. `false`: Shulkers have signal strength of stackable items, reaching 15 when all slots are full (hoppers won't be able to fill over SS1);
3. `capped`: Shulkers have signal strength of unstackable items, but the resulting output is capped at 15. This implementation preserves overstacked item filters.
4. `normalized`: Any amount of shulkers in a slot is counted as a single unstackable item. This limits the output to signal strength 15 and patches overstacked item filters.
- Name: `overstackedShulkerSignalStrength`
- Type: `string`
- Default: `true`
- Options: `true`, `false`, `capped`, `normalized`
- Categories: `shulkerfix`, `bugfix`, `intrusive`
- Since: `1.7.1`
### Legacy shulker item merging
Reintroduces the logic for merging shulker box items before 1.20.5.
The implementation allows partial item merging
*(normally the game doesn't merge item stacks if the total amount is more than the max size)*
and resets the entity age, allowing faster merging.
*(Both were bugs in Carpet, but no one complained, so now we're reintroducing the bugs huh)*
- Name: `legacyShulkerItemMerging`
- Type: `boolean`
- Default: `false`
- Categories: `shulkerfix`, `experimental`
- Since: `1.6`
### 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](https://github.com/gnembon/fabric-carpet/issues/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`