@Override public boolean match(final Minecart entity) { if (type == MinecartType.NORMAL && type.c == Minecart.class) // pre-1.5 return !(entity instanceof PoweredMinecart || entity instanceof StorageMinecart); return type.c != null && type.c.isInstance(entity); }