Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for item names for "f:"? #24

Open
columb opened this issue Apr 16, 2013 · 1 comment
Open

Support for item names for "f:"? #24

columb opened this issue Apr 16, 2013 · 1 comment

Comments

@columb
Copy link

columb commented Apr 16, 2013

Item ids works fine but sometimes it's got messed up with other numbers like amount of items moved in chest.
/ha search f:DIAMOND_ORE - doesn't work at all
/ha search f:56 - works but got messed up with other numbers

@bob7l
Copy link
Owner

bob7l commented Mar 31, 2016

I'll most likely have to define a new parameter for items considering all the f: parameter does is define a string to search for inside the database. Since the data is serialized, it's pretty hard to get around using filters.

With the new inventory serializer, all you need to do to define the name of the itemstack (Custom name, not vanilla) is use f:n{name}.

I'd recommend just using /he search p:bob7l a:block-place,block-break f:56 - so you get a more defined search rather then having the database return the numbers within other datatypes (Such as sign text).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants