Posted 27 December 2012 - 08:02 PM
as is compare and compareTo checks if both the ID and meta data is the same as the item its holding, but it cant detect if its the same type of block but just slightly different.
so i propose a change to the command to include a optional boolean value that is normally set to true , but if the user wants they can set it to false making it compare only the id and not the meta data. this way items like wool , logs , saplings , and dyes will be detected as the same item type even if one is blue and the other is red.
this shouldn't be over powered but would be a rather nice and fairly simple change. but just to be clear i am NOT asking for the over used "gimme the items id" :P/>
so i propose a change to the command to include a optional boolean value that is normally set to true , but if the user wants they can set it to false making it compare only the id and not the meta data. this way items like wool , logs , saplings , and dyes will be detected as the same item type even if one is blue and the other is red.
this shouldn't be over powered but would be a rather nice and fairly simple change. but just to be clear i am NOT asking for the over used "gimme the items id" :P/>