I am trying to extract unique elements from a list of Classes with the format:
[EntityClientPlayerMP['Player989'/228, l='MpServer', x=138.16, y=68.62, z=522.96], EntityCow['Cow'/231, l='MpServer', x=143.63, y=68.00, z=527.50]....]
these lists typically have a size of 60-100.
The method I am trying to use at the moment is
List<Class> uniqueList = new ArrayList<Class>(new HashSet<Class>(fullList));
this returns the exact same list, but sorted a bit differently. Any ideas on why?