Giter VIP home page Giter VIP logo

gloppers's Introduction

Gloppers!

Gloppers (glob hoppers) is a Minecraft mod that lets you filter your hoppers by renaming them with glob patterns.

The idea comes from LiveOverflow's Minecraft lets play, where these were silently implemented on his server to make his storage system easier to build.

A screenshot of a hopper's inventory, with the name "!*_ore,anvil"

Usage

First, install the mod. This mod is serverside only and will do nothing on the client (unless you're in singleplayer).

Once it's installed, rename a hopper in an anvil, prefixing with an exclamation mark. Add globs matching the IDs of the items you want to filter for, separated by commas.

Some example patterns:

  • !*_ore - Matches all ores
  • !iron_* - Matches all iron items
  • !totem_of_undying - Matches only the Totem of Undying
  • !*oak*,*cherry* - Matches all oak and cherry wood items

Note that you must use the internal identifier of the items, and not the item's display name (e.g. writable_book instead of Book and Quill). Don't add the namespace (the "minecraft" part).

Advantages over vanilla

  • Only materials required to use are iron and wood (no redstone)
  • 1x1x1 footprint, compared to the popular 4x3x1 design
  • Ability to filter unstackable items
  • No junk items required

Usage in storage systems

Gloppers are most useful in storage systems. Instead of requiring redstone circuits that take up space, you can instead just design it like so:

A 2x4x1 schematic of a storage system, with a top row of hoppers, and a bottom row of one glopper and one chest

Items will only be sucked up from the top row to the bottom glopper if the pattern is matched.

Notes with mod compatibility

  • Lithium conflicts with Gloppers, and you need to turn its hopper optimizations off in lithium.properties (mixin.block.hopper=false).

gloppers's People

Contributors

notnite avatar hks-hns avatar

Stargazers

 avatar Diamond avatar Bert avatar Eric Golde avatar RazrCraft avatar Mar avatar Cynthia Foxwell avatar adryd avatar  avatar Chad Baxter avatar

Watchers

Bert avatar  avatar

gloppers's Issues

Suggestion, new prefix

Except prefix, example !oak*, %oak_planks
will filter everything related to oak except oak planks

Gloppers does not load on launch

Hello, I am having an issue getting Gloppers to load with a modpack I am testing. The behavior I am seeing is that in the Prism logs, Gloppers shows up in the list of mods given to the instance, but does not show up in the list of mods loaded, cannot be viewed in the list of mods in Mod Menu, and does not do anything in game.

Here's the log with the mods I have installed showing the mod missing from the list of loaded mods: (Prism does not alter the log to show that the mod was enabled but I can view it during runtime that the instance has the mod)
2023-06-26-7.log.gz

I thought maybe Hopper the Hedgehog or Carpet were preventing Gloppers from loading, but after I disabled them both, it was still missing from the loaded list. If there is another mod I can test to disable, let me know and I'll get back to you asap, thank you

Feature - filter for enchanted items

I would like to split enchanted items from normal ones.
A new pattern example:

  • !diamond_axe
  • !diamond_axe_e (_e for enchanted items, something like this)

Thanks ๐Ÿ˜Š

[Issue] Not working?

I have 1.0.2 installed on my minecraft server and on my client in 1.20.4 and creating named hoppers, even with the exact ones copied from the demonstrations, do not filter items out. I have a decent amount of mods on the server but not that many. Any idea what could be going wrong? (I tried it in, both, single player and on the server)

Here's a video just to show a bit more detail: https://youtu.be/kY3c3mztHzc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.