Skip to content

Instantly share code, notes, and snippets.

@kikugie
Last active May 8, 2024 14:43
Show Gist options
  • Save kikugie/a63bd4bde41ec386685bb1edc4071a24 to your computer and use it in GitHub Desktop.
Save kikugie/a63bd4bde41ec386685bb1edc4071a24 to your computer and use it in GitHub Desktop.
Storagetech mod tools

Mentioned mods

Contents

Block state sync:

Use /carpet blockStateSyncing true with Carpet Extra to make droppers and hoppers update their state on the client immediately, rather than when player looks inside. This is more noticeable with a redstone resourcepack.

Extreme behaviours:

Increases probability of dispensed item going to the side. Toggle with

  • /carpet extremeBehaviours true with Carpet for mc 1.18.2-;
  • /carpet flattenTriangularDistribution true with Carpet TIS for mc 1.19+.
    Alternatively, use insaneBehaviors from JoaCarpet to test specific edge cases.

Stackable shulkers:

Stacks empty shulker boxes on ground, use

  • /carpet stackableShulkerBoxes true with Carpet;
  • Additionally /carpet stackableShulkersInPlayerInventories true with Essential Addons and enable tweakEmptyShulkerBoxesStack in Tweakeroo on client to make boxes stackable by players;
  • Not recommended emptyShulkerBoxStackAlways true is often used as a replacement for method above, but most storage designs would require 64 times more boxes to prefill with it.

Infinite hoppers:

Makes hopper not deplete its items. Use /carpet hopperNoItemCost true with Carpet TIS. To use place a hopper with wool on top of it and add item. Additionally, you can use /scounter to track how many items those hoppers push. Alternatively use /carpet dispenserNoItemCost true if you need dropper speed input.

Hopper counters:

Count produced items using /carpet hopperCounters true with Carpet. To use place a hopper pointing in a wool block. Read counts with /counter. Additionally use /carpet hopperCountersUnlimitedSpeed true from Carpet TIS to remove cooldown for counter hoppers.

Pasting schematic in the world without breaking redstone:

Should work without issues in singleplayer, on the server set Carpet rule /carpet fillUpdates false.

Pasting schematic with inventory contents on a server:

Install Litematica Server Paster, and it should work, however it might miss some inventories if you have blocks with a lot of NBT data or using cross-version mod like Multiconnect or Viafabric.

Saving schematic with inventory contents on a server:

There are several methods

  1. PCA Protocol with Masa Gadget:
    • Install PCA Protocol on the server;
    • Install Masa Gadget on the client and enable saveInventoryToSchematicInServer in its configs. Note that this mod does not have proper support for mc 1.19+.
  2. TweakerMore:
    • Enable serverDataSyncer. For this to work you need to have permissions level 2 (/op gives level 4, so it works).
  3. WorldEdit:
    • Take WorldEdit schematic and ask server admin to send it to you.

Preview schematic container contents:

To see which items should be in a chest inside a schematic placement, look at it and hold renderInfoOverlay key (default I, changed in Litematica hotkey configs). To make it work on a server use first two options from Saving schematic with inventory contents on a server.

Using WorldEdit with redstone:

Use //perf neighbors off to make WorldEdit not mess up observers, rails and other components when changing blocks. Note that it needs //perf validation off as well, which disabled by default, but some servers might change it.

Container scanner:

Enable tweakContainerScan in Tweakfork to see a content summary of containers around you.

Automatic container operations

Empty or fill containers in one click using autoCleanContainer and autoFillContainer in TweakerMore. Useful for crafting stations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment