Skip to content

Minecraft Datapack allows granular sorting of items.

License

Notifications You must be signed in to change notification settings

isaaclepes/Scientific-Sorting-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Heavliy modified fork of Magic Sorting System to fit the specific needs of my own server. I have renamed this version to Scientific Sorting System, because it is going to get technical.

How to build the drop areas

Items used:

  • Amethyst Block
  • Target Block
  • Coal Block
  • Furnace
  • Blast Furnace
  • Smoker

Block placement configurations for drop areas.
Note: Sandstone can be substituted for any other bloock.

Sorting Pad.

image
image

Super Smelter/Cooker support. Pad configuration is displayed behind the cookers.

image

Fuels will accept any items that are burnable.
Furnaces / Smelter / Smoker will only accept items that can be processed by their particular varient
Sort Target will only accept items obtainable in survivial mode (Note, I may have overlooked a couple creative inventory items. Please let me know.)

**Use /function sss:kit to receive named target blocks needed to set item frame tags. ** See this video for a demonstration: https://youtu.be/hL7xJ0zZEuI (Apologies, I didn't have a microphone when I made this video.)

Place a target block in an item frame and the frame will become a target based on the name of the target block. For example, "Sort Target" will tag an item frame as the destination for sorting. Remove the target block from the frame and replace with the item you wish to be deposited at this item frame.

The target block only needs to be installed for 5 seconds. Any other targeting tags are removed when you switch command blocks.

After 5 seconds, you may remove the target block. Removing the command block is only required for Sort Targets, becuase you need to place the item to sort in them after tagging.

Shulkerbox loading modules.

image

These can be placed facing North, South, East, or West and are designed to be tileable. The target item frames are on the upper hoppers. The item frames near the comparators are tagged with 'shulker target' Chests, planks, and slabs can be swapped out as desired.

The datapack checks for the position and power level of the comparitor. When at maximum power, because the shulker box is full, a redstone block is placed to trigger the piston above. This shows image shows this occuring with piston missing.

image

And this image shows the piston pushing the shulker box into the hopper

image

Brown Shulker Boxes named "Warehouse Crate" are automatically generated in front of the comparator if the block is air. Empty Warehouse Crates are removed from the game if dropped as an item.

Changes: Almost complete rewrite of Magic Sorting System

Now sorts 1 to 1, meaning that each item looks for an item frame containing itself.

Target item frames must have a tag as well as the item for matching to allow players to use item frames without conflict. Multiple target frames for the same item behave as previously, they split between them using sort=random.

Removed the lapis on gold pad, added:

target block on amethyst block - Item sorters

furnace on amethyst block - For super furnaces

blast furnace on amethyst block - for super smelters

smoker on amethyst block - for super smokers

coalblock on amethyst block - Fuel for 'super' smoker/furnace/blast furnace

Added functionality for shulker box loader. Not required for sorting, but together can make a system that stores filled shulker boxes

Added a catch-all target option

Added a feature that will pull any item in loaded chunks that is over 2 minutes old. This can be used to prevent items on the ground from accumulating and lagging the server without losing those items.

About

Minecraft Datapack allows granular sorting of items.

Resources

License

Stars

Watchers

Forks