Skip to content

ModdingPlus/Proxies

Repository files navigation

Proxies

About

This mod adds proxies. What are proxies? Proxies are completely passive blocks that target another block and do nothing on their own. However, when something tries to interact with a proxy's inventory, tank, or energy storage, the interaction is transparently redirected to the targeted block instead.

Proxies can target other proxies, forming chains, and since they are just plain blocks they work with anything that uses the standard capabilities: hoppers, pipes, cables, machines, and so on. Together with filtered proxies this makes it possible to build item transport and sorting systems that are much simpler and more compact than usual, without the mod actively doing anything itself.

A simple item proxy based filter system

The Blocks

Proxies come in three flavors, one for each of the standard capability types:

  • Item Proxies redirect item handlers (inventories)
  • Fluid Proxies redirect fluid handlers (tanks)
  • Energy Proxies redirect energy storage (FE)

Each flavor comes in several variants:

  • Regular proxies always access the side of the block they target.
  • Side-Preserving proxies access the target on the same side the proxy itself was accessed from, preserving sidedness for machines like furnaces.
  • Null-Sided proxies access the target on... "the null-side of the block"?? (The side-less internal view a block exposes when no particular side is asked for.)
  • Junction proxies can be accessed from and pass through any side, allowing multiple proxy chains to cross through a single block.
  • Filtered proxies (items and fluids) have a small GUI with filter slots and whitelist/blacklist settings, restricting what may pass through.
  • Mergers combine the inventories, tanks, or energy storages of the two blocks on either side into one big one.

Configuration

The mod has a small server config with a chain_length_limit (how long proxy chains may get) and banned_proxy_targets (block entities that may not be targeted). It can be edited in-game via the built-in config screen (in singleplayer, or as an operator), or in the instance's config folder.

Legacy

Item Proxies were a feature I originally implemented for Convenient Additions. They are a way to simplify item transport significantly without doing much by themselves.

License

This mod is released into the public domain under the Unlicense. Do whatever you want with it.

About

A minecraft mod

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages