HawkReloaded icon indicating copy to clipboard operation
HawkReloaded copied to clipboard

Support for item names for "f:"?

Open columb opened this issue 11 years ago • 1 comments

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

columb avatar Apr 16 '13 16:04 columb

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).

bob7l avatar Mar 31 '16 00:03 bob7l