#ItemQuery - a Sponge plugin What is ItemQuery?
ItemQuery is a Sponge plugin that gives information about a given item. Features
Text/GUI toggle
Fully customizable
Show only the features YOU want
Item query blacklist
Search any allowed item! Commands
/itemquery - Main command for item query (displays help page)
/itemq - Alias for /itemquery
/iq - See above
/itemquery toggle - toggle between text-based query and GUI info
/itemquery hand - queries the held item
/itemquery (item name|item id) - queries the specified item Whatās the difference - GUI/Text mode?
In Text mode, your query will look like this:
/itemquery stone
========================== ItemQuery - Stone (id: 1) =============================
Stone
Can be mined with: Pickaxe
Blast resistance: 30
Hardness: 1.5
Is transparent: no
Is stackable: yes (64)
Crafting:
1 cobblestone > (furnace) > 1 stone
In GUI mode, these will be accessible by hovering over an item in a chest (configurable). Crafting will open a crafting table/furnace/brewing stand by clicking on an item. Example config file
#ItemQuery by sam4215 #Blacklists items from the lookup.
banned-items:
āAIRā
āBARRIERā #What item shall be the ācraftingā icon in GUI mode?
gui-crafting: āWORKBENCHā #What item shall be the āblast resistanceā icon in GUI mode?
gui-blast: āTNTā #What item shall be the āhardnessā icon in GUI mode?
gui-hard: āIRONā #What item shall be the ātransparencyā icon in GUI mode?
gui-clear: āGLASSā #What item shall be the āstackableā icon in GUI mode?
gui-stack: āREDSTONEā Permissions
gui.mode - Allows player to toggle GUI/text mode. default: true
gui.use - Allows players to lookup items. default: true
gui.seehidden - Allows players to lookup items on the blacklist. default: false GitHub Right here!
This will be great for a granite or vanilla server, but for forge we already have WAILA (what am I looking at). You could always look at how it works and probably get some feature inspiration from it
@tzk adding the custom blocks is probably unnecessary because of waila. If your adding blocks then the clients have to install mods anyhow, so might as well be throwing waila on the client while your at it.
configurate library exists.
pretty much makes the usage similar across the two formats; just have a HoconConfigurationLoader or a YAMLConfigurationLoader and load the file in
common argument here in comparison to hocon is that hoconās probably more human-readable and easier to work with, while placing a tab into a YAML file sets the world on fire
This plugin would honestly be so helpful? Seeing that crafting heading makes me real happy because I search for the simplest craft recipes, and thatās just me being a scrub.